[package]
edition = "2021"
name = "polykit-cache"
version = "0.1.0"
authors = ["Polykit Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Self-hosted HTTP cache server for Polykit remote caching"
readme = "README.md"
keywords = [
"monorepo",
"cache",
"remote-cache",
"build-cache",
]
categories = [
"development-tools",
"web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://github.com/jonathanmagambo/polykit"
[lib]
name = "polykit_cache"
path = "src/lib.rs"
[[bin]]
name = "polykit-cache"
path = "src/main.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "storage_test"
path = "tests/storage_test.rs"
[[test]]
name = "verification_test"
path = "tests/verification_test.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.axum]
version = "0.7"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.polykit-core]
version = "0.1.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.tar]
version = "0.4"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.0"
features = ["full"]
[dependencies.tower]
version = "0.4"
[dependencies.tower-http]
version = "0.5"
features = [
"compression-gzip",
"trace",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.uuid]
version = "1.0"
features = ["v4"]
[dependencies.zstd]
version = "0.13"
[dev-dependencies.reqwest]
version = "0.12"
features = [
"stream",
"rustls-tls",
]
default-features = false
[dev-dependencies.tempfile]
version = "3.10"
[dev-dependencies.tokio]
version = "1.0"
features = ["full"]