Cargo Features

[dependencies]
frauth-ed25519-dalek = { version = "1.0.0-pre.3", default-features = false, features = ["std", "alloc", "nightly", "batch", "batch_deterministic", "asm", "legacy_compatibility", "u64_backend", "u32_backend", "simd_backend", "serde"] }
default = std, u64_backend

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

std default

Enables std of curve25519-dalek ^2, rand ^0.7, and sha2 ^0.8

rand:

Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

Affects batch::verify_batch

alloc

Enables alloc of curve25519-dalek ^2 and rand ^0.7

rand:

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

Affects batch::verify_batch

nightly

Enables nightly of clear_on_drop, curve25519-dalek ^2, and rand ^0.7

rand:

some additions requiring nightly Rust

batch = merlin, rand

Affects batch::verify_batch

batch_deterministic = merlin, rand, rand_core

This feature enables deterministic batch verification.

Affects batch::verify_batch

asm

Enables asm of sha2 ^0.8

legacy_compatibility

This features turns off stricter checking for scalar malleability in signatures

u64_backend default

Enables u64_backend of curve25519-dalek ^2

u32_backend

Enables u32_backend of curve25519-dalek ^2

simd_backend

Enables simd_backend of curve25519-dalek ^2

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?

Enables merlin ^1

rand alloc? batch? batch_deterministic? nightly? std

Enables rand ^0.7

rand_core batch_deterministic?

Enables rand_core ^0.5

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework