[dependencies.anyhow]
optional = true
version = "^1.0.0"
[dependencies.chrono]
default-features = true
version = "^0.4.28"
[dependencies.half]
default-features = false
version = "^2.4.1"
[dependencies.hashbrown]
optional = true
version = "^0.14.3"
[dependencies.hex]
default-features = true
version = "^0.4.3"
[dependencies.paste]
version = "^1.0.12"
[dependencies.spin]
optional = true
version = "0.9.8"
[dependencies.thiserror]
optional = true
version = "^1.0.58"
[dependencies.thiserror-no-std]
optional = true
version = "^2.0.2"
[dependencies.unicode-normalization]
default-features = false
version = "^0.1.22"
[dev-dependencies.hex-literal]
version = "^0.4.1"
[dev-dependencies.indoc]
version = "^2.0.0"
[dev-dependencies.version-sync]
version = "^0.9.0"
[features]
anyhow = ["dep:anyhow", "std"]
default = ["std"]
multithreaded = []
no_std = ["hashbrown", "thiserror-no-std", "spin"]
std = ["half/std", "chrono/std", "hex/std", "thiserror"]
[lib]
name = "dcbor"
path = "src/lib.rs"
[package]
authors = ["Blockchain Commons"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["data-structures", "encoding", "no-std"]
description = 'Deterministic CBOR ("dCBOR") for Rust.'
documentation = "https://docs.rs/dcbor"
edition = "2024"
keywords = ["encoding", "cbor", "binary", "format", "serialization"]
license = "BSD-2-Clause-Patent"
name = "dcbor"
readme = "README.md"
repository = "https://github.com/BlockchainCommons/bc-dcbor-rust"
resolver = "2"
version = "0.19.0"
[[test]]
name = "encode"
path = "tests/encode.rs"
[[test]]
name = "format"
path = "tests/format.rs"
[[test]]
name = "version-numbers"
path = "tests/version-numbers.rs"