Cargo Features

ed25519-dalek-blake2b = { version = "1.0.2", default-features = false, features = ["alloc", "nightly", "serde", "batch", "batch_deterministic", "legacy_compatibility", "u64_backend", "u32_backend", "simd_backend"] }
default = rand, u64_backend

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


Enables alloc of curve25519-dalek-ng, rand, and zeroize


Option: "alloc" enables support for Vec and Box when not using "std"

Affects batch::verify_batch


Enables nightly of curve25519-dalek-ng

serde = serde_bytes, serde_crate

Enables serde of ed25519 ^1.0.3

batch = merlin, rand

Affects batch::verify_batch

batch_deterministic = merlin, rand, rand_core

This feature enables deterministic batch verification.

Affects batch::verify_batch


This features turns off stricter checking for scalar malleability in signatures

u64_backend default

Enables u64_backend of curve25519-dalek-ng


The u64 backend uses u64s with u128 products.


Enables u32_backend of curve25519-dalek-ng


The u32 backend uses u32s with u64 products.


Enables simd_backend of curve25519-dalek-ng


The SIMD backend uses parallel formulas, using either AVX2 or AVX512-IFMA.

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.

merlin batch? batch_deterministic?
rand default alloc? batch? batch_deterministic?
rand_core batch_deterministic?
serde_crate serde?

Enables serde

serde_bytes serde?