Cargo Features
[dependencies]
http-auth = { version = "0.1.10", 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
somewhere in the dependency tree.default-features = false - 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
- digest digest-scheme
- hex digest-scheme
- http implicit feature
-
Enables http ^0.2.5
http:
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