Cargo Features

[dependencies]
aes-gcm-siv = { version = "0.12.0-pre.2", default-features = false, features = ["std", "alloc", "arrayvec", "bytes", "getrandom", "heapless", "rand_core", "stream", "aes"] }
default = aes, alloc, getrandom

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

std = alloc

Enables std of aead

alloc default std?

Enables alloc of aead

arrayvec

Enables arrayvec of aead

bytes

Enables bytes of aead

getrandom default = rand_core

Enables getrandom of aead

heapless

Enables heapless of aead

rand_core getrandom

Enables rand_core of aead

stream

Enables stream of aead

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.

aes default

Affects aes-gcm-siv::Aes128GcmSiv, aes-gcm-siv::Aes256GcmSiv