Skip to content

Commit

Permalink
chore(deps): update rust crate clap to 4.3.3 (#458)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [clap](https://togithub.com/clap-rs/clap) | dependencies | minor |
`4.1.10` -> `4.3.3` |

---

### Release Notes

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

###
[`v4.3.3`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;433---2023-06-09)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.3.2...v4.3.3)

##### Features

- `Command::defer` for delayed initialization of subcommands to reduce
startup times of large applications like deno

###
[`v4.3.2`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;432---2023-06-05)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.3.1...v4.3.2)

##### Fixes

- *(derive)* Don't produce `unused_equalifications` warnings when
someone brings a clap type into scope

###
[`v4.3.1`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;431---2023-06-02)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.3.0...v4.3.1)

##### Performance

-   *(derive)* Reduce the amount of generated code

###
[`v4.3.0`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;430---2023-05-19)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.2.7...v4.3.0)

##### Fixes

-   *(assert)* Allow multiple, value-terminated, positional arguments
-   *(assert)* Clear up language on `last` assertion
- *(parser)* Correctly assign values to arguments when using multiple,
value-termianted, positional arguments
- *(parser)* Ensure `value_terminator` has higher precedence than
`allow_hyphen_values`
- *(help)* Only use next-line-help on subcommand list when explicitly
specified, not just with `--help`
-   *(help)* Correctly align possible values list
- *(help)* Don't waste code, vertical space in moving possible value
descriptions to next line

###
[`v4.2.7`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;427---2023-05-02)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.2.6...v4.2.7)

##### Fixes

- Correctly track remaining length for iterators provided by
`ArgMatches`

###
[`v4.2.6`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;426---2023-05-02)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.2.5...v4.2.6)

##### Features

-   `impl Eq<std::any::TypeId> for clap_builder::util::AnyValueId`

###
[`v4.2.5`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;425---2023-04-27)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.2.4...v4.2.5)

##### Fixes

-   Improve panic when a group requires a non-existent ID

###
[`v4.2.4`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;424---2023-04-19)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.2.3...v4.2.4)

##### Documentation

-   Corrected docs for `Command::style`

###
[`v4.2.3`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;423---2023-04-18)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.2.2...v4.2.3)

##### Features

-   `Command::styles` for theming help/errors (behind `unstable-styles`)

###
[`v4.2.2`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;422---2023-04-13)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.2.1...v4.2.2)

##### Internal

-   Update dependencies

###
[`v4.2.1`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;421---2023-03-28)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.2.0...v4.2.1)

##### Fixes

-   Don't highlight uninteresting parts of the error message

###
[`v4.2.0`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;420---2023-03-28)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.1.14...v4.2.0)

##### Compatibility

- Removed the languishing `unstable-replace` feature (open to discussion
at [#&#8203;2836](https://togithub.com/clap-rs/clap/issues/2836))
-   Removed the stablized `unstable-grouped` feature

##### Features

-   Allow any `StyledStr` to accept text styled with ANSI escape codes
-   Respect `CLICOLOR`, `CLICOLOR_FORCE`

##### Fixes

- Lighten the tone for "unexpected argument" errors (open to discussion
at [#&#8203;4638](https://togithub.com/clap-rs/clap/issues/4638))

###
[`v4.1.14`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;4114---2023-03-28)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.1.13...v4.1.14)

##### Features

-   *(derive)* `#[group]` raw attribute support

##### Performance

- *(derive)* `clap_builder` was pulled out of `clap` so it could build
in parallel to `clap_derive`
- `os_str_bytes` dependency was removed for faster builds and smaller
binaries

###
[`v4.1.13`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;4113---2023-03-18)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.1.12...v4.1.13)

##### Performance

-   Reduce repeated alloc calls when building a `Command`
-   Reduce duplicate dependencies for faster builds

###
[`v4.1.12`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;4112---2023-03-18)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.1.11...v4.1.12)

##### Internal

-   *(derive)* Update to `syn` v2

##### Performance

- *(derive)* Faster build times by dropping `proc-macro-error`
dependency

###
[`v4.1.11`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;4111---2023-03-17)

[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.1.10...v4.1.11)

##### Internal

-   Update `bitflags`

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/knope-dev/knope).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jun 12, 2023
1 parent 9b7383f commit a12f37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ platform-dirs = "0.3.0"
git-conventional = "0.12.3"
ureq = { version = "2.6.2", features = ["json"] }
http = "0.2.9"
clap = { version = "4.1.10", features = ["cargo", "derive", "env"] }
clap = { version = "4.3.3", features = ["cargo", "derive", "env"] }
itertools = "0.10.5"
miette = { version = "5.6.0", features = ["fancy"] }
thiserror = "1.0.39"
Expand Down

0 comments on commit a12f37f

Please sign in to comment.