2021-03-21 14:12:03 -03:00
|
|
|
[package]
|
|
|
|
|
name = "pkg6depotd"
|
2026-01-19 00:25:47 +01:00
|
|
|
description.workspace = true
|
2025-07-29 19:08:18 +02:00
|
|
|
version.workspace = true
|
|
|
|
|
authors.workspace = true
|
|
|
|
|
edition.workspace = true
|
|
|
|
|
license-file.workspace = true
|
|
|
|
|
repository.workspace = true
|
|
|
|
|
readme.workspace = true
|
|
|
|
|
keywords.workspace = true
|
2021-03-21 14:12:03 -03:00
|
|
|
|
|
|
|
|
[dependencies]
|
2025-12-08 20:11:05 +01:00
|
|
|
# Async Runtime & Web Framework
|
|
|
|
|
tokio = { version = "1.47", features = ["full"] }
|
|
|
|
|
axum = { version = "0.8", features = ["macros"] }
|
|
|
|
|
hyper = { version = "1", features = ["full"] }
|
|
|
|
|
tower = { version = "0.5", features = ["util", "timeout", "limit", "load-shed"] }
|
|
|
|
|
tower-http = { version = "0.6", features = ["trace", "fs", "cors", "compression-full", "timeout", "request-id", "util"] }
|
|
|
|
|
rustls = "0.23"
|
|
|
|
|
tokio-rustls = "0.26"
|
|
|
|
|
axum-server = { version = "0.8", features = ["tls-rustls"] } # Simplifies TLS with Axum
|
|
|
|
|
socket2 = "0.6"
|
|
|
|
|
bytes = "1"
|
|
|
|
|
http-body-util = "0.1"
|
|
|
|
|
|
|
|
|
|
# CLI & Config
|
|
|
|
|
clap = { version = "4.5", features = ["derive", "env"] }
|
|
|
|
|
knuffel = "3.2.0"
|
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
|
serde_json = "1.0"
|
|
|
|
|
dirs = "6"
|
|
|
|
|
nix = { version = "0.30", features = ["signal", "process", "user", "fs"] }
|
2025-12-09 16:02:02 +01:00
|
|
|
sha1 = "0.10"
|
2026-02-04 22:39:42 +01:00
|
|
|
sha2 = "0.10"
|
|
|
|
|
rusqlite = { version = "0.31", default-features = false }
|
2025-12-09 16:42:21 +01:00
|
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|
|
|
|
|
flate2 = "1"
|
2025-12-09 20:23:00 +01:00
|
|
|
httpdate = "1"
|
2025-12-08 20:11:05 +01:00
|
|
|
|
|
|
|
|
# Telemetry
|
|
|
|
|
tracing = "0.1"
|
|
|
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
|
|
|
|
opentelemetry = "0.31"
|
|
|
|
|
opentelemetry_sdk = { version = "0.31", features = ["rt-tokio"] }
|
|
|
|
|
opentelemetry-otlp = { version = "0.31", features = ["grpc-tonic"] } # Check compatibility with otel 0.22
|
|
|
|
|
tracing-opentelemetry = "0.32"
|
|
|
|
|
|
|
|
|
|
# Error Handling
|
|
|
|
|
thiserror = "2"
|
|
|
|
|
miette = { version = "7.6.0", features = ["fancy"] }
|
|
|
|
|
|
2026-03-15 21:55:10 +01:00
|
|
|
# Templating & Web UI
|
|
|
|
|
askama = "0.15"
|
|
|
|
|
urlencoding = "2"
|
|
|
|
|
|
2025-12-08 20:11:05 +01:00
|
|
|
# Project Dependencies
|
|
|
|
|
libips = { path = "../libips" }
|
|
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
reqwest = { version = "0.12", features = ["blocking", "json"] }
|
|
|
|
|
assert_cmd = "2"
|
|
|
|
|
predicates = "3"
|
|
|
|
|
tempfile = "3"
|
2026-02-04 22:39:42 +01:00
|
|
|
|
|
|
|
|
[features]
|
|
|
|
|
default = ["bundled-sqlite"]
|
|
|
|
|
bundled-sqlite = ["rusqlite/bundled"]
|