summaryrefslogtreecommitdiffstats
path: root/firmware/Cargo.toml
blob: f70a199d24629aaf5ff4732b50348e38ea48d871 (plain)
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
32
33
34
35
36
37
38
39
[package]
name = "rpmcontrol"
version = "0.1.0"
authors = ["Michael Buesch <m@bues.ch>"]
edition = "2021"
license = "MIT OR Apache-2.0"

[[bin]]
name = "rpmcontrol"
test = false
bench = false

[dependencies]
panic-halt = "0.2.0"
avr-device = { version = "0.5", features = [ "attiny26", "rt" ] }
#attiny-hal = { version = "0.1", features = [ "attiny26" ] }
#embedded-hal = "1"

# The latest releases of `proc-macro2` do not support the rust toolchain that
# we use.  Thus, we must fix this dependency to an older version where our
# toolchain is still supported.  See https://github.com/Rahix/avr-hal/issues/537
[build-dependencies.proc-macro2]
version = "=1.0.79"

[profile.dev]
panic = "abort"
lto = "fat"
opt-level = "s"

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

[patch.crates-io]
avr-device = { path = "../../avr-device" }
#attiny-hal = { path = "../../avr-hal/mcu/attiny-hal" }
#avr-hal-generic = { path = "../../avr-hal/avr-hal-generic" }
bues.ch cgit interface