Registry / serialization / minicbor

minicbor

JSON →
library2.2.2rscratesunverified

A small CBOR codec suitable for no_std environments, providing encoding and decoding of CBOR data.

# Cargo.toml [dependencies] minicbor = "2.2.2"
INSTALL
IMPORT
SIG · MINICBOR
M
minicbor
serializationrustv2.2.2
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.

Decoder
use minicbor::Decoder;

Decodes a CBOR byte slice into a value.

use minicbor::Decoder; fn main() { let data = vec![0x01, 0x02, 0x03]; let mut decoder = Decoder::new(&data); let val: u8 = decoder.decode().unwrap(); println!("{}", val); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
minicbor — cargo add minicbor · libregistry