cybertail/Cargo.toml

43 lines
854 B
TOML

[package]
name = "cybertail"
version = "0.1.0"
authors = ["Erin <contact@the-system.eu.org>"]
edition = "2021"
license = "MIT OR Apache-2.0"
[[bin]]
name = "cybertail"
test = false
bench = false
[dependencies]
panic-halt = "0.2.0"
ufmt = "0.1.0"
nb = "0.1.2"
embedded-hal = "0.2.3"
[dependencies.arduino-hal]
git = "https://github.com/rahix/avr-hal"
rev = "7dfa6d322b9df98b2d98afe0e14a97afe0187ac1"
features = ["arduino-mega2560"]
[dependencies.avr-device]
version = "0.5.1"
# 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"
# Dirty Hack: https://github.com/Rahix/avr-hal/issues/131#issuecomment-775828622
[profile.dev.package.compiler_builtins]
overflow-checks = false