Cargo Features

[dependencies]
test-dalek-docs = { version = "4.0.0-pre.5", default-features = false, features = ["std", "alloc", "nightly", "fiat_backend", "simd_backend", "serde"] }
default = std

The std feature is set by default whenever test-dalek-docs is added without default-features = false somewhere in the dependency tree.

std default = alloc

Enables std of rand_core and subtle

alloc std

Enables alloc of zeroize

Affects scalar_mul::straus, scalar_mul::precomputed_straus, scalar_mul::pippenger, scalar_mul::straus, scalar_mul::precomputed_straus, scalar_mul::pippenger, edwards::VartimeEdwardsPrecomputation, ristretto::VartimeRistrettoPrecomputation

nightly simd_backend?

Enables nightly of subtle

subtle:

DEPRECATED: As of 2.4.1, this feature does nothing.

fiat_backend = fiat-crypto

fiat-crypto backend with formally-verified field arithmetic

simd_backend = nightly, packed_simd

The SIMD backend uses parallel formulas, using either AVX2 or AVX512-IFMA.

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.

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

packed_simd simd_backend?

Enables packed_simd_2

The original packed_simd package was orphaned, see https://github.com/rust-lang/packed_simd/issues/303#issuecomment-701361161

fiat-crypto fiat_backend?

Enables fiat-crypto ^0.1.6