From b227de13bd2be08cc67532edfb61cff59ca8f927 Mon Sep 17 00:00:00 2001 From: ec2 Date: Thu, 25 Jan 2024 08:06:37 +0000 Subject: [PATCH] Fix cargo.toml for feature flags --- preprocessor/Cargo.toml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/preprocessor/Cargo.toml b/preprocessor/Cargo.toml index fa29721..36fdffc 100644 --- a/preprocessor/Cargo.toml +++ b/preprocessor/Cargo.toml @@ -10,7 +10,7 @@ path = "src/lib.rs" [[bin]] name = "unit-test-gen" path = "src/unit_test_gen.rs" -# required-features = ["test-gen"] +required-features = ["test-gen"] [dependencies] @@ -36,15 +36,13 @@ lightclient-circuits.workspace = true reqwest = "0.11.22" # for test gen binary -ethereum-consensus = { git = "https://github.com/ralexstokes/ethereum-consensus.git", rev = "f3bff52e9c43866f231ec40c8ab0e34125a8957f"} -# ethereum-consensus = { git = "https://github.com/ralexstokes/ethereum-consensus.git", rev = "f3bff52e9c43866f231ec40c8ab0e34125a8957f", optional = true } -blst = { version = "0.3.11", default-features = false, features = [ "portable", "no-threads" ]} -# blst = { version = "0.3.11", default-features = false, features = [ "portable", "no-threads" ], optional = true } +ethereum-consensus = { git = "https://github.com/ralexstokes/ethereum-consensus.git", rev = "f3bff52e9c43866f231ec40c8ab0e34125a8957f", optional = true } +blst = { version = "0.3.11", default-features = false, features = [ "portable", "no-threads" ], optional = true } [dev-dependencies] halo2-base.workspace = true snark-verifier-sdk.workspace = true ark-std.workspace = true -# [features] -# test-gen = ["ethereum-consensus", "blst"] \ No newline at end of file +[features] +test-gen = ["ethereum-consensus", "blst"] \ No newline at end of file