Indicate that the rand_core feature is required (#641)

This commit is contained in:
Boyd Kane 2024-03-16 15:43:25 +02:00 committed by GitHub
parent 858c4ca8ae
commit cc3421a22f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;