summaryrefslogtreecommitdiffstats
path: root/motmock/firmware/Cargo.toml
blob: 45fe87ad9688e97b73aadf1e0ee43a0dc70ec1b0 (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
[package]
name = "motmock"
version = "0.1.0"
authors = [ "Michael Buesch <m@bues.ch>" ]
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false

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

[dependencies]
avr-device = { version = "0.6", features = [ "atmega8", "rt" ] }

# 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" }

[lints.clippy]
undocumented_unsafe_blocks = "warn"
bues.ch cgit interface