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