Update dependencies (#1527)

* update to latest env_logger

* roundabout dependency update

* Update to latest vengen

* Update rand to 0.6

* Update to latest rng shuffle API

* Roundabout update of dependencies

* Update rustc_hex

* Update wasm

* Fix logging setup in tests

* revert to fix test
This commit is contained in:
Benjamin Kampmann
2019-01-25 12:44:41 +01:00
committed by Bastian Köcher
parent b187695af7
commit ab4c70b379
28 changed files with 531 additions and 825 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ substrate-primitives = { path = "../primitives" }
parity-crypto = { version = "0.2", default-features = false }
error-chain = "0.12"
hex = "0.3"
rand = "0.4"
rand = "0.6"
serde_json = "1.0"
serde = "1.0"
serde_derive = "1.0"
+1 -1
View File
@@ -77,7 +77,7 @@ struct EncryptedKey {
impl EncryptedKey {
fn encrypt(plain: &[u8; PKCS_LEN], password: &str, iterations: u32) -> Self {
use rand::{Rng, OsRng};
use rand::{Rng, rngs::OsRng};
let mut rng = OsRng::new().expect("OS Randomness available on all supported platforms; qed");