[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 = 3 lto = true [profile.dev] debug = true # Symbols are nice and they don't increase the size on Flash opt-level = "z" lto = true [features] default = ["std", "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"] [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" } 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"] } ansi_term = "0.12.1" num = "0.4.3" chrono = "0.4.38" fugit = "0.3.7" [build-dependencies] embuild = "0.32.0" anyhow = "1"