Cargo Features

[dependencies]
ed25519-v2 = { version = "2.3.0-pre", default-features = false, features = ["std", "alloc", "pem", "serde_bytes", "zeroize"] }
default = std

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

std default

Enables std of signature =2.3.0-pre.3

TODO(tarcieri): relax requirement back to 2 before next release

and std of optional pkcs8 =0.11.0-pre.0

optional dependencies

alloc pem?

Enables alloc of optional pkcs8 =0.11.0-pre.0

pem = alloc

Enables pem of pkcs8 =0.11.0-pre.0

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?

Enables pkcs8 =0.11.0-pre.0

Affects ed25519-v2::pkcs8

serde serde_bytes?
zeroize implicit feature