1
Fork 0
pick-n-place/Cargo.toml
2024-05-01 15:59:34 -05:00

42 lines
966 B
TOML

[package]
name = "pick-n-place"
version = "0.1.0"
authors = ["Andy Killorin <37423245+Speedy6451@users.noreply.github.com>"]
edition = "2021"
[[bin]]
name = "pick-n-place"
test = false
bench = false
[dependencies]
panic-halt = "0.2.0"
ufmt = "0.2.0"
nb = "1"
embedded-hal = "1"
[dependencies.avr-hal-generic]
git = "https://github.com/rahix/avr-hal"
[dependencies.arduino-hal]
git = "https://github.com/rahix/avr-hal"
features = ["arduino-uno"]
# The latest releases of `proc-macro2` do not support the rust toolchain that
# we use. Thus, we must fix this dependency to an older version where our
# toolchain is still supported. See https://github.com/Rahix/avr-hal/issues/537
[build-dependencies.proc-macro2]
version = "=1.0.79"
# 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"