-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (35 loc) · 1.04 KB
/
Cargo.toml
File metadata and controls
43 lines (35 loc) · 1.04 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
[package]
edition = "2024"
name = "RGB-esp"
rust-version = "1.88"
version = "0.1.0"
[[bin]]
name = "RGB-esp"
path = "./src/main.rs"
[dependencies]
esp-hal = { version = "1.0.0", features = ["defmt", "esp32s3", "unstable"] }
defmt = "1.0.1"
esp-bootloader-esp-idf = { version = "0.4.0", features = ["defmt", "esp32s3"] }
critical-section = "1.2.0"
esp-backtrace = { version = "0.18.1", features = [
"defmt",
"esp32s3",
"panic-handler",
] }
esp-println = { version = "0.16.1", features = ["defmt-espflash", "esp32s3"] }
smart-leds = "0.4.0"
esp-hal-smartled2 = { version = "0.28.1", features = ["esp32s3"] }
embassy-executor = "0.9.1"
embassy-time = "0.5.0"
[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