Cargo Features
[dependencies]
ed25519-dalek = { version = "3.0.0-pre.0", default-features = false, features = ["alloc", "batch", "fast", "digest", "hazmat", "legacy_compatibility", "pkcs8", "pem", "rand_core", "serde", "zeroize"] }
- default = fast, zeroize
-
These default features are set whenever
ed25519-dalek
is added without
somewhere in the dependency tree.default-features = false - alloc batch? pem?
-
Enables alloc of curve25519-dalek, ed25519, optional serde, signature, and optional zeroize
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.
- batch = alloc, rand_core
-
Enables keccak
optional features
- fast default
-
Enables precomputed-tables of curve25519-dalek
- digest
-
Affects
hazmat::raw_sign_prehashed
,hazmat::raw_verify_prehashed
… - hazmat
-
Exposes the hazmat module
Affects
ed25519-dalek::hazmat
… - legacy_compatibility
-
Turns off stricter checking for scalar malleability in signatures
Enables legacy_compatibility of curve25519-dalek
- pkcs8 pem?
- pem = alloc, pkcs8
- rand_core batch?
-
Enables rand_core
- serde
- zeroize default
-
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.