Cargo Features

[dependencies]
sbd-server = { version = "0.0.5-alpha", default-features = false, features = ["tungstenite", "fastwebsockets", "unstable"] }
default = tungstenite

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

tungstenite default

Enables futures and tokio-tungstenite ^0.21.0

futures:

feature tungstenite

fastwebsockets

Enables fastwebsockets ^0.7.1, http-body-util, hyper, and hyper-util

fastwebsockets:

feature fastwebsockets

unstable

Affects config::Config.watch_reload_tls_dir, config::Config.ip_deny_dir, config::Config.ip_deny_s, config::Config.back_bind, config::Config.back_allow_ip, config::Config.back_open, config::Config.bind_prometheus