Cargo Features

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

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

std default

Enables std of curve25519-dalek-fiat

serde = our_serde

Enables serde of curve25519-dalek-fiat

nightly

Enables nightly of curve25519-dalek-fiat

fiat_u64_backend

Enables fiat_u64_backend of curve25519-dalek-fiat

curve25519-dalek-fiat:

The fiat-u64 backend uses u64s with u128 products.

u64_backend default

Enables u64_backend of curve25519-dalek-fiat

curve25519-dalek-fiat:

The u64 backend uses u64s with u128 products.

u32_backend

Enables u32_backend of curve25519-dalek-fiat

curve25519-dalek-fiat:

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