diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-17 03:58:17 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-20 21:08:26 +0000 |
commit | 5c5644d2e11af0cbf4df5c5ddbc22cf0b12af4a6 (patch) | |
tree | 8a5b91553af49c3b6840ba69a5a9f68ee30cd4e4 | |
parent | c43b63b70ee32f9fa8e980d89eff5383931f5c39 (diff) | |
download | nitrokey-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.toml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] |