Cargo Features

[dependencies]
orodruin = { version = "0.2.0", default-features = false, features = ["alloc", "blake2b", "digest", "zeroize"] }
default = alloc, digest, zeroize

These default features are set whenever orodruin is added without default-features = false somewhere in the dependency tree.

alloc default = rand_core

Alloc is needed for signing

Enables alloc and rand_core of curve25519-dalek

Affects orodruin::sign

blake2b = blake2b_simd

Allow using the blake2b_simd crate for hashing

Affects traits::blake2b

digest default

Allow using hashers that implement Digest

Enables digest

zeroize default

Zeroize memory to remove sensitive data (such as secret keys) from memory on drop

Enables zeroize, zeroize of curve25519-dalek

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.

blake2b_simd blake2b?

Enables blake2b_simd

Optional

rand_core alloc