Cargo Features
[dependencies]
submillisecond = { version = "0.4.1", default-features = false, features = ["cookies", "json", "logging", "query", "template", "websocket"] }
- default = logging
-
The
logging
feature is set by default wheneversubmillisecond
is added without
somewhere in the dependency tree.default-features = false -
Enables cookie ^0.17
Affects
submillisecond::cookies
,submillisecond::session
… - json = serde_json
- logging default = ansi_term, lunatic-log
- query = serde_urlencoded
-
Affects
rejection::FailedToDeserializeQueryString
… - template = askama
-
Affects
submillisecond::template
… - websocket = base64ct, sha1, tungstenite
-
Affects
submillisecond::websocket
…
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.
- ansi_term logging
-
Enables ansi_term
optional dependencies
- askama template?
-
Enables askama ^0.11
- base64ct websocket?
- lunatic-log logging
- serde_json cookies? json?
- serde_urlencoded query?
- sha1 websocket?
- tungstenite websocket?
-
Enables tungstenite ^0.19