summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 60e9b52e173b74e4a0b8a178e8e5924641b2c3df (plain)
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
[package]
edition      = "2024"
name         = "esp32c6-play"
rust-version = "1.88"
version      = "0.1.0"

[[bin]]
name = "esp32c6-play"
path = "./src/main.rs"

[dependencies]
esp-hal = { version = "~1.0", features = ["esp32c6", "log-04", "unstable"] }

esp-bootloader-esp-idf = { version = "0.4.0", features = ["esp32c6", "log-04"] }
log                    = "0.4.27"

critical-section = "1.2.0"
esp-backtrace = { version = "0.18.1", features = [
  "esp32c6",
  "panic-handler",
  "println",
] }
esp-println = { version = "0.16.1", features = ["esp32c6", "log-04"] }
esp-hal-smartled = { version = "0.17.0", features = ["esp32c6"] }
smart-leds = { version = "0.4.0", default-features = false }
micromath = { version = "2.1.0", default-features = false }


[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