Skip to content

Commit

Permalink
chore: updated halo2-lib features
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-londhe committed Mar 6, 2024
1 parent 351cdfe commit 49001fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions halo2-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ pse-poseidon = { git = "https://github.com/axiom-crypto/pse-poseidon.git" }

# memory allocation
[target.'cfg(not(target_env = "msvc"))'.dependencies]
mimalloc = { version = "=0.1", default-features = false, optional = true }
# jemallocator = { version = "=0.5", optional = true }
jemallocator = { version = "=0.5", optional = true }

mimalloc = { version = "=0.1", default-features = false, optional = true }

[features]
default = ["halo2-axiom", "display", "test-utils"]
Expand Down
4 changes: 2 additions & 2 deletions halo2-ecc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ test-log = "0.2.12"
env_logger = "0.10.0"

[features]
default = ["halo2-axiom", "display"]
default = ["jemallocator","halo2-axiom", "display"]
dev-graph = ["halo2-base/dev-graph", "plotters"]
display = ["halo2-base/display"]
asm = ["halo2-base/asm"]
halo2-pse = ["halo2-base/halo2-pse"]
halo2-axiom = ["halo2-base/halo2-axiom"]
# jemallocator = ["halo2-base/jemallocator"]
jemallocator = ["halo2-base/jemallocator"]
mimalloc = ["halo2-base/mimalloc"]

[[bench]]
Expand Down
4 changes: 2 additions & 2 deletions hashes/zkevm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ test-case = "3.1.0"
sha2 = "0.10.7"

[features]
default = ["halo2-axiom", "display"]
default = ["jemallocator", "halo2-axiom", "display"]
display = ["snark-verifier-sdk/display"]
halo2-pse = ["halo2-base/halo2-pse", "snark-verifier-sdk/halo2-pse"]
halo2-axiom = ["halo2-base/halo2-axiom", "snark-verifier-sdk/halo2-axiom"]
# jemallocator = ["halo2-base/jemallocator"]
jemallocator = ["halo2-base/jemallocator"]
mimalloc = ["halo2-base/mimalloc"]
asm = ["halo2-base/asm"]

0 comments on commit 49001fe

Please sign in to comment.