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
somewhere in the dependency tree.default-features = false - 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.