Cargo Features

[dependencies]
minidsp-protocol = { version = "0.1.4", default-features = false, features = ["std", "debug", "all_devices", "device_2x4hd", "device_4x10hd", "device_10x10hd", "device_msharc4x8", "device_shd", "device_ddrc24", "device_nanodigi2x8", "device_ddrc88bm", "device_c8x12v2", "device_m2x4", "devices", "use_serde", "symbols"] }
default = all_devices, debug, std, symbols

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

std default debug use_serde?
debug default = std
all_devices default = device_10x10hd, device_2x4hd, device_4x10hd, device_c8x12v2, device_ddrc24, device_ddrc88bm, device_m2x4, device_msharc4x8, device_nanodigi2x8, device_shd
device_2x4hd all_devices = devices

Affects device::m2x4hd

device_4x10hd all_devices = devices

Affects device::m4x10hd

device_10x10hd all_devices = devices

Affects device::m10x10hd

device_msharc4x8 all_devices = devices

Affects device::msharc4x8

device_shd all_devices = devices

Affects device::shd

device_ddrc24 all_devices = devices

Affects device::ddrc24

device_nanodigi2x8 all_devices = devices

Affects device::nanodigi2x8

device_ddrc88bm all_devices = devices

Affects device::ddrc88bm

device_c8x12v2 all_devices = devices

Affects device::c8x12v2

device_m2x4 all_devices = devices

Affects device::m2x4

devices device_10x10hd? device_2x4hd? device_4x10hd? device_c8x12v2? device_ddrc24? device_ddrc88bm? device_m2x4? device_msharc4x8? device_nanodigi2x8? device_shd?

Affects minidsp-protocol::device

use_serde = schemars, serde, std, strum
symbols default

Provides a name mapping for every symbol in every device spec

Affects c8x12v2::sym.SYMBOLS, ddrc24::sym.SYMBOLS, ddrc88bm::sym.SYMBOLS, m10x10hd::sym.SYMBOLS, m2x4::sym.SYMBOLS, m2x4hd::sym.SYMBOLS, device::Device.symbols

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.

schemars use_serde?
serde use_serde?
strum use_serde?

Enables strum ^0.23.0