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
[package]
name = "cbor-cli"
authors = ["Dane Stuckel <dane.stuckel@gmail.com>"]
edition = "2021"
version = "0.7.0"
license = "Apache-2.0"
description = "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."
repository = "https://github.com/ironspecs/cbor-cli"
homepage = "https://github.com/ironspecs/cbor-cli"
documentation = "https://github.com/ironspecs/cbor-cli#readme"
readme = "README.md"
keywords = ["cbor", "cli", "serde", "json", "yaml"]
categories = ["command-line-utilities", "encoding", "data-structures"]
resolver = "2"
# Publish only what consumers need; keep packaging/signing artifacts local.
exclude = [
  ".github/",
  ".cargo/",
  "debian/",
  "public.gpg",
  "install-cbor-deb.sh",
]

[[bin]]
name = "cbor"
path = "src/main.rs"

[dependencies]
anyhow = "1"
cbor2 = { version = "1.1", features = ["std", "cdn"] }
clap = { version = "4.6", features = ["env", "derive"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["alloc", "preserve_order"] }
serde_yaml = { version = "0.10", package = "yaml_serde" }
toml = { version = "0.8", features = ["indexmap", "preserve_order"] }

[dev-dependencies]
assert_cmd = "2"
predicates = "3"
tempfile = "3"