forked from esp-rs/esp-flasher-stub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (34 loc) · 864 Bytes
/
Cargo.toml
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 = "flasher-stub"
version = "0.3.0"
edition = "2021"
rust-version = "1.76"
license = "MIT OR Apache-2.0"
categories = ["embedded", "no-std"]
[dependencies]
critical-section = "1.1.2"
esp-hal = "0.17.0"
heapless = { version = "0.8.0", default-features = false }
static_cell = "2.1.0"
[dev-dependencies]
assert2 = "0.3.14"
matches = "0.1.10"
mockall = "0.12.1"
mockall_double = "0.3.1"
[features]
esp32 = ["esp-hal/esp32"]
esp32c2 = ["esp-hal/esp32c2"]
esp32c3 = ["esp-hal/esp32c3"]
esp32c6 = ["esp-hal/esp32c6"]
esp32h2 = ["esp-hal/esp32h2"]
esp32s2 = ["esp-hal/esp32s2"]
esp32s3 = ["esp-hal/esp32s3"]
dprint = []
[profile.release]
opt-level = "z"
codegen-units = 1
lto = true
panic = "abort"
debug = true
[lints.rust]
unexpected_cfgs = "allow"