Cargo Features

libcrux has no features set by default.

[dependencies]
libcrux = { version = "0.0.2-pre.2", features = ["hacspec", "rand", "wasm", "log"] }
hacspec

TODO: #7 Use specs instead of efficient implementations

rand
wasm = wasm-bindgen

Affects libcrux::wasm

log

Enables log

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?

Enables wasm-bindgen

WASM API