[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", "rmt", "smart-leds"] embedded-graphics = ["dep:embedded-graphics", "ws2812-esp32-rmt-driver/embedded-graphics-core"] smart-leds = ["dep:smart-leds", "dep:smart-leds-trait", "ws2812-esp32-rmt-driver/smart-leds-trait"] spi = ["dep:ws2812-spi"] rmt = ["dep:ws2812-esp32-rmt-driver"] 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"] threads = [] [dependencies] log = { version = "0.4", default-features = false } esp-idf-svc = { version = "0.49", default-features = false } hsv = "0.1.1" palette = { version = "0.7.6" } embedded-canvas = "0.3.1" embassy-executor = "0.6.0" running-average = "0.1.0" rgb = "0.8.50" ws2812-esp32-rmt-driver = { version = "*", optional = true } ws2812-spi = { version = "0.5.0", optional = true } smart-leds-trait = { version = "0.3.0", optional = true } smart-leds = { version = "0.4.0", optional = true } embedded-graphics = { version = "0.8.1", optional = true, features = ["fixed_point", "defmt"] } [build-dependencies] embuild = "0.32.0" anyhow = "1"