diff --git a/Cargo.lock b/Cargo.lock index 93495c857..56906ca63 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -112,6 +112,15 @@ dependencies = [ "alloc-no-stdlib", ] +[[package]] +name = "alloca" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4" +dependencies = [ + "cc", +] + [[package]] name = "android-tzdata" version = "0.1.1" @@ -406,7 +415,7 @@ dependencies = [ "globset", "home", "indexmap 2.9.0", - "itertools", + "itertools 0.13.0", "nu-ansi-term", "once_cell", "path_abs", @@ -513,9 +522,10 @@ dependencies = [ "reqwest", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tsify", + "uniffi", "wasm-bindgen", "wasm-bindgen-futures", "wiremock", @@ -542,7 +552,7 @@ dependencies = [ "bitwarden-uuid", "serde", "serde_repr", - "thiserror 1.0.69", + "thiserror 2.0.12", "tsify", "uniffi", "uuid", @@ -590,7 +600,7 @@ dependencies = [ "serde_json", "serde_qs", "serde_repr", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tracing", "tsify", @@ -656,7 +666,7 @@ dependencies = [ "serde", "serde-wasm-bindgen", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.12", "tsify", "uniffi", "wasm-bindgen", @@ -687,7 +697,7 @@ dependencies = [ "quote", "serde", "syn", - "thiserror 1.0.69", + "thiserror 2.0.12", "tsify", "wasm-bindgen", ] @@ -710,7 +720,7 @@ dependencies = [ "num-traits", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.12", "tsify", "uniffi", "uuid", @@ -728,14 +738,14 @@ dependencies = [ "bitwarden-vault", "chrono", "coset", - "itertools", + "itertools 0.13.0", "p256", "passkey", "passkey-client", "reqwest", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.12", "tracing", "uniffi", "uuid", @@ -754,7 +764,7 @@ dependencies = [ "schemars 1.0.0", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tsify", "uniffi", @@ -773,7 +783,7 @@ dependencies = [ "js-sys", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tracing", "tsify", @@ -824,7 +834,7 @@ dependencies = [ "chrono", "serde", "serde_repr", - "thiserror 1.0.69", + "thiserror 2.0.12", "uniffi", "uuid", "zeroize", @@ -841,7 +851,7 @@ dependencies = [ "schemars 1.0.0", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tracing", "uuid", @@ -868,7 +878,7 @@ dependencies = [ "serde", "ssh-cipher", "ssh-key", - "thiserror 1.0.69", + "thiserror 2.0.12", "tsify", "uniffi", "wasm-bindgen", @@ -886,7 +896,7 @@ dependencies = [ "rusqlite", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tsify", "uniffi", @@ -913,7 +923,7 @@ dependencies = [ "gloo-timers", "js-sys", "serde", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tokio-test", "tokio-util", @@ -1007,7 +1017,7 @@ dependencies = [ "sha1", "sha2 0.10.9", "subtle", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tracing", "tsify", @@ -1609,18 +1619,20 @@ dependencies = [ [[package]] name = "criterion" -version = "0.7.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1c047a62b0cc3e145fa84415a3191f628e980b194c2755aa12300a4e6cbd928" +checksum = "4d883447757bb0ee46f233e9dc22eb84d93a9508c9b868687b274fc431d886bf" dependencies = [ + "alloca", "anes", "cast", "ciborium", "clap", "criterion-plot", - "itertools", + "itertools 0.13.0", "num-traits", "oorandom", + "page_size", "plotters", "rayon", "regex", @@ -1632,12 +1644,12 @@ dependencies = [ [[package]] name = "criterion-plot" -version = "0.6.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b1bcc0dc7dfae599d84ad0b1a55f80cde8af3725da8313b528da95ef783e338" +checksum = "ed943f81ea2faa8dcecbbfa50164acf95d555afec96a27871663b300e387b2e4" dependencies = [ "cast", - "itertools", + "itertools 0.13.0", ] [[package]] @@ -2225,7 +2237,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] @@ -3104,6 +3116,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.15" @@ -3200,7 +3221,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667" dependencies = [ "cfg-if", - "windows-targets 0.48.5", + "windows-targets 0.53.2", ] [[package]] @@ -3574,6 +3595,16 @@ dependencies = [ "sha2 0.10.9", ] +[[package]] +name = "page_size" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30d5b2194ed13191c1999ae0704b7839fb18384fa22e49b57eeaa97d79ce40da" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "parking_lot" version = "0.12.4" @@ -4063,7 +4094,7 @@ dependencies = [ "once_cell", "socket2 0.5.10", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -4425,7 +4456,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] @@ -4483,7 +4514,7 @@ dependencies = [ "security-framework", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -5204,7 +5235,7 @@ dependencies = [ "getrandom 0.3.3", "once_cell", "rustix", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] @@ -6331,7 +6362,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] @@ -6942,7 +6973,7 @@ dependencies = [ "chrono", "derive_builder", "fancy-regex 0.13.0", - "itertools", + "itertools 0.13.0", "lazy_static", "regex", "time", diff --git a/crates/bitwarden-crypto/Cargo.toml b/crates/bitwarden-crypto/Cargo.toml index aa235548d..e90cabe16 100644 --- a/crates/bitwarden-crypto/Cargo.toml +++ b/crates/bitwarden-crypto/Cargo.toml @@ -67,7 +67,7 @@ zeroize = { version = ">=1.7.0, <2.0", features = ["derive", "aarch64"] } zeroizing-alloc = ">=0.1.0, <0.2" [dev-dependencies] -criterion = "0.7.0" +criterion = "0.8.0" rand_chacha = "0.3.1" serde_json = { workspace = true }