summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 84e5b4d03c71c492fc9343e937f6f8b5067dcaa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[package]
name = "arduino-uno-template"
version = "0.0.0"
authors = ["Gustav Sörnäs <gustav@sornas.net>"]
edition = "2018"

[dependencies]
panic-halt = "0.2.0"

[dependencies.arduino-uno]
git = "https://github.com/rahix/avr-hal"
rev = "a202778"

# Configure the build for minimal size
[profile.dev]
panic = "abort"
lto = true
opt-level = "s"

[profile.release]
panic = "abort"
codegen-units = 1
debug = true
lto = true
opt-level = "s"