Cargo Features

generic-ec-zkp = { version = "0.3.0", default-features = false, features = ["std", "alloc", "serde", "udigest"] }
default = std

The std feature is set by default whenever generic-ec-zkp is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std

Enables alloc of optional serde and optional udigest


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.


Enables serde and serde of generic-array ^0.14 and generic-ec


We don't depend on this crates directly, but need to specify features to make it compile


Enables udigest, udigest of generic-ec