aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-17 03:58:17 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-20 21:08:26 +0000
commit5c5644d2e11af0cbf4df5c5ddbc22cf0b12af4a6 (patch)
tree8a5b91553af49c3b6840ba69a5a9f68ee30cd4e4
parentc43b63b70ee32f9fa8e980d89eff5383931f5c39 (diff)
downloadnitrokey-rs-5c5644d2e11af0cbf4df5c5ddbc22cf0b12af4a6.tar.gz
nitrokey-rs-5c5644d2e11af0cbf4df5c5ddbc22cf0b12af4a6.tar.bz2
Enable std feature for rand_core
With the std feature enabled, rand_core::Error implements std::error::Error, which we require for the error types wrapped in the Error enum.
-rw-r--r--Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index cfe1579..ceaa57d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,7 +15,7 @@ license = "MIT"
[dependencies]
libc = "0.2"
nitrokey-sys = "3.4"
-rand_core = {version = "0.3", default-features = false}
+rand_core = {version = "0.3", default-features = false, features = ["std"] }
rand_os = {version = "0.1"}
[dev-dependencies]