Cargo Features
[dependencies]
xiao_m0 = { version = "0.12.1", default-features = false, features = ["rt", "unproven", "usb"] }
- default = rt
-
These default features are set whenever
xiao_m0
is added without
somewhere in the dependency tree.default-features = false Enables samd21g and unproven of atsamd-hal ^0.14
- rt default = cortex-m-rt
-
Enables samd21g-rt of atsamd-hal ^0.14
- unproven
-
Enables unproven of atsamd-hal ^0.14
- usb = usb-device
-
Enables usb of atsamd-hal ^0.14
Affects
xiao_m0::usb_allocator
…
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.
- cortex-m-rt rt
- usb-device usb?
-
Enables usb-device ^0.2