Cargo Features

[dependencies]
safe-oqs = { version = "0.10.0", default-features = false, features = ["std", "non_portable", "vendored", "kems", "bike", "classic_mceliece", "frodokem", "hqc", "kyber", "ntruprime", "ml_kem", "sigs", "dilithium", "falcon", "sphincs", "ml_dsa", "serde"] }
default = kems, sigs, std

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

Enables openssl of safe-oqs-sys

std default

Affects safe-oqs::init

non_portable

Enables non_portable of safe-oqs-sys

vendored

Enables vendored of safe-oqs-sys

kems default = classic_mceliece, frodokem, hqc, kyber, ml_kem, ntruprime

algorithms: KEMs

Enables kems of safe-oqs-sys

bike

not supported on Windows or 32-bit ARM

Enables bike of safe-oqs-sys

classic_mceliece kems

Enables classic_mceliece of safe-oqs-sys

frodokem kems

Enables frodokem of safe-oqs-sys

hqc kems

Enables hqc of safe-oqs-sys

kyber kems

Enables kyber of safe-oqs-sys

ntruprime kems

Enables ntruprime of safe-oqs-sys

ml_kem kems

Enables ml_kem of safe-oqs-sys

sigs default = dilithium, falcon, ml_dsa, sphincs

algorithms: Signature schemes

Enables sigs of safe-oqs-sys

dilithium sigs

Enables dilithium of safe-oqs-sys

falcon sigs

Enables falcon of safe-oqs-sys

sphincs sigs

Enables sphincs of safe-oqs-sys

ml_dsa sigs

Enables ml_dsa of safe-oqs-sys

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework