//! 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.