Skip to content

Commit

Permalink
Merge pull request #22 from Foundation-Devices/jeandudey/sft-3190-upd…
Browse files Browse the repository at this point in the history
…ate-minicbor-to-020

SFT-3190: Update minicbor to 0.20.
  • Loading branch information
jeandudey authored Feb 6, 2024
2 parents fba34ea + 7855762 commit a912b60
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
4 changes: 3 additions & 1 deletion ur/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion ur/src/len.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const fn digit_count(mut v: usize) -> usize {
}

#[cfg(test)]
pub mod tests {
mod tests {
use super::*;

#[test]
Expand Down
2 changes: 1 addition & 1 deletion ur/src/ur/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a912b60

Please sign in to comment.