38 lines
810 B
TOML
38 lines
810 B
TOML
[package]
|
|
name = "robot-controller"
|
|
version = "0.1.0"
|
|
authors = ["Andy Killorin <andy@ank.dev>"]
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[[bin]]
|
|
name = "robot-controller"
|
|
test = false
|
|
bench = false
|
|
|
|
[dependencies]
|
|
panic-halt = "1.0.0"
|
|
ufmt = "0.2.0"
|
|
nb = "1.1.0"
|
|
embedded-hal = "1.0"
|
|
avr-device = "0.7.0"
|
|
serde-json-core = "0.6.0"
|
|
serde = { version = "1.0.219", default-features = false, features = ["serde_derive", "derive"] }
|
|
|
|
[dependencies.arduino-hal]
|
|
git = "https://github.com/rahix/avr-hal"
|
|
rev = "fafaf587a32a4500239fd073f89d1b9c36b48092"
|
|
features = ["arduino-uno"]
|
|
|
|
# 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"
|