{"id":57663,"library":"serde-big-array","title":"serde-big-array","description":"Helper for serializing and deserializing arrays larger than 32 elements with serde.","status":"active","version":"0.5.1","language":"rust","source_language":null,"source_url":"https://github.com/est31/serde-big-array","tags":["serde","array","serialization","big-array"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nserde-big-array = \"0.5.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add serde-big-array","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"big_array","correct":"use serde_big_array::big_array;"}],"quickstart":{"code":"use serde::{Serialize, Deserialize};\nuse serde_big_array::big_array;\n\nbig_array! { BigArray; 128 }\n\n#[derive(Serialize, Deserialize)]\nstruct S {\n    #[serde(with = \"BigArray\")]\n    arr: [u8; 128],\n}\n\nfn main() {\n    let s = S { arr: [0; 128] };\n    println!(\"{}\", serde_json::to_string(&s).unwrap());\n}","lang":"rust","description":"Defines a big array type and uses it in a struct for serde serialization."},"warnings":[{"fix":"Place the macro invocation at the top level of your module or crate.","message":"The `big_array!` macro must be called at crate root or module level, not inside functions.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'32':13 'array':4,10,18,22 'big':3,21 'big-array':20 'deseri':9 'element':14 'helper':5 'larger':11 'serd':2,16,17 'serde-big-array':1 'serial':7,19","created_at":"2026-06-16T15:52:39.856773+00:00","updated_at":"2026-06-16T15:52:39.856773+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/est31/serde-big-array","github":"https://github.com/est31/serde-big-array","docs":"https://docs.rs/serde-big-array/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"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}}