aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 93d32a6aefdb785e1436b64dfb08e354558c002c (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
31
[package]
name = "first"
version = "0.1.0"
authors = ["Gustav Sörnäs <gustav@sornas.net>"]
edition = "2018"

[dependencies]
panic-halt = "0.2.0"

nb = "0.1.2"
ufmt = "0.1.0"
avr-device = "0.3"

dht11 = "0.3"

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