Cargo Features
safe_pqc_kyber has no features set by default.
[dependencies]
safe_pqc_kyber = { version = "0.6.3", features = ["kyber512", "kyber1024", "wasm", "std", "benchmarking", "zeroize"] }
- kyber512
-
Security Levels
Defaults to "kyber768" if none selected
Will throw a compile-time error if more than one level is chosen - kyber768 kyber1024
- wasm = getrandom, rand, wasm-bindgen
-
For compiling to wasm targets
- std
-
Enable std library support
- benchmarking = criterion
-
For benchmarking
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.
- wasm-bindgen wasm?
- getrandom wasm?
- zeroize implicit feature
- rand wasm?
- criterion benchmarking?
-
Enables criterion ^0.4.0
Optional dev-deps, see https://github.com/rust-lang/cargo/issues/1596