{"id":57616,"library":"slotmap","title":"slotmap","description":"Slotmap data structure for Rust, providing stable indices with O(1) access.","status":"active","version":"1.1.1","language":"rust","source_language":null,"source_url":"https://github.com/orlp/slotmap","tags":["data-structure","slotmap","index","efficient"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nslotmap = \"1.1.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add slotmap","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"SlotMap","correct":"use slotmap::SlotMap;"}],"quickstart":{"code":"use slotmap::SlotMap;\n\nfn main() {\n    let mut sm: SlotMap<_, i32> = SlotMap::new();\n    let key = sm.insert(42);\n    println!(\"{:?}\", sm.get(key));\n}","lang":"rust","description":"Create a slotmap and insert/retrieve a value."},"warnings":[],"env_vars":null,"search_vec":"'1':12 'access':13 'data':3,15 'data-structur':14 'effici':19 'index':18 'indic':9 'o':11 'provid':7 'rust':6 'slotmap':1,2,17 'stabl':8 'structur':4,16","created_at":"2026-06-16T15:50:43.860995+00:00","updated_at":"2026-06-16T15:50:43.860995+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/orlp/slotmap","github":"https://github.com/orlp/slotmap","docs":"https://docs.rs/slotmap/","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}}