2020-06-06 21:02:26 +00:00
|
|
|
[package]
|
|
|
|
name = "pict-rs"
|
2020-06-07 02:01:04 +00:00
|
|
|
description = "A simple image hosting service"
|
2024-04-15 20:31:31 +00:00
|
|
|
version = "0.5.13"
|
2020-06-06 21:02:26 +00:00
|
|
|
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"
|
2020-06-06 21:02:26 +00:00
|
|
|
|
2023-11-11 01:19:52 +00:00
|
|
|
[profile.release]
|
|
|
|
strip = true
|
|
|
|
|
2020-06-06 21:02:26 +00:00
|
|
|
# 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 = []
|
2023-09-24 20:45:10 +00:00
|
|
|
io-uring = ["dep:tokio-uring", "sled/io_uring", "actix-web/experimental-io-uring"]
|
2024-03-11 01:07:59 +00:00
|
|
|
poll-timer-warnings = []
|
2024-03-11 03:02:27 +00:00
|
|
|
random-errors = ["dep:nanorand"]
|
2020-06-06 21:02:26 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-03-28 00:10:58 +00:00
|
|
|
actix-form-data = "0.7.0-beta.7"
|
2024-02-04 03:58:08 +00:00
|
|
|
actix-web = { version = "4.0.0", default-features = false, features = ["rustls-0_22"] }
|
2021-10-23 04:48:56 +00:00
|
|
|
async-trait = "0.1.51"
|
2023-09-02 16:52:55 +00:00
|
|
|
barrel = { version = "0.7.0", features = ["pg"] }
|
2023-01-29 17:47:28 +00:00
|
|
|
base64 = "0.21.0"
|
2024-03-10 20:59:08 +00:00
|
|
|
bb8 = "0.8.3"
|
2024-02-26 23:50:42 +00:00
|
|
|
blurhash-update = "0.1.0"
|
2022-09-28 23:23:41 +00:00
|
|
|
clap = { version = "4.0.2", features = ["derive"] }
|
2022-03-29 01:47:46 +00:00
|
|
|
color-eyre = "0.6"
|
2024-02-04 04:10:43 +00:00
|
|
|
config = { version = "0.14.0", default-features = false, features = ["json", "ron", "toml", "yaml"] }
|
2023-09-29 20:16:47 +00:00
|
|
|
console-subscriber = "0.2"
|
2022-02-11 17:23:48 +00:00
|
|
|
dashmap = "5.1.0"
|
2023-09-02 23:30:45 +00:00
|
|
|
diesel = { version = "2.1.1", features = ["postgres_backend", "serde_json", "time", "uuid"] }
|
2024-03-10 20:59:08 +00:00
|
|
|
diesel-async = { version = "0.4.1", features = ["bb8", "postgres"] }
|
2023-09-03 17:47:06 +00:00
|
|
|
diesel-derive-enum = { version = "2.1.0", features = ["postgres"] }
|
2023-08-23 16:59:42 +00:00
|
|
|
futures-core = "0.3"
|
2022-09-28 04:19:52 +00:00
|
|
|
hex = "0.4.3"
|
2022-09-25 01:33:59 +00:00
|
|
|
md-5 = "0.10.5"
|
2023-12-27 00:06:38 +00:00
|
|
|
metrics = "0.22.0"
|
|
|
|
metrics-exporter-prometheus = { version = "0.13.0", default-features = false, features = ["http-listener"] }
|
2020-06-06 21:02:26 +00:00
|
|
|
mime = "0.3.1"
|
2024-03-11 03:02:27 +00:00
|
|
|
nanorand = { version = "0.7", optional = true }
|
2024-03-10 21:03:46 +00:00
|
|
|
opentelemetry_sdk = { version = "0.22", features = ["rt-tokio"] }
|
|
|
|
opentelemetry = "0.22"
|
|
|
|
opentelemetry-otlp = "0.15"
|
2021-10-18 23:02:33 +00:00
|
|
|
pin-project-lite = "0.2.7"
|
2023-09-02 15:05:06 +00:00
|
|
|
refinery = { version = "0.8.10", features = ["tokio-postgres", "postgres"] }
|
2023-07-21 21:58:31 +00:00
|
|
|
reqwest = { version = "0.11.18", default-features = false, features = ["json", "rustls-tls", "stream"] }
|
|
|
|
reqwest-middleware = "0.2.2"
|
2024-03-10 21:03:46 +00:00
|
|
|
reqwest-tracing = "0.4.5"
|
2024-01-15 23:11:08 +00:00
|
|
|
# pinned to tokio-postgres-rustls
|
|
|
|
rustls = "0.22.0"
|
2024-01-31 23:47:42 +00:00
|
|
|
# pinned to rustls
|
2024-02-04 03:58:08 +00:00
|
|
|
rustls-channel-resolver = "0.2.0"
|
2024-01-15 23:11:08 +00:00
|
|
|
# pinned to rustls
|
|
|
|
rustls-pemfile = "2.0.0"
|
2023-10-08 16:29:59 +00:00
|
|
|
rusty-s3 = "0.5.0"
|
2020-06-07 15:59:58 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2020-06-06 21:02:26 +00:00
|
|
|
serde_json = "1.0"
|
2024-03-28 00:00:54 +00:00
|
|
|
serde-tuple-vec-map = "1.0.1"
|
2022-09-25 20:17:33 +00:00
|
|
|
serde_urlencoded = "0.7.1"
|
2021-12-17 02:46:46 +00:00
|
|
|
sha2 = "0.10.0"
|
2022-02-11 17:23:48 +00:00
|
|
|
sled = { version = "0.34.7" }
|
2023-09-11 00:43:51 +00:00
|
|
|
streem = "0.2.0"
|
2023-10-04 17:11:29 +00:00
|
|
|
subtle = { version = "2.5.0", default-features = false }
|
2020-06-06 21:02:26 +00:00
|
|
|
thiserror = "1.0"
|
2022-04-06 01:29:30 +00:00
|
|
|
time = { version = "0.3.0", features = ["serde", "serde-well-known"] }
|
2021-12-17 02:46:46 +00:00
|
|
|
tokio = { version = "1", 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-01-15 18:33:36 +00:00
|
|
|
tokio-postgres-rustls = "0.11.0"
|
2023-01-29 17:47:28 +00:00
|
|
|
tokio-uring = { version = "0.4", optional = true, features = ["bytes"] }
|
2022-09-24 18:39:27 +00:00
|
|
|
tokio-util = { version = "0.7", default-features = false, features = [
|
|
|
|
"codec",
|
|
|
|
"io",
|
|
|
|
] }
|
2023-09-26 23:04:49 +00:00
|
|
|
toml = "0.8.0"
|
2020-06-14 02:28:06 +00:00
|
|
|
tracing = "0.1.15"
|
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-03-10 21:03:46 +00:00
|
|
|
tracing-opentelemetry = "0.23"
|
2022-02-01 16:07:25 +00:00
|
|
|
tracing-subscriber = { version = "0.3.0", 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",
|
|
|
|
] }
|
2021-10-28 04:06:03 +00:00
|
|
|
url = { version = "2.2", features = ["serde"] }
|
2023-08-14 00:47:20 +00:00
|
|
|
uuid = { version = "1", features = ["serde", "std", "v4", "v7"] }
|
2024-01-15 23:11:08 +00:00
|
|
|
# pinned to rustls
|
|
|
|
webpki-roots = "0.26.0"
|
2021-09-19 19:36:53 +00:00
|
|
|
|
|
|
|
[dependencies.tracing-actix-web]
|
2024-03-10 21:03:46 +00:00
|
|
|
version = "0.7.10"
|
2021-09-25 20:42:06 +00:00
|
|
|
default-features = false
|
2024-03-10 21:03:46 +00:00
|
|
|
features = ["emit_event_on_error", "opentelemetry_0_22"]
|