Cargo Features
[dependencies]
http-bytes = { version = "0.1.0", default-features = false, features = ["basicauth"] }
- default = basicauth
-
The
basicauth
feature is set by default wheneverhttp-bytes
is added without
somewhere in the dependency tree.default-features = false - basicauth default = base64, percent-encoding
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.
- base64 basicauth
-
Enables base64 ^0.10.1
- percent-encoding basicauth
-
Enables percent-encoding ^1.0.1