Cargo Features
[dependencies]
doughnut-rs = { version = "0.2.2", default-features = false, features = ["std", "crypto"] }
- default = std
-
The
std
feature is set by default wheneverdoughnut-rs
is added without
somewhere in the dependency tree.default-features = false - 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.