mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-10 06:25:00 +00:00
65 lines
2.4 KiB
TOML
65 lines
2.4 KiB
TOML
[package]
|
|
name = "pict-rs"
|
|
description = "A simple image hosting service"
|
|
version = "0.3.0-alpha.43"
|
|
authors = ["asonix <asonix@asonix.dog>"]
|
|
license = "AGPL-3.0"
|
|
readme = "README.md"
|
|
repository = "https://git.asonix.dog/asonix/pict-rs"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[features]
|
|
default = ["object-storage"]
|
|
object-storage = ["reqwest", "rust-s3"]
|
|
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"
|
|
async-trait = "0.1.51"
|
|
awc = { version = "3.0.0-beta.9", default-features = false, features = ["rustls"] }
|
|
base64 = "0.13.0"
|
|
config = "0.11.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"
|
|
reqwest = { version = "0.11.5", default-features = false, features = ["stream"], optional = true}
|
|
rust-s3 = { version = "0.27.0", default-features = false, features = ["tokio-rustls-tls"], optional = true, git = "https://github.com/asonix/rust-s3", branch = "asonix/use-async-write" }
|
|
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.2.0"
|
|
tracing-futures = "0.2.4"
|
|
tracing-log = "0.1.2"
|
|
tracing-opentelemetry = "0.16"
|
|
tracing-subscriber = { version = "0.3.0", features = ["env-filter", "fmt", "tracing-log"] }
|
|
url = { version = "2.2", features = ["serde"] }
|
|
uuid = { version = "0.8.2", features = ["v4", "serde"] }
|
|
|
|
[dependencies.tracing-actix-web]
|
|
version = "0.5.0-beta.1"
|
|
default-features = false
|
|
features = ["emit_event_on_error", "opentelemetry_0_16"]
|
|
|
|
[dependencies.tracing-awc]
|
|
version = "0.1.0-beta.7"
|
|
default-features = false
|
|
features = ["emit_event_on_error", "opentelemetry_0_16"]
|