Cargo Features
[dependencies]
fog-crypto = { version = "0.5.3", default-features = false, features = ["with-serde", "getrandom"] }
- default = getrandom, with-serde
-
These default features are set whenever
fog-crypto
is added without
somewhere in the dependency tree.default-features = false - with-serde default = base64, serde, serde_bytes
-
Affects
fog-crypto::serde
… - getrandom default
-
Enables getrandom of chacha20poly1305, rand_core, and x25519-dalek
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.