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 wheneveraead
is added without
somewhere in the dependency tree.default-features = false - 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.