Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Cargo features

FeatureDefaultEnablesExtra dependencies
usb✓transport::Usb, Brick::usb_first, Brick::usb_all, Brick::boot_sam_banusb
tracing✓Telegram logging at TRACE leveltracing
bluetoothtransport::Bluetooth, Brick::bluetooth (Linux only)bluer, tokio; system: D-Bus, pkg-config
serialtransport::Serial, Brick::serialserialport, blocking

Always available, without features: the protocol layer, the low- and high-level APIs, AnyTransport, and the mock transports (Simulator, Script).

Turning off defaults gives a build with no system dependencies, for example for simulation-only tests or a custom transport:

[dependencies]
nxt-rs = { git = "https://forge.wvffle.net/wvffle/nxt-rs.git", default-features = false }