Registry / serialization / cbor-event

cbor-event

JSON →
library2.4.0rscratesunverified

CBOR Event library with no dependencies, supporting all platforms and WASM.

# Cargo.toml [dependencies] cbor_event = "2.4.0"
INSTALL
IMPORT
SIG · CBOR-EVENT
C
cbor-event
serializationrustv2.4.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.

Deserializer
use cbor_event::Deserializer;

Deserialize CBOR data from bytes.

use cbor_event::Deserializer; fn main() -> Result<(), Box<dyn std::error::Error>> { let bytes = vec![0x01]; let mut deser = Deserializer::from(&bytes[..]); let val = deser.deserialize()?; println!("{:?}", val); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
cbor-event — cargo add cbor-event · libregistry