Place zcash_proofs::prover::LocalTxProver behind a feature flag

This enables zcash_proofs to be compiled to WASM, which the directories
crate doesn't support.
This commit is contained in:
Jack Grigg
2019-06-12 17:36:09 +01:00
parent a1cd9dfbac
commit 54ef63bace
2 changed files with 11 additions and 3 deletions

View File

@@ -9,9 +9,13 @@ authors = [
bellman = { path = "../bellman" }
blake2b_simd = "0.5"
byteorder = "1"
directories = "1"
directories = { version = "1", optional = true }
ff = { path = "../ff" }
pairing = { path = "../pairing" }
rand_os = "0.2"
sapling-crypto = { path = "../sapling-crypto" }
zcash_primitives = { path = "../zcash_primitives" }
[features]
default = ["local-prover"]
local-prover = ["directories"]