pict-rs/Cargo.toml

105 lines
3.7 KiB
TOML
Raw Normal View History

[package]
name = "pict-rs"
2020-06-07 02:01:04 +00:00
description = "A simple image hosting service"
2024-12-10 03:32:44 +00:00
version = "0.5.17-pre.7"
authors = ["asonix <asonix@asonix.dog>"]
2020-06-07 02:01:04 +00:00
license = "AGPL-3.0"
readme = "README.md"
repository = "https://git.asonix.dog/asonix/pict-rs"
2021-10-21 21:36:31 +00:00
edition = "2021"
2024-11-12 19:46:30 +00:00
rust-version = "1.82"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
2023-11-11 01:19:52 +00:00
[profile.release]
strip = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2021-10-13 04:16:31 +00:00
[features]
2022-03-25 23:47:50 +00:00
default = []
io-uring = ["dep:tokio-uring", "sled/io_uring", "actix-web/experimental-io-uring"]
poll-timer-warnings = []
random-errors = ["dep:nanorand"]
[dependencies]
2024-07-09 17:50:32 +00:00
actix-form-data = "0.7.0-beta.8"
actix-web = { version = "4.8.0", default-features = false, features = ["rustls-0_23"] }
2024-07-09 17:50:32 +00:00
async-trait = "0.1.81"
2023-09-02 16:52:55 +00:00
barrel = { version = "0.7.0", features = ["pg"] }
base64 = "0.22.1"
bb8 = "0.8.5"
2024-02-26 23:50:42 +00:00
blurhash-update = "0.1.0"
2024-07-09 17:50:32 +00:00
clap = { version = "4.5.9", features = ["derive"] }
color-eyre = "0.6.3"
2024-02-04 04:10:43 +00:00
config = { version = "0.14.0", default-features = false, features = ["json", "ron", "toml", "yaml"] }
console-subscriber = "0.4.0"
2024-06-24 22:10:13 +00:00
dashmap = "6.0.1"
diesel = { version = "2.2.1", features = ["postgres_backend", "serde_json", "time", "uuid"] }
diesel-async = { version = "0.5.0", features = ["bb8", "postgres"] }
2023-09-03 17:47:06 +00:00
diesel-derive-enum = { version = "2.1.0", features = ["postgres"] }
futures-core = "0.3.30"
hex = "0.4.3"
md-5 = "0.10.6"
2024-10-16 22:20:06 +00:00
metrics = "0.24.0"
metrics-exporter-prometheus = { version = "0.16.0", default-features = false, features = ["http-listener"] }
mime = "0.3.17"
nanorand = { version = "0.7.0", optional = true }
2024-10-06 04:28:01 +00:00
object_store = { version = "0.11.0", features = ["aws"] }
2024-11-23 21:01:09 +00:00
opentelemetry_sdk = { version = "0.27.0", features = ["rt-tokio"] }
opentelemetry = "0.27.0"
opentelemetry-otlp = { version = "0.27.0", features = ["grpc-tonic"] }
pin-project-lite = "0.2.14"
refinery = { version = "0.8.14", features = ["tokio-postgres", "postgres"] }
2024-06-21 18:43:50 +00:00
reqwest = { version = "0.12.5", default-features = false, features = ["json", "rustls-tls-no-provider", "stream"] }
reqwest-middleware = "0.4.0"
reqwest-tracing = "0.5.0"
2024-05-04 03:29:18 +00:00
# pinned to tokio-postgres-generic-rustls
# pinned to actix-web
2024-07-09 17:50:32 +00:00
rustls = { version = "0.23.11", default-features = false, features = ["logging", "ring", "std", "tls12"] }
2024-01-31 23:47:42 +00:00
# pinned to rustls
rustls-channel-resolver = "0.3.0"
# pinned to rustls
rustls-pemfile = "2.1.2"
2024-07-09 17:50:32 +00:00
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.120"
serde-tuple-vec-map = "1.0.1"
serde_urlencoded = "0.7.1"
sha2 = "0.10.8"
2022-02-11 17:23:48 +00:00
sled = { version = "0.34.7" }
streem = "0.2.0"
2024-06-24 22:10:13 +00:00
subtle = { version = "2.6.1", default-features = false }
2024-11-23 21:06:51 +00:00
thiserror = "2.0.3"
time = { version = "0.3.36", features = ["serde", "serde-well-known"] }
tokio = { version = "1.38.0", features = ["full", "tracing"] }
2023-09-02 15:05:06 +00:00
tokio-postgres = { version = "0.7.10", features = ["with-uuid-1", "with-time-0_3", "with-serde_json-1"] }
2024-06-24 15:32:06 +00:00
tokio-postgres-generic-rustls = { version = "0.1.0", default-features = false, features = ["ring"] }
tokio-uring = { version = "0.5.0", optional = true, features = ["bytes"] }
tokio-util = { version = "0.7.11", default-features = false, features = [
"codec",
"io",
] }
toml = "0.8.14"
tracing = "0.1.40"
2021-10-25 01:37:59 +00:00
tracing-error = "0.2.0"
2023-11-10 21:19:54 +00:00
tracing-log = "0.2.0"
2024-11-23 21:01:09 +00:00
tracing-opentelemetry = "0.28.0"
tracing-subscriber = { version = "0.3.18", features = [
2022-03-28 04:27:07 +00:00
"ansi",
2022-02-01 16:07:25 +00:00
"env-filter",
"fmt",
2022-03-28 04:27:07 +00:00
"json",
"registry",
2022-02-01 16:07:25 +00:00
"tracing-log",
] }
url = { version = "2.5.2", features = ["serde"] }
2024-07-09 17:50:32 +00:00
uuid = { version = "1.10.0", features = ["serde", "std", "v4", "v7"] }
# pinned to rustls
webpki-roots = "0.26.3"
image = { version = "0.25.5", default-features = false, features = ["gif", "jpeg", "png", "webp"] }
2021-09-19 19:36:53 +00:00
[dependencies.tracing-actix-web]
2024-11-23 21:01:09 +00:00
version = "0.7.15"
2021-09-25 20:42:06 +00:00
default-features = false
2024-11-23 21:01:09 +00:00
features = ["opentelemetry_0_27"]