pict-rs/Cargo.toml

92 lines
3.1 KiB
TOML
Raw Normal View History

[package]
name = "pict-rs"
2020-06-07 02:01:04 +00:00
description = "A simple image hosting service"
2023-09-02 01:56:13 +00:00
version = "0.5.0-alpha.17"
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"
# 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-07-21 21:58:31 +00:00
io-uring = ["actix-rt/io-uring", "actix-server/io-uring", "tokio-uring", "sled/io_uring"]
[dependencies]
2023-07-19 01:32:17 +00:00
actix-form-data = "0.7.0-beta.4"
2022-03-09 00:48:08 +00:00
actix-rt = { version = "2.7.0", default-features = false }
2022-02-01 16:07:25 +00:00
actix-server = "2.0.0"
2022-02-26 18:22:30 +00:00
actix-web = { version = "4.0.0", default-features = false }
anyhow = "1.0"
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"
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"
2022-04-03 20:21:14 +00:00
config = "0.13.0"
console-subscriber = "0.1"
2022-02-11 17:23:48 +00:00
dashmap = "5.1.0"
2023-09-02 15:05:06 +00:00
deadpool = { version = "0.9.5", features = ["rt_tokio_1"] }
diesel = { version = "2.1.1", features = ["postgres_backend", "serde_json", "time", "uuid"] }
2023-09-02 15:05:06 +00:00
diesel-async = { version = "0.4.1", features = ["postgres", "deadpool"] }
2023-09-03 17:47:06 +00:00
diesel-derive-enum = { version = "2.1.0", features = ["postgres"] }
2023-08-16 17:41:14 +00:00
flume = "0.11.0"
2023-08-23 16:59:42 +00:00
futures-core = "0.3"
hex = "0.4.3"
2022-09-25 01:33:59 +00:00
md-5 = "0.10.5"
2023-07-22 21:47:59 +00:00
metrics = "0.21.1"
metrics-exporter-prometheus = { version = "0.12.1", default-features = false, features = ["http-listener"] }
mime = "0.3.1"
num_cpus = "1.13"
2020-06-14 15:07:31 +00:00
once_cell = "1.4.0"
opentelemetry = { version = "0.20", features = ["rt-tokio"] }
opentelemetry-otlp = "0.13"
pin-project-lite = "0.2.7"
2023-07-23 21:03:30 +00:00
quick-xml = { version = "0.30.0", features = ["serialize"] }
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"
reqwest-tracing = { version = "0.4.5" }
2023-01-29 17:47:28 +00:00
rusty-s3 = "0.4.1"
serde = { version = "1.0", features = ["derive"] }
serde-tuple-vec-map = "1.0.1"
serde_cbor = "0.11.2"
serde_json = "1.0"
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" }
2021-10-19 04:52:22 +00:00
storage-path-generator = "0.1.0"
streem = "0.2.0"
thiserror = "1.0"
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"] }
2023-01-29 17:47:28 +00:00
tokio-uring = { version = "0.4", optional = true, features = ["bytes"] }
tokio-util = { version = "0.7", default-features = false, features = [
"codec",
"io",
] }
2023-01-29 17:47:28 +00:00
toml = "0.7.0"
tracing = "0.1.15"
2021-10-25 01:37:59 +00:00
tracing-error = "0.2.0"
2021-09-14 01:22:42 +00:00
tracing-log = "0.1.2"
tracing-opentelemetry = "0.21"
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",
] }
url = { version = "2.2", features = ["serde"] }
uuid = { version = "1", features = ["serde", "std", "v4", "v7"] }
2021-09-19 19:36:53 +00:00
[dependencies.tracing-actix-web]
version = "0.7.5"
2021-09-25 20:42:06 +00:00
default-features = false
2023-09-05 02:51:51 +00:00
features = ["emit_event_on_error", "opentelemetry_0_20"]
git = "https://github.com/asonix/tracing-actix-web"
branch = "asonix/tracing-opentelemetry-021"