Cargo Features
[dependencies]
chacha20-poly1305 = { version = "0.1.1", default-features = false, features = ["std", "alloc"] }
- default = std
-
The
std
feature is set by default wheneverchacha20-poly1305
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
ChaCha20Poly1305 has 3 features without comments.