-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
108 lines (99 loc) · 3.83 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
name = "mff-hr-v1"
version = "0.1.0"
authors = ["nullstalgia <[email protected]>"]
edition = "2021"
resolver = "2"
rust-version = "1.77"
[[bin]]
name = "mff-hr-v1"
harness = false # do not use the built in cargo test harness -> resolve rust-analyzer errors
[profile.release]
opt-level = "s"
[profile.dev]
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "z"
[[package.metadata.esp-idf-sys.extra_components]]
component_dirs = ["components"]
bindings_header = "src/bindings.h"
[features]
default = ["std", "esp-idf-svc/native", "experimental", "embassy"]
pio = ["esp-idf-svc/pio"]
std = ["alloc", "esp-idf-svc/binstart", "esp-idf-svc/std"]
alloc = ["esp-idf-svc/alloc"]
nightly = ["esp-idf-svc/nightly"]
experimental = ["esp-idf-svc/experimental"]
embassy = [
"esp-idf-svc/embassy-sync",
"esp-idf-svc/critical-section",
"esp-idf-svc/embassy-time-driver",
]
[patch.crates-io]
esp-idf-svc = { git = "https://github.com/esp-rs/esp-idf-svc", rev = "3f2ce04" }
# esp-idf-svc = { path = "./target/patch/ad1c836" }
# esp-idf-svc = { path = "../esp-idf-svc" }
esp-idf-hal = { git = "https://github.com/esp-rs/esp-idf-hal", rev = "97c01ef" }
[dependencies]
log = "0.4"
# esp-idf-svc = { version = "0.49", default-features = false }
esp-idf-svc = { git = "https://github.com/esp-rs/esp-idf-svc", rev = "3f2ce04", default-features = false }
# esp-idf-svc = { path = "./target/patch/ad1c836" }
# esp-idf-svc = { path = "../esp-idf-svc" }
# esp-idf-hal = { version = "0.44", default-features = false }
esp-idf-hal = { git = "https://github.com/esp-rs/esp-idf-hal", rev = "97c01ef", default-features = false }
esp-idf-sys = { version = "0.35", default-features = false }
esp32-nimble = "0.8.2"
anyhow = { version = "1.0", default-features = false }
bstr = "1.11.0"
embedded-graphics = "0.8.1"
# ili9341 = "0.6.0"
display-interface = "0.5.0"
display-interface-spi = "0.5.0"
embedded-hal = "1.0.0"
# For display driver impl, ST7789
# mipidsi = "0.8.0"
mipidsi = { git = "https://github.com/GrantM11235/mipidsi", branch = "new-interface" }
# For touch screen impl, XPT2046
# xpt2046 = { git = "https://github.com/Yandrik/xpt2046", rev = "8d8cf94" }
xpt2046 = { path = "xpt2046" }
# touchscreen = { git = "https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display", rev = "c1a48ea", package = "touchscreen", features = [
# "xpt2046",
# ] }
# touchscreen = { path = "touchscreen", features = ["xpt2046"] }
embedded-canvas = "0.3.1"
postcard = { version = "1.0.10", features = ["use-std"] }
cstr = "0.2.12"
# embedded-text = { version = "0.7.2", features = ["ansi"] }
# embedded-menu = "0.6.1"
# gfx-xtra = "0.2.0"
# kolibri-embedded-gui = "0.0.0-alpha.1"
bitbang-hal = { path = "bitbang-hal-fork" }
embassy-time = "0.3.2"
# tinygif = { path = "../tinygif" }
# tinygif = { path = "../tinygif-neil" }
# tinygif = "0.0.4"
# tinygif = { git = "https://github.com/neil-morrison44/tinygif", branch = "nm/fill_contiguous" }
# gift = "0.10.6"
# pix = "0.13.4"
# embedded-menu = "0.6.1"
strum = "0.26"
strum_macros = "0.26"
embedded-iconoir = { version = "0.2.3", features = ["24px", "48px"] }
thiserror = { version = "2", default-features = false }
serde = "1.0.215"
serde_derive = "1.0.215"
derivative = "2.2.0"
takeable = "0.2.2"
eg-seven-segment = "0.2.0"
embedded-plots = { git = "https://gitlab.com/mchodzikiewicz/embedded-plots", rev = "ecb86dd5" }
# rand = { version = "0.8.5", default-features = false }
tinybmp = "0.6.0"
u8g2-fonts = "0.4.0"
# memmap = "0.7.0"
tinytga = "0.5.0"
tinyqoi = "0.2.0"
[build-dependencies]
embuild = { version = "0.32.0", features = ["espidf"] }
cc = "=1.1.30" # Necessary until a new version of `esp-idf-sys` is released (not my comment)
# patch-crate = "0.1" # Used to `log` -> `::log` in `esp-idf-svc`
# patch-crate = { path = "./cargo-patch-crate-fork" }