From 940bcd2f1f6d6d973f784f8818f3928957bb6f85 Mon Sep 17 00:00:00 2001 From: Jason Colburne Date: Mon, 4 Mar 2024 18:25:03 -0400 Subject: [PATCH] update dependencies --- Cargo.toml | 4 ++-- src/core/prefixer.rs | 2 +- src/core/saider.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 73c3822..cfdc69c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cesride" -version = "0.6.3" +version = "0.6.4" edition = "2021" description = "Cryptographic primitives for use with Composable Event Streaming Representation (CESR)" license = "Apache-2.0" @@ -11,7 +11,7 @@ keywords = ["cesr", "keri", "acdc"] [dependencies] anyhow = "~1" argon2 = "~0.5" -base64 = "~0.21" +base64 = "~0.22" blake2 = "~0.10" blake3 = "~1" chrono = { version = "~0.4", default-features = false, features = ["clock"] } diff --git a/src/core/prefixer.rs b/src/core/prefixer.rs index 0c6a95a..228cef4 100644 --- a/src/core/prefixer.rs +++ b/src/core/prefixer.rs @@ -599,7 +599,7 @@ mod test { let prefixer = Prefixer::new(Some(&ked), None, Some(code), None, None, None, None).unwrap(); let mut map = ked.to_map().unwrap(); - map.remove("k"); + map.shift_remove("k"); ked = dat!(&map); assert!(!prefixer.verify(&ked, None).unwrap()); diff --git a/src/core/saider.rs b/src/core/saider.rs index d9d61e8..1818b21 100644 --- a/src/core/saider.rs +++ b/src/core/saider.rs @@ -76,7 +76,7 @@ fn derive( let mut map = sad.to_map()?; for key in ignore.unwrap_or(&[]) { if map.contains_key(*key) { - map.remove(*key); + map.shift_remove(*key); } } let ser = dat!(&map);