Cargo Features
[dependencies]
wired_handler_hyper = { version = "0.12.0", default-features = false, features = ["websocket", "json", "diesel"] }
- default = diesel, json, websocket
-
These default features are set whenever
wired_handler_hyperis added withoutsomewhere in the dependency tree.default-features = false - websocket default = hyper-tungstenite
-
Affects
data::connection_id,data::connection_storage,data::message,data::send_message,data::websocket,data::websocket_error,state::connection_state… - json default = serde_json
-
Affects
data::request_body,data::response_body… - diesel default = diesel-async, diesel_migrations
-
Enables diesel
Affects
config::DbConfig,data::db…
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.