Cargo Features

[dependencies]
serde-encrypt = { version = "0.7.0", default-features = false, features = ["std"] }
default = std

The std feature is set by default whenever serde-encrypt is added without default-features = false somewhere in the dependency tree.

std default = bincode, once_cell

Enables std of rand_chacha, getrandom of rand_core and std of serde, serde-encrypt-core, and serde_cbor

serde:

alloc for Vec, String

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.

bincode std
once_cell std

Enables once_cell

Lazy static options