[package]
name    = "esp32c6-display"
version = "0.1.0"
edition = "2024"
license = "MIT OR Apache-2.0"
publish = false

[dependencies]
# ESP32-C6 hardware abstraction layer
esp-hal      = { version = "1.0.0", features = ["esp32c6", "unstable"] }
# Panic handler + backtrace over serial
esp-backtrace = { version = "0.18", features = ["esp32c6", "panic-handler", "println"] }
# Serial output / log backend
esp-println  = { version = "0.16", features = ["esp32c6", "log-04"] }
# Heap allocator
esp-alloc    = "0.9"
# Logging facade
log          = "0.4"
# ESP-IDF app descriptor required by the on-chip bootloader (and probe-rs)
esp-bootloader-esp-idf = { version = "0.2", features = ["esp32c6"] }

# embedded-hal 1.0 traits + bus utilities
embedded-hal     = "1.0"
embedded-hal-bus = "0.2"

# MIPI DSI display driver (supports ST7789)
mipidsi = "0.10"

# 2D graphics primitives and text rendering
embedded-graphics = "0.8"
ina3221 = "0.4.5"
axs5106l = "0.1.0"
heapless = "0.9"

[profile.release]
codegen-units    = 1
debug            = 2
debug-assertions = false
incremental      = false
opt-level        = "s"
lto              = "fat"
overflow-checks  = false
