30 lines
No EOL
641 B
TOML
30 lines
No EOL
641 B
TOML
[package]
|
|
name = "arduino"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# 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"
|
|
avr-device = "*"
|
|
arduino-hal = { git = "https://github.com/Rahix/avr-hal", features = ["arduino-uno"], rev = "1aacefb335517f85d0de858231e11055d9768cdf" }
|
|
ufmt = "*"
|
|
|
|
# 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" |