Update Rust crate clap to v4.5.31 ()

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [clap](https://github.com/clap-rs/clap) | dependencies | patch | `4.5.4` -> `4.5.31` |

---

### Release Notes

<details>
<summary>clap-rs/clap (clap)</summary>

### [`v4.5.31`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4531---2025-02-24)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.30...v4.5.31)

##### Features

-   Add `ValueParserFactory` for `Saturating<T>`

### [`v4.5.30`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4530---2025-02-17)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.29...v4.5.30)

##### Fixes

-   *(assert)* Allow `num_args(0..=1)` to be used with `SetTrue`
-   *(assert)* Clean up rendering of `takes_values` assertions

### [`v4.5.29`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4529---2025-02-11)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.28...v4.5.29)

##### Fixes

-   Change `ArgMatches::args_present` so not-present flags are considered not-present (matching the documentation)

### [`v4.5.28`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4528---2025-02-03)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.27...v4.5.28)

##### Features

-   *(derive)* Unstable support for full markdown syntax for doc comments, enabled with `unstable-markdown`

### [`v4.5.27`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4527---2025-01-20)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.26...v4.5.27)

##### Documentation

-   Iterate on tutorials and reference based on feedback

### [`v4.5.26`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4526---2025-01-09)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.25...v4.5.26)

##### Fixes

-   *(error)* Reduce binary size with the `suggestions` feature

### [`v4.5.25`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4525---2025-01-09)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.24...v4.5.25)

##### Fixes

-   *(help)* Reduce binary size

### [`v4.5.24`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4524---2025-01-07)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.23...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`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4523---2024-12-05)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.22...v4.5.23)

##### Fixes

-   *(parser)* When check `allow_negative_numbers`, allow `E` again

### [`v4.5.22`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4522---2024-12-03)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.21...v4.5.22)

##### Fixes

-   *(assert)* Catch bugs with arguments requiring themself

### [`v4.5.21`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4521---2024-11-13)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.20...v4.5.21)

##### Fixes

-   *(parser)* Ensure defaults are filled in on error with `ignore_errors(true)`

### [`v4.5.20`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4520---2024-10-08)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.19...v4.5.20)

##### Features

-   *(unstable)* Add `CommandExt`

### [`v4.5.19`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4519---2024-10-01)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.18...v4.5.19)

##### Internal

-   Update dependencies

### [`v4.5.18`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4518---2024-09-20)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.17...v4.5.18)

##### Features

-   *(builder)* Expose `Arg::get_display_order` and `Command::get_display_order`

### [`v4.5.17`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4517---2024-09-04)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.16...v4.5.17)

##### Fixes

-   *(help)* Style required argument groups
-   *(derive)* Improve error messages when unsupported fields are used

### [`v4.5.16`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4516---2024-08-15)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.15...v4.5.16)

##### Fixes

-   *(derive)* Improve error messages when `derive` feature is missing

### [`v4.5.15`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4515---2024-08-10)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.14...v4.5.15)

##### Compatiblity

-   *(unstable-ext)* `Arg::remove` changed return types

##### Fixes

-   *(unstable-ext)* Make `Arg::remove` return the removed item

### [`v4.5.14`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4514---2024-08-08)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.13...v4.5.14)

##### Features

-   *(unstable-ext)* Added `Arg::add` for attaching arbitrary state, like completion hints, to `Arg` without `Arg` knowing about it

### [`v4.5.13`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4513---2024-07-31)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.12...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`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4512---2024-07-31)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.11...v4.5.12)

### [`v4.5.11`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4511---2024-07-25)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.10...v4.5.11)

### [`v4.5.10`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4510---2024-07-23)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.9...v4.5.10)

### [`v4.5.9`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#459---2024-07-09)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.8...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`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#458---2024-06-28)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.7...v4.5.8)

##### Fixes

-   Reduce extra flushes

### [`v4.5.7`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#457---2024-06-10)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.6...v4.5.7)

##### Fixes

-   Clean up error message when too few arguments for `num_args`

### [`v4.5.6`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#456---2024-06-06)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.5...v4.5.6)

### [`v4.5.5`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#455---2024-06-06)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.5.4...v4.5.5)

##### Fixes

-   Allow `exclusive` to override `required_unless_present`, `required_unless_present_any`, `required_unless_present_all`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjkuMiIsInVwZGF0ZWRJblZlciI6IjM4LjEyOS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: 
Co-authored-by: Johnny5 <bot@snaile.de>
Co-committed-by: Johnny5 <bot@snaile.de>
This commit is contained in:
Johnny5 2025-02-25 14:41:00 +01:00 committed by Luca Bilke
parent c49b4591ac
commit bb950e510d

22
Cargo.lock generated
View file

@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
version = 4
[[package]]
name = "android-tzdata"
@ -33,9 +33,9 @@ dependencies = [
[[package]]
name = "anstyle"
version = "1.0.6"
version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc"
checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
[[package]]
name = "anstyle-parse"
@ -105,9 +105,9 @@ dependencies = [
[[package]]
name = "clap"
version = "4.5.4"
version = "4.5.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0"
checksum = "027bb0d98429ae334a8698531da7077bdf906419543a35a55c2cb1b66437d767"
dependencies = [
"clap_builder",
"clap_derive",
@ -115,9 +115,9 @@ dependencies = [
[[package]]
name = "clap_builder"
version = "4.5.2"
version = "4.5.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4"
checksum = "5589e0cba072e0f3d23791efac0fd8627b49c829c196a492e88168e6a669d863"
dependencies = [
"anstream",
"anstyle",
@ -127,9 +127,9 @@ dependencies = [
[[package]]
name = "clap_derive"
version = "4.5.4"
version = "4.5.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64"
checksum = "bf4ced95c6f4a675af3da73304b9ac4ed991640c36374e4b46795c49e17cf1ed"
dependencies = [
"heck",
"proc-macro2",
@ -139,9 +139,9 @@ dependencies = [
[[package]]
name = "clap_lex"
version = "0.7.0"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce"
checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6"
[[package]]
name = "colorchoice"