Cargo Features

[dependencies]
halo2_proofs = { version = "0.3.0", default-features = false, features = ["multicore", "dev-graph", "test-dev-graph", "gadget-traces", "sanity-checks", "batch", "floor-planner-v1-legacy-pdqsort", "beta", "nightly"] }
default = batch, multicore

These default features are set whenever halo2_proofs 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 of plotters

Developer tooling dependencies

gadget-traces = backtrace
sanity-checks
batch default

Enables getrandom of rand_core

floor-planner-v1-legacy-pdqsort = halo2_legacy_pdqsort
beta nightly?

In-development features See https://zcash.github.io/halo2/dev/features.html

nightly = beta

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 floor-planner-v1-legacy-pdqsort?

Enables halo2_legacy_pdqsort

Legacy circuit compatibility