Cargo Features

[dependencies]
chacha20poly1305 = { version = "0.11.0-pre.2", default-features = false, features = ["std", "alloc", "arrayvec", "bytes", "getrandom", "heapless", "rand_core", "reduced-round", "stream"] }
default = alloc, getrandom

These default features are set whenever chacha20poly1305 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

reduced-round

Affects chacha20poly1305::ChaCha8Poly1305, chacha20poly1305::ChaCha12Poly1305, chacha20poly1305::XChaCha8Poly1305, chacha20poly1305::XChaCha12Poly1305

stream

Enables stream of aead