chore(deps): Update compatible (dev)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| clap | dev-dependencies | minor | 4.3.24 -> 4.5.53 |
| codegenrs | dev-dependencies | patch | 3.0.0 -> 3.0.2 |
| divan | dev-dependencies | patch | 0.1.16 -> 0.1.21 |
| owo-colors | dev-dependencies | minor | 4.0.0 -> 4.2.3 |
| proptest (source) | dev-dependencies | minor | 1.7.0 -> 1.9.0 |
Release Notes
clap-rs/clap (clap)
v4.5.53
Features
- Add
default_values_if,default_values_ifs
v4.5.52
Fixes
- Don't panic when
args_conflicts_with_subcommandsconflicts with anArgGroup
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
v4.5.21
Fixes
-
(parser) Ensure defaults are filled in on error with
ignore_errors(true)
v4.5.20
Features
-
(unstable) Add
CommandExt
v4.5.19
Internal
- Update dependencies
v4.5.18
Features
-
(builder) Expose
Arg::get_display_orderandCommand::get_display_order
v4.5.17
Fixes
- (help) Style required argument groups
- (derive) Improve error messages when unsupported fields are used
v4.5.16
Fixes
-
(derive) Improve error messages when
derivefeature is missing
v4.5.15
Compatiblity
-
(unstable-ext)
Arg::removechanged return types
Fixes
-
(unstable-ext) Make
Arg::removereturn the removed item
v4.5.14
Features
-
(unstable-ext) Added
Arg::addfor attaching arbitrary state, like completion hints, toArgwithoutArgknowing about it
v4.5.13
Fixes
-
(derive) Improve error message when
#[flatten]ing an optional#[group(skip)] - (help) Properly wrap long subcommand descriptions in help
v4.5.12
v4.5.11
v4.5.10
v4.5.9
Fixes
- (error) When defining a custom help flag, be sure to suggest it like we do the built-in one
v4.5.8
Fixes
- Reduce extra flushes
v4.5.7
Fixes
- Clean up error message when too few arguments for
num_args
v4.5.6
v4.5.5
Features
- Add
default_values_if,default_values_ifs
v4.5.4
Fixes
- (help) Correctly wrap when ANSI escape codes are present
v4.5.3
Fixes
- (help) Show short flag aliases before long
- (help) Merge the short and long flag alias lists
v4.5.2
Fixes
- Change
ArgMatches::args_presentso not-present flags are considered not-present (matching the documentation)
v4.5.1
Internal
- Update dependencies
v4.5.0
Compatibility
- Update MSRV to 1.74
v4.4.18
Fixes
-
(error) When lacking
usagefeature, ensure the list of required arguments is unique
v4.4.17
Fixes
- Fix
panic!when mixingargs_conflicts_with_subcommandswithArgGroup(which is implicit withderive) introduced in 4.4.15
v4.4.16
Fixes
- Ensure invalid escape sequences in user-defined strings are correctly stripped when terminal doesn't support color
v4.4.15
Fixes
- Improve error for
args_conflicts_with_subcommands - Ensure we error for
args_conflicts_with_subcommandswhen using subcommand short and long flags
v4.4.14
Documentation
- Fix
findcookbook entry to allow repeats of flags/options
Features
- Allow
num_args(0)on options which allows making them emulate being a flag for position-tracking flags
v4.4.13
Documentation
- Fix link to structopt migration guide
v4.4.12
Performance
- Only ask
TypedValueParserfor possible values if needed
v4.4.11
Features
- Add
Command::mut_group
v4.4.10
Documentation
- Link out to changelog
- Cross link derive's attribute reference to derive tutorial
v4.4.9
Fixes
-
(help) Show correct
Command::aboutunder flattened headings -
(help) Respect
hidewhen flattening subcommands
v4.4.8
Features
- Add
Command::flatten_helpto allowgit stash -hlike help for subcommands
v4.4.7
Performance
- Reduced code size
v4.4.6
Internal
- Upgrade
anstream
v4.4.5
Fixes
-
(parser) When inferring subcommand
nameorlong_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_sizeto 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_celldependency
v4.4.1
Fixes
-
(error) When lacking
usagefeature, ensure the list of required arguments is unique
v4.4.0
compatibility
- update msrv to 1.70.0
crate-ci/codegenrs (codegenrs)
v3.0.2
Compatibility
- Update MSRV to 1.74
v3.0.1
Fixes
- Improve error on
rustfmtmissing
nvzqz/divan (divan)
v0.1.21
Fixed
-
Divan::skip_exactbehaved incorrectly inv0.1.19.
Changed
- Improved handling of internal code around filters and those responsible for sacking the people who have just been sacked have been sacked.
v0.1.20
Fixed
-
Divan::skip_regexaccidentally droppedregex_lite::Regexand behaved incorrectly inv0.1.19.
v0.1.19
Fixed
- [
cargo-nextest] no longer skips benchmarks with argument parameters ([#75]).
Changed
- Organized positive and negative filters into a split buffer.
v0.1.18
Added
-
Support for [
cargo-nextest] running benchmarks as tests. -
[
prelude] module for simplifying imports of [#[bench]][bench_attr], [#[bench_group]][bench_group_attr], [black_box], [black_box_drop], [AllocProfiler], [Bencher], and [Divan]. -
Support
wasiandemscriptentargets.
v0.1.17
Changed
-
Set [MSRV] to 1.80 for [
LazyLock] and newsize_ofprelude import. -
Reduced thread pool memory usage by many kilobytes by using rendezvous channels instead of array-based channels.
owo-colors/owo-colors (owo-colors)
v4.2.3
Fixed
Replaced obsolete doc_auto_cfg with doc_cfg, to fix Rust nightly builds with the doc_cfg flag enabled.
v4.2.2
Fixed
Fixed applying a background color and a text effect (like underline or italic) at the same time (#145).
v4.2.1
Fixed
- Fixed a couple of bugs while rendering custom colors (#144). Thanks https://github.com/MiguelValentine for your first contribution!
v4.2.0
Added
-
Style::prefix_formatterandStyle::suffix_formatterreturnDisplayformatters for the prefix and the suffix of a style, respectively. - All the
*Displaytypes now have aninto_styledfunction that converts those types into aStyled, erasing type parameters. - Even more methods are now
const.
Changed
-
The
ColorandDynColortraits are now explicitly marked sealed (i.e. downstream crates cannot implement them).These traits were already effectively sealed due to a number of hidden methods that were not part of the API, but they are now explicitly so. In that sense this is not a breaking change, so it's being released under a new minor version rather than a major version.
v4.1.1
Added
- The vast majority of owo-colors is now usable in const contexts.
Fixed
- Documentation for
Streamis now rendered properly. Thanks purplesyringa for the contribution! - Replace brittle const-promotion-based unsafe code with safe code. Thanks Manish for the contribution!
Other
- owo-colors now lives under its own organization, https://github.com/owo-colors.
For information about earlier versions, see the commit history.
v4.1.0
Configuration
📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.
Pull Request Test Coverage Report for Build 20149707341
Details
- 0 of 0 changed or added relevant lines in 0 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage remained the same at 54.261%
| Totals | |
|---|---|
| Change from base Build 20145664126: | 0.0% |
| Covered Lines: | 1420 |
| Relevant Lines: | 2617 |