huesmith_core/lib.rs
1//! Platform-agnostic core for Philips Hue–compatible Zigbee lights.
2//!
3//! Everything here is free of MCU/HAL dependencies, so it builds and is unit-tested
4//! on any host (Linux, macOS):
5//!
6//! - [`color`] — CIE 1931 XY ↔ RGB, mireds/Kelvin ↔ RGB, HSV, CCT channel mixing.
7//! - [`light`] — the [`light::state::LightState`] ZCL state machine and the
8//! [`light::LightOutput`] trait a hardware backend implements.
9//! - [`hue`] — Hue device types, identity presets, and Zigbee scene parsing.
10//!
11//! The hardware/Zigbee-stack side lives in the companion `huesmith` crate, which
12//! implements [`light::LightOutput`] on the ESP32-C6/H2 via ESP-IDF.
13
14pub mod color;
15pub mod hue;
16pub mod light;