Cargo Features

[dependencies]
http-authentication = { version = "0.2.0", default-features = false, features = ["std", "scheme-basic", "scheme-bearer", "http"] }
default = http, scheme-basic, scheme-bearer, std

These default features are set whenever http-authentication is added without default-features = false somewhere in the dependency tree.

std default
scheme-basic default = base64

schemes

Affects header_utils::set_authorization_with_basic, header_utils::set_proxy_authorization_with_basic, schemes::basic

scheme-bearer default

Affects header_utils::set_authorization_with_bearer, header_utils::set_proxy_authorization_with_bearer, schemes::bearer

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.

http default

Enables http ^0.2

Affects http-authentication::header_utils

base64 scheme-basic

Enables base64 ^0.21