cbor2 1.0.2

A serde implementation of CBOR (RFC 8949) with a dynamic Value type and tag support.
Documentation
[workspace]
resolver = "2"
members = [".", "cbor2-derive", "cbor2-cli"]

[package]
name = "cbor2"
version = "1.0.2"
authors = ["0xZensh <txr1883@gmail.com>"]
description = "A serde implementation of CBOR (RFC 8949) with a dynamic Value type and tag support."
homepage = "https://github.com/ldclabs/cbor2"
repository = "https://github.com/ldclabs/cbor2"
documentation = "https://docs.rs/cbor2"
readme = "README.md"
keywords = ["cbor", "serde", "serialization", "binary", "encoding"]
categories = ["encoding", "parsing"]
license = "Unlicense OR MIT"
edition = "2021"
rust-version = "1.85"
exclude = ["doc/", ".github/"]

[features]
default = ["std"]
# Implements the io traits for std::io::{Read, Write} and adds the HashMap
# conversions. Implies `alloc`.
std = ["alloc", "serde/std"]
# Everything that needs a heap: the Value type, the serde deserializer,
# RawValue, diagnostic notation and the Vec-producing encode functions.
# Without it the crate is serialization, validation and the core codec only.
alloc = ["serde/alloc"]
# Enables #[derive(cbor2::Cbor)] for integer map keys and CBOR tags.
derive = ["dep:cbor2-derive", "serde/derive"]

[dependencies]
cbor2-derive = { path = "cbor2-derive", version = "1", optional = true }
serde = { version = "1", default-features = false }

[dev-dependencies]
serde = { version = "1", features = ["derive"] }
serde_bytes = "0.11"
serde_json = "1"
hex = "0.4"

[[example]]
name = "cose"
required-features = ["derive"]

[package.metadata.docs.rs]
all-features = true