Cargo Features
[dependencies]
imxrt-log = { version = "0.1.1", default-features = false, features = ["lpuart", "usbd", "imxrt-ral", "defmt", "log"] }
- default = defmt, log, lpuart, usbd
-
These default features are set whenever
imxrt-log
is added without
somewhere in the dependency tree.default-features = false - lpuart default = imxrt-hal
-
Affects
defmt::lpuart
,log::lpuart_with_config
,log::lpuart
… - usbd default
-
Enables imxrt-usbd, usb-device ^0.2, and usbd-serial ^0.1
Affects
defmt::usb_with_config
,defmt::usbd
,log::usbd_with_config
,log::usbd
…
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.