Cargo Features
[dependencies]
serde-encoded-bytes = { version = "0.2.1", default-features = false, features = ["generic-array-014", "hex", "base64", "bincode"] }
- default = hex
-
Unfortunately we need this for the doctests to work (since we need some encoding to be present in the API). Should be removed when https://github.com/rust-lang/cargo/issues/2911 is fixed.
- generic-array-014
-
Enables generic-array ^0.14
Affects
containers::GenericArray014…
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.
- hex default
- base64 implicit feature
-
Enables base64
base64:
encodes and decodes base64 as bytes or utf8
- bincode implicit feature
-
Enables bincode ^2
Dev dependency, but has to be here since dev dependencies can't be optional.
Needs to be optional because it requires higher MSRV than the rest.