MacroBoard-rs/arduino/Cargo.toml

30 lines
641 B
TOML
Raw Normal View History

2022-07-16 08:32:10 +00:00
[package]
name = "arduino"
version = "0.1.0"
2022-07-18 16:19:57 +00:00
edition = "2021"
2022-07-16 08:32:10 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "arduino"
test = false
bench = false
[dependencies]
panic-halt = "0.2"
2022-07-16 14:42:41 +00:00
avr-device = "*"
2022-07-16 08:32:10 +00:00
arduino-hal = { git = "https://github.com/Rahix/avr-hal", features = ["arduino-uno"], rev = "1aacefb335517f85d0de858231e11055d9768cdf" }
2022-07-16 14:42:41 +00:00
ufmt = "*"
2022-07-16 08:32:10 +00:00
# Configure the build for minimal size - AVRs have very little program memory
[profile.dev]
panic = "abort"
lto = true
opt-level = "s"
[profile.release]
panic = "abort"
codegen-units = 1
debug = true
lto = true
opt-level = "s"