[package]
edition = "2024"
rust-version = "1.85.0"
name = "crous-core"
version = "1.1.0"
authors = ["Pawan Kumar"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core encoder/decoder, block framing, and Value types for the Crous binary format"
homepage = "https://github.com/axiomchronicles/crous"
documentation = "https://docs.rs/crous-core"
readme = "README.md"
keywords = [
"serialization",
"binary",
"encoding",
"codec",
"format",
]
categories = [
"encoding",
"data-structures",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/axiomchronicles/crous"
[features]
compat-crc32 = ["dep:crc32fast"]
default = []
fast-alloc = ["dep:bumpalo"]
lz4 = ["dep:lz4_flex"]
snappy = ["dep:snap"]
xxh3 = []
zstd = ["dep:zstd"]
[lib]
name = "crous_core"
path = "src/lib.rs"
[[test]]
name = "adversarial"
path = "tests/adversarial.rs"
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[[test]]
name = "proptest_extended"
path = "tests/proptest_extended.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "stress"
path = "tests/stress.rs"
[[bench]]
name = "codec_bench"
path = "benches/codec_bench.rs"
harness = false
[dependencies.base64]
version = "0.22"
[dependencies.bumpalo]
version = "3.17"
optional = true
[dependencies.bytes]
version = "1.10"
[dependencies.crc32fast]
version = "1.4"
optional = true
[dependencies.lz4_flex]
version = "0.11"
optional = true
[dependencies.serde_json]
version = "1"
[dependencies.snap]
version = "1"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.xxhash-rust]
version = "0.8"
features = [
"xxh64",
"xxh3",
]
[dependencies.zstd]
version = "0.13"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"