Cargo Features

[dependencies]
aggligator-util = { version = "0.16.0", default-features = false, features = ["tcp", "tls", "rfcomm", "rfcomm-profile", "usb-host", "usb-device", "websocket", "cli", "raw-speed-cli", "speed", "monitor", "dump"] }
default = cli, tcp, tls

These default features are set whenever aggligator-util is added without default-features = false somewhere in the dependency tree.

tcp default cli websocket? = socket2

Enables net of tokio

Affects aggligator-util::net, transport::tcp

tls default cli = rustls, tokio-rustls

Affects transport::tls

rfcomm

Enables rfcomm of bluer

Affects transport::rfcomm

rfcomm-profile

Enables bluetoothd and rfcomm of bluer

Affects transport::rfcomm_profile

usb-host = rusb

Enables host of upc

Affects transport::usb

usb-device = usb-gadget

Enables device of upc

Affects transport::usb

websocket cli = axum, tcp, tokio-tungstenite, tungstenite, url

Affects transport::websocket

cli default raw-speed-cli? = anyhow, axum-server, clap, clap-markdown, clap_mangen, crossterm, dump, gethostname, monitor, rustls-pemfile, serde, serde_json, socket2, speed, tcp, tls, tracing-log, tracing-subscriber, websocket

Affects aggligator-util::cli

Required by agg-speed and agg-tunnel binaries

raw-speed-cli = cli

Required by the raw-speed binary

speed cli = rand, rand_xoshiro

Affects aggligator-util::speed

monitor cli = crossterm

Affects aggligator-util::monitor

dump cli

Enables dump of aggligator

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.

bluer rfcomm? rfcomm-profile?
rustls tls
rustls-pemfile cli
tokio-rustls tls
rand speed?
rand_xoshiro speed?
clap cli
clap_mangen cli
clap-markdown cli
anyhow cli
crossterm cli monitor?

Enables crossterm ^0.27

serde cli
serde_json cli
tracing-subscriber cli
tracing-log cli
axum websocket?
tungstenite websocket?

Enables tungstenite ^0.23

tokio-tungstenite websocket?

Enables tokio-tungstenite ^0.23

url websocket?
axum-server cli

Enables axum-server ^0.6

upc usb-device? usb-host?
usb-gadget usb-device?
rusb usb-host?
gethostname cli
socket2 cli tcp