Skip to content

Commit

Permalink
Drop rand_core dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneider-bensch committed Jul 3, 2024
1 parent 493215f commit c8b4a0e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion libcrux-kem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ pre-verification = ["libcrux-ml-kem/pre-verification"]

[dev-dependencies]
libcrux-kem = { version = "0.0.2-alpha.1", path = "./", features = ["tests"] }
rand_core = { version = "0.6" }
hex = { version = "0.4.3", features = ["serde"] }
2 changes: 1 addition & 1 deletion libcrux-kem/src/kem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! ```
//! use libcrux_kem::*;
//!
//! let mut rng = rand_core::OsRng;
//! let mut rng = rand::rngs::OsRng;
//! let (sk_a, pk_a) = key_gen(Algorithm::MlKem768, &mut rng).unwrap();
//! let received_pk = pk_a.encode();
//!
Expand Down

0 comments on commit c8b4a0e

Please sign in to comment.