Registry / serialization / rmp-serde

rmp-serde

JSON →
library1.3.1rscratesunverified

Serde support for MessagePack, enabling serialization and deserialization of Rust data structures.

# Cargo.toml [dependencies] rmp-serde = "1.3.1"
INSTALL
IMPORT
SIG · RMP-SERDE
R
rmp-serde
serializationrustv1.3.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.

to_vec
use rmp_serde::to_vec;

Minimal example serializing a struct to MessagePack bytes.

use rmp_serde::to_vec; use serde::Serialize; #[derive(Serialize)] struct Point { x: i32, y: i32 } fn main() { let point = Point { x: 1, y: 2 }; let bytes = to_vec(&point).unwrap(); println!("{:?}", bytes); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
rmp-serde — cargo add rmp-serde · libregistry