Cargo Features

[dependencies]
fips204 = { version = "0.4.2", default-features = false, features = ["default-rng", "ml-dsa-44", "ml-dsa-65", "ml-dsa-87", "dudect"] }
default = default-rng, ml-dsa-44, ml-dsa-65, ml-dsa-87

These default features are set whenever fips204 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::Signer.try_sign

ml-dsa-44 default

Affects fips204::ml_dsa_44

ml-dsa-65 default

Affects fips204::ml_dsa_65

ml-dsa-87 default

Affects fips204::ml_dsa_87

dudect

Features from optional dependencies

Some are marginally held-back to retain MSRV 1.70