Cargo Features

[dependencies]
dilithium-raw = { version = "0.1.0", default-features = false, features = ["dilithium2", "dilithium3", "dilithium5", "avx2", "aarch64", "serde", "hazmat"] }
default = aarch64, avx2, dilithium2, dilithium3, dilithium5

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

dilithium2 default

enable dilithium 2

Affects dilithium2::clean, dilithium2::avx2, dilithium2::aarch64, ffi::dilithium2, dilithium-raw::dilithium2

dilithium3 default

enable dilithium 3

Affects dilithium3::clean, dilithium3::avx2, dilithium3::aarch64, ffi::dilithium3, dilithium-raw::dilithium3

dilithium5 default

enable dilithium 5

Affects dilithium5::clean, dilithium5::avx2, dilithium5::aarch64, ffi::dilithium5, dilithium-raw::dilithium5

avx2 default

enable the avx2 implementation on x86_64 targets for CPUs with avx2 support

aarch64 default

enable the aarch64/neon implementation on aarch64 targets

serde

serialize and deserialize keys and signatures using serde

Enables serde

Affects util::serde

hazmat

extra hazardous material; gives more control