Cargo Features
[dependencies]
halo2-axiom = { version = "0.5.0-rc.1", default-features = false, features = ["multicore", "dev-graph", "test-dev-graph", "gadget-traces", "sanity-checks", "batch", "profile", "asm", "circuit-params", "halo2_legacy_pdqsort"] }
- default = batch, circuit-params, multicore
-
These default features are set whenever
halo2-axiom
is added without
somewhere in the dependency tree.default-features = false - multicore default
-
Enables threads of maybe-rayon
- dev-graph test-dev-graph? = plotters, tabbycat
- test-dev-graph = dev-graph
-
Enables bitmap_backend, bitmap_encoder and ttf of plotters
Developer tooling dependencies
- gadget-traces = backtrace
- sanity-checks
- batch default
-
rand:
Option: use getrandom package for seeding
- profile
-
Enables ark-std ^0.3.0
- asm
-
Enables asm of halo2curves-axiom
- circuit-params default
-
Affects
circuit::Circuit.params
,circuit::Circuit.configure_with_params
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- backtrace gadget-traces?
- plotters dev-graph? test-dev-graph?
- tabbycat dev-graph?
- halo2_legacy_pdqsort implicit feature
-
Enables halo2_legacy_pdqsort
Legacy circuit compatibility