mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-20 11:21:14 +00:00
99 lines
3.3 KiB
TOML
99 lines
3.3 KiB
TOML
[package]
|
|
name = "pict-rs"
|
|
description = "A simple image hosting service"
|
|
version = "0.5.16"
|
|
authors = ["asonix <asonix@asonix.dog>"]
|
|
license = "AGPL-3.0"
|
|
readme = "README.md"
|
|
repository = "https://git.asonix.dog/asonix/pict-rs"
|
|
edition = "2021"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[features]
|
|
default = []
|
|
io-uring = ["dep:tokio-uring", "sled/io_uring", "actix-web/experimental-io-uring"]
|
|
poll-timer-warnings = []
|
|
random-errors = ["dep:nanorand"]
|
|
|
|
[dependencies]
|
|
actix-form-data = "0.7.0-beta.7"
|
|
actix-web = { version = "4.6.0", default-features = false, features = ["rustls-0_23"] }
|
|
async-trait = "0.1.51"
|
|
barrel = { version = "0.7.0", features = ["pg"] }
|
|
base64 = "0.22.0"
|
|
bb8 = "0.8.3"
|
|
blurhash-update = "0.1.0"
|
|
clap = { version = "4.0.2", features = ["derive"] }
|
|
color-eyre = "0.6"
|
|
config = { version = "0.14.0", default-features = false, features = ["json", "ron", "toml", "yaml"] }
|
|
console-subscriber = "0.2"
|
|
dashmap = "5.1.0"
|
|
diesel = { version = "2.1.1", features = ["postgres_backend", "serde_json", "time", "uuid"] }
|
|
diesel-async = { version = "0.4.1", features = ["bb8", "postgres"] }
|
|
diesel-derive-enum = { version = "2.1.0", features = ["postgres"] }
|
|
futures-core = "0.3"
|
|
hex = "0.4.3"
|
|
md-5 = "0.10.5"
|
|
metrics = "0.23.0"
|
|
metrics-exporter-prometheus = { version = "0.15.0", default-features = false, features = ["http-listener"] }
|
|
mime = "0.3.1"
|
|
nanorand = { version = "0.7", optional = true }
|
|
opentelemetry_sdk = { version = "0.23", features = ["rt-tokio"] }
|
|
opentelemetry = "0.23"
|
|
opentelemetry-otlp = "0.16"
|
|
pin-project-lite = "0.2.7"
|
|
refinery = { version = "0.8.10", features = ["tokio-postgres", "postgres"] }
|
|
reqwest = { version = "0.12.5", default-features = false, features = ["json", "rustls-tls-no-provider", "stream"] }
|
|
reqwest-middleware = "0.3.0"
|
|
reqwest-tracing = "0.5.0"
|
|
# pinned to tokio-postgres-generic-rustls
|
|
# pinned to actix-web
|
|
rustls = "0.23"
|
|
# pinned to rustls
|
|
rustls-channel-resolver = "0.3.0"
|
|
# pinned to rustls
|
|
rustls-pemfile = "2.0.0"
|
|
rusty-s3 = "0.5.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
serde-tuple-vec-map = "1.0.1"
|
|
serde_urlencoded = "0.7.1"
|
|
sha2 = "0.10.0"
|
|
sled = { version = "0.34.7" }
|
|
streem = "0.2.0"
|
|
subtle = { version = "2.5.0", default-features = false }
|
|
thiserror = "1.0"
|
|
time = { version = "0.3.0", features = ["serde", "serde-well-known"] }
|
|
tokio = { version = "1", features = ["full", "tracing"] }
|
|
tokio-postgres = { version = "0.7.10", features = ["with-uuid-1", "with-time-0_3", "with-serde_json-1"] }
|
|
tokio-postgres-generic-rustls = { version = "0.1.0", default-features = false, features = ["aws-lc-rs"] }
|
|
tokio-uring = { version = "0.5", optional = true, features = ["bytes"] }
|
|
tokio-util = { version = "0.7", default-features = false, features = [
|
|
"codec",
|
|
"io",
|
|
] }
|
|
toml = "0.8.0"
|
|
tracing = "0.1.15"
|
|
tracing-error = "0.2.0"
|
|
tracing-log = "0.2.0"
|
|
tracing-opentelemetry = "0.24"
|
|
tracing-subscriber = { version = "0.3.0", features = [
|
|
"ansi",
|
|
"env-filter",
|
|
"fmt",
|
|
"json",
|
|
"registry",
|
|
"tracing-log",
|
|
] }
|
|
url = { version = "2.2", features = ["serde"] }
|
|
uuid = { version = "1", features = ["serde", "std", "v4", "v7"] }
|
|
# pinned to rustls
|
|
webpki-roots = "0.26.0"
|
|
|
|
[dependencies.tracing-actix-web]
|
|
version = "0.7.10"
|
|
default-features = false
|
|
features = ["opentelemetry_0_23"]
|