Cargo Features

[dependencies]
br-web-server = { version = "0.2.8", default-features = false, features = ["service", "webpage", "ws"] }
default = service

The service feature is set by default whenever br-web-server is added without default-features = false somewhere in the dependency tree.

service default

Affects br-web-server::Handler.on_request, br-web-server::Handler.on_options, br-web-server::Handler.on_response

webpage

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