Cargo Features
[dependencies]
aes-gcm = { version = "0.11.0-pre.2", default-features = false, features = ["std", "alloc", "arrayvec", "bytes", "getrandom", "heapless", "rand_core", "stream", "aes", "zeroize"] }
- default = aes, alloc, getrandom
-
These default features are set whenever
aes-gcm
is added without
somewhere in the dependency tree.default-features = false - std = alloc
- alloc default std?
- arrayvec
- bytes
- getrandom default = rand_core
- heapless
- rand_core getrandom
- stream
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.