{"id":58800,"library":"numtoa","title":"Numtoa","description":"Convert numbers into stack-allocated byte arrays for efficient formatting without heap allocation.","status":"active","version":"1.0.0","language":"rust","source_language":null,"source_url":"https://github.com/mmstick/numtoa","tags":["number","conversion","no-std","stack-allocated"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nnumtoa = \"1.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add numtoa","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"NumToA","correct":"use numtoa::NumToA;"}],"quickstart":{"code":"use numtoa::NumToA;\n\nfn main() {\n    let mut buf = [0u8; 20];\n    let len = 12345.numtoa(10, &mut buf);\n    println!(\"Converted: {}\", std::str::from_utf8(&buf[..len]).unwrap());\n}","lang":"rust","description":"Converts an integer to a byte array in a given base (here base 10) and prints the result."},"warnings":[],"env_vars":null,"search_vec":"'alloc':7,15,23 'array':9 'byte':8 'convers':17 'convert':2 'effici':11 'format':12 'heap':14 'no-std':18 'number':3,16 'numtoa':1 'stack':6,22 'stack-alloc':5,21 'std':20 'without':13","created_at":"2026-06-16T16:38:49.744075+00:00","updated_at":"2026-06-16T16:38:49.744075+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/mmstick/numtoa","github":"https://github.com/mmstick/numtoa","docs":"https://docs.rs/numtoa/","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}}