Skip to content

Commit

Permalink
Indicate that the rand_core feature is required (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
beyarkay committed Mar 16, 2024
1 parent 858c4ca commit cc3421a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ed25519-dalek/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#![cfg_attr(feature = "rand_core", doc = "```")]
#![cfg_attr(not(feature = "rand_core"), doc = "```ignore")]
//! # fn main() {
//! // $ cargo add ed25519_dalek --features rand_core
//! use rand::rngs::OsRng;
//! use ed25519_dalek::SigningKey;
//! use ed25519_dalek::Signature;
Expand Down

0 comments on commit cc3421a

Please sign in to comment.