rust-cli / book

Documentation on how to use the Rust Programming Language to develop commandline applications
https://rust-cli.github.io/book/index.html
MIT License
816 stars 108 forks source link

chore(deps): update compatible #220

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
clap dependencies minor 4.2.5 -> 4.3.0
ctrlc dependencies minor 3.2.5 -> 3.4.0
indicatif dependencies patch 0.17.3 -> 0.17.4
log dependencies patch 0.4.17 -> 0.4.18
serde (source) dependencies patch 1.0.160 -> 1.0.163
serde_derive (source) dependencies patch 1.0.160 -> 1.0.163

Release Notes

clap-rs/clap ### [`v4.3.0`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#​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#​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#​426---2023-05-02) [Compare Source](https://togithub.com/clap-rs/clap/compare/v4.2.5...v4.2.6) ##### Features - `impl Eq for clap_builder::util::AnyValueId`
Detegr/rust-ctrlc ### [`v3.4.0`](https://togithub.com/Detegr/rust-ctrlc/releases/tag/3.4.0) [Compare Source](https://togithub.com/Detegr/rust-ctrlc/compare/3.3.1...3.4.0) - Use double checked locking to prevent race condition in `set_handler` - Move the implementation for [#​98](https://togithub.com/Detegr/rust-ctrlc/issues/98) to `ctrlc::try_set_handler` and keep overwriting existing handlers in `ctrlc::set_handler` ### [`v3.3.1`](https://togithub.com/Detegr/rust-ctrlc/releases/tag/3.3.1) [Compare Source](https://togithub.com/Detegr/rust-ctrlc/compare/3.3.0...3.3.1) - Registering a handler over an existing handler on unix systems is now an [error](https://togithub.com/Detegr/rust-ctrlc/blob/master/src/platform/unix/mod.rs#L116-L119) ### [`v3.3.0`](https://togithub.com/Detegr/rust-ctrlc/compare/3.2.5...3.3.0) [Compare Source](https://togithub.com/Detegr/rust-ctrlc/compare/3.2.5...3.3.0)
console-rs/indicatif ### [`v0.17.4`](https://togithub.com/console-rs/indicatif/releases/tag/0.17.4) [Compare Source](https://togithub.com/console-rs/indicatif/compare/0.17.3...0.17.4) Another small bugfix release. - Handle newline in msg and empty msg ([#​540](https://togithub.com/console-rs/indicatif/issues/540), thanks to [@​RDruon](https://togithub.com/RDruon)) - Handle terminal line wrap to avoid new line ([#​533](https://togithub.com/console-rs/indicatif/issues/533), thanks to [@​RDruon](https://togithub.com/RDruon)) - Resetting the elapsed time also resets ETA ([#​538](https://togithub.com/console-rs/indicatif/issues/538), thanks to [@​afontenot](https://togithub.com/afontenot)) - Mention the prefix and message placeholders in the `with_` docs ([#​529](https://togithub.com/console-rs/indicatif/issues/529), thanks to [@​lnicola](https://togithub.com/lnicola)) - Allow rate-limiting `TermLike` targets ([#​526](https://togithub.com/console-rs/indicatif/issues/526), thanks to [@​akx](https://togithub.com/akx)) - Fix docs for `ProgressDrawTarget` ([#​523](https://togithub.com/console-rs/indicatif/issues/523), thanks to [@​tillarnold](https://togithub.com/tillarnold)) - Change "OS X" to "macOS" ([#​519](https://togithub.com/console-rs/indicatif/issues/519), thanks to [@​atouchet](https://togithub.com/atouchet)) - Fix `MultiProgress` alignment handling and migrate from structopt => clap ([#​516](https://togithub.com/console-rs/indicatif/issues/516)) - Don't deadlock when double-adding ProgressBar ([#​515](https://togithub.com/console-rs/indicatif/issues/515)) - Use `instant::Instant` when compiling to WASM ([#​514](https://togithub.com/console-rs/indicatif/issues/514), thanks to [@​azriel91](https://togithub.com/azriel91)) - Update portable-atomic requirement from 0.3.15 to 1.0.0 ([#​512](https://togithub.com/console-rs/indicatif/issues/512)) - Add `contents_formatted()` method to \`InMemoryTerm ([#​531](https://togithub.com/console-rs/indicatif/issues/531), thanks to [@​dfaust](https://togithub.com/dfaust)) - `inc()` after work in examples ([#​522](https://togithub.com/console-rs/indicatif/issues/522), thanks to [@​tatref](https://togithub.com/tatref)) On behalf of the indicatif team ([@​chris-laplante](https://togithub.com/chris-laplante) and [@​djc](https://togithub.com/djc)), thanks to all contributors!
rust-lang/log ### [`v0.4.18`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​0418---2023-05-28) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.17...0.4.18) - fix markdown links (again) by [@​hellow554](https://togithub.com/hellow554) in [https://github.com/rust-lang/log/pull/513](https://togithub.com/rust-lang/log/pull/513) - add cargo doc to workflow by [@​hellow554](https://togithub.com/hellow554) in [https://github.com/rust-lang/log/pull/515](https://togithub.com/rust-lang/log/pull/515) - Apply Clippy lints by [@​hellow554](https://togithub.com/hellow554) in [https://github.com/rust-lang/log/pull/516](https://togithub.com/rust-lang/log/pull/516) - Replace ad-hoc eq_ignore_ascii_case with slice::eq_ignore_ascii_case by [@​glandium](https://togithub.com/glandium) in [https://github.com/rust-lang/log/pull/519](https://togithub.com/rust-lang/log/pull/519) - fix up windows targets by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/rust-lang/log/pull/528](https://togithub.com/rust-lang/log/pull/528) - typo fix by [@​jiangying000](https://togithub.com/jiangying000) in [https://github.com/rust-lang/log/pull/529](https://togithub.com/rust-lang/log/pull/529) - Remove dependency on cfg_if by [@​EriKWDev](https://togithub.com/EriKWDev) in [https://github.com/rust-lang/log/pull/536](https://togithub.com/rust-lang/log/pull/536) - GitHub Workflows security hardening by [@​sashashura](https://togithub.com/sashashura) in [https://github.com/rust-lang/log/pull/538](https://togithub.com/rust-lang/log/pull/538) - Fix build status badge by [@​atouchet](https://togithub.com/atouchet) in [https://github.com/rust-lang/log/pull/539](https://togithub.com/rust-lang/log/pull/539) - Add call_logger to the documentation by [@​a1ecbr0wn](https://togithub.com/a1ecbr0wn) in [https://github.com/rust-lang/log/pull/547](https://togithub.com/rust-lang/log/pull/547) - Remove build.rs file by [@​GuillaumeGomez](https://togithub.com/GuillaumeGomez) in [https://github.com/rust-lang/log/pull/543](https://togithub.com/rust-lang/log/pull/543) - Use stable internals for key-value API by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/rust-lang/log/pull/550](https://togithub.com/rust-lang/log/pull/550) - Change wording of list of implementations by [@​Thomasdezeeuw](https://togithub.com/Thomasdezeeuw) in [https://github.com/rust-lang/log/pull/553](https://togithub.com/rust-lang/log/pull/553) - Add std-logger to list of implementations by [@​Thomasdezeeuw](https://togithub.com/Thomasdezeeuw) in [https://github.com/rust-lang/log/pull/554](https://togithub.com/rust-lang/log/pull/554) - Add `set_max_level_racy` and gate `set_max_level` by [@​djkoloski](https://togithub.com/djkoloski) in [https://github.com/rust-lang/log/pull/544](https://togithub.com/rust-lang/log/pull/544) - \[doc] src/lib.rs : prefix an unused variable with an underscore by [@​OccupyMars2025](https://togithub.com/OccupyMars2025) in [https://github.com/rust-lang/log/pull/561](https://togithub.com/rust-lang/log/pull/561) - \[doc] src/macros.rs : correct grammar errors of an example in lib documentation by [@​OccupyMars2025](https://togithub.com/OccupyMars2025) in [https://github.com/rust-lang/log/pull/562](https://togithub.com/rust-lang/log/pull/562)
serde-rs/serde ### [`v1.0.163`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.163) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.162...v1.0.163) - Eliminate build script from serde_derive crate to slightly reduce build time ([#​2442](https://togithub.com/serde-rs/serde/issues/2442), thanks [@​taiki-e](https://togithub.com/taiki-e)) ### [`v1.0.162`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.162) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.161...v1.0.162) - Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the `csv` crate ([#​2377](https://togithub.com/serde-rs/serde/issues/2377), thanks [@​mfro](https://togithub.com/mfro)) ```rust #[derive(Deserialize)] pub struct Record { common: u64, #[serde(flatten)] kind: Kind, } #[derive(Deserialize)] #[serde(tag = "kind", content = "parameter", rename_all = "lowercase")] enum Kind { Foo(u64), Bar(bool), } ``` ```csv common,kind,parameter 1,foo,42 2,bar,true ``` ### [`v1.0.161`](https://togithub.com/serde-rs/serde/releases/tag/v1.0.161) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.160...v1.0.161) - Improve error messages produced by serde_test on test failure ([#​2435](https://togithub.com/serde-rs/serde/issues/2435), thanks [@​Mingun](https://togithub.com/Mingun))

Configuration

šŸ“… Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

šŸš¦ Automerge: Enabled.

ā™» 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.



This PR has been generated by Mend Renovate. View repository job log here.