{"id":66825,"library":"index-vec","title":"index_vec","description":"Newtype-style helpers for `Vec` and `usize` to create type-safe indexed collections.","status":"active","version":"0.1.4","language":"rust","source_language":null,"source_url":"https://github.com/thomcc/index_vec","tags":["vec","index","newtype","type-safe"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nindex_vec = \"0.1.4\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add index_vec","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"IndexVec","correct":"use index_vec::IndexVec;"}],"quickstart":{"code":"use index_vec::IndexVec;\n\nfn main() {\n    let mut vec: IndexVec<usize, String> = IndexVec::new();\n    vec.push(\"hello\".to_string());\n    println!(\"{}\", vec[0]);\n}","lang":"rust","description":"Create a type-safe indexed vector."},"warnings":[],"env_vars":null,"search_vec":"'collect':17 'creat':12 'helper':6 'index':1,16,19 'newtyp':4,20 'newtype-styl':3 'safe':15,23 'style':5 'type':14,22 'type-saf':13,21 'usiz':10 'vec':2,8,18","created_at":"2026-06-17T17:28:57.182957+00:00","updated_at":"2026-06-17T17:28:57.182957+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/thomcc/index_vec","github":"https://github.com/thomcc/index_vec","docs":"https://docs.rs/index_vec/","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}}