Skip to content

Commit

Permalink
Further fixups for dalek-cryptography#108
Browse files Browse the repository at this point in the history
The build is still broken when rand is disabled, we are building with

```
..., default-features = false, features = ["alloc", "nightly", "serde", "u64_backend"] }
```
  • Loading branch information
cbeck88 committed Jul 4, 2020
1 parent 3ffa9ff commit d615588
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/secret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,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;
Expand Down

0 comments on commit d615588

Please sign in to comment.