{"id":71377,"library":"astro-format","title":"Astro Format","description":"A library for transcoding between an array of implemented types and a single buffer.","status":"active","version":"2.1.1","language":"rust","source_language":null,"source_url":"https://github.com/stelar-labs/astro-format-rs","tags":["transcoding","buffer","serialization","binary"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nastro-format = \"2.1.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add astro-format","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"AstroFormat","correct":"use astro_format::AstroFormat;"}],"quickstart":{"code":"use astro_format::AstroFormat;\n\nfn main() {\n    let data = vec![1u8, 2, 3];\n    let mut buffer = Vec::new();\n    let format = AstroFormat::new();\n    format.encode(&data, &mut buffer).unwrap();\n    println!(\"Encoded {} bytes\", buffer.len());\n}","lang":"rust","description":"Encodes a vector of bytes into a buffer using AstroFormat."},"warnings":[],"env_vars":null,"search_vec":"'array':9 'astro':1 'binari':20 'buffer':16,18 'format':2 'implement':11 'librari':4 'serial':19 'singl':15 'transcod':6,17 'type':12","created_at":"2026-06-17T18:26:04.083955+00:00","updated_at":"2026-06-17T18:26:04.083955+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/stelar-labs/astro-format-rs","github":"https://github.com/stelar-labs/astro-format-rs","docs":"https://docs.rs/astro-format/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization","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}}