Cargo Features
[dependencies]
qssl = { version = "0.1.0-alpha", default-features = false, features = ["no_std", "std", "kyber512", "kyber768", "kyber1024", "falcon512", "dilithium5", "sphincsplus", "tls_compat", "wasm", "fips", "zero_rtt", "multiplexing", "simd", "hardware_accel", "deterministic", "fuzzing"] }
- default = falcon512, kyber768, std
-
These default features are set whenever
qsslis added withoutsomewhere in the dependency tree.default-features = false - no_std
- std default
- kyber512
-
Algorithm features
- kyber768 default
- kyber1024
- falcon512 default
- falcon1024 dilithium2 dilithium3 dilithium5
- sphincsplus
- tls_compat = rustls, webpki
-
Protocol features
TLS compatibility mode - wasm
-
WebAssembly support
Enables js of getrandom ^0.2
- fips
-
FIPS compliance mode
- zero_rtt
-
0-RTT support
- multiplexing
-
Stream multiplexing
- simd
-
Performance features
SIMD optimizations - hardware_accel
-
Hardware acceleration support
- deterministic
-
Testing features
Deterministic randomness for testing - fuzzing
-
Fuzzing support
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- rustls tls_compat?
-
Enables rustls
Optional features
For TLS compatibility mode - webpki tls_compat?
-
Enables webpki
For certificate validation