Cargo Features

[dependencies]
dbe = { version = "0.2.1", default-features = false, features = ["std", "aes", "aes-std", "serde"] }
default = aes-std, std

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

std default

Enables rand, std of bytes and prost ^0.11

aes

enable aes encryption

Enables zeroize of aes and ctr

Affects dbe::Aes128Ctr, dbe::Aes192Ctr, dbe::Aes256Ctr, dbe::AesError

aes-std default = aes_encrypt

Enables rand, std of ctr

Affects dbe::Aes128Ctr, dbe::Aes192Ctr, dbe::Aes256Ctr, dbe::AesError

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_encrypt aes? aes-std

Enables aes

ctr aes? aes-std
prost std

Enables prost ^0.11

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework