Cargo Features

borer-core has no features set by default.

[dependencies]
borer-core = { version = "0.4.6", features = ["axum", "websocket", "stats"] }
axum

Enables axum

Affects websocket::AxumWebSocketCopyStream

websocket = tokio-tungstenite

Affects websocket::WebSocketCopyStream

stats = serde_json, tiny_http

Affects borer-core::stats_server

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.

tokio-tungstenite websocket?
serde_json stats?
tiny_http stats?