Cargo Features
[dependencies]
halo2curves = { version = "0.7.0", default-features = false, features = ["asm", "bits", "bn256-table", "derive_serde", "print-trace"] }
- default = bits
-
The
bits
feature is set by default wheneverhalo2curves
is added without
somewhere in the dependency tree.default-features = false - asm
-
Enables asm of halo2derive
- bits default
- bn256-table
- derive_serde = hex, serde_arrays
-
Enables serde of pasta_curves and derive of serde
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.