{"id":64166,"library":"gloo-storage","title":"Gloo Storage","description":"Convenience crate for working with local and session storage in browser","status":"active","version":"0.4.0","language":"rust","source_language":null,"source_url":"https://github.com/rustwasm/gloo","tags":["wasm","storage","browser","webassembly"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ngloo-storage = \"0.4.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add gloo-storage","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"LocalStorage","correct":"use gloo_storage::LocalStorage;"}],"quickstart":{"code":"use gloo_storage::LocalStorage;\n\nfn main() {\n    LocalStorage::set(\"key\", \"value\").unwrap();\n    let _value: String = LocalStorage::get(\"key\").unwrap();\n}","lang":"rust","description":"Store and retrieve values from browser local storage."},"warnings":[{"fix":"Ensure your crate is compiled for wasm32-unknown-unknown target.","message":"Only works in WebAssembly targets (browser).","severity":"gotcha","affected_versions":">=0.4.0"}],"env_vars":null,"search_vec":"'browser':13,16 'conveni':3 'crate':4 'gloo':1 'local':8 'session':10 'storag':2,11,15 'wasm':14 'webassembl':17 'work':6","created_at":"2026-06-17T16:52:39.089097+00:00","updated_at":"2026-06-17T16:52:39.089097+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/rustwasm/gloo","github":"https://github.com/rustwasm/gloo","docs":"https://docs.rs/gloo-storage/","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}}