Registry / serialization / serde-bare

serde-bare

JSON →
library0.5.0rscratesunverified

An implementation of the BARE encoding format for use with Serde.

# Cargo.toml [dependencies] serde_bare = "0.5.0"
INSTALL
IMPORT
SIG · SERDE-BARE
S
serde-bare
serializationrustv0.5.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.

to_vec
use serde_bare::to_vec;

Encodes a struct using BARE format.

use serde_bare::to_vec; use serde::Serialize; #[derive(Serialize)] struct Message { content: String, } let msg = Message { content: "hello".into() }; let bytes = to_vec(&msg).unwrap();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
serde-bare — cargo add serde-bare · libregistry