Registry / serialization / astro-format

astro-format

JSON →
library2.1.1rscratesunverified

A library for transcoding between an array of implemented types and a single buffer.

# Cargo.toml [dependencies] astro-format = "2.1.1"
INSTALL
IMPORT
SIG · ASTRO-FORMAT
A
astro-format
serializationrustv2.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AstroFormat
use astro_format::AstroFormat;

Encodes a vector of bytes into a buffer using AstroFormat.

use astro_format::AstroFormat; fn main() { let data = vec![1u8, 2, 3]; let mut buffer = Vec::new(); let format = AstroFormat::new(); format.encode(&data, &mut buffer).unwrap(); println!("Encoded {} bytes", buffer.len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
22
OpenAI (training)
2
Meta
1
Resources
astro-format — cargo add astro-format · libregistry