Cargo Features
[dependencies]
http_typed_headers = { version = "0.1.0", default-features = false, features = ["qvalue", "media-type", "accept", "accept-method", "link", "location", "forwarded", "prefer", "wac-allow", "www-authenticate", "slug", "document-features"] }
- qvalue accept
-
Enables rust_decimal
feature: qvalue, accept
Affects
common::qvalue
… - media-type accept accept-method
-
Enables mime
feature: media-type, accept-x
Affects
common::media_type
… - accept default = media-type, qvalue
-
! Enables
Accept
typed header.Affects
http_typed_headers::accept
… - accept-method default = media-type
-
! Enables
Accept-Post
, 1Accept-Put,
Accept-Patch` typed headers.Affects
http_typed_headers::accept_patch
,http_typed_headers::accept_post
,http_typed_headers::accept_put
… - link default
-
! Enables
Link
typed header.Enables iri-string
feature: link, location
Affects
http_typed_headers::link
… - location default = itertools
-
! Enables
Location
typed header.Enables iri-string
Affects
http_typed_headers::location
… - forwarded default
-
! Enables
Forwarded
,X-Forwarded-*
typed headers.Affects
http_typed_headers::forwarded
,http_typed_headers::x_forwarded_host
,http_typed_headers::x_forwarded_proto
… - prefer default
-
! Enables
Prefer
typed header.Affects
http_typed_headers::prefer
,http_typed_headers::preference_applied
… - wac-allow default
-
! Enables
Wac-Allow
typed header.Affects
http_typed_headers::wac_allow
… - www-authenticate default
-
! Enables
Www-Authenticate
typed header.Enables either
feature: www-authenticate
Affects
http_typed_headers::www_authenticate
… - slug default
-
! Enables
Slug
typed header.Enables percent-encoding
feature: slug
Affects
http_typed_headers::slug
… - default = accept, accept-method, forwarded, link, location, prefer, slug, wac-allow, www-authenticate
-
These default features are set whenever
http_typed_headers
is added without
somewhere in the dependency tree.default-features = false
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.
- itertools location
-
Enables itertools ^0.11.0
feature: location
- document-features implicit feature
-
Enables document-features
feature: docsrs