Cargo Features
[dependencies]
generic-ec-zkp = { version = "0.4.2", default-features = false, features = ["std", "alloc", "serde", "udigest"] }
- default = std
-
The
std
feature is set by default whenevergeneric-ec-zkp
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
-
Enables alloc of optional serde and optional udigest
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.
- serde
-
Enables serde and serde of generic-array ^0.14 and generic-ec
generic-array:
We don't depend on this crates directly, but need to specify features to make it compile
- udigest
-
Enables udigest, udigest of generic-ec