Cargo Features

[dependencies]
solana-ed25519-dalek = { version = "0.2.0", default-features = false, features = ["std", "alloc", "nightly", "asm", "yolocrypto", "u64_backend", "u32_backend", "avx2_backend", "serde"] }
default = std, u64_backend

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

std default

Enables std of curve25519-dalek ^1, rand ^0.6, 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 ed25519::verify_batch

alloc

Enables alloc of curve25519-dalek ^1

Affects ed25519::verify_batch

nightly

Enables nightly of clear_on_drop, curve25519-dalek ^1, and rand ^0.6

rand:

some additions requiring nightly Rust

asm

Enables asm of sha2 ^0.8

yolocrypto

Enables yolocrypto of curve25519-dalek ^1

u64_backend default

Enables u64_backend of curve25519-dalek ^1

u32_backend

Enables u32_backend of curve25519-dalek ^1

avx2_backend

Enables avx2_backend of curve25519-dalek ^1

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework