From 648f069a858c4a7559f61d6c03cfaf1a34bfac9a Mon Sep 17 00:00:00 2001 From: Paul Grandperrin Date: Mon, 21 Dec 2020 23:13:41 -0300 Subject: [PATCH] Update rand to 0.8 and rand_core to 0.6 This makes better user experience when targeting wasm. Closes #101 --- Cargo.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d3c63002..e3fff936 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ generic-bytes = { version = "0.1.0" } generic-bytes-derive = { version = "0.1.0" } hkdf = "0.10.0" hmac = "0.10.1" -rand_core = "0.5.1" +rand_core = "0.6.0" scrypt = { version = "0.5.0", optional = true } sha2 = "0.9.2" subtle = { version = "2.3.0", default-features = false } @@ -42,10 +42,15 @@ hex = "0.4.2" lazy_static = "1.4.0" serde_json = "1.0.60" proptest = "0.10.1" -rand = "0.7" +rand = "0.8" rustyline = "7.0.0" [[bench]] name = "oprf" harness = false required-features = ["bench"] + +# TEMPORARY, DO NOT MERGE +[patch.crates-io] +x25519-dalek = { git = "https://github.com/PaulGrandperrin/x25519-dalek.git", branch="patch-1" } +curve25519-dalek = { git = "https://github.com/PaulGrandperrin/curve25519-dalek.git", branch="patch-1" }