Skip to content

0.4.4

Compare
Choose a tag to compare
@mcatanzariti mcatanzariti released this 05 Dec 00:22
· 151 commits to main since this release
  • Refactored FromValue

    • API more consistent, clearer with stronger constraints
    • introduced FromSingleValue trait
    • renamed FromSingleValueArray to FromValueArray
  • Refactored IntoArgs & CommandArg

    • API more consistent, clearer with stronger constraints
    • SingleArg trait has been introduced to contraint IntoArg to a single argument
    • built-in commands do not expect anymore impl Into<CommandArg> as arguments but SingleArg instead
    • Fromtrait implementation to convert Rust primitives to CommandArg has been removed
    • Rust primitives implementation for IntoArgs has been added
    • renamed ArgsOrCollection to MultipleArgsCollection
    • renamed SingleArgOrCollection to SingleArgCollection
    • renamed KeyValueArgOrCollection to KeyValueArgsCollection