Skip to content

Commit

Permalink
fix: enable the features in halo2_proofs crate (#319)
Browse files Browse the repository at this point in the history
fix: enable the features in "halo2_proof" crate
  • Loading branch information
guorong009 authored Apr 26, 2024
1 parent bd385c3 commit 9eedeb5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
2 changes: 0 additions & 2 deletions halo2_backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ getrandom = { version = "0.2", features = ["js"] }
[features]
default = ["batch", "bits"]
bits = ["halo2curves/bits"]
gadget-traces = ["backtrace"]
sanity-checks = []
batch = ["rand_core/getrandom"]
cost-estimator = ["serde", "serde_derive"]
derive_serde = ["halo2curves/derive_serde"]

[lib]
Expand Down
1 change: 0 additions & 1 deletion halo2_frontend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ test-dev-graph = [
bits = ["halo2curves/bits"]
gadget-traces = ["backtrace"]
thread-safe-region = []
sanity-checks = []
circuit-params = []
heap-profiling = []
cost-estimator = ["serde", "serde_derive"]
Expand Down
16 changes: 8 additions & 8 deletions halo2_proofs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ serde_json = "1"
getrandom = { version = "0.2", features = ["js"] }

[features]
default = ["batch", "bits"]
default = ["batch", "bits", "halo2_frontend/default", "halo2_backend/default"]
dev-graph = ["halo2_frontend/dev-graph", "plotters"]
test-dev-graph = [
"halo2_frontend/test-dev-graph",
Expand All @@ -75,15 +75,15 @@ test-dev-graph = [
"plotters/bitmap_encoder",
"plotters/ttf"
]
bits = ["halo2curves/bits"]
gadget-traces = []
thread-safe-region = []
sanity-checks = []
batch = ["rand_core/getrandom"]
bits = ["halo2curves/bits", "halo2_frontend/bits", "halo2_backend/bits"]
gadget-traces = ["halo2_frontend/gadget-traces"]
thread-safe-region = ["halo2_frontend/thread-safe-region"]
sanity-checks = ["halo2_backend/sanity-checks"]
batch = ["rand_core/getrandom", "halo2_backend/batch"]
circuit-params = ["halo2_frontend/circuit-params"]
heap-profiling = []
heap-profiling = ["halo2_frontend/heap-profiling"]
cost-estimator = ["halo2_frontend/cost-estimator"]
derive_serde = ["halo2curves/derive_serde"]
derive_serde = ["halo2curves/derive_serde", "halo2_frontend/derive_serde", "halo2_backend/derive_serde"]

[lib]
bench = false
Expand Down

0 comments on commit 9eedeb5

Please sign in to comment.