{"id":72563,"library":"zng-unit","title":"Zng Unit","description":"Part of the zng project, providing unit types and conversions for UI development.","status":"active","version":"0.7.0","language":"rust","source_language":null,"source_url":"https://github.com/zng-ui/zng","tags":["zng","unit","ui","conversion"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nzng-unit = \"0.7.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add zng-unit","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Unit","correct":"use zng_unit::Unit;"}],"quickstart":{"code":"use zng_unit::Unit;\n\nfn main() {\n    let unit = Unit::Px(10.0);\n    println!(\"Unit: {:?}\", unit);\n}","lang":"rust","description":"Using zng-unit for UI units"},"warnings":[],"env_vars":null,"search_vec":"'convers':12,19 'develop':15 'part':3 'project':7 'provid':8 'type':10 'ui':14,18 'unit':2,9,17 'zng':1,6,16","created_at":"2026-06-17T18:40:32.181163+00:00","updated_at":"2026-06-17T18:40:32.181163+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/zng-ui/zng","github":"https://github.com/zng-ui/zng","docs":"https://docs.rs/zng-unit/","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-17","next_check":"2026-12-14","install_tag":null}}