Cargo Features

halo2curves = { version = "0.6.1", default-features = false, features = ["asm", "bits", "bn256-table", "derive_serde", "print-trace"] }
default = bits

The bits feature is set by default whenever halo2curves is added without default-features = false somewhere in the dependency tree.

bits default

Enables bits of ff

derive_serde = hex, serde_arrays

Enables serde of pasta_curves and derive of serde


Provide derive(Serialize, Deserialize) macros.

print-trace dev

Enables print-trace of ark-std ^0.3

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.

serde derive_serde?
serde_arrays derive_serde?
hex derive_serde?