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 whenever wsrx is added without default-features = false somewhere in the dependency tree.

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