Cargo Features
[dependencies]
br-web-server = { version = "0.1.12", default-features = false, features = ["http", "ws", "web"] }
- default = http
-
The
http
feature is set by default wheneverbr-web-server
is added without
somewhere in the dependency tree.default-features = false - http default
-
Affects
br-web-server::Handler.on_request
,br-web-server::Handler.on_options
,br-web-server::Handler.on_response
… - ws
-
Affects
br-web-server::websocket
,br-web-server::Handler.on_open
,br-web-server::Handler.on_message
,br-web-server::Handler.on_close
,br-web-server::Handler.on_error
,br-web-server::Handler.on_shutdown
,br-web-server::Handler.on_ping
,br-web-server::Handler.on_pong
… - web
-
Affects
config::Config.webpage
,br-web-server::Handler.on_request
,br-web-server::Handler.on_options
,br-web-server::Handler.on_response
…