Cargo Features
[dependencies]
recrypt = { version = "0.13.1", default-features = false, features = ["u64_backend", "u32_backend", "wasm", "disable_memlock"] }
- default = u64_backend
-
The
u64_backend
feature is set by default wheneverrecrypt
is added without
somewhere in the dependency tree.default-features = false - u64_backend default
-
Enables u64_backend of ed25519-dalek-fiat
Disable all features for ed25519 and enable the proper ones down in the [features] section below
- u32_backend wasm?
-
Enables u32_backend of ed25519-dalek-fiat
- wasm = u32_backend
-
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.