diff --git a/halo2_proofs/Cargo.toml b/halo2_proofs/Cargo.toml index c2b6a1c43a..fc51c10e56 100644 --- a/halo2_proofs/Cargo.toml +++ b/halo2_proofs/Cargo.toml @@ -51,7 +51,7 @@ harness = false backtrace = { version = "0.3", optional = true } ff = "0.13" group = "0.13" -halo2curves = { version = "0.5.0" } +halo2curves = { version = "0.5.0", default-features = false } rand_core = { version = "0.6", default-features = false } tracing = "0.1" blake2b_simd = "1" # MSRV 1.66.0 @@ -80,8 +80,8 @@ serde_json = "1" getrandom = { version = "0.2", features = ["js"] } [features] -default = ["batch", "multicore"] -multicore = ["maybe-rayon/threads"] +default = ["batch", "multicore", "bits"] +multicore = ["maybe-rayon/threads", "halo2curves/multicore"] dev-graph = ["plotters", "tabbycat"] test-dev-graph = [ "dev-graph", @@ -89,6 +89,7 @@ test-dev-graph = [ "plotters/bitmap_encoder", "plotters/ttf", ] +bits = ["halo2curves/bits"] gadget-traces = ["backtrace"] thread-safe-region = [] sanity-checks = []