{"id":57168,"library":"embedded-hal","title":"Embedded HAL","description":"A Hardware Abstraction Layer (HAL) for embedded systems, providing traits for digital I/O, communication, and more.","status":"active","version":"1.0.0","language":"rust","source_language":null,"source_url":"https://github.com/rust-embedded/embedded-hal","tags":["embedded","hal","hardware","abstraction"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nembedded-hal = \"1.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add embedded-hal","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"OutputPin","correct":"use embedded_hal::digital::OutputPin;"}],"quickstart":{"code":"use embedded_hal::digital::OutputPin;\n\nstruct MyPin;\n\nimpl OutputPin for MyPin {\n    type Error = ();\n    fn set_low(&mut self) -> Result<(), Self::Error> { Ok(()) }\n    fn set_high(&mut self) -> Result<(), Self::Error> { Ok(()) }\n}\n\nfn main() {\n    let mut pin = MyPin;\n    pin.set_high().unwrap();\n}","lang":"rust","description":"Implements the OutputPin trait for a custom pin."},"warnings":[],"env_vars":null,"search_vec":"'abstract':5,22 'communic':16 'digit':14 'embed':1,9,19 'hal':2,7,20 'hardwar':4,21 'i/o':15 'layer':6 'provid':11 'system':10 'trait':12","created_at":"2026-06-16T15:30:57.652187+00:00","updated_at":"2026-06-16T15:30:57.652187+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/rust-embedded/embedded-hal","github":"https://github.com/rust-embedded/embedded-hal","docs":"https://docs.rs/embedded-hal/","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-16","next_check":"2026-12-13","install_tag":null}}