Cargo Features

[dependencies]
aead = { version = "0.6.0-rc.0", default-features = false, features = ["std", "alloc", "dev", "getrandom", "rand_core", "stream", "arrayvec", "bytes", "heapless"] }
default = rand_core

The rand_core feature is set by default whenever aead is added without default-features = false somewhere in the dependency tree.

std = alloc

Enables std of crypto-common

alloc std?

Affects aead::Aead, aead::AeadMut, aead::Payload, stream::StreamPrimitive.encrypt, stream::StreamPrimitive.decrypt

dev = blobby

Affects aead::dev

getrandom

Enables getrandom of crypto-common

Affects aead::AeadCore.generate_nonce

rand_core default

Enables rand_core of crypto-common

Affects aead::AeadCore.generate_nonce_with_rng

stream

Affects aead::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.

arrayvec implicit feature

Enables arrayvec

optional dependencies

blobby dev?
bytes implicit feature

Enables bytes

bytes:

Types and traits for working with bytes

heapless implicit feature

Enables heapless

heapless:

static friendly data structures that don't require dynamic memory allocation