# 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-rt" version = "0.1.5" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Startup and runtime support for i.MX RT processors." readme = "README.md" categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/imxrt-rs/imxrt-rt" [profile.dev] opt-level = 0 lto = "off" panic = "abort" [profile.dev.build-override] opt-level = 0 codegen-units = 256 [profile.release] opt-level = "s" lto = "fat" codegen-units = 1 panic = "abort" [profile.release.build-override] opt-level = 0 codegen-units = 256 [lib] name = "imxrt_rt" path = "src/lib.rs" [[example]] name = "blink-blocking" path = "examples/blink-blocking.rs" [[example]] name = "blink-rtic" path = "examples/blink-rtic.rs" required-features = ["board/rtic"] [[test]] name = "inspect_elf" path = "tests/inspect_elf.rs" [dependencies.cfg-if] version = "1.0" [features] device = ["cortex-m-rt/device"] [target.'cfg(all(target_arch = "arm", target_os = "none"))'.dependencies.cortex-m-rt] version = "=0.7.3" features = [ "set-vtor", "set-sp", ] [target.'cfg(all(target_arch = "arm", target_os = "none"))'.dev-dependencies.cortex-m-rtic] version = "1.0" [target.'cfg(not(all(target_arch = "arm", target_os = "none")))'.dev-dependencies.goblin] version = "0.5"