chunkrs 0.8.2

A high-performance, deterministic, flexible and portable zero-copy streaming Content-Defined Chunking (CDC) and hashing infrastructure library. Bytes in → Chunks & hashes out
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 = "chunkrs"
version = "0.8.2"
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]
async-io = [
    "dep:futures-core",
    "dep:futures-io",
    "dep:pin-project-lite",
]
default = ["hash-blake3"]
hash = []
hash-blake3 = [
    "hash",
    "dep:blake3",
]

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

[dependencies.blake3]
version = "1.5"
optional = true

[dependencies.bytes]
version = "1.5"

[dependencies.futures-core]
version = "0.3"
optional = true

[dependencies.futures-io]
version = "0.3"
optional = true

[dependencies.pin-project-lite]
version = "0.2"
optional = true

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

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.tokio]
version = "1.35"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "io-util",
]

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tokio-util]
version = "0.7"
features = ["compat"]