fix(deps): update rust crate clap to 4.4
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
clap | dependencies | minor |
4.3 -> 4.4
|
Release Notes
clap-rs/clap (clap)
v4.4.8
Features
- Add
Command::flatten_help
to allowgit stash -h
like help for subcommands
v4.4.7
Performance
- Reduced code size
v4.4.6
Internal
- Upgrade
anstream
v4.4.5
Fixes
-
(parser) When inferring subcommand
name
orlong_flag
, allow ambiguous-looking matches that unambiguously map back to the same command -
(parser) When inferring subcommand
long_flag
, don't panic - (assert) Clarify what action is causing a positional that doesn't set values which is especially useful for derive users
v4.4.4
Internal
- Update
terminal_size
to 0.3
v4.4.3
Documentation
- (derive) Clarify use of attributes within the tutorial
- Split sections in the builder and derive tutorials into separate modules
v4.4.2
Performance
- Improve build times by removing
once_cell
dependency
v4.4.1
Features
- Stabilize
Command::styles
v4.4.0
Compatibility
- Update MSRV to 1.70.0
v4.3.24
Fixes
- Ensure column padding is preserved in
--help
with custom templates
v4.3.23
Fixes
- Fixed
UnknownArgumentValueParser
to not error on flag's absence
v4.3.22
Features
- Add
UnknownArgumentValueParser
for injecting errors for improving the experience with errors
v4.3.21
Features
- Expose
TryMapValueParser
so the type can be named
v4.3.20
Features
-
Command::mut_args
for modifying all arguments en masse
v4.3.19
Fixes
-
(parse) Respect
value_terminator
even in the presence of later multiple-value positional arguments
v4.3.18
Fixes
-
(parse) Suggest
--
in fewer places where it won't work
v4.3.17
Fixes
-
(help) Address a regression in wrapping
PossibleValue
descriptions in--help
v4.3.16
Fixes
- Don't assert when stateful value parsers fail on defaults (e.g. checking if a path exists)
v4.3.15
Features
-
(unstable-styles) Re-export
anstyle
Documentation
- (unstable-styles) Provide more examples
v4.3.14
Features
-
ArgAction::HelpShort
andArgAction::HelpLong
for explicitly specifying which style of help to display
Fixes
- Skip
[OPTIONS]
in usage if a help or versionArgAction
is used
v4.3.13
v4.3.12
Fixes
- (derive) Don't error on enum variant field attributes
v4.3.11
Features
-
(derive) Support fields wrapped in
num::Wrapping
,Box
, orArc
-
(derive) Support
Box<str>
,Box<OsStr>
, andBox<Path>
v4.3.10
Performance
- Drop a dependency, reducing binary size by 1.3 KiB
v4.3.9
Fixes
-
Command::ignore_errors
no longer masks help/version
v4.3.8
Fixes
- Error on ambiguity with
infer_long_arg
, rather than arbitrarily picking one, matching the documentation and subcommand's behavior
v4.3.7
Documentation
- Further clarify magic behavior in derive tutorial
- Further clarify derive API's relationship to builder within the tutorial
v4.3.6
Documentation
- Suggest
clio
v4.3.5
-
ColorChoice::possible_values
is added to simplify things for builder users
Fixes
-
ColorChoice::to_possible_value
no longer includes descriptions, encouraging shorter help where possible
v4.3.4
Features
- Add
Error::exit_code
v4.3.3
Features
-
Command::defer
for delayed initialization of subcommands to reduce startup times of large applications like deno
v4.3.2
Fixes
- Ensure column padding is preserved in
--help
with custom templates
v4.3.1
Fixes
-
(parse) Respect
value_terminator
even in the presence of later multiple-value positional arguments
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot