diff --git a/Cargo.lock b/Cargo.lock index ee223536..c4793b93 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -119,7 +119,7 @@ dependencies = [ name = "anstyle-parse" version = "0.2.1" dependencies = [ - "arrayvec 0.7.2", + "arrayvec", "codegenrs", "criterion", "proptest", @@ -198,12 +198,6 @@ dependencies = [ "yansi", ] -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - [[package]] name = "arrayvec" version = "0.7.2" @@ -1210,9 +1204,9 @@ dependencies = [ [[package]] name = "strip-ansi-escapes" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "011cbb39cf7c1f62871aea3cc46e5817b0937b49e9447370c93cacbe93a766d8" +checksum = "55ff8ef943b384c414f54aefa961dd2bd853add74ec75e7ac74cf91dba62bcfa" dependencies = [ "vte", ] @@ -1339,11 +1333,10 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "vte" -version = "0.10.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cbce692ab4ca2f1f3047fcf732430249c0e971bfdd2b234cf2c47ad93af5983" +checksum = "f5022b5fbf9407086c180e9557be968742d839e68346af7792b8592489732197" dependencies = [ - "arrayvec 0.5.2", "utf8parse", "vte_generate_state_changes", ] diff --git a/crates/anstream/Cargo.toml b/crates/anstream/Cargo.toml index a8893f7a..738a553b 100644 --- a/crates/anstream/Cargo.toml +++ b/crates/anstream/Cargo.toml @@ -43,7 +43,7 @@ anstyle-wincon = { version = "2.0.0", path = "../anstyle-wincon", optional = tru criterion = "0.4.0" owo-colors = "3.5.0" proptest = "1.1.0" -strip-ansi-escapes = "0.1.1" +strip-ansi-escapes = "0.2.0" [[bench]] name = "strip" diff --git a/crates/anstream/benches/strip.rs b/crates/anstream/benches/strip.rs index af204bf9..9ed6178c 100644 --- a/crates/anstream/benches/strip.rs +++ b/crates/anstream/benches/strip.rs @@ -63,7 +63,7 @@ fn strip(c: &mut Criterion) { }); group.bench_function("strip_ansi_escapes", |b| { b.iter(|| { - let stripped = strip_ansi_escapes::strip(content).unwrap(); + let stripped = strip_ansi_escapes::strip(content); black_box(stripped) })