Files
sinclair-sci-calc/Cargo.toml

36 lines
683 B
TOML

[package]
name = "avr-calc"
version = "0.1.0"
authors = ["Jakub Pastuszek <jpastuszek@protonmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
[[bin]]
name = "avr-calc"
test = false
bench = false
[dependencies]
ufmt = "0.2.0"
nb = "1.1.0"
embedded-hal = "1.0"
calc-math = { path = "../calc-math" }
[dependencies.arduino-hal]
git = "https://github.com/rahix/avr-hal"
rev = "a1d727e58d73fa4bf41e8113337abb824371ca5d"
features = ["arduino-nano"]
# 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"