Cargo Features

[dependencies]
noah-x25519-dalek = { version = "4.0.0", default-features = false, features = ["std", "serde", "nightly", "reusable_secrets", "u64_backend", "u32_backend", "fiat_u64_backend", "fiat_u32_backend"] }
default = std, u64_backend

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

std default

Enables std of noah-curve25519-dalek

serde = our_serde

Enables serde of noah-curve25519-dalek

nightly

Enables nightly of noah-curve25519-dalek

reusable_secrets

Affects x25519::ReusableSecret

u64_backend default

Enables u64_backend of noah-curve25519-dalek

noah-curve25519-dalek:

The u64 backend uses u64s with u128 products.

u32_backend

Enables u32_backend of noah-curve25519-dalek

noah-curve25519-dalek:

The u32 backend uses u32s with u64 products.

fiat_u64_backend

Enables fiat_u64_backend of noah-curve25519-dalek

noah-curve25519-dalek:

fiat-u64 backend (with formally-verified field arith) uses u64s with u128 products.

fiat_u32_backend

Enables fiat_u32_backend of noah-curve25519-dalek

noah-curve25519-dalek:

fiat-u32 backend (with formally-verified field arith) 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