[package]
edition = "2024"
rust-version = "1.85"
name = "chunkrs"
version = "0.9.0"
authors = ["elemeng"]
build = false
exclude = [
"/benches",
"/examples",
"/fuzz",
"/.github",
"/target",
".gitignore",
"AGENTS.md",
"CHANGELOG.md",
"*.md.orig",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance, deterministic, flexible and portable zero-copy streaming Content-Defined Chunking (CDC) and hashing infrastructure library. Bytes in → Chunks & hashes out"
homepage = "https://github.com/elemeng/chunkrs"
documentation = "https://docs.rs/chunkrs"
readme = "README.md"
keywords = [
"cdc",
"deduplication",
"chunking",
"fastcdc",
"hash",
]
categories = [
"algorithms",
"data-structures",
"filesystem",
]
license = "MIT"
repository = "https://github.com/elemeng/chunkrs"
[features]
default = ["hash-blake3"]
hash = []
hash-blake3 = [
"hash",
"dep:blake3",
]
keyed-cdc = ["hash-blake3"]
[lib]
name = "chunkrs"
path = "src/lib.rs"
[[test]]
name = "chunker_test"
path = "tests/chunker_test.rs"
[dependencies.blake3]
version = "1.5"
optional = true
[dependencies.bytes]
version = "1.5"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tokio]
version = "1.35"
features = [
"rt-multi-thread",
"macros",
"time",
]