Cargo Features

[dependencies]
x25519-dalek-ng = { version = "1.1.1", default-features = false, features = ["std", "serde", "nightly", "u64_backend", "u32_backend"] }
default = std, u64_backend

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

std default

Enables std of curve25519-dalek-ng

serde = our_serde

Enables serde of curve25519-dalek-ng

nightly

Enables nightly of curve25519-dalek-ng

u64_backend default

Enables u64_backend of curve25519-dalek-ng

curve25519-dalek-ng:

The u64 backend uses u64s with u128 products.

u32_backend

Enables u32_backend of curve25519-dalek-ng

curve25519-dalek-ng:

The u32 backend uses u32s with u64 products.

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.

our_serde serde?

Enables serde

serde is renamed to our_serde in order to avoid a name collision between importing the serde dependency and enabling the curve25519-dalek/serde feature