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.OwnedArgumentstores an owned variant. For smaller types, it uses inline storage instead.Argumentfollows Copy-on-Write behavior, which enables borrowing variants.
- In addition, this crate allows for creating sets of known arguments.
ArgumentsBuilderis meant for buildingArgumentssafely. This is done by setting a strict limit to the amount of arguments in the builder itself.Argumentsallows 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.