From 4ccd5b1e0d5389499215998dc092f483b386d295 Mon Sep 17 00:00:00 2001 From: poma Date: Fri, 17 Jan 2020 22:05:27 +0700 Subject: [PATCH] optional rust-crypto for beacon bin --- phase2/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phase2/Cargo.toml b/phase2/Cargo.toml index 9acb08c..ceb2339 100644 --- a/phase2/Cargo.toml +++ b/phase2/Cargo.toml @@ -29,6 +29,7 @@ bellman_ce = { path = "../bellman", default-features = false } # active features # needed for native only but don't break wasm if present num_cpus = "1" crossbeam = "0.3" +rust-crypto = { version = "0.2", optional = true } # needed for wasm only wasm-bindgen = { version = "0.2.58", optional = true } @@ -37,5 +38,5 @@ web-sys = { version = "0.3.35", features = ["console"], optional = true } console_error_panic_hook = { version = "0.1.6", optional = true } [features] -default = ["bellman_ce/multicore"] +default = ["bellman_ce/multicore", "rust-crypto"] wasm = ["wasm-bindgen", "js-sys", "web-sys", "console_error_panic_hook", "bellman_ce/wasm"]