pict-rs/Cargo.toml
2021-10-20 18:16:53 -05:00

64 lines
2.1 KiB
TOML

[package]
name = "pict-rs"
description = "A simple image hosting service"
version = "0.3.0-alpha.40"
authors = ["asonix <asonix@asonix.dog>"]
license = "AGPL-3.0"
readme = "README.md"
repository = "https://git.asonix.dog/asonix/pict-rs"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
io-uring = ["actix-rt/io-uring", "actix-server/io-uring", "tokio-uring", "sled/io_uring"]
[dependencies]
actix-form-data = "0.6.0-beta.1"
actix-rt = "2.2.0"
actix-server = "2.0.0-beta.6"
actix-web = { version = "4.0.0-beta.10", default-features = false }
anyhow = "1.0"
awc = { version = "3.0.0-beta.9", default-features = false, features = ["rustls"] }
base64 = "0.13.0"
dashmap = "4.0.2"
futures-util = "0.3.17"
mime = "0.3.1"
num_cpus = "1.13"
once_cell = "1.4.0"
opentelemetry = { version = "0.16", features = ["rt-tokio"] }
opentelemetry-otlp = "0.9"
pin-project-lite = "0.2.7"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.9.0"
sled = { version = "0.34.6" }
storage-path-generator = "0.1.0"
structopt = "0.3.14"
thiserror = "1.0"
time = { version = "0.3.0", features = ["serde"] }
tokio = { version = "1", default-features = false, features = ["fs", "io-util", "process", "sync"] }
tokio-uring = { version = "0.1", optional = true }
tokio-util = { version = "0.6", default-features = false, features = ["codec"] }
tracing = "0.1.15"
tracing-error = "0.1.2"
tracing-futures = "0.2.4"
tracing-log = "0.1.2"
tracing-opentelemetry = "0.15"
tracing-subscriber = { version = "0.2.5", features = ["fmt", "tracing-log"] }
url = "2.2"
uuid = { version = "0.8.2", features = ["v4", "serde"]}
[dependencies.tracing-actix-web]
version = "0.4.0-beta.14"
default-features = false
features = ["emit_event_on_error", "opentelemetry_0_16"]
git = "https://github.com/asonix/tracing-actix-web"
branch = "asonix/update-deps"
[dependencies.tracing-awc]
version = "0.1.0-beta.4"
default-features = false
features = ["emit_event_on_error", "opentelemetry_0_16"]
git = "https://git.asonix.dog/asonix/tracing-awc"
branch = "main"