2023-01-01 00:01:07 +00:00
|
|
|
[package]
|
|
|
|
name = "attic-server"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "attic_server"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "atticd"
|
|
|
|
path = "src/main.rs"
|
|
|
|
doc = false
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "atticadm"
|
|
|
|
path = "src/adm/main.rs"
|
|
|
|
doc = false
|
|
|
|
|
|
|
|
[dependencies]
|
2023-01-08 07:57:22 +00:00
|
|
|
attic = { path = "../attic", default-features = false, features = [ "tokio" ] }
|
2023-01-08 07:57:22 +00:00
|
|
|
attic-token = { path = "../token" }
|
2023-01-01 00:01:07 +00:00
|
|
|
|
2023-05-28 21:21:59 +00:00
|
|
|
anyhow = "1.0.71"
|
|
|
|
async-stream = "0.3.5"
|
|
|
|
async-trait = "0.1.68"
|
2023-05-28 21:21:59 +00:00
|
|
|
aws-config = "0.55.3"
|
|
|
|
aws-sdk-s3 = "0.28.0"
|
2023-05-28 21:21:59 +00:00
|
|
|
axum = "0.6.18"
|
|
|
|
axum-macros = "0.3.7"
|
|
|
|
base64 = "0.21.2"
|
2023-03-05 18:05:11 +00:00
|
|
|
bytes = "1.4.0"
|
2023-05-28 21:21:59 +00:00
|
|
|
chrono = "0.4.24"
|
|
|
|
clap = { version = "4.3", features = ["derive"] }
|
2023-01-01 00:01:07 +00:00
|
|
|
derivative = "2.2.0"
|
2023-05-28 21:21:59 +00:00
|
|
|
digest = "0.10.7"
|
|
|
|
displaydoc = "0.2.4"
|
|
|
|
enum-as-inner = "0.5.2"
|
|
|
|
fastcdc = "3.0.3"
|
|
|
|
futures = "0.3.28"
|
2023-01-01 00:01:07 +00:00
|
|
|
hex = "0.4.3"
|
|
|
|
humantime = "2.1.0"
|
|
|
|
humantime-serde = "1.1.1"
|
2023-03-05 18:05:11 +00:00
|
|
|
itoa = "=1.0.5"
|
2023-01-01 00:01:07 +00:00
|
|
|
maybe-owned = "0.3.4"
|
|
|
|
rand = "0.8.5"
|
2023-05-28 21:21:59 +00:00
|
|
|
regex = "1.8.3"
|
2023-03-05 18:05:11 +00:00
|
|
|
ryu = "1.0.13"
|
2023-01-01 00:01:07 +00:00
|
|
|
sha2 = { version = "0.10.6", features = ["asm"] }
|
2023-05-28 21:21:59 +00:00
|
|
|
serde = "1.0.163"
|
|
|
|
serde_json = "1.0.96"
|
2023-05-28 21:21:59 +00:00
|
|
|
serde_with = "3.0.0"
|
2023-05-28 21:21:59 +00:00
|
|
|
tokio-util = { version = "0.7.8", features = [ "io" ] }
|
|
|
|
toml = "0.7.4"
|
2023-03-05 18:05:11 +00:00
|
|
|
tower-http = { version = "0.4.0", features = [ "catch-panic", "trace" ] }
|
2023-01-01 00:01:07 +00:00
|
|
|
tracing = "0.1.37"
|
2023-01-05 04:05:07 +00:00
|
|
|
tracing-error = "0.2.0"
|
2023-05-28 21:21:59 +00:00
|
|
|
tracing-subscriber = { version = "0.3.17", features = [ "json" ] }
|
|
|
|
uuid = { version = "1.3.3", features = ["v4"] }
|
|
|
|
console-subscriber = "0.1.9"
|
|
|
|
xdg = "2.5.0"
|
2023-01-01 00:01:07 +00:00
|
|
|
|
|
|
|
[dependencies.async-compression]
|
2023-05-28 21:21:59 +00:00
|
|
|
version = "0.4.0"
|
2023-01-01 00:01:07 +00:00
|
|
|
features = [
|
|
|
|
"tokio",
|
|
|
|
"xz",
|
|
|
|
"zstd",
|
|
|
|
"brotli",
|
|
|
|
]
|
|
|
|
|
|
|
|
[dependencies.sea-orm]
|
2023-01-16 21:14:14 +00:00
|
|
|
# Temporary workaround for nixpkgs 22.11 w/ Rust 1.64.0.
|
|
|
|
# TODO: Remove once 23.05 becomes stable
|
|
|
|
git = "https://github.com/zhaofengli/sea-orm"
|
|
|
|
branch = "attic"
|
|
|
|
|
2023-01-01 00:01:07 +00:00
|
|
|
version = "0.10.6"
|
|
|
|
features = [
|
|
|
|
"runtime-tokio-rustls",
|
|
|
|
"macros",
|
|
|
|
"sqlx-postgres",
|
|
|
|
"sqlx-sqlite",
|
|
|
|
"debug-print",
|
|
|
|
]
|
|
|
|
|
|
|
|
[dependencies.sea-orm-migration]
|
2023-01-16 21:14:14 +00:00
|
|
|
# Temporary workaround for nixpkgs 22.11 w/ Rust 1.64.0.
|
|
|
|
# TODO: Remove once 23.05 becomes stable
|
|
|
|
git = "https://github.com/zhaofengli/sea-orm"
|
|
|
|
branch = "attic"
|
|
|
|
|
|
|
|
version = "0.10.5"
|
2023-01-01 00:01:07 +00:00
|
|
|
|
|
|
|
[dependencies.tokio]
|
2023-05-28 21:21:59 +00:00
|
|
|
version = "1.28.2"
|
2023-01-01 00:01:07 +00:00
|
|
|
features = [
|
|
|
|
"fs",
|
|
|
|
"io-util",
|
|
|
|
"macros",
|
|
|
|
"process",
|
|
|
|
"rt",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"sync",
|
|
|
|
]
|
2023-01-15 06:55:10 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tokio-test = "0.4.2"
|