aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: fe2190fafd33cf76c3e6d22c13a319f86fd17e65 (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"

dht-sensor = "0.2"

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