{"id":57340,"library":"sp-std","title":"SP Std","description":"Lowest-abstraction level for the Substrate runtime, re-exporting useful primitives from std or alloc for no_std environments.","status":"active","version":"14.0.0","language":"rust","source_language":null,"source_url":"https://github.com/paritytech/polkadot-sdk","tags":["substrate","no-std","runtime","blockchain"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nsp-std = \"14.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add sp-std","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Vec","correct":"use sp_std::vec::Vec;"}],"quickstart":{"code":"#![no_std]\nuse sp_std::vec::Vec;\n\nfn main() {\n    let mut v: Vec<u32> = Vec::new();\n    v.push(1);\n    v.push(2);\n    assert_eq!(v.len(), 2);\n}","lang":"rust","description":"Using Vec from sp_std in a no_std environment."},"warnings":[{"fix":"Use `std` or `alloc` directly for general Rust development.","message":"This crate is intended for Substrate runtime development; using it outside that context may cause confusion.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'abstract':5 'alloc':19 'blockchain':29 'environ':23 'export':13 'level':6 'lowest':4 'lowest-abstract':3 'no-std':25 'primit':15 're':12 're-export':11 'runtim':10,28 'sp':1 'std':2,17,22,27 'substrat':9,24 'use':14","created_at":"2026-06-16T15:38:18.009576+00:00","updated_at":"2026-06-16T15:38:18.009576+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://substrate.io","github":"https://github.com/paritytech/polkadot-sdk","docs":"https://docs.rs/sp-std/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"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}}