Skip to content

Commit cc3421a

Browse files
authored
Indicate that the rand_core feature is required (#641)
1 parent 858c4ca commit cc3421a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ed25519-dalek/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#![cfg_attr(feature = "rand_core", doc = "```")]
2222
#![cfg_attr(not(feature = "rand_core"), doc = "```ignore")]
2323
//! # fn main() {
24+
//! // $ cargo add ed25519_dalek --features rand_core
2425
//! use rand::rngs::OsRng;
2526
//! use ed25519_dalek::SigningKey;
2627
//! use ed25519_dalek::Signature;

0 commit comments

Comments
 (0)