37 lines
728 B
TOML
37 lines
728 B
TOML
![]() |
[package]
|
||
|
name = "rust-arduino"
|
||
|
version = "0.1.0"
|
||
|
authors = ["Ahmet Kaan GÜMÜŞ <96421894+Tahinli@users.noreply.github.com>"]
|
||
|
edition = "2021"
|
||
|
license = "MIT OR Apache-2.0 OR GPL-3.0"
|
||
|
|
||
|
[[bin]]
|
||
|
name = "rust-arduino"
|
||
|
test = false
|
||
|
bench = false
|
||
|
|
||
|
[dependencies]
|
||
|
panic-halt = "0.2.0"
|
||
|
ufmt = "0.2.0"
|
||
|
nb = "1.1.0"
|
||
|
embedded-hal = "1.0.0"
|
||
|
avr-device = "0.5.3"
|
||
|
|
||
|
[dependencies.arduino-hal]
|
||
|
git = "https://github.com/rahix/avr-hal"
|
||
|
rev = "190f2c3cb8d29e10f71119352b912369dc5a1fb7"
|
||
|
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 = false
|
||
|
lto = true
|
||
|
opt-level = "s"
|