Cargo Features

http-auth = { version = "0.1.9", default-features = false, features = ["basic-scheme", "digest-scheme", "trace", "http", "http10"] }
default = basic-scheme, digest-scheme

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

basic-scheme default = base64

Enable code to respond to challenges of the given scheme.

Affects http-auth::basic

digest-scheme default = digest, hex, md-5, rand, sha2

Affects http-auth::digest

trace = log

Enable per-byte trace! calls in parsing (causing code bloat). This is only meant for testing http-auth itself.

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 basic-scheme

Enables base64 ^0.21.0

digest digest-scheme
hex digest-scheme
http implicit feature

Enables http ^0.2.5


A set of types for representing HTTP requests and responses

Affects http-auth::HeaderValue

http10 implicit feature

Enables http

Affects http-auth::HeaderValue

log trace?
md-5 digest-scheme
rand digest-scheme
sha2 digest-scheme