Cargo Features

[dependencies]
minidsp = { version = "0.1.4", default-features = false, features = ["debug", "device", "devices", "hid", "mock"] }
default = devices, hid, mock

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

debug
device

Enables symbols of minidsp-protocol

minidsp-protocol:

Provides a name mapping for every symbol in every device spec

devices default

Enables all_devices and symbols of minidsp-protocol

hid default = hidapi

Affects transport::hid

mock default

Affects transport::mock, utils::mock_device

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.

hidapi hid

Enables hidapi ^1.3.2