Cargo Features
[dependencies]
wsrx = { version = "0.4.1", default-features = false, features = ["binary", "client", "log", "server"] }
- default = binary
-
The
binary
feature is set by default wheneverwsrx
is added without
somewhere in the dependency tree.default-features = false - binary default = client, log, server
-
Enables chrono, clap, once_cell, serde, serde_json, subprocess, tower-http, tracing-subscriber, and url
chrono:
binary cli only
Required by the binary
- client binary
-
Enables tokio-tungstenite
- log binary
-
Enables tracing
- server binary
-
Enables axum
for client or server