Cargo Features
[dependencies]
zkp-primefield = { version = "0.2.0", default-features = false, features = ["std", "inline", "asm", "parity_codec", "rand", "proptest"] }
- default = inline, rand, serde, std
-
These default features are set whenever
zkp-primefield
is added without
somewhere in the dependency tree.default-features = false - std default = hex, memadvise, rayon
-
Enables std of crunchy, use_std of itertools ^0.9.0 and std of no-std-compat, num-traits, parity-scale-codec ^1.3.0, serde, zkp-macros-decl, and zkp-u256
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - inline default
- asm
- parity_codec
-
Enables derive of parity-scale-codec ^1.3.0, parity_codec of zkp-u256
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.
- hex std
- memadvise std
-
Affects
prefetch::MemoryAdvise
… - parity-scale-codec parity_codec? std
-
Enables parity-scale-codec ^1.3.0
- rand default
-
Enables rand ^0.7.2
- rayon std
- serde default std
- proptest implicit feature
-
Enables proptest ^0.9.4
proptest:
Hypothesis-like property-based testing and shrinking