From eed7e8199faf16560b158f3d1dadd06c997d8cf9 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Tue, 3 Dec 2019 15:15:13 +0000 Subject: [PATCH] Pass bellman's multicore feature flag through to zcash_proofs This enables someone using zcash_proofs to disable multicore. --- zcash_proofs/Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zcash_proofs/Cargo.toml b/zcash_proofs/Cargo.toml index b9de0f7..a887984 100644 --- a/zcash_proofs/Cargo.toml +++ b/zcash_proofs/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0" edition = "2018" [dependencies] -bellman = { version = "0.2.0", path = "../bellman" } +bellman = { version = "0.2.0", path = "../bellman", default-features = false, features = ["groth16"] } blake2b_simd = "0.5" byteorder = "1" directories = { version = "1", optional = true } @@ -25,8 +25,9 @@ zcash_primitives = { version = "0.1.0", path = "../zcash_primitives" } rand_xorshift = "0.2" [features] -default = ["local-prover"] +default = ["local-prover", "multicore"] local-prover = ["directories"] +multicore = ["bellman/multicore"] [badges] maintenance = { status = "actively-developed" }