Cargo Features

[dependencies]
test-ed25519-dalek = { version = "2.0.0-pre.3", default-features = false, features = ["std", "alloc", "asm", "batch", "fast", "digest", "legacy_compatibility", "pkcs8", "pem", "rand_core", "serde", "zeroize"] }
default = fast, std, zeroize

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

std default = alloc

Enables std of ed25519, optional serde, and sha2

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

alloc batch? pem? std

Enables alloc of curve25519-dalek =4.0.0-rc.0, ed25519, optional serde, and 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.

asm

Enables asm of sha2

batch = alloc, merlin, rand_core
fast default

Enables precomputed-tables of curve25519-dalek =4.0.0-rc.0

digest

Enables digest of signature >=2.0, <2.1

legacy_compatibility

This features turns off stricter checking for scalar malleability in signatures

pkcs8 pem?

Enables pkcs8 of ed25519

pem = alloc, pkcs8

Enables pem of ed25519

rand_core batch?

Enables rand_core

serde = serde_bytes

Enables serde, serde of ed25519

zeroize default alloc?

Enables zeroize, zeroize of curve25519-dalek =4.0.0-rc.0

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.

signature digest?

Enables signature >=2.0, <2.1

merlin batch?

Enables merlin

optional features

serde_bytes serde?