Enable serde/std if std is enabled.

* FIXES part of https://github.com/dalek-cryptography/ed25519-dalek/pull/107
This commit is contained in:
Isis Lovecruft 2019-12-11 23:14:27 +00:00
parent 2ed9fa932d
commit 3a9101933b
No known key found for this signature in database
GPG key ID: AB41313533E8E812

View file

@ -45,7 +45,7 @@ harness = false
[features]
default = ["std", "u64_backend"]
std = ["curve25519-dalek/std", "sha2/std", "rand/std"]
std = ["curve25519-dalek/std", "serde/std", "sha2/std", "rand/std"]
alloc = ["curve25519-dalek/alloc", "rand/alloc", "zeroize/alloc"]
nightly = ["curve25519-dalek/nightly", "rand/nightly"]
batch = ["merlin", "rand"]