{"id":57866,"library":"embedded-hal-async","title":"Embedded HAL Async","description":"An asynchronous Hardware Abstraction Layer (HAL) for embedded systems.","status":"active","version":"1.0.0","language":"rust","source_language":null,"source_url":"https://github.com/rust-embedded/embedded-hal","tags":["embedded","hal","async","no-std"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nembedded-hal-async = \"1.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add embedded-hal-async","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"DelayNs","correct":"use embedded_hal_async::delay::DelayNs;"}],"quickstart":{"code":"use embedded_hal_async::delay::DelayNs;\n\nasync fn blink(delay: &mut impl DelayNs) {\n    loop {\n        // toggle LED\n        delay.delay_ms(1000).await;\n    }\n}","lang":"rust","description":"Defines an async function that uses a delay from embedded-hal-async."},"warnings":[{"fix":"Use an executor like embassy-executor or tokio with the appropriate feature.","message":"Requires an async executor (e.g., embassy) to run","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'abstract':7 'async':3,15 'asynchron':5 'embed':1,11,13 'hal':2,9,14 'hardwar':6 'layer':8 'no-std':16 'std':18 'system':12","created_at":"2026-06-16T16:02:40.571802+00:00","updated_at":"2026-06-16T16:02:40.571802+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-async/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["async","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}}