Cargo Features

[dependencies]
fips203 = { version = "0.4.2", default-features = false, features = ["default-rng", "ml-kem-512", "ml-kem-768", "ml-kem-1024"] }
default = default-rng, ml-kem-1024, ml-kem-512, ml-kem-768

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

default-rng default

Enables getrandom of rand_core

Affects traits::KeyGen.try_keygen, traits::Encaps.try_encaps

ml-kem-512 default

Affects fips203::ml_kem_512

ml-kem-768 default

Affects fips203::ml_kem_768

ml-kem-1024 default

Affects fips203::ml_kem_1024

Features from optional dependencies

Some are marginally outdated to retain MSRV 1.70