Skip to content

Commit

Permalink
Fix cargo.toml for feature flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ec2 committed Jan 25, 2024
1 parent 1183658 commit b227de1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions preprocessor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"]
[features]
test-gen = ["ethereum-consensus", "blst"]

0 comments on commit b227de1

Please sign in to comment.