ws2812_esp32_rmt_driver/
lib.rs

1#![cfg_attr(not(feature = "std"), no_std)]
2#![cfg_attr(docsrs, feature(doc_auto_cfg))]
3#![doc = include_str!("../README.md")]
4
5#[cfg(all(not(feature = "std"), feature = "alloc"))]
6extern crate alloc;
7
8pub mod driver;
9
10pub use driver::{Ws2812Esp32RmtDriver, Ws2812Esp32RmtDriverError};
11
12#[cfg(feature = "embedded-graphics-core")]
13pub mod lib_embedded_graphics;
14
15#[cfg(feature = "smart-leds-trait")]
16pub mod lib_smart_leds;
17
18#[cfg(not(target_vendor = "espressif"))]
19pub mod mock;
20
21#[cfg(feature = "smart-leds-trait")]
22pub use lib_smart_leds::{LedPixelEsp32Rmt, Ws2812Esp32Rmt, RGBW8};
23#[cfg(feature = "smart-leds-trait")]
24pub use smart_leds_trait::RGB8;