zerocbor 0.1.0

A zero-copy, zero-dependency, no_std-compatible, extremely fast CBOR (RFC 8949) serializer for Rust.
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.95"
name = "zerocbor"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A zero-copy, zero-dependency, no_std-compatible, extremely fast CBOR (RFC 8949) serializer for Rust."
documentation = "https://docs.rs/zerocbor"
readme = "README.md"
keywords = [
    "cbor",
    "rfc8949",
    "serialization",
    "no-std",
    "zero-copy",
]
categories = [
    "encoding",
    "no-std",
    "parsing",
]
license = "MIT"
repository = "https://github.com/nuskey8/zerocbor"

[features]
default = ["std"]
derive = ["dep:zerocbor_derive"]
f16 = []
std = []

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "common"
path = "benches/common.rs"

[[bench]]
name = "deserialize_complex"
path = "benches/deserialize_complex.rs"

[[bench]]
name = "deserialize_file"
path = "benches/deserialize_file.rs"

[[bench]]
name = "deserialize_integers"
path = "benches/deserialize_integers.rs"

[[bench]]
name = "deserialize_large_array"
path = "benches/deserialize_large_array.rs"

[[bench]]
name = "deserialize_simple"
path = "benches/deserialize_simple.rs"

[[bench]]
name = "deserialize_zero_copy"
path = "benches/deserialize_zero_copy.rs"

[[bench]]
name = "serialize_complex"
path = "benches/serialize_complex.rs"

[[bench]]
name = "serialize_integers"
path = "benches/serialize_integers.rs"

[[bench]]
name = "serialize_large_array"
path = "benches/serialize_large_array.rs"

[[bench]]
name = "serialize_simple"
path = "benches/serialize_simple.rs"

[[bench]]
name = "serialize_zero_copy"
path = "benches/serialize_zero_copy.rs"

[[bench]]
name = "skip_value"
path = "benches/skip_value.rs"

[[bench]]
name = "value"
path = "benches/value.rs"

[dependencies.zerocbor_derive]
version = "0.1.0"
optional = true

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

[dev-dependencies.ciborium]
version = "0.2"

[dev-dependencies.minicbor]
version = "2"
features = [
    "alloc",
    "derive",
]

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

[dev-dependencies.serde_bytes]
version = "0.11"