Cargo Features
[dependencies]
plonky2 = { version = "0.2.2", default-features = false, features = ["std", "gate_testing", "parallel", "timing", "rand_chacha"] }
- default = gate_testing, parallel, rand_chacha, std, timing
-
These default features are set whenever
plonky2
is added without
somewhere in the dependency tree.default-features = false - std default timing
-
Enables std of anyhow, use_std of itertools ^0.11.0 and std of rand
rand:
Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.
- gate_testing default
- parallel default
-
Enables rayon of hashbrown ^0.14.3, parallel of plonky2_maybe_rayon
- timing default = std
-
Enables web-time
Affects
timing::TimingTree
…
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.
- rand_chacha default
-
Required by the generate_constants binary