Registry / serialization / packable

packable

JSON →
library0.11.0rscratesunverified

A crate for packing and unpacking binary representations of data structures.

# Cargo.toml [dependencies] packable = "0.11.0"
INSTALL
IMPORT
SIG · PACKABLE
P
packable
serializationrustv0.11.0
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.

Packable
use packable::Packable;

Derive Packable for a struct and pack it into bytes.

use packable::Packable; #[derive(Packable)] struct MyStruct { value: u32, } fn main() { let s = MyStruct { value: 42 }; let bytes = s.pack_to_vec(); println!("Packed: {:?}", bytes); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
packable — cargo add packable · libregistry