Cargo Features

aes-gcm = { version = "0.10.3", default-features = false, features = ["std", "alloc", "arrayvec", "getrandom", "heapless", "rand_core", "stream", "aes", "zeroize"] }
default = aes, alloc, getrandom

These default features are set whenever aes-gcm is added without default-features = false somewhere in the dependency tree.

std = alloc

Enables std of aead

alloc default std?

Enables alloc of aead


Enables arrayvec of aead

getrandom default = rand_core

Enables getrandom of aead


Enables heapless of aead

rand_core getrandom

Enables rand_core of aead


Enables stream of aead

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

aes default

Affects aes-gcm::Aes128Gcm, aes-gcm::Aes256Gcm

zeroize implicit feature