mirro-rs
mirro-rs copied to clipboard
chore(deps): update clap
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| clap | build-dependencies | patch | 4.5.21 -> 4.5.51 |
| clap | dependencies | patch | 4.5.21 -> 4.5.51 |
| clap_complete | build-dependencies | patch | 4.5.38 -> 4.5.60 |
| clap_mangen | build-dependencies | patch | 0.2.24 -> 0.2.31 |
Release Notes
clap-rs/clap (clap)
v4.5.51
Fixes
- (help) Correctly calculate padding for short flags that take a value
- (help) Don't panic on short flags using
ArgAction::Count
v4.5.50
Features
- Accept
CowwhereStringand&strare accepted
v4.5.49
Fixes
- (help) Correctly wrap when ANSI escape codes are present
v4.5.48
Documentation
- Add a new CLI Concepts document as another way of framing clap
- Expand the
typed_derivecookbook entry
v4.5.47
Features
- Added
impl FromArgMatches for () - Added
impl Args for () - Added
impl Subcommand for () - Added
impl FromArgMatches for Infallible - Added
impl Subcommand for Infallible
Fixes
- (derive) Update runtime error text to match
clap
v4.5.46
Features
- Expose
StyledStr::push_str
v4.5.45
Fixes
- (unstable-v5)
ValueEnumvariants now use the full doc comment, not summary, forPossibleValue::help
v4.5.44
Features
- Add
Command::mut_subcommands
v4.5.43
Fixes
- (help) In long help, list Possible Values before defaults, rather than after, for a more consistent look
v4.5.42
Fixes
- Include subcommand visible long aliases in
--help
v4.5.41
Features
- Add
Styles::contextandStyles::context_valueto customize the styling of[default: value]like notes in the--help
v4.5.40
Features
- Support quoted ids in
arg!()macro (e.g.arg!("check-config": ...))
v4.5.39
Fixes
- (help) Show short flag aliases before long
- (help) Merge the short and long flag alias lists
v4.5.38
Fixes
- (help) When showing aliases, include leading
--or-
v4.5.37
Features
- Added
ArgMatches::try_clear_id()
v4.5.36
Fixes
- (help) Revert 4.5.35's "Don't leave space for shorts if there are none" for now
v4.5.35
Fixes
- (help) Align positionals and flags when put in the same
help_heading - (help) Don't leave space for shorts if there are none
v4.5.34
Fixes
- (help) Don't add extra blank lines with
flatten_help(true)and subcommands without arguments
v4.5.33
Fixes
- (error) When showing the usage of a suggestion for an unknown argument, don't show the group
v4.5.32
Features
- Add
Error::remove
Documentation
- (cookbook) Switch from
humantimetojiff - (tutorial) Better cover required vs optional
Internal
- Update
pulldown-cmark
v4.5.31
Features
- Add
ValueParserFactoryforSaturating<T>
v4.5.30
Fixes
- (assert) Allow
num_args(0..=1)to be used withSetTrue - (assert) Clean up rendering of
takes_valuesassertions
v4.5.29
Fixes
- Change
ArgMatches::args_presentso not-present flags are considered not-present (matching the documentation)
v4.5.28
Features
- (derive) Unstable support for full markdown syntax for doc comments, enabled with
unstable-markdown
v4.5.27
Documentation
- Iterate on tutorials and reference based on feedback
v4.5.26
Fixes
- (error) Reduce binary size with the
suggestionsfeature
v4.5.25
Fixes
- (help) Reduce binary size
v4.5.24
Fixes
- (parser) Correctly handle defaults with
ignore_errors(true)and when a suggestion is provided for an unknown argument
v4.5.23
Fixes
- (parser) When check
allow_negative_numbers, allowEagain
v4.5.22
Fixes
- (assert) Catch bugs with arguments requiring themself
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 50.4%. Comparing base (7c74989) to head (261d3c4).
Additional details and impacted files
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.