# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "imxrt-log" version = "0.1.2" description = "Logging extensions for i.MX RT processors." readme = "README.md" keywords = [ "imxrt", "nxp", "embedded", "no_std", "embedded-hal", ] categories = [ "embedded", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/imxrt-rs/imxrt-hal" [package.metadata.docs.rs] default-target = "thumbv7em-none-eabihf" features = [ "defmt", "imxrt-ral/imxrt1062", "imxrt-hal/imxrt1060", ] [dependencies.bbqueue] version = "0.5" [dependencies.critical-section] version = "1" [dependencies.defmt] version = "0.3" optional = true [dependencies.imxrt-hal] version = "0.5" optional = true [dependencies.imxrt-ral] version = "0.5" optional = true [dependencies.imxrt-usbd] version = "0.2" optional = true [dependencies.log] version = "0.4" optional = true [dependencies.usb-device] version = "0.2" optional = true [dependencies.usbd-serial] version = "0.1" optional = true [dev-dependencies.cortex-m] version = "0.7" [dev-dependencies.cortex-m-rt] version = "0.7" features = ["device"] [dev-dependencies.imxrt-ral] version = "0.5" [features] default = [ "defmt", "log", "lpuart", "usbd", ] defmt = ["dep:defmt"] lpuart = ["imxrt-hal"] usbd = [ "dep:imxrt-usbd", "dep:usb-device", "dep:usbd-serial", ]