[package]
edition = "2021"
rust-version = "1.85"
name = "cas-kit"
version = "0.2.1"
build = false
exclude = ["/target"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Content-addressed blob store: BLAKE3 addressing, bucketed layout, optional Zstd compression, packfiles, verify-on-read, mark-sweep GC with the cas-gc CLI."
readme = "README.md"
keywords = [
"content-addressed",
"blake3",
"storage",
"cas",
"packfile",
]
categories = [
"filesystem",
"data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/WyattAu/cas-kit"
[features]
default = ["zstd"]
tokio = ["dep:tokio"]
zstd = ["dep:zstd"]
[lib]
name = "cas_kit"
path = "src/lib.rs"
[[bin]]
name = "cas-gc"
path = "src/bin/cas-gc.rs"
[[example]]
name = "file_store"
path = "examples/file_store.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "gc"
path = "tests/gc.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "kani"
path = "tests/kani.rs"
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[[test]]
name = "zero_alloc_dedup_hit"
path = "tests/zero_alloc_dedup_hit.rs"
[[bench]]
name = "cas_bench"
path = "benches/cas_bench.rs"
harness = false
[[bench]]
name = "dedup"
path = "benches/dedup.rs"
harness = false
[[bench]]
name = "iai_cas"
path = "benches/iai_cas.rs"
harness = false
[dependencies.blake3]
version = "1.8"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = ["rt"]
optional = true
default-features = false
[dependencies.zstd]
version = "0.13"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.iai-callgrind]
version = "0.16"
[dev-dependencies.proptest]
version = "1.6"
[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]