-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
63 lines (51 loc) · 1.53 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
[package]
name = "slint"
version = "0.1.0"
authors = ["Kortan <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
[dependencies]
esp-backtrace = { version = "0.11.0", features = [
"esp32c6",
"exception-handler",
"panic-handler",
"println",
] }
esp-hal = { version = "0.18.0", features = [ "esp32c6", "async" ] }
esp-println = { version = "0.9.0", features = [ "esp32c6", "log" ] }
log = { version = "0.4.20" }
esp-alloc = { version = "0.4.0" }
esp-hal-embassy = { version = "0.1.0", features = [ "esp32c6", "time-systimer-16mhz" ] }
embassy-executor = { version = "0.5.0" }
embassy-time = { version = "0.3.0", features = [ "generic-queue-8" ] }
embassy-sync = { version = "0.5.0" }
embedded-graphics = "0.8.1"
embedded-graphics-core = "0.4.0"
embedded-graphics-framebuf = "0.5.0"
display-interface = "0.5"
display-interface-spi = "0.5"
mipidsi = "0.8.0"
embedded-hal-bus = "0.2.0"
embedded-hal = "1.0.0"
embedded-hal-async = "1.0.0"
smart-leds = "0.4.0"
esp-hal-smartled = "0.11.0"
[dependencies.slint]
version = "1.6.0"
default-features = false
features = [ "compat-1-2", "unsafe-single-threaded", "libm", "renderer-software" ]
[build-dependencies]
slint-build = "1.6.0"
[features]
[profile.dev]
# Rust debug is too slow.
# For debug builds always builds with some optimization
opt-level = "s"
[profile.release]
codegen-units = 1 # LLVM can perform better optimizations using a single thread
debug = 2
debug-assertions = false
incremental = false
lto = 'fat'
opt-level = 's'
overflow-checks = false