aboutsummaryrefslogtreecommitdiff
path: root/spake2/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'spake2/Cargo.toml')
-rw-r--r--spake2/Cargo.toml13
1 files changed, 9 insertions, 4 deletions
diff --git a/spake2/Cargo.toml b/spake2/Cargo.toml
index 0558737..5547cfa 100644
--- a/spake2/Cargo.toml
+++ b/spake2/Cargo.toml
@@ -16,9 +16,9 @@ rust-version = "1.56"
[dependencies]
curve25519-dalek = { version = "3", default-features = false, features = ["u64_backend"] }
-rand_core = { version = "0.5", default-features = false, features = ["getrandom"] }
-sha2 = "0.10"
-hkdf = "0.12"
+rand_core = { version = "0.5", default-features = false }
+sha2 = { version = "0.10", default-features = false }
+hkdf = { version = "0.12", default-features = false }
[dev-dependencies]
bencher = "0.1"
@@ -26,9 +26,14 @@ hex = "0.4"
num-bigint = "0.4"
[features]
-default = []
+default = ["getrandom"]
+getrandom = ["rand_core/getrandom"]
std = []
+[package.metadata.docs.rs]
+all-features = true
+rustdoc-args = ["--cfg", "docsrs"]
+
[[bench]]
name = "spake2"
harness = false