[package]
edition = "2024"
name = "throttle-server"
version = "0.5.9"
authors = ["Markus Klein"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provide semaphores for distributed systems via an http interface"
readme = "Readme.md"
keywords = [
"semaphore",
"http",
]
categories = ["concurrency"]
license = "MIT"
repository = "https://github.com/pacman82/throttle.git"
[features]
[[bin]]
name = "throttle"
path = "src/main.rs"
[[test]]
name = "client"
path = "tests/client.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[dependencies.axum]
version = "0.8.8"
[dependencies.clap]
version = "4.5.54"
features = ["derive"]
[dependencies.env_logger]
version = "0.11.8"
[dependencies.humantime-serde]
version = "1.1.1"
[dependencies.lazy_static]
version = "1.5.0"
[dependencies.log]
version = "0.4.29"
features = ["serde"]
[dependencies.percent-encoding]
version = "2.3.2"
[dependencies.prometheus]
version = "0.14.0"
[dependencies.rand]
version = "0.9.2"
[dependencies.serde]
version = "1.0.228"
[dependencies.serde_json]
version = "1.0.149"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.49.0"
features = [
"rt-multi-thread",
"macros",
"time",
]
[dependencies.toml]
version = "0.9.11"
[dependencies.version]
version = "3.0.0"
[dev-dependencies.tempfile]
version = "3.24.0"
[dev-dependencies.tokio]
version = "1.49.0"
features = ["full"]