Cargo Features
[dependencies]
zkp-elliptic-curve-crypto = { version = "0.2.0", default-features = false, features = ["std", "unsafe_ecdsa", "parity_codec"] }
- default = serde, std
-
These default features are set whenever
zkp-elliptic-curve-crypto
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-elliptic-curve, 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. - unsafe_ecdsa
- parity_codec
-
Enables derive of parity-scale-codec ^1.3.0, parity_codec of zkp-elliptic-curve, 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