{"id":68476,"library":"staticvec","title":"StaticVec","description":"Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.","status":"active","version":"0.11.9","language":"rust","source_language":null,"source_url":"https://github.com/slightlyoutofphase/staticvec","tags":["static","vec","stack","allocator","const-generics"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nstaticvec = \"0.11.9\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add staticvec","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"StaticVec","correct":"use staticvec::StaticVec;"}],"quickstart":{"code":"use staticvec::StaticVec;\n\nfn main() {\n    let mut vec = StaticVec::<i32, 3>::new();\n    vec.push(1);\n    vec.push(2);\n    vec.push(3);\n    println!(\"{:?}\", vec);\n}","lang":"rust","description":"Creates a fixed-capacity stack-allocated vector and pushes elements."},"warnings":[],"env_vars":null,"search_vec":"'alloc':9,22 'altern':11 'array':15 'back':12 'capac':6 'const':17,24 'const-gener':23 'fix':5 'fixed-capac':4 'generic':18,25 'implement':2 'stack':8,21 'stack-alloc':7 'static':19 'staticvec':1 'use':16 'vec':10,20","created_at":"2026-06-17T17:50:14.011837+00:00","updated_at":"2026-06-17T17:50:14.011837+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/slightlyoutofphase/staticvec","github":"https://github.com/slightlyoutofphase/staticvec","docs":"https://docs.rs/staticvec/","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}}