diff --git a/Cargo.toml b/Cargo.toml index 221a37b..011d23c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ heapless = { version = "0.8", default-features = false } hex = { version = "0.4.2", default-features = false } itertools = { version = "0.10", default-features = false } libfuzzer-sys = "0.4" -minicbor = { version = "0.19.1", features = ["derive"] } +minicbor = { version = "0.20", features = ["derive"] } phf = { version = "0.11", features = ["macros"], default-features = false } rand_xoshiro = "0.6" serde = { version = "1.0.156", features = ["derive"] } diff --git a/ur/Cargo.toml b/ur/Cargo.toml index c580e07..bcda876 100644 --- a/ur/Cargo.toml +++ b/ur/Cargo.toml @@ -21,8 +21,10 @@ alloc = ["minicbor/alloc"] bitcoin_hashes = { workspace = true } crc = { workspace = true } heapless = { workspace = true } -hex = { workspace = true } itertools = { workspace = true } minicbor = { workspace = true } phf = { workspace = true } rand_xoshiro = { workspace = true } + +[dev-dependencies] +hex = { workspace = true, features = ["alloc"] } diff --git a/ur/src/len.rs b/ur/src/len.rs index 70ff39d..c60479a 100644 --- a/ur/src/len.rs +++ b/ur/src/len.rs @@ -65,7 +65,7 @@ const fn digit_count(mut v: usize) -> usize { } #[cfg(test)] -pub mod tests { +mod tests { use super::*; #[test] diff --git a/ur/src/ur/mod.rs b/ur/src/ur/mod.rs index a987102..4f72bca 100644 --- a/ur/src/ur/mod.rs +++ b/ur/src/ur/mod.rs @@ -255,7 +255,7 @@ pub fn to_string(ur_type: &str, message: &[u8]) -> alloc::string::String { } #[cfg(test)] -pub mod tests { +mod tests { use super::*; use core::num::IntErrorKind;