[package]
edition = "2021"
name = "cbor-cli"
version = "0.7.0"
authors = ["Dane Stuckel <dane.stuckel@gmail.com>"]
build = false
exclude = [
".github/",
".cargo/",
"debian/",
"public.gpg",
"install-cbor-deb.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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."
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",
]
license = "Apache-2.0"
repository = "https://github.com/ironspecs/cbor-cli"
resolver = "2"
[lib]
name = "cbor_cli"
path = "src/lib.rs"
[[bin]]
name = "cbor"
path = "src/main.rs"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[dependencies.anyhow]
version = "1"
[dependencies.cbor2]
version = "1.1"
features = [
"std",
"cdn",
]
[dependencies.clap]
version = "4.6"
features = [
"env",
"derive",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = [
"alloc",
"preserve_order",
]
[dependencies.serde_yaml]
version = "0.10"
package = "yaml_serde"
[dependencies.toml]
version = "0.8"
features = [
"indexmap",
"preserve_order",
]
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.tempfile]
version = "3"