qubit-codec 0.17.2

Core codec traits and buffer conversion primitives 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.94"
name = "qubit-codec"
version = "0.17.2"
authors = ["Haixing Hu <starfish.hu@gmail.com>"]
build = false
include = [
    "/Cargo.toml",
    "/LICENSE",
    "/README.md",
    "/README.zh_CN.md",
    "/src/**",
    "/doc/**",
    "/examples/**",
    "/tests/**",
    "/benches/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core codec traits and buffer conversion primitives for Rust"
homepage = "https://github.com/qubit-ltd/rs-codec"
documentation = "https://docs.rs/qubit-codec"
readme = "README.md"
keywords = [
    "codec",
    "transcoder",
    "byteorder",
    "buffer",
    "qubit",
]
categories = [
    "encoding",
    "rust-patterns",
]
license = "Apache-2.0"
repository = "https://github.com/qubit-ltd/rs-codec"

[package.metadata.rs-infra]
miri = true

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

[features]
default = []
io = ["dep:qubit-io"]
json = [
    "dep:serde",
    "dep:serde_json",
]
registry = ["dep:inventory"]

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

[[example]]
name = "decode_lifecycle"
path = "examples/decode_lifecycle.rs"

[[example]]
name = "io_transcode_step"
path = "examples/io_transcode_step.rs"
test = true
required-features = ["io"]

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

[[test]]
name = "value_codec_registry_global_conflict_tests"
path = "tests/value/value_codec_registry_global_conflict_tests.rs"
required-features = ["registry"]

[[bench]]
name = "transcode"
path = "benches/transcode.rs"
harness = false

[dependencies.inventory]
version = "^0.3"
optional = true

[dependencies.qubit-io]
version = "^0.19"
optional = true

[dependencies.qubit-utils]
version = "^0.3"

[dependencies.serde]
version = "^1.0"
features = ["std"]
optional = true
default-features = false

[dependencies.serde_json]
version = "^1.0"
features = ["std"]
optional = true
default-features = false

[dependencies.thiserror]
version = "^2.0"

[dev-dependencies.criterion]
version = "^0.8"
default-features = false

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

[profile.bench]
opt-level = 3
lto = true
codegen-units = 1

[profile.dev]
debug = 0
incremental = false

[profile.release]
opt-level = 3
lto = true
codegen-units = 1