Cargo Features

[dependencies]
axdl = { version = "0.1.2", default-features = false, features = ["usb", "web", "webusb", "webserial", "serial", "async"] }
default = serial, usb

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

usb default

Enables rusb

Affects transport::usb

web webserial? webusb? = async

Enables js-sys, wasm-bindgen-futures, and web-sys

webusb = web

Enables webusb-web ^0.3.0, Usb, UsbDevice and UsbDeviceFilter of web-sys

Affects transport::webusb

webserial = web

Enables wasm-streams, ReadableStream, Serial, SerialOptions, SerialPort, SerialPortFilter, SerialPortInfo and WritableStream of web-sys

Affects transport::webserial

serial default

Enables serialport

Affects transport::serial

async web?

Enables async_zip, futures-io, futures-util, pin-project, and pin-utils

Affects communication::r#async