Cargo Features

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 default-features = false somewhere in the dependency tree.

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.

serde with-serde
serde_bytes with-serde
base64 with-serde

Enables base64 ^0.21.0