mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Make use rand::... gated on cfg(feature = "rand")
This is no longer actively breaking our no_std build, but I think it's still technically a minor bug, and further case of issue #108
This commit is contained in:
parent
ae0b48b0cd
commit
bb82d616de
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ use curve25519_dalek::digest::Digest;
|
|||
use curve25519_dalek::edwards::CompressedEdwardsY;
|
||||
use curve25519_dalek::scalar::Scalar;
|
||||
|
||||
#[cfg(feature = "rand")]
|
||||
use rand::{CryptoRng, RngCore};
|
||||
|
||||
use sha2::Sha512;
|
||||
|
|
|
|||
Loading…
Reference in a new issue