Cargo Features
[dependencies]
imxrt-log = { version = "0.1.2", default-features = false, features = ["lpuart", "usbd", "defmt", "imxrt-ral", "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 ^0.2, usb-device ^0.2, and usbd-serial ^0.1
Affects
defmt::usb_with_config
,defmt::usbd
,log::usbd_with_config
,log::usbd
… - defmt default
-
Enables defmt
Affects
imxrt-log::defmt
…
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.
- imxrt-ral implicit feature
-
Enables imxrt-ral ^0.5
imxrt-ral:
Register access layer for all NXP i.MX RT microcontrollers
- imxrt-hal lpuart
- log default
-
Affects
imxrt-log::log
…