variadic_arguments

Crates.iovariadic_arguments
lib.rsvariadic_arguments
version0.1.2
created_at2025-06-14 03:36:44.639702+00
updated_at2025-06-15 02:37:32.532906+00
descriptionImplements variadic arguments into Rust.
homepage
repositoryhttps://github.com/bloopos/variadic_args
max_upload_size
id1712099
size48,567
Bloop (bloopos)

documentation

README

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.
Commit count: 46

cargo fmt