summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 343d4ece8501302be9a4a7927d35c410b7474676 (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
26
27
28
29
30
[package]
name = "serial-morse"
version = "0.1.0"
authors = ["Gustav Sörnäs <gustav@sornas.net>"]
edition = "2018"

[dependencies]
panic-halt = "0.2.0"

embedded-hal = "0.2"
nb = "1"
avr-device = "0.3"
ufmt = "0.1"

[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"