Cargo Features

ed25519 = { version = "2.2.3", default-features = false, features = ["std", "alloc", "pem", "serde_bytes", "zeroize"] }
default = std

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

std default

Enables std of optional pkcs8 and signature


optional dependencies

alloc pem?

Enables alloc of optional pkcs8

pem = alloc

Enables pem of pkcs8

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