Cargo Features
[dependencies]
mcumgr-smp = { version = "0.6.0", default-features = false, features = ["serial", "payload-cbor"] }
- default = payload-cbor, serial
-
These default features are set whenever
mcumgr-smp
is added without
somewhere in the dependency tree.default-features = false - serial default = base64, crc
-
Affects
mcumgr-smp::smp_framing
… - payload-cbor default = ciborium, serde, serde_bytes
-
Affects
mcumgr-smp::application_management
,mcumgr-smp::os_management
,mcumgr-smp::shell_management
…
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.