Cargo Features

[dependencies]
mcumgr-smp = { version = "0.7.0", default-features = false, features = ["async", "payload-cbor", "transport-ble-async", "transport-serial", "transport-udp", "transport-udp-async"] }
default = payload-cbor, transport-ble-async, transport-serial, transport-udp, transport-udp-async

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

async transport-ble-async transport-udp-async = async-trait, tokio

Affects smp::smp_async

payload-cbor default = ciborium, serde, serde_bytes

Affects mcumgr-smp::application_management, mcumgr-smp::os_management, mcumgr-smp::shell_management, smp_async::cbor, smp_sync::cbor

transport-ble-async default = async, btleplug, futures, uuid

Affects transport::ble

transport-serial default = base64, crc, serialport

Affects transport::serial, transport::smp_framing

transport-udp default

Affects udp::udp_sync, transport::udp

transport-udp-async default = async

Enables tokio

Affects udp::udp_async, transport::udp

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.

async-trait async?
base64 transport-serial
btleplug transport-ble-async
ciborium payload-cbor
crc transport-serial
futures transport-ble-async
serde payload-cbor
serde_bytes payload-cbor
serialport transport-serial
tokio async? transport-udp-async
uuid transport-ble-async