Cargo Features
Recrypt has no features set by default.
[dependencies]
recrypt = { version = "0.14.1", features = ["wasm", "disable_memlock"] }
- wasm
-
Enables no_cc of clear_on_drop and js of getrandom
Explicit dependency so we can pass the wasm-bindgen flag to it
- disable_memlock
-
Can be used to disable the automatic mlock detection for architectures.
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.