Cargo Features

[dependencies]
wired_handler_hyper = { version = "0.11.2", default-features = false, features = ["websocket", "json", "diesel"] }
default = diesel, json, websocket

These default features are set whenever wired_handler_hyper is added without default-features = false somewhere in the dependency tree.

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.

hyper-tungstenite websocket
serde_json json
diesel-async diesel
diesel_migrations diesel