From 8f2168083351bcb5f30fab802f2b4fbe25df97d3 Mon Sep 17 00:00:00 2001 From: Milkey Mouse Date: Mon, 11 Jan 2021 10:57:14 -0800 Subject: [PATCH] Fix build on recent nightly compilers (upgrade packed_simd) (#30) * Upgrade curve25519-dalek to version 3 * Use a version of curve25519-dalek with an up-to-date packed_simd --- Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0c83867..a84fb70 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,8 +10,13 @@ repository = "https://github.com/microsoft/Spartan" license-file = "LICENSE" keywords = ["zkSNARKs", "cryptography", "proofs"] +[dependencies.curve25519-dalek] +features = ["serde", "simd_backend"] +#version = "3" +git = "https://github.com/dalek-cryptography/curve25519-dalek" +rev = "a787300ba169ae035bcdf2d540cf2b61b950405c" + [dependencies] -curve25519-dalek = { version = "2", features = ["serde", "simd_backend"]} merlin = "2.0.0" rand = "0.7.3" digest = "0.8.1"