NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #1019 most downloaded on crates.io
An ultra simple CLI arguments parser.
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 12 months
Nearly every release is documented
notes for 10 of 11 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
11 releases · first in 2019
The eq-separator build feature is no longer enabled by default.
eq-separator build feature is no longer enabled by default.Display output for Error.Ignore long options when parsing short options when combined-flags feature is enabled. Thanks to @riquito.
One column per quarter.
combined-flags feature. Thanks to @alexwennerberg.
combined-flags feature. Thanks to @alexwennerberg.Arguments::finish no longer returns an error and simply returns remaining arguments as is.
Arguments::opt_free_from_*.Arguments::finish no longer returns an error and simply returns remaining arguments as is.Arguments::free_from_* methods no longer check that argument doesn't start with -.Arguments::free_from_* methods return T instead of Option<T> now.
Use Arguments::opt_free_from_* instead.Arguments::free and Arguments::free_os. You should use Arguments::free_from_* methods
or parse them manually after calling Arguments::finish.Error::UnusedArgsLeft. This should be handled by the caller now.short-space-opt build feature. Thanks to @hdamron17.
short-space-opt build feature. Thanks to @hdamron17.values_from_str, values_from_fn and values_from_os_str. Those functions can be used to parse arguments like: --file /path1 --file /path2 --file /path3
values_from_str, values_from_fn and values_from_os_str.<br>
Those functions can be used to parse arguments like:<br>
--file /path1 --file /path2 --file /path3<br>
But not --file /path1 /path2 /path3.### Added - eq-separator build feature.
eq-separator build feature.Arguments::subcommand. Thanks to @matklad.
Arguments::subcommand. Thanks to @matklad.Error::MissingOption when option is required but not present.
Error::MissingOption when option is required but not present.value_from_str into opt_value_from_str.value_from_fn into opt_value_from_fn.value_from_os_str into opt_value_from_os_str.value_from_str, value_from_fn and value_from_os_str will return T and not Option<T>
from now.free_from_str, free_from_fn and free_from_os_str.
free_from_str, free_from_fn and free_from_os_str.value_from_os_str.value_from_fn allows any error type that implements Display now
and not only String.from_args -> from_vec. And it accepts Vec<OsString> now.Error enum.Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →