Cargo Features
[dependencies]
halo2curves = { version = "0.9.0", default-features = false, features = ["std", "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 - std asm? = rayon
-
Enables std of halo2derive, parallel of plonky2_maybe_rayon
Affects
msm::msm_parallel
,serde::SerdeObject.to_raw_bytes
,serde::SerdeObject.read_raw_unchecked
,serde::SerdeObject.read_raw
,serde::SerdeObject.write_raw
… - asm = std
-
Enables asm of halo2derive
- bits default
- bn256-table
- derive_serde = hex, serde_arrays
-
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.