tinycbor 0.9.0

A tiny CBOR codec library.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88.0"
name = "tinycbor"
version = "0.9.0"
authors = ["Charles Edward Gagnon"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiny CBOR codec library."
readme = "README.md"
keywords = [
    "cbor",
    "serialization",
    "encoding",
    "no_std",
]
categories = ["encoding"]
license = "MIT"
repository = "https://github.com/carloskiki/tinycbor"

[package.metadata.docs.rs]
rustdoc-args = [
    "--generate-link-to-definition",
    "--generate-macro-expansion",
    "--extern-html-root-url=core=https://doc.rust-lang.org",
    "--extern-html-root-url=alloc=https://doc.rust-lang.org",
    "--extern-html-root-url=std=https://doc.rust-lang.org",
]

[features]
alloc = [
    "embedded-io/alloc",
    "const-hex/alloc",
]
default = ["std"]
std = [
    "alloc",
    "embedded-io/std",
    "const-hex/std",
]

[lib]
name = "tinycbor"
path = "src/lib.rs"

[[bin]]
name = "cbor-display"
path = "src/bin/cbor-display.rs"
required-features = ["std"]

[[test]]
name = "proptest"
path = "tests/proptest.rs"

[[test]]
name = "recursive"
path = "tests/recursive.rs"

[[test]]
name = "rfc"
path = "tests/rfc.rs"

[[bench]]
name = "address-book"
path = "benches/address-book.rs"
harness = false

[dependencies.embedded-io]
version = "0.7.1"

[dev-dependencies.cbor4ii]
version = "1"
features = [
    "serde1",
    "use_std",
]

[dev-dependencies.const-hex]
version = "1.17"
default-features = false

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.embedded-io]
version = "0.7"
features = ["std"]

[dev-dependencies.proptest]
version = "1.9"

[dev-dependencies.proptest-derive]
version = "0.7"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.serde]
version = "1"
features = ["derive"]