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

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.

imxrt-ral implicit feature

Enables imxrt-ral

imxrt-ral:

Register access layer for all NXP i.MX RT microcontrollers

defmt default

Affects imxrt-log::defmt

imxrt-hal lpuart
log default

Affects imxrt-log::log