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"
|
2021-11-16 15:46:58 +00:00
|
|
|
version = "0.3.0-beta.5"
|
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
|
|
|
|
|
|
|
# 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]
|
2021-10-31 17:43:41 +00:00
|
|
|
default = ["object-storage"]
|
2021-10-28 04:06:03 +00:00
|
|
|
object-storage = ["reqwest", "rust-s3"]
|
2021-10-14 00:06:53 +00:00
|
|
|
io-uring = ["actix-rt/io-uring", "actix-server/io-uring", "tokio-uring", "sled/io_uring"]
|
2020-06-06 21:02:26 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-11-23 00:24:05 +00:00
|
|
|
actix-form-data = "0.6.0-beta.11"
|
2021-06-26 18:10:28 +00:00
|
|
|
actix-rt = "2.2.0"
|
2021-10-13 04:16:31 +00:00
|
|
|
actix-server = "2.0.0-beta.6"
|
2021-10-20 23:16:53 +00:00
|
|
|
actix-web = { version = "4.0.0-beta.10", default-features = false }
|
2020-06-06 21:02:26 +00:00
|
|
|
anyhow = "1.0"
|
2021-10-23 04:48:56 +00:00
|
|
|
async-trait = "0.1.51"
|
2021-10-20 23:16:53 +00:00
|
|
|
awc = { version = "3.0.0-beta.9", default-features = false, features = ["rustls"] }
|
2020-10-10 23:22:00 +00:00
|
|
|
base64 = "0.13.0"
|
2021-10-28 04:06:03 +00:00
|
|
|
config = "0.11.0"
|
2021-09-05 22:15:30 +00:00
|
|
|
dashmap = "4.0.2"
|
2021-09-06 01:00:31 +00:00
|
|
|
futures-util = "0.3.17"
|
2020-06-06 21:02:26 +00:00
|
|
|
mime = "0.3.1"
|
2021-09-04 21:01:48 +00:00
|
|
|
num_cpus = "1.13"
|
2020-06-14 15:07:31 +00:00
|
|
|
once_cell = "1.4.0"
|
2021-11-02 17:48:11 +00:00
|
|
|
opentelemetry = { version = "0.16", features = ["rt-tokio"] }
|
|
|
|
opentelemetry-otlp = "0.9"
|
2021-10-18 23:02:33 +00:00
|
|
|
pin-project-lite = "0.2.7"
|
2021-11-02 22:21:00 +00:00
|
|
|
reqwest = { version = "0.11.5", default-features = false, features = ["rustls-tls", "stream"], optional = true }
|
2021-11-23 18:29:42 +00:00
|
|
|
rust-s3 = { version = "0.28.0", default-features = false, features = ["fail-on-err", "with-reqwest"], optional = true, git = "https://github.com/asonix/rust-s3", branch = "asonix/generic-client" }
|
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"
|
2020-06-11 00:34:25 +00:00
|
|
|
sha2 = "0.9.0"
|
2021-02-10 22:57:42 +00:00
|
|
|
sled = { version = "0.34.6" }
|
2021-10-19 04:52:22 +00:00
|
|
|
storage-path-generator = "0.1.0"
|
2020-06-07 00:54:06 +00:00
|
|
|
structopt = "0.3.14"
|
2020-06-06 21:02:26 +00:00
|
|
|
thiserror = "1.0"
|
2021-08-28 22:50:56 +00:00
|
|
|
time = { version = "0.3.0", features = ["serde"] }
|
2021-09-04 19:20:31 +00:00
|
|
|
tokio = { version = "1", default-features = false, features = ["fs", "io-util", "process", "sync"] }
|
2021-10-13 04:16:31 +00:00
|
|
|
tokio-uring = { version = "0.1", optional = true }
|
2021-09-04 00:53:53 +00:00
|
|
|
tokio-util = { version = "0.6", default-features = false, features = ["codec"] }
|
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"
|
2020-06-14 02:28:06 +00:00
|
|
|
tracing-futures = "0.2.4"
|
2021-09-14 01:22:42 +00:00
|
|
|
tracing-log = "0.1.2"
|
2021-10-25 01:37:59 +00:00
|
|
|
tracing-opentelemetry = "0.16"
|
|
|
|
tracing-subscriber = { version = "0.3.0", features = ["env-filter", "fmt", "tracing-log"] }
|
2021-10-28 04:06:03 +00:00
|
|
|
url = { version = "2.2", features = ["serde"] }
|
|
|
|
uuid = { version = "0.8.2", features = ["v4", "serde"] }
|
2021-09-19 19:36:53 +00:00
|
|
|
|
|
|
|
[dependencies.tracing-actix-web]
|
2021-11-23 18:32:00 +00:00
|
|
|
version = "0.5.0-beta.2"
|
2021-09-25 20:42:06 +00:00
|
|
|
default-features = false
|
2021-10-26 15:49:56 +00:00
|
|
|
features = ["emit_event_on_error", "opentelemetry_0_16"]
|
2021-11-23 18:29:42 +00:00
|
|
|
git = "https://github.com/caizixian/tracing-actix-web"
|
2021-09-25 20:42:06 +00:00
|
|
|
|
|
|
|
[dependencies.tracing-awc]
|
2021-11-16 21:39:18 +00:00
|
|
|
version = "0.1.0-beta.8"
|
2021-09-19 19:36:53 +00:00
|
|
|
default-features = false
|
2021-10-26 15:49:56 +00:00
|
|
|
features = ["emit_event_on_error", "opentelemetry_0_16"]
|
2021-11-23 18:29:42 +00:00
|
|
|
git = "https://git.asonix.dog/asonix/tracing-awc"
|