[package] name = "bootloader" version = "0.1.0" edition = "2021" [dependencies] defmt = { version = "0.3", optional = true } defmt-rtt = { version = "0.4", optional = true } embassy-boot = { version = "0.1", features = ["nightly"] } embassy-boot-rp = { version = "0.1", features = ["nightly"] } embassy-rp = { version = "0.1", features = ["nightly"] } embassy-sync = { version = "0.3", features = ["nightly"] } cortex-m = { version = "0.7", features = [ "inline-asm", "critical-section-single-core", ] } cortex-m-rt = { version = "0.7" } embedded-storage = "0.3.0" [patch.crates-io] # This is needed as embassy-rp is not on crates.io embassy-boot = { git = "https://github.com/embassy-rs/embassy" } embassy-boot-rp = { git = "https://github.com/embassy-rs/embassy" } embassy-rp = { git = "https://github.com/embassy-rs/embassy" } embassy-sync = { git = "https://github.com/embassy-rs/embassy" } [features] defmt = ["dep:defmt", "embassy-boot/defmt", "embassy-boot-rp/defmt", "embassy-rp/defmt", "embassy-sync/defmt"] debug = ["defmt-rtt", "defmt"] [profile.release] debug = true opt-level = 's' codegen-units = 1 lto = true