diff --git a/Cargo.toml b/Cargo.toml index a401f86..ee90f2b 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.1" -bc-shamir = "^0.10.0" +bc-rand = { git = "https://github.com/willrnch/bc-rand-rust.git", rev = "4013ca45388a9bc1c8ca822ba09b551886857e31" } +bc-shamir = { git = "https://github.com/willrnch/bc-shamir-rust.git", rev = "df157d1fa4521cb8b1bd2743d27631127fd7a24e" } 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 9c23a7f..76ff27e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -113,13 +113,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!