Cargo Features

[dependencies]
doughnut-rs = { version = "0.2.2", default-features = false, features = ["std", "crypto"] }
default = std

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

std default = crypto

Enables std of parity-scale-codec, digest, ed25519-dalek ^1.0.0-pre.3, schnorrkel, serde, and trn-pact

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

crypto std = blake2, ed25519-dalek, libsecp256k1, schnorrkel, sha3

enable cryptographic signing and verification features in 'no std'

Affects signature::crypto

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.

schnorrkel crypto? std
ed25519-dalek crypto? std

Enables ed25519-dalek ^1.0.0-pre.3

libsecp256k1 crypto?
blake2 crypto?
sha3 crypto?