Cargo Features

[dependencies]
serde-encoded-bytes = { version = "0.1.1", default-features = false, features = ["hex", "base64"] }
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.

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