Cargo Features

[dependencies]
xsalsa20poly1305 = { version = "0.9.1", default-features = false, features = ["std", "alloc", "arrayvec", "getrandom", "heapless", "rand_core", "stream"] }
default = alloc, getrandom

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

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

XSalsa20Poly1305 has 8 features without comments.