command-parser: 0.4.0
Upgrade Path
The MSRV is now Rust 1.49.
Create an Arguments
instance via Arguments::new
instead of using the From
implementation.
When checking if a command is case-sensitive use CaseSensitivity::is_sensitive
.
Changes
Remove From<&str>
implementation for Arguments
(#763 - @vivian).
Hide the unicase
dependency by offering alternatives in the API:
- Add
CaseSensitivity::is_sensitive
to check if the command is case-sensitive - Implement
AsMut<str>
forCaseSensitivity
Commands
now iterates over(&str, bool)
instead of&CaseSensitivity
CommandsMut
now iterates over(&mut str, bool)
instead of&mut CaseSensitivity