[package]
edition = "2021"
rust-version = "1.85"
name = "multi-cbor"
version = "0.1.0"
authors = [
"Pyfisch <pyfisch@posteo.org>",
"Steven Fackler <sfackler@gmail.com>",
"Dave Grantham <dwg@linuxprogrammer.org>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CBOR support for serde with enhanced error handling and DAG-CBOR tags support."
readme = "README.md"
keywords = [
"serde",
"cbor",
"serialization",
"dag-cbor",
"no_std",
]
categories = ["encoding"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cryptidtech/multi-cbor"
[features]
alloc = ["serde/alloc"]
default = ["std"]
std = ["serde/std"]
tags = ["std"]
unsealed_read_write = []
[lib]
name = "multi_cbor"
path = "src/lib.rs"
[[example]]
name = "readme"
path = "examples/readme.rs"
[[example]]
name = "tags"
path = "examples/tags.rs"
[[test]]
name = "bennofs"
path = "tests/bennofs.rs"
[[test]]
name = "canonical"
path = "tests/canonical.rs"
[[test]]
name = "de"
path = "tests/de.rs"
[[test]]
name = "dos_protection"
path = "tests/dos_protection.rs"
[[test]]
name = "enum"
path = "tests/enum.rs"
[[test]]
name = "ser"
path = "tests/ser.rs"
[[test]]
name = "std_types"
path = "tests/std_types.rs"
[[test]]
name = "tags"
path = "tests/tags.rs"
[[test]]
name = "value"
path = "tests/value.rs"
[[bench]]
name = "de_bench"
path = "benches/de_bench.rs"
harness = false
[[bench]]
name = "ser_bench"
path = "benches/ser_bench.rs"
harness = false
[[bench]]
name = "value_bench"
path = "benches/value_bench.rs"
harness = false
[dependencies.half]
version = "2.4"
[dependencies.serde]
version = "1.0"
features = ["alloc"]
default-features = false
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_derive]
version = "1.0"
[dev-dependencies.serde_json]
version = "1.0"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"