Cargo Features
[dependencies]
octane = { version = "0.1.2", default-features = false, features = ["faithful", "raw_headers", "query_strings", "extended_queries", "cookies", "url_variables", "rustls", "openSSL"] }
- default = cookies, faithful, query_strings, raw_headers, rustls, url_variables
-
These default features are set whenever
octane
is added without
somewhere in the dependency tree.default-features = false - faithful default
- raw_headers default
-
Affects
request::Headers.raw
… - query_strings default
- extended_queries
-
Affects
query::QueryValue
,query::parse_extended_query
… -
Affects
octane::cookies
,request::Request.cookies
,responder::Response.cookies
… - url_variables default
-
Affects
path::MatchedPath.vars
,path::OwnedMatchedPath.vars
,request::MatchedRequest.vars
… - rustls default = tokio-rustls
- openSSL = openssl, tokio-openssl
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.
- tokio-rustls rustls
-
Enables tokio-rustls ^0.14.0
- openssl openSSL?
- tokio-openssl openSSL?
-
Enables tokio-openssl ^0.4