-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (44 loc) · 1.72 KB
/
Cargo.toml
File metadata and controls
57 lines (44 loc) · 1.72 KB
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
[package]
name = "lvgl-bevy-demo"
version = "0.1.0"
edition = "2021"
rust-version = "1.77"
resolver = "2"
[[bin]]
harness = false # do not use the built in cargo test harness -> resolve rust-analyzer errors
name = "lvgl-bevy-demo"
[dependencies]
anyhow = "1.0.100"
embedded-graphics = "0.8.1"
esp-idf-svc = "0.51"
log = "0.4"
lv_bevy_ecs = { version = "0.9", features = ["ctor", "no_ecs", "rust-alloc"] }
mipidsi = "0.10.0"
static_cell = "2.1.0"
xpt2046 = { git = "https://github.com/nullstalgia/mff-hr-v1.git", rev = "380384f0d44fa620bf083f2f751ea013fa8887db" }
# --- Optional Embassy Integration ---
# esp-idf-svc = { version = "0.51", features = ["critical-section", "embassy-time-driver", "embassy-sync"] }
# If you enable embassy-time-driver, you MUST also add one of:
# a) Standalone Embassy libs ( embassy-time, embassy-sync etc) with a foreign async runtime:
# embassy-time = { version = "0.4.0", features = ["generic-queue-8"] } # NOTE: any generic-queue variant will work
# b) With embassy-executor:
# embassy-executor = { version = "0.7", features = ["executor-thread", "arch-std"] }
# NOTE: if you use embassy-time with embassy-executor you don't need the generic-queue-8 feature
# --- Temporary workaround for embassy-executor < 0.8 ---
# esp-idf-svc = { version = "0.51", features = ["embassy-time-driver", "embassy-sync"] }
# critical-section = { version = "1.1", features = ["std"], default-features = false }
[build-dependencies]
embuild = "0.33"
[features]
default = []
experimental = ["esp-idf-svc/experimental"]
[profile.dev]
opt-level = "z"
debug = true # Symbols are nice and they don't increase the size on Flash
lto = "fat"
[profile.release]
opt-level = "z"
lto = "fat"
panic = "abort"
codegen-units = 1
# strip = true