diff --git a/Cargo.toml b/Cargo.toml index a81e8e6a..438b163b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,24 +12,24 @@ keywords = ["cryptography", "crypto", "ristretto", "zero-knowledge", "bulletproo description = "A pure-Rust implementation of Bulletproofs using Ristretto" [dependencies] -curve25519-dalek = { version = "^1.2.3", default-features = false, features = ["u64_backend", "nightly", "serde", "alloc"] } +curve25519-dalek = { version = "2", default-features = false, features = ["u64_backend", "nightly", "serde", "alloc"] } subtle = { version = "2", default-features = false } sha3 = { version = "0.8", default-features = false } digest = { version = "0.8", default-features = false } -rand_core = { version = "0.4", default-features = false, features = ["alloc"] } -rand = { version = "0.6", default-features = false, optional = true } +rand_core = { version = "0.5", default-features = false, features = ["alloc"] } +rand = { version = "0.7", default-features = false, optional = true } byteorder = { version = "1", default-features = false } serde = { version = "1", default-features = false, features = ["alloc"] } serde_derive = { version = "1", default-features = false } failure = { version = "0.1", default-features = false, features = ["derive"] } -merlin = { version = "1.2", default-features = false } +merlin = { version = "2", default-features = false } clear_on_drop = { version = "0.2", default-features = false, features = ["nightly"] } [dev-dependencies] hex = "0.3" criterion = "0.2" bincode = "1" -rand_chacha = "0.1" +rand_chacha = "0.2" [features] default = ["std", "avx2_backend"] diff --git a/tests/range_proof.rs b/tests/range_proof.rs index 339440f3..3e60d7ad 100644 --- a/tests/range_proof.rs +++ b/tests/range_proof.rs @@ -1,5 +1,5 @@ -extern crate rand; -use rand::SeedableRng; +extern crate rand_core; +use rand_core::SeedableRng; extern crate rand_chacha; use rand_chacha::ChaChaRng;