pict-rs/Cargo.toml

86 lines
2.4 KiB
TOML
Raw Normal View History

[package]
name = "pict-rs"
2020-06-07 02:01:04 +00:00
description = "A simple image hosting service"
2022-03-26 21:49:23 +00:00
version = "0.4.0-alpha.1"
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 = []
2022-02-01 16:07:25 +00:00
io-uring = [
"actix-rt/io-uring",
"actix-server/io-uring",
"tokio-uring",
"sled/io_uring",
]
[dependencies]
2022-03-08 17:43:06 +00:00
actix-form-data = "0.6.0"
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"
2022-03-08 17:43:06 +00:00
awc = { version = "3.0.0", default-features = false, features = ["rustls"] }
2020-10-10 23:22:00 +00:00
base64 = "0.13.0"
2022-03-25 03:06:29 +00:00
clap = { version = "3.1.6", 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"
futures-util = "0.3.17"
mime = "0.3.1"
num_cpus = "1.13"
2020-06-14 15:07:31 +00:00
once_cell = "1.4.0"
2022-02-04 17:33:12 +00:00
opentelemetry = { version = "0.17", features = ["rt-tokio"] }
opentelemetry-otlp = "0.10"
pin-project-lite = "0.2.7"
2022-02-01 16:07:25 +00:00
reqwest = { version = "0.11.5", default-features = false, features = [
"rustls-tls",
"stream",
2022-03-25 23:47:50 +00:00
] }
2022-02-26 18:22:30 +00:00
rust-s3 = { version = "0.29.0", default-features = false, features = [
2022-02-01 16:07:25 +00:00
"fail-on-err",
"with-reqwest",
2022-03-25 23:47:50 +00:00
], git = "https://github.com/asonix/rust-s3", branch = "asonix/generic-client" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
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"
thiserror = "1.0"
2021-08-28 22:50:56 +00:00
time = { version = "0.3.0", features = ["serde"] }
2021-12-17 02:46:46 +00:00
tokio = { version = "1", features = ["full", "tracing"] }
2022-03-09 00:48:08 +00:00
tokio-uring = { version = "0.3", optional = true, features = ["bytes"] }
2022-02-26 18:26:29 +00:00
tokio-util = { version = "0.7", default-features = false, features = ["codec"] }
toml = "0.5.8"
tracing = "0.1.15"
2021-10-25 01:37:59 +00:00
tracing-error = "0.2.0"
tracing-futures = "0.2.4"
2021-09-14 01:22:42 +00:00
tracing-log = "0.1.2"
2022-02-04 17:33:12 +00:00
tracing-opentelemetry = "0.17"
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 = "0.8.2", features = ["v4", "serde"] }
2021-09-19 19:36:53 +00:00
[dependencies.tracing-actix-web]
2022-02-26 18:22:30 +00:00
version = "0.5.0"
2021-09-25 20:42:06 +00:00
default-features = false
2022-03-29 01:47:46 +00:00
features = ["opentelemetry_0_17"]
2021-09-25 20:42:06 +00:00
[dependencies.tracing-awc]
2022-03-08 17:43:06 +00:00
version = "0.1.0"
2021-09-19 19:36:53 +00:00
default-features = false
2022-03-29 01:47:46 +00:00
features = ["opentelemetry_0_17"]