Cargo Features

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

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

Enables openssl of oqs-sys

std default

Affects oqs::init

non_portable

Enables non_portable of oqs-sys

vendored

Enables vendored of oqs-sys

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

algorithms: KEMs

Enables kems of oqs-sys

bike

not supported on Windows or 32-bit ARM

Enables bike of oqs-sys

classic_mceliece kems

Enables classic_mceliece of oqs-sys

frodokem kems

Enables frodokem of oqs-sys

hqc kems

Enables hqc of oqs-sys

kyber kems

Enables kyber of oqs-sys

ntruprime kems

Enables ntruprime of oqs-sys

sigs default = dilithium, falcon, sphincs

algorithms: Signature schemes

Enables sigs of oqs-sys

dilithium sigs

Enables dilithium of oqs-sys

falcon sigs

Enables falcon of oqs-sys

sphincs sigs

Enables sphincs of oqs-sys

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework