cbor-cli 0.7.0

Encode, decode, and inspect CBOR (RFC 8949) from the command line. Convert between CBOR, JSON, YAML, and TOML via serde, with streaming support for CBOR sequences.
Documentation
//! Command-line tool and library for encoding, decoding, and inspecting CBOR
//! (RFC 8949) via serde.
//!
//! ## Library embedding API
//!
//! Three functions form the stable public API for embedding:
//!
//! - [`import::import_from_reader`] — encode JSON/YAML/TOML/CBOR streams to CBOR
//! - [`export::export_from_reader`] — decode CBOR streams to JSON/YAML/TOML/CBOR
//! - [`inspect::inspect_from_reader`] — render CBOR as Concise Diagnostic Notation
//!
//! The `config` and `files` modules are public only because the
//! `cbor` binary shares this crate; they are implementation details and get no
//! stability guarantees.
pub mod config;
pub mod export;
pub mod files;
pub mod import;
pub mod inspect;