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 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 ^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