diff --git a/Cargo.toml b/Cargo.toml index a46c7a5..ee3e88a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "starling" -version = "3.1.2" +version = "3.1.3" authors = ["Josiah Evans "] description = "This tree structure is a binary merkle tree with branch compression via split indexes." repository = "https://github.com/ChosunOne/merkle_bit" @@ -24,26 +24,26 @@ lto = true debug = true [dev-dependencies] -criterion = "0.3.0" -rand = "0.7.2" +criterion = "0.3.1" +rand = "0.7.3" [dependencies] -bincode = { version = "1.1.4", optional = true } +bincode = { version = "1.2.1", optional = true } blake2-rfc = { version = "0.2.18", optional = true } -serde = { version = "1.0.101", features = ["derive"], optional = true } -serde_json = { version = "1.0.40", optional = true } -serde_cbor = { version = "0.10.1", optional = true } -serde_yaml = { version = "0.8.9", optional = true } +serde = { version = "1.0.104", features = ["derive"], optional = true } +serde_json = { version = "1.0.45", optional = true } +serde_cbor = { version = "0.11.1", optional = true } +serde_yaml = { version = "0.8.11", optional = true } serde-pickle = { version = "0.6.0", optional = true } ron = { version = "0.5.1", optional = true } groestl = { version = "0.8.0", optional = true } -openssl = { version = "0.10.24", optional = true } +openssl = { version = "0.10.26", optional = true } tiny-keccak = { version = "2.0.1", optional = true, features = ["sha3", "keccak"] } -hashbrown = { version = "0.6.0", optional = true } +hashbrown = { version = "0.6.3", optional = true } rocksdb = { version = "0.13.0", optional = true } -seahash = { version = "3.0.6", optional = true } +seahash = { version = "3.0.7", optional = true } fxhash = { version = "0.2.1", optional = true } -rand = { version = "0.7.2", optional = true } +rand = { version = "0.7.3", optional = true } digest = { version = "0.8.1", optional = true } blake2 = { version = "0.8.1", optional = true } md2 = { version = "0.8.0", optional = true } @@ -51,8 +51,8 @@ md4 = { version = "0.8.0", optional = true } md-5 = { version = "0.8.0", optional = true } ripemd160 = { version = "0.8.0", optional = true } ripemd320 = { version = "0.8.0", optional = true } -sha-1 = { version = "0.8.1", optional = true } -sha2 = { version = "0.8.0", optional = true } +sha-1 = { version = "0.8.2", optional = true } +sha2 = { version = "0.8.1", optional = true } sha3 = { version = "0.8.2", optional = true } whirlpool = { version = "0.8.1", optional = true } diff --git a/src/utils/tree_utils.rs b/src/utils/tree_utils.rs index e35ff5e..0a3f24e 100644 --- a/src/utils/tree_utils.rs +++ b/src/utils/tree_utils.rs @@ -171,7 +171,7 @@ pub const fn fast_log_2(num: u8) -> u8 { pub fn generate_tree_ref_queue( tree_refs: &mut Vec>, tree_ref_queue: &mut HashMap>, -) -> BinaryMerkleTreeResult<(HashSet)> { +) -> BinaryMerkleTreeResult> { let mut unique_split_bits = HashSet::new(); for i in 0..tree_refs.len() - 1 { let left_key = tree_refs[i].key.as_ref();