diff --git a/Cargo.lock b/Cargo.lock index ee788124..68d0bf44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17,18 +17,6 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" -[[package]] -name = "ahash" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" -dependencies = [ - "cfg-if", - "once_cell", - "version_check", - "zerocopy", -] - [[package]] name = "aho-corasick" version = "1.1.3" @@ -38,6 +26,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "allocator-api2" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" + [[package]] name = "android-tzdata" version = "0.1.1" @@ -133,9 +127,9 @@ dependencies = [ [[package]] name = "base64" -version = "0.13.1" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "bitvec" @@ -389,6 +383,18 @@ version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + +[[package]] +name = "foldhash" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2" + [[package]] name = "funty" version = "2.0.0" @@ -424,11 +430,13 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.5" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" dependencies = [ - "ahash", + "allocator-api2", + "equivalent", + "foldhash", ] [[package]] @@ -700,13 +708,12 @@ checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" [[package]] name = "pem" -version = "0.8.3" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd56cbd21fea48d0c440b41cd69c589faacade08c992d9a54e471b79d0fd13eb" +checksum = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae" dependencies = [ "base64", - "once_cell", - "regex", + "serde", ] [[package]] @@ -1204,12 +1211,6 @@ dependencies = [ "getrandom", ] -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - [[package]] name = "walkdir" version = "2.5.0" @@ -1422,23 +1423,3 @@ name = "yansi" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" - -[[package]] -name = "zerocopy" -version = "0.7.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.7.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] diff --git a/Cargo.toml b/Cargo.toml index 7aa4acb4..c227a6fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,37 +62,33 @@ harness = false test = true [dependencies] -nom = { version = "7.1.3", default-features = false, features = ["alloc"] } -num-bigint = { version = "0.4.6", default-features = false } -num-traits = { version = "0.2.19", default-features = false } -snafu = { version = "0.8.5", default-features = false, features = ["rust_1_81"] } -bytes = { version = "1.7.1", default-features = false } +arrayvec = { version = "0.7.6", default-features = false } bitvec.workspace = true -rasn-derive = { version = "0.20", path = "macros", optional = true } +bytes = { version = "1.7.2", default-features = false } chrono.workspace = true +either = { version = "1.13.0", default-features = false } +hashbrown = "0.15.0" konst = { version = "0.3.9", default-features = false } +nom = { version = "7.1.3", default-features = false, features = ["alloc"] } nom-bitvec = { package = "bitvec-nom2", version = "0.2.1" } -arrayvec = { version = "0.7.6", default-features = false } -either = { version = "1.13.0", default-features = false } -once_cell = { version = "1.19.0", default-features = false, features = [ - "race", - "alloc", -] } +num-bigint = { version = "0.4.6", default-features = false } +num-traits = { version = "0.2.19", default-features = false } num-integer = { version = "0.1.46", default-features = false, features = [ "i128", ] } -serde_json = { version = "1", default-features = false, features = ["alloc"] } - -hashbrown = { version = "0.14.5", default-features = false, features = [ - "ahash", - "inline-more", +once_cell = { version = "1.20.2", default-features = false, features = [ + "race", + "alloc", ] } -rasn-compiler = { version = "0.5.0", optional = true } +rasn-compiler = { version = "0.5.3", optional = true } +rasn-derive = { version = "0.20", path = "macros", optional = true } +snafu = { version = "0.8.5", default-features = false, features = ["rust_1_81"] } +serde_json = { version = "1", default-features = false, features = ["alloc"] } [dev-dependencies] criterion = "0.5.1" iai = "0.1.1" -once_cell = "1.19.0" +once_cell = "1.20.2" pretty_assertions.workspace = true rasn-pkix = { path = "standards/pkix" } x509-parser = "0.16" diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 9af09462..8bebed33 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -15,8 +15,8 @@ proc-macro = true [dependencies] syn = { version = "2.0.79", features = ["extra-traits"] } quote = "1.0.37" -proc-macro2 = "1.0.86" +proc-macro2 = "1.0.88" itertools = "0.13" -uuid = { version = "1.10.0", default-features = false, features = ["v4"] } +uuid = { version = "1.11.0", default-features = false, features = ["v4"] } either = { version = "1.13.0", default-features = false } rayon = "1.10.0" diff --git a/src/types/constructed.rs b/src/types/constructed.rs index 3ab0fb6e..6eb96f6c 100644 --- a/src/types/constructed.rs +++ b/src/types/constructed.rs @@ -214,11 +214,9 @@ mod tests { assert_eq!(set_a, set_b); assert_ne!(set_a, set_c); - let hasher = hashbrown::hash_map::DefaultHashBuilder::default(); + let hasher = hashbrown::DefaultHashBuilder::default(); let hashed_a = hasher.hash_one(&set_a); - let hashed_b = hasher.hash_one(set_b); let hashed_c = hasher.hash_one(set_c); - assert_eq!(hashed_a, hashed_b); assert_ne!(hashed_a, hashed_c); // Duplicate test let set_d = SetOf::from_vec(alloc::vec![1, 1, 2, 2, 3, 3]); diff --git a/standards/pkix/Cargo.toml b/standards/pkix/Cargo.toml index a319c999..27a3808f 100644 --- a/standards/pkix/Cargo.toml +++ b/standards/pkix/Cargo.toml @@ -12,8 +12,8 @@ repository.workspace = true rasn = { path = "../..", version = "0.20" } [dev-dependencies] -base64 = "0.13" +base64 = "0.22" bitvec.workspace = true chrono.workspace = true -pem = "0.8.3" +pem = "3.0.4" pretty_assertions.workspace = true