Cargo.toml (616B)
1 [package] 2 name = "blink" 3 version = "0.1.0" 4 edition = "2021" 5 authors = ["dracuxan <[email protected]>"] 6 7 [[bin]] 8 name = "blink" 9 test = false 10 bench = false 11 12 [dependencies] 13 panic-halt = "1.0.0" 14 ufmt = "0.2.0" 15 nb = "1.1.0" 16 embedded-hal = "1.0" 17 18 [dependencies.arduino-hal] 19 git = "https://github.com/rahix/avr-hal" 20 rev = "e5c8f37fe48419956e722490a82b9ca9b9fc61a2" 21 features = ["arduino-nano"] 22 23 # Configure the build for minimal size - AVRs have very little program memory 24 [profile.dev] 25 panic = "abort" 26 lto = true 27 opt-level = "s" 28 29 [profile.release] 30 panic = "abort" 31 codegen-units = 1 32 debug = true 33 lto = true 34 opt-level = "s"