Cargo Features

[dependencies]
halo2-axiom = { version = "0.5.0-alpha.0", default-features = false, features = ["multicore", "dev-graph", "test-dev-graph", "gadget-traces", "sanity-checks", "batch", "profile", "asm", "circuit-params", "counter", "logup_skip_inv", "halo2_legacy_pdqsort"] }
default = batch, circuit-params, logup_skip_inv, multicore

These default features are set whenever halo2-axiom is added without default-features = false somewhere in the dependency tree.

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

Enables getrandom of rand

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

counter = lazy_static
logup_skip_inv default

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?
lazy_static counter?
halo2_legacy_pdqsort implicit feature

Enables halo2_legacy_pdqsort

Legacy circuit compatibility