{"id":57516,"library":"bytesize","title":"bytesize","description":"A semantic wrapper for representing and formatting byte counts (e.g., KB, MB, GiB).","status":"active","version":"2.3.1","language":"rust","source_language":null,"source_url":"https://github.com/bytesize-rs/bytesize","tags":["bytes","size","formatting","unit"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nbytesize = \"2.3.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add bytesize","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"ByteSize","correct":"use bytesize::ByteSize;"}],"quickstart":{"code":"use bytesize::ByteSize;\n\nfn main() {\n    let size = ByteSize::mb(100);\n    println!(\"Size: {}\", size);\n}","lang":"rust","description":"Creates a 100 MB ByteSize and prints it."},"warnings":[],"env_vars":null,"search_vec":"'byte':9,15 'bytes':1 'count':10 'e.g':11 'format':8,17 'gib':14 'kb':12 'mb':13 'repres':6 'semant':3 'size':16 'unit':18 'wrapper':4","created_at":"2026-06-16T15:45:28.453695+00:00","updated_at":"2026-06-16T15:45:28.453695+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/bytesize-rs/bytesize","github":"https://github.com/bytesize-rs/bytesize","docs":"https://docs.rs/bytesize/","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}}