{"id":58127,"library":"embedded-time","title":"embedded-time","description":"Fully defined, inter-operable, ergonomic, and fast human-time units (both duration and rate types) with hardware timer abstraction and software timers.","status":"active","version":"0.12.1","language":"rust","source_language":null,"source_url":"https://github.com/FluenTech/embedded-time","tags":["embedded","time","duration","timer","no-std"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nembedded-time = \"0.12.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add embedded-time","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Milliseconds","correct":"use embedded_time::duration::Milliseconds;"}],"quickstart":{"code":"use embedded_time::duration::Milliseconds;\n\nfn main() {\n    let ms = Milliseconds::new(1000);\n    println!(\"Duration: {} ms\", ms.integer());\n}","lang":"rust","description":"Creates a duration of 1000 milliseconds."},"warnings":[{"fix":"Enable the appropriate feature flag for your target (e.g., 'cortex-m').","message":"Requires a time driver (e.g., cortex-m) for hardware timer abstraction; otherwise only software timers work.","severity":"gotcha","affected_versions":">=0.12.0"}],"env_vars":null,"search_vec":"'abstract':24 'defin':5 'durat':17,30 'embed':2,28 'embedded-tim':1 'ergonom':9 'fast':11 'fulli':4 'hardwar':22 'human':13 'human-tim':12 'inter':7 'inter-oper':6 'no-std':32 'oper':8 'rate':19 'softwar':26 'std':34 'time':3,14,29 'timer':23,27,31 'type':20 'unit':15","created_at":"2026-06-16T16:12:10.360276+00:00","updated_at":"2026-06-16T16:12:10.360276+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/FluenTech/embedded-time","github":"https://github.com/FluenTech/embedded-time","docs":"https://docs.rs/embedded-time/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"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}}