From 6bb8f94460ad18f7b4e7ab379b9c4bddf34f1a85 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 1 Apr 2025 16:51:29 +0000 Subject: [PATCH] chore(deps): Update compatible (#1268) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [anyhow](https://redirect.github.com/dtolnay/anyhow) | dependencies | patch | `1.0.96` -> `1.0.97` | | [clap](https://redirect.github.com/clap-rs/clap) | dependencies | patch | `4.5.31` -> `4.5.34` | | [env_logger](https://redirect.github.com/rust-cli/env_logger) | dependencies | patch | `0.11.6` -> `0.11.7` | | [indexmap](https://redirect.github.com/indexmap-rs/indexmap) | dev-dependencies | minor | `2.7.1` -> `2.8.0` | | [log](https://redirect.github.com/rust-lang/log) | dependencies | patch | `0.4.26` -> `0.4.27` | | [serde](https://serde.rs) ([source](https://redirect.github.com/serde-rs/serde)) | dependencies | patch | `1.0.218` -> `1.0.219` | | [serde_json](https://redirect.github.com/serde-rs/json) | dependencies | patch | `1.0.139` -> `1.0.140` | | [winnow](https://redirect.github.com/winnow-rs/winnow) | dependencies | patch | `0.7.3` -> `0.7.4` | --- ### Release Notes
dtolnay/anyhow (anyhow) ### [`v1.0.97`](https://redirect.github.com/dtolnay/anyhow/releases/tag/1.0.97) [Compare Source](https://redirect.github.com/dtolnay/anyhow/compare/1.0.96...1.0.97) - Documentation improvements
clap-rs/clap (clap) ### [`v4.5.34`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4534---2025-03-27) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.33...v4.5.34) ##### Fixes - *(help)* Don't add extra blank lines with `flatten_help(true)` and subcommands without arguments ### [`v4.5.33`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4533---2025-03-26) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.32...v4.5.33) ##### Fixes - *(error)* When showing the usage of a suggestion for an unknown argument, don't show the group ### [`v4.5.32`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4532---2025-03-10) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.31...v4.5.32) ##### Features - Add `Error::remove` ##### Documentation - *(cookbook)* Switch from `humantime` to `jiff` - *(tutorial)* Better cover required vs optional ##### Internal - Update `pulldown-cmark`
rust-cli/env_logger (env_logger) ### [`v0.11.7`](https://redirect.github.com/rust-cli/env_logger/blob/HEAD/CHANGELOG.md#0117---2025-03-10) [Compare Source](https://redirect.github.com/rust-cli/env_logger/compare/v0.11.6...v0.11.7) ##### Internal - Replaced `humantime` with `jiff`
indexmap-rs/indexmap (indexmap) ### [`v2.8.0`](https://redirect.github.com/indexmap-rs/indexmap/blob/HEAD/RELEASES.md#280-2025-03-10) [Compare Source](https://redirect.github.com/indexmap-rs/indexmap/compare/2.7.1...2.8.0) - Added `indexmap_with_default!` and `indexset_with_default!` to be used with alternative hashers, especially when using the crate without `std`. - Implemented `PartialEq` between each `Slice` and `[]`/arrays. - Removed the internal `rustc-rayon` feature and dependency.
rust-lang/log (log) ### [`v0.4.27`](https://redirect.github.com/rust-lang/log/blob/HEAD/CHANGELOG.md#0427---2025-03-24) [Compare Source](https://redirect.github.com/rust-lang/log/compare/0.4.26...0.4.27) ##### What's Changed - A few minor lint fixes by [@​nyurik](https://redirect.github.com/nyurik) in [https://github.com/rust-lang/log/pull/671](https://redirect.github.com/rust-lang/log/pull/671) - Enable clippy support for format-like macros by [@​nyurik](https://redirect.github.com/nyurik) in [https://github.com/rust-lang/log/pull/665](https://redirect.github.com/rust-lang/log/pull/665) - Add an optional logger param by [@​tisonkun](https://redirect.github.com/tisonkun) in [https://github.com/rust-lang/log/pull/664](https://redirect.github.com/rust-lang/log/pull/664) - Pass global logger by value, supplied logger by ref by [@​KodrAus](https://redirect.github.com/KodrAus) in [https://github.com/rust-lang/log/pull/673](https://redirect.github.com/rust-lang/log/pull/673) **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.26...0.4.27
serde-rs/serde (serde) ### [`v1.0.219`](https://redirect.github.com/serde-rs/serde/releases/tag/v1.0.219) [Compare Source](https://redirect.github.com/serde-rs/serde/compare/v1.0.218...v1.0.219) - Prevent `absolute_paths` Clippy restriction being triggered inside macro-generated code ([#​2906](https://redirect.github.com/serde-rs/serde/issues/2906), thanks [@​davidzeng0](https://redirect.github.com/davidzeng0))
serde-rs/json (serde_json) ### [`v1.0.140`](https://redirect.github.com/serde-rs/json/releases/tag/v1.0.140) [Compare Source](https://redirect.github.com/serde-rs/json/compare/v1.0.139...v1.0.140) - Documentation improvements
winnow-rs/winnow (winnow) ### [`v0.7.4`](https://redirect.github.com/winnow-rs/winnow/blob/HEAD/CHANGELOG.md#074---2025-03-12) [Compare Source](https://redirect.github.com/winnow-rs/winnow/compare/v0.7.3...v0.7.4) ##### Documentation - Clarify `empty` - Clarify `dispatch!` - *(cookbook)* Discuss lexing - *(tutorial)* Iterate on how we discuss errors
--- ### 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](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/crate-ci/typos). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ed Page --- Cargo.lock | 48 +++++++++++----------- crates/typos-cli/src/bin/typos-cli/main.rs | 2 +- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0062f34e..a2e0ca45 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -100,9 +100,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.96" +version = "1.0.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b964d184e89d9b6b67dd2715bc8e74cf3107fb2b529990c90cf517326150bf4" +checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" [[package]] name = "assert_fs" @@ -191,9 +191,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "4.5.31" +version = "4.5.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "027bb0d98429ae334a8698531da7077bdf906419543a35a55c2cb1b66437d767" +checksum = "e958897981290da2a852763fe9cdb89cd36977a5d729023127095fa94d95e2ff" dependencies = [ "clap_builder", "clap_derive", @@ -211,9 +211,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.31" +version = "4.5.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5589e0cba072e0f3d23791efac0fd8627b49c829c196a492e88168e6a669d863" +checksum = "83b0f35019843db2160b5bb19ae09b4e6411ac33fc6a712003c33e03090e2489" dependencies = [ "anstream", "anstyle", @@ -224,9 +224,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.28" +version = "4.5.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4ced95c6f4a675af3da73304b9ac4ed991640c36374e4b46795c49e17cf1ed" +checksum = "09176aae279615badda0765c0c0b3f6ed53f4709118af73cf4655d85d1530cd7" dependencies = [ "heck", "proc-macro2", @@ -532,9 +532,9 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.11.6" +version = "0.11.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcaee3d8e3cfc3fd92428d477bc97fc29ec8716d180c0d74c643bb26166660e0" +checksum = "c3716d7a920fb4fac5d84e9d4bce8ceb321e9414b4409da61b07b75c1e3d0697" dependencies = [ "anstream", "anstyle", @@ -714,9 +714,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.7.1" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" +checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058" dependencies = [ "equivalent", "hashbrown 0.15.0", @@ -782,9 +782,9 @@ checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" [[package]] name = "log" -version = "0.4.26" +version = "0.4.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e" +checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" [[package]] name = "maplit" @@ -1173,9 +1173,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.218" +version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8dfc9d19bdbf6d17e22319da49161d5d0108e4188e8b680aef6299eed22df60" +checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" dependencies = [ "serde_derive", ] @@ -1202,9 +1202,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.218" +version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b" +checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" dependencies = [ "proc-macro2", "quote", @@ -1224,9 +1224,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.139" +version = "1.0.140" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44f86c3acccc9c65b153fe1b85a3be07fe5515274ec9f0653b4a0875731c72a6" +checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" dependencies = [ "itoa", "memchr", @@ -1447,7 +1447,7 @@ version = "0.22.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474" dependencies = [ - "indexmap 2.7.1", + "indexmap 2.8.0", "serde", "serde_spanned", "toml_datetime", @@ -1570,7 +1570,7 @@ dependencies = [ "divan", "edit-distance", "heck", - "indexmap 2.7.1", + "indexmap 2.8.0", "itertools 0.14.0", "phf", "snapbox", @@ -1917,9 +1917,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e7f4ea97f6f78012141bcdb6a216b2609f0979ada50b20ca5b52dde2eac2bb1" +checksum = "0e97b544156e9bebe1a0ffbc03484fc1ffe3100cbce3ffb17eac35f7cdd7ab36" dependencies = [ "memchr", ] diff --git a/crates/typos-cli/src/bin/typos-cli/main.rs b/crates/typos-cli/src/bin/typos-cli/main.rs index f793777c..0a5d1f24 100644 --- a/crates/typos-cli/src/bin/typos-cli/main.rs +++ b/crates/typos-cli/src/bin/typos-cli/main.rs @@ -342,7 +342,7 @@ fn run_checks(args: &args::Args) -> proc_exit::ExitResult { if let Err(err) = global_reporter.generate_final_result() { errors_found = true; - log::error!("could not render end-report: {}", err); + log::error!("could not render end-report: {err}"); } if errors_found {