renderbug/Cargo.toml

48 lines
1.3 KiB
TOML

[package]
name = "renderbug"
version = "0.1.0"
authors = ["tdfischer"]
edition = "2021"
resolver = "2"
rust-version = "1.77"
[[bin]]
name = "renderbug"
harness = false # do not use the built in cargo test harness -> resolve rust-analyzer errors
[profile.release]
opt-level = "s"
[profile.dev]
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "z"
[features]
default = ["std", "embassy", "esp-idf-svc/native"]
pio = ["esp-idf-svc/pio"]
std = ["alloc", "esp-idf-svc/binstart", "esp-idf-svc/std"]
alloc = ["esp-idf-svc/alloc"]
nightly = ["esp-idf-svc/nightly"]
experimental = ["esp-idf-svc/experimental"]
embassy = ["esp-idf-svc/embassy-sync", "esp-idf-svc/critical-section", "esp-idf-svc/embassy-time-driver"]
[dependencies]
log = { version = "0.4", default-features = false }
esp-idf-svc = { version = "0.49", default-features = false }
ws2812-esp32-rmt-driver = { version = "*", features = ["embedded-graphics-core"]}
embedded-graphics = { version = "0.8.1", features = ["fixed_point", "defmt"] }
hsv = "0.1.1"
palette = { version = "0.7.6" }
embedded-canvas = "0.3.1"
embassy-executor = "0.6.0"
running-average = "0.1.0"
ws2812-spi = "0.5.0"
smart-leds-trait = "0.3.0"
rgb = "0.8.50"
smart-leds = "0.4.0"
[build-dependencies]
embuild = "0.32.0"
anyhow = "1"