mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Indicate that the rand_core feature is required (#641)
This commit is contained in:
parent
858c4ca8ae
commit
cc3421a22f
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue