Cargo Features
[dependencies]
zkp-elliptic-curve = { version = "0.2.0", default-features = false, features = ["std", "inline", "unsafe_ecdsa", "parity_codec", "proptest"] }
- default = inline, serde, std
-
These default features are set whenever
zkp-elliptic-curve
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables use_std of itertools ^0.9.0 and std of no-std-compat, parity-scale-codec ^1.3.0, serde, zkp-macros-decl, zkp-primefield, 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
-
Enables inline of zkp-primefield and zkp-u256
- unsafe_ecdsa
- parity_codec
-
Enables derive of parity-scale-codec ^1.3.0, parity_codec of zkp-primefield and 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.
- parity-scale-codec parity_codec? std
-
Enables parity-scale-codec ^1.3.0
- serde default std
- proptest implicit feature
-
Enables proptest ^0.9.4
proptest:
Hypothesis-like property-based testing and shrinking