mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 19:21:03 +00:00
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:
committed by
Bastian Köcher
parent
b187695af7
commit
ab4c70b379
@@ -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"
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user