forked from esp-rs/esp-flasher-stub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (38 loc) · 1.15 KB
/
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
40
41
42
[package]
name = "flasher-stub"
version = "0.1.0"
edition = "2021"
rust-version = "1.60"
license = "MIT OR Apache-2.0"
categories = ["embedded", "no-std"]
[dependencies]
critical-section = "1.1.2"
esp32-hal = { version = "0.17.0", optional = true }
esp32c2-hal = { version = "0.12.0", optional = true }
esp32c3-hal = { version = "0.14.0", optional = true }
esp32c6-hal = { version = "0.7.0", optional = true }
esp32h2-hal = { version = "0.5.0", optional = true }
esp32s2-hal = { version = "0.14.0", optional = true }
esp32s3-hal = { version = "0.14.0", optional = true }
heapless = { version = "0.8.0", default-features = false }
static_cell = "2.0.0"
[dev-dependencies]
assert2 = "0.3.11"
matches = "0.1.10"
mockall = "0.12.1"
mockall_double = "0.3.1"
[features]
esp32 = ["esp32-hal"]
esp32c2 = ["esp32c2-hal"]
esp32c3 = ["esp32c3-hal"]
esp32c6 = ["esp32c6-hal"]
esp32h2 = ["esp32h2-hal"]
esp32s2 = ["esp32s2-hal"]
esp32s3 = ["esp32s3-hal"]
dprint = []
[profile.release]
opt-level = "z"
codegen-units = 1
lto = true
panic = "abort"
debug = true