ax-codec-core 0.1.3

Core binary codec library with zero-copy decoding, varint encoding, and configurable decode limits
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.85"
name = "ax-codec-core"
version = "0.1.3"
authors = ["Bagus Dwi Harianto robbymangkualam2000@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core binary codec library with zero-copy decoding, varint encoding, and configurable decode limits"
readme = "README.md"
keywords = [
    "serialization",
    "binary",
    "zero-copy",
    "no_std",
    "varint",
]
categories = [
    "encoding",
    "no-std",
    "data-structures",
    "memory-management",
]
license = "MIT"

[features]
alloc = []
axhash = ["dep:axhash-map"]
bytes = [
    "alloc",
    "dep:bytes",
]
crc32 = [
    "alloc",
    "dep:crc32fast",
]
default = ["std"]
dhat-heap = ["dhat"]
jemalloc = [
    "tikv-jemallocator",
    "tikv-jemalloc-ctl",
]
simd = []
std = ["alloc"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.axhash-map]
version = "0.1.2"
optional = true

[dependencies.bytes]
version = "1.11"
optional = true

[dependencies.crc32fast]
version = "1.4"
optional = true

[dependencies.dhat]
version = "0.3"
optional = true

[dependencies.tikv-jemalloc-ctl]
version = "0.6"
features = ["stats"]
optional = true

[dependencies.tikv-jemallocator]
version = "0.6"
optional = true

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.rand]
version = "0.8"