curl_smile 0.0.5

A simplified rust API for Keepsmile lights
Documentation
1
2
3
4
5
use crate::core::{DeviceCommand, LightState};

pub trait DeviceCompiler {
    fn compile(&self, state: &LightState) -> Vec<DeviceCommand>;
}