fastcdc 4.0.0

FastCDC (content defined chunking) in pure 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"
name = "fastcdc"
version = "4.0.0"
authors = ["Nathan Fiedler <nathanfiedler@fastmail.fm>"]
build = false
exclude = [
    "TODO.org",
    "test/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FastCDC (content defined chunking) in pure Rust."
readme = "README.md"
keywords = [
    "cdc",
    "chunking",
]
license = "MIT"
repository = "https://github.com/nlfiedler/fastcdc-rs"

[package.metadata.docs.rs]
features = ["futures"]

[features]
default = []
futures = ["dep:futures"]
tokio = [
    "dep:tokio",
    "tokio-stream",
    "async-stream",
]

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

[[example]]
name = "async2020"
path = "examples/async2020.rs"
required-features = ["tokio"]

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

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

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

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

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

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

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

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

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

[dependencies.async-stream]
version = "0.3"
optional = true

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

[dependencies.tokio]
version = "1"
features = ["io-util"]
optional = true

[dependencies.tokio-stream]
version = "0.1"
optional = true

[dev-dependencies.aes]
version = "0.9.0"

[dev-dependencies.blake3]
version = "1.8.4"

[dev-dependencies.byteorder]
version = "1.4.3"

[dev-dependencies.clap]
version = "4.2.1"
features = ["cargo"]

[dev-dependencies.ctr]
version = "0.10.0"

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

[dev-dependencies.md-5]
version = "0.11.0"

[dev-dependencies.memmap2]
version = "0.9.5"

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