Cargo Features

[dependencies]
hd-ed25519 = { version = "0.0.1", default-features = false, features = ["std", "alloc", "u64_backend", "u32_backend", "avx2_backend", "serde"] }
default = std, u64_backend

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

std default

We don't add "rand/std" here because it would enable a bunch of Fuchsia dependencies.

Enables std of curve25519-dalek ^1.0.0-pre.0

alloc

Enables alloc of curve25519-dalek ^1.0.0-pre.0

u64_backend default

Enables u64_backend of curve25519-dalek ^1.0.0-pre.0 and ed25519-dalek ^1.0.0-pre.0

u32_backend

Enables u32_backend of curve25519-dalek ^1.0.0-pre.0 and ed25519-dalek ^1.0.0-pre.0

avx2_backend

Enables avx2_backend of curve25519-dalek ^1.0.0-pre.0 and ed25519-dalek ^1.0.0-pre.0

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework