blazen-model-cache 0.5.4

Shared model download and cache layer for Blazen local-inference backends
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.91"
name = "blazen-model-cache"
version = "0.5.4"
authors = ["Zach Handley <zachhandley@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared model download and cache layer for Blazen local-inference backends"
readme = false
license = "MPL-2.0"
repository = "https://github.com/ZachHandley/Blazen"
resolver = "2"

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

[dependencies.dashmap]
version = "6"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["sync"]
default-features = false

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

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

[target.'cfg(all(target_arch = "wasm32", target_os = "wasi"))'.dependencies.async-trait]
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dirs]
version = "6"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hf-hub]
version = "0.4"
features = ["tokio"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = [
    "fs",
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "full",
    "test-util",
]

[lints.clippy]
all = "warn"
pedantic = "warn"

[lints.rust]
dead_code = "warn"
unsafe_code = "warn"