Cargo Features
[dependencies]
crypto_secretbox = { version = "0.2.0-pre.0", default-features = false, features = ["std", "alloc", "heapless", "rand_core", "os_rng", "chacha20", "salsa20"] }
- default = alloc, os_rng, rand_core, salsa20
-
These default features are set whenever
crypto_secretboxis added withoutsomewhere in the dependency tree.default-features = false - std = alloc
- alloc default std?
-
Enables alloc of aead =0.6.0-rc.2
- heapless
-
Enables heapless of aead =0.6.0-rc.2
- rand_core default
-
Enables rand_core of aead =0.6.0-rc.2
- os_rng default
-
Enables os_rng of aead =0.6.0-rc.2
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.
- chacha20 implicit feature
-
Enables chacha20 =0.10.0-rc.2
optional dependencies
Affects
crypto_secretbox::XChaCha20Poly1305… - salsa20 default
-
Enables salsa20 =0.11.0-rc.1
Affects
crypto_secretbox::XSalsa20Poly1305…