variadic_arguments 0.1.2

Implements variadic arguments into Rust.
Documentation
  • Coverage
  • 100%
    9 out of 9 items documented0 out of 0 items with examples
  • Size
  • Source code size: 48.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.51 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • bloopos/variadic_args
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • bloopos

variadic_arguments

A crate that implements variadic arguments into Rust.

 

Features

  • Each argument item supports storing any generic, so long as it implements Any + Clone.
    • OwnedArgument stores an owned variant. For smaller types, it uses inline storage instead.
    • Argument follows Copy-on-Write behavior, which enables borrowing variants.
  • In addition, this crate allows for creating sets of known arguments.
    • ArgumentsBuilder is meant for building Arguments safely. This is done by setting a strict limit to the amount of arguments in the builder itself.
    • Arguments allows for parsing each argument. While the inner argument count is set, this allows for parsing each item with mutable access.

 

Known Issues

  • Big endian has not been tested yet.
  • The documentation is not finished.

 

Todo List

  • Improve documentation.
  • Keyword arguments.
  • Send-sync support.