From 8b72db9b47129fb0877de422f6e54be0d8bdb335 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 14:52:54 +0000 Subject: [PATCH] chore(deps): Update Rust crate snapbox to v1 --- Cargo.lock | 60 ++++++++++++++++++++++++++++++++++++++++++------------ Cargo.toml | 2 +- 2 files changed, 48 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7b13f1e4..4fdde5f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -34,7 +34,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" dependencies = [ "anstyle", - "anstyle-parse", + "anstyle-parse 0.2.5", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstream" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" +dependencies = [ + "anstyle", + "anstyle-parse 1.0.0", "anstyle-query", "anstyle-wincon", "colorchoice", @@ -44,9 +59,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.8" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" @@ -57,6 +72,15 @@ dependencies = [ "utf8parse", ] +[[package]] +name = "anstyle-parse" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" +dependencies = [ + "utf8parse", +] + [[package]] name = "anstyle-query" version = "1.1.1" @@ -68,12 +92,13 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "3.0.4" +version = "3.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", - "windows-sys 0.52.0", + "once_cell_polyfill", + "windows-sys 0.60.2", ] [[package]] @@ -587,6 +612,15 @@ version = "1.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" +[[package]] +name = "once_cell_polyfill" +version = "1.56.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8aab899efe6ce4fe821f6dda30c02d7041c79f147598ab4b60197f181e12d001" +dependencies = [ + "once_cell", +] + [[package]] name = "oorandom" version = "11.1.5" @@ -962,11 +996,11 @@ checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" [[package]] name = "snapbox" -version = "0.6.21" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96dcfc4581e3355d70ac2ee14cfdf81dce3d85c85f1ed9e2c1d3013f53b3436b" +checksum = "b7a2e43da79cf7c50d938bd15e4b17e7fc450113e5ace6e6e9acfe022facbf8d" dependencies = [ - "anstream", + "anstream 1.0.0", "anstyle", "escargot", "normalize-line-endings", @@ -976,11 +1010,11 @@ dependencies = [ [[package]] name = "snapbox-macros" -version = "0.3.10" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16569f53ca23a41bb6f62e0a5084aa1661f4814a67fa33696a79073e03a664af" +checksum = "d62a48443d404309a6006676336ff6311ef72ee78561d6a7628d952912155386" dependencies = [ - "anstream", + "anstream 1.0.0", ] [[package]] @@ -1436,7 +1470,7 @@ name = "winnow" version = "0.7.15" dependencies = [ "annotate-snippets", - "anstream", + "anstream 0.6.15", "anstyle", "anyhow", "automod", diff --git a/Cargo.toml b/Cargo.toml index bb5354dc..dd494d90 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -143,7 +143,7 @@ proptest = "1.6.0" criterion = "0.5.1" lexopt = "0.3.1" term-transcript = "0.2.0" -snapbox = { version = "0.6.21", features = ["examples"] } +snapbox = { version = "1.0.0", features = ["examples"] } circular = "0.3.0" rustc-hash = "2.1.1" automod = "1.0.15"