Cargo Features
zino-http has no features set by default.
[dependencies]
zino-http = { version = "0.3.0", features = ["auth", "cookie", "debug", "i18n", "http02", "jwt", "metrics", "view", "view-minijinja", "view-tera"] }
- auth jwt? = zino-auth
-
Affects
request::RequestContext.parse_authentication
,request::RequestContext.parse_access_key_id
,request::RequestContext.parse_security_token
,request::RequestContext.parse_session_id
… -
Enables cookie, cookies of reqwest, cookie of zino-core
Affects
request::RequestContext.new_cookie
,request::RequestContext.get_cookie
… - debug
-
Enables debug of zino-core, debug and preserve_order of optional minijinja and preserve_order of serde_json, toml, and optional tera
serde_json:
Make serde_json::Map use a representation which maintains insertion order.
This allows data to be read into a Value and written back to a JSON string while preserving the order of map keys in the input. - i18n
-
Enables fluent, intl-memoizer, and unic-langid
Affects
zino-http::i18n
,request::RequestContext.locale
,request::RequestContext.translate
… - http02
-
Enables http ^0.2.12
Affects
response::StatusCode
… - jwt = auth
-
Enables jwt-simple, jwt of zino-auth
Affects
request::RequestContext.parse_jwt_claims
… - metrics
- view view-minijinja? view-tera?
-
Enables convert_case and minijinja
Affects
zino-http::view
… - view-minijinja = view
-
Enables minijinja
- view-tera = view
-
Enables tera
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.