btdt-server 0.4.4

Server component for "been there, done that" - a tool for flexible CI caching
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"
name = "btdt-server"
version = "0.4.4"
authors = ["Jan Gosmann"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = 'Server component for "been there, done that" - a tool for flexible CI caching'
documentation = "https://jgosmann.github.io/btdt/"
readme = "README.md"
keywords = [
    "ci",
    "cache",
    "tekton",
    "cli",
]
categories = ["caching"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jgosmann/btdt"
resolver = "2"

[features]
test = [
    "dep:reqwest",
    "dep:tempfile",
]

[lib]
name = "btdt_server_lib"
path = "lib/lib.rs"

[[bin]]
name = "btdt-server"
path = "src/main.rs"

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

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

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

[[bench]]
name = "asyncio"
path = "benches/asyncio.rs"
harness = false

[dependencies.biscuit-auth]
version = "6.0.0"

[dependencies.btdt]
version = "0.4.4"

[dependencies.bytes]
version = "1.10.1"

[dependencies.chrono]
version = "0.4.42"

[dependencies.clap]
version = "4.5.53"
features = [
    "derive",
    "env",
]

[dependencies.config]
version = "0.15.13"
features = ["toml"]

[dependencies.data-encoding]
version = "2.9.0"

[dependencies.futures-core]
version = "0.3.31"

[dependencies.humantime]
version = "2.1.0"

[dependencies.poem]
version = "3"
features = ["native-tls"]

[dependencies.poem-openapi]
version = "5"
features = ["swagger-ui"]

[dependencies.reqwest]
version = "0.12.22"
features = [
    "blocking",
    "rustls-tls",
]
optional = true

[dependencies.serde]
version = "1.0.219"

[dependencies.tempfile]
version = "3.15.0"
optional = true

[dependencies.tokio]
version = "1.47.1"
features = [
    "rt-multi-thread",
    "signal",
    "sync",
]

[dependencies.tokio-util]
version = "0.7.16"
features = [
    "io",
    "io-util",
]

[dependencies.zeroize]
version = "1.8.2"

[dev-dependencies.criterion]
version = "0.7.0"
features = [
    "cargo_bench_support",
    "plotters",
    "rayon",
    "async_tokio",
]

[dev-dependencies.poem]
version = "3"
features = ["test"]

[dev-dependencies.rand_core]
version = "0.9.3"

[dev-dependencies.rand_xoshiro]
version = "0.7.0"

[dev-dependencies.serial_test]
version = "3.2.0"

[dev-dependencies.tokio-stream]
version = "0.1.17"

[lints.clippy]
undocumented_unsafe_blocks = "deny"