haz-cache 0.1.0

Content-addressed cache for haz task outputs using BLAKE3.
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.95.0"
name = "haz-cache"
version = "0.1.0"
authors = ["Andrés Correa Casablanca <andreu@ctrlback.coop>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Content-addressed cache for haz task outputs using BLAKE3."
readme = "README.md"
keywords = [
    "haz",
    "cache",
    "blake3",
]
categories = ["caching"]
license = "AGPL-3.0-or-later"
repository = "https://forge.cloudsling.dev/andreu/haz-cli"

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

[[test]]
name = "std_filesystem"
path = "tests/std_filesystem.rs"

[dependencies.blake3]
version = "1.5"

[dependencies.haz-domain]
version = "0.1.0"

[dependencies.haz-vfs]
version = "0.1.0"

[dependencies.rand]
version = "0.9"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.snafu]
version = "0.9"

[dev-dependencies.nonempty]
version = "0.12"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"