[package]
edition = "2024"
name = "git-cache-proxy"
version = "0.1.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read-only caching proxy for Git: serves clones/fetches from an in-region mirror, pulling only deltas from upstream."
readme = "README.md"
keywords = [
"git",
"cache",
"proxy",
"ci",
"mirror",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/rolandjitsu/git-cache-proxy"
[lib]
name = "git_cache_proxy"
path = "src/lib.rs"
[[bin]]
name = "git-cache-proxy"
path = "src/main.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[[test]]
name = "http"
path = "tests/http.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.axum]
version = "0.8"
[dependencies.bytes]
version = "1"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
]
[dependencies.flate2]
version = "1"
[dependencies.lru]
version = "0.18"
default-features = false
[dependencies.prometheus]
version = "0.14"
default-features = false
[dependencies.subtle]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"net",
"process",
"io-util",
"fs",
"signal",
"sync",
"time",
]
[dependencies.tokio-util]
version = "0.7"
features = ["io"]
[dependencies.tower]
version = "0.5"
features = ["limit"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-appender]
version = "0.2"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tower]
version = "0.5"
features = ["util"]