# 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 = "embassy-boot-rp" version = "0.3.0" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Bootloader lib for RP2040 chips" documentation = "https://docs.embassy.dev/embassy-boot-rp" readme = "README.md" categories = [ "embedded", "no-std", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/embassy-rs/embassy" [package.metadata.embassy_docs] src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-rp-v$VERSION/src/" src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot-rp/src/" target = "thumbv6m-none-eabi" [profile.dev] opt-level = "z" debug = 2 debug-assertions = true overflow-checks = true incremental = false [profile.dev.build-override] opt-level = 0 codegen-units = 8 debug = 0 debug-assertions = false overflow-checks = false [profile.release] opt-level = "z" lto = "fat" codegen-units = 1 debug = 2 debug-assertions = false overflow-checks = false incremental = false [profile.release.build-override] opt-level = 0 codegen-units = 8 debug = 0 debug-assertions = false overflow-checks = false [lib] name = "embassy_boot_rp" path = "src/lib.rs" [dependencies.cfg-if] version = "1.0.0" [dependencies.cortex-m] version = "0.7.6" [dependencies.cortex-m-rt] version = "0.7" [dependencies.defmt] version = "0.3" optional = true [dependencies.embassy-boot] version = "0.3.0" [dependencies.embassy-rp] version = "0.2.0" default-features = false [dependencies.embassy-sync] version = "0.6.0" [dependencies.embassy-time] version = "0.3.2" [dependencies.embedded-storage] version = "0.3.1" [dependencies.embedded-storage-async] version = "0.4.1" [dependencies.log] version = "0.4" optional = true [features] defmt = [ "dep:defmt", "embassy-boot/defmt", "embassy-rp/defmt", ] log = [ "dep:log", "embassy-boot/log", "embassy-rp/log", ]