[package] edition = "2024" name = "padmapper" rust-version = "1.88" version = "0.1.0" [[bin]] name = "padmapper" path = "./src/bin/main.rs" [dependencies] critical-section = "1.2.0" defmt = "1.1.0" static_cell = "2.1.1" embassy-executor = { version = "0.10.0", features = ["defmt"] } embassy-time = { version = "0.5.0", features = ["defmt"] } embassy-usb = { version = "0.6.0", features = ["defmt"] } usbd-hid = "0.10.0" esp-alloc = { version = "0.10.0", features = ["defmt", "esp32s3"] } esp-bootloader-esp-idf = { version = "0.5.0", features = ["defmt", "esp32s3"] } esp-hal = { version = "~1.1", features = ["defmt", "esp32s3", "unstable"] } esp-println = { version = "0.17.0", features = ["colors", "defmt-espflash", "esp32s3", "uart"], default-features = false } esp-rtos = { version = "0.3.0", features = ["defmt", "embassy", "esp-alloc", "esp32s3"] } ws2812-rs = "0.3.1" [profile.dev] # Rust debug is too slow. # For debug builds always builds with some optimization opt-level = "s" [profile.release] codegen-units = 1 # LLVM can perform better optimizations using a single thread debug = 2 debug-assertions = false incremental = false lto = 'fat' opt-level = 's' overflow-checks = false