Cargo Features

[dependencies]
generic-ec-zkp = { version = "0.2.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

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