{"id":62585,"library":"smart-leds-trait","title":"smart-leds-trait","description":"A trait for implementing effects, modifiers and drivers for programmable LEDs.","status":"active","version":"0.3.2","language":"rust","source_language":null,"source_url":"https://github.com/smart-leds-rs/smart-leds-trait","tags":["led","smart-leds","trait","embedded","hardware"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nsmart-leds-trait = \"0.3.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add smart-leds-trait","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"SmartLedsWrite","correct":"use smart_leds_trait::SmartLedsWrite;"}],"quickstart":{"code":"use smart_leds_trait::SmartLedsWrite;\nuse smart_leds_trait::RGB8;\nfn main() {\n    let mut leds: Vec<RGB8> = vec![RGB8::new(255, 0, 0); 10];\n    // Assume a driver implementing SmartLedsWrite\n    println!(\"LEDs ready\");\n}","lang":"rust","description":"Defines a vector of RGB8 LEDs using the SmartLedsWrite trait."},"warnings":[],"env_vars":null,"search_vec":"'driver':12 'effect':9 'embed':21 'hardwar':22 'implement':8 'led':3,15,16,19 'modifi':10 'programm':14 'smart':2,18 'smart-l':17 'smart-leds-trait':1 'trait':4,6,20","created_at":"2026-06-17T16:33:05.329440+00:00","updated_at":"2026-06-17T16:33:05.329440+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/smart-leds-rs/smart-leds-trait","github":"https://github.com/smart-leds-rs/smart-leds-trait","docs":"https://docs.rs/smart-leds-trait/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}