Cargo Features
[dependencies]
ed25519 = { version = "2.3.0-pre.0", default-features = false, features = ["std", "alloc", "pem", "serde_bytes", "zeroize"] }
- default = std
-
The
std
feature is set by default whenevered25519
is added without
somewhere in the dependency tree.default-features = false - std default
-
TODO(tarcieri): relax requirement back to
2
before next releaseoptional dependencies
- alloc pem?
- pem = alloc
- serde_bytes = serde
-
Enables serde_bytes
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.
- pkcs8 pem?
-
Affects
ed25519::pkcs8
… - serde serde_bytes?
- zeroize implicit feature