diff --git a/Cargo.toml b/Cargo.toml index cf0a7b4..4c66f07 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,8 +12,8 @@ keywords = ["cryptography"] # Up to five categories = ["cryptography"] # https://crates.io/category_slugs [dependencies] -bc-rand = "^0.4.0" -bc-shamir = "^0.8.0" +bc-rand = { git = "https://github.com/willrnch/bc-rand-rust.git", rev = "f6c187b211a39f159567fc6981d1676f015f88d7" } +bc-shamir = { git = "https://github.com/willrnch/bc-shamir-rust.git", rev = "50f56a98aebf3cdd8097390cfe4ce66e1708be35" } thiserror = "^2.0" @@ -21,4 +21,4 @@ thiserror = "^2.0" hex-literal = "^0.4.1" hex = "^0.4.3" version-sync = "^0.9.0" -rand = "^0.8.5" +rand = "^0.9.2" diff --git a/src/lib.rs b/src/lib.rs index f079f09..74c843d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -107,10 +107,6 @@ mod tests { fn fill_bytes(&mut self, _dest: &mut [u8]) { unimplemented!() } - - fn try_fill_bytes(&mut self, _dest: &mut [u8]) -> std::result::Result<(), rand::Error> { - unimplemented!() - } } // Testing purposes only!