Registry / serialization / beserial

beserial

JSON →
library0.2.0rscratesunverified

A serializer that uses BigEndian encoding that also allows to specify types for length fields.

# Cargo.toml [dependencies] beserial = "0.2.0"
INSTALL
IMPORT
SIG · BESERIAL
B
beserial
serializationrustv0.2.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.

Serialize
use beserial::Serialize;

Serializes a struct using BigEndian encoding.

use beserial::{Serialize, Deserialize}; #[derive(Serialize, Deserialize)] struct MyStruct { value: u32, } fn main() { let s = MyStruct { value: 42 }; let bytes = s.serialize_to_vec(); println!("{:?}", bytes); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
beserial — cargo add beserial · libregistry