Cargo Features

[dependencies]
aggligator-util = { version = "0.17.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? = network-interface, 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

Enables rt-multi-thread of tokio

Affects aggligator-util::cli

Required by agg-speed and agg-tunnel binaries

raw-speed-cli = cli, network-interface

Enables rt-multi-thread of tokio

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?
serde cli
serde_json cli
tracing-subscriber cli
tracing-log cli
axum websocket?
tungstenite websocket?
tokio-tungstenite websocket?
url websocket?
axum-server cli
upc usb-device? usb-host?
usb-gadget usb-device?
rusb usb-host?
gethostname cli
socket2 cli tcp
network-interface raw-speed-cli? tcp