# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "pict-rs" version = "0.5.17-pre.6" authors = ["asonix "] description = "A simple image hosting service" readme = "README.md" license = "AGPL-3.0" repository = "https://git.asonix.dog/asonix/pict-rs" [profile.release] strip = true [dependencies.actix-form-data] version = "0.7.0-beta.8" [dependencies.actix-web] version = "4.8.0" features = ["rustls-0_23"] default-features = false [dependencies.async-trait] version = "0.1.81" [dependencies.barrel] version = "0.7.0" features = ["pg"] [dependencies.base64] version = "0.22.1" [dependencies.bb8] version = "0.8.5" [dependencies.blurhash-update] version = "0.1.0" [dependencies.clap] version = "4.5.9" features = ["derive"] [dependencies.color-eyre] version = "0.6.3" [dependencies.config] version = "0.14.0" features = [ "json", "ron", "toml", "yaml", ] default-features = false [dependencies.console-subscriber] version = "0.4.0" [dependencies.dashmap] version = "6.0.1" [dependencies.diesel] version = "2.1.6" features = [ "postgres_backend", "serde_json", "time", "uuid", ] [dependencies.diesel-async] version = "0.4.1" features = [ "bb8", "postgres", ] [dependencies.diesel-derive-enum] version = "2.1.0" features = ["postgres"] [dependencies.futures-core] version = "0.3.30" [dependencies.hex] version = "0.4.3" [dependencies.md-5] version = "0.10.6" [dependencies.metrics] version = "0.24.0" [dependencies.metrics-exporter-prometheus] version = "0.16.0" features = ["http-listener"] default-features = false [dependencies.mime] version = "0.3.17" [dependencies.nanorand] version = "0.7.0" optional = true [dependencies.object_store] version = "0.11.0" features = ["aws"] [dependencies.opentelemetry] version = "0.25.0" [dependencies.opentelemetry-otlp] version = "0.25.0" [dependencies.opentelemetry_sdk] version = "0.25.0" features = ["rt-tokio"] [dependencies.pin-project-lite] version = "0.2.14" [dependencies.refinery] version = "0.8.14" features = [ "tokio-postgres", "postgres", ] [dependencies.reqwest] version = "0.12.5" features = [ "json", "rustls-tls-no-provider", "stream", ] default-features = false [dependencies.reqwest-middleware] version = "0.3.1" [dependencies.reqwest-tracing] version = "0.5.0" [dependencies.rustls] version = "0.23.11" features = [ "logging", "ring", "std", "tls12", ] default-features = false [dependencies.rustls-channel-resolver] version = "0.3.0" [dependencies.rustls-pemfile] version = "2.1.2" [dependencies.serde] version = "1.0.204" features = ["derive"] [dependencies.serde-tuple-vec-map] version = "1.0.1" [dependencies.serde_json] version = "1.0.120" [dependencies.serde_urlencoded] version = "0.7.1" [dependencies.sha2] version = "0.10.8" [dependencies.sled] version = "0.34.7" [dependencies.streem] version = "0.2.0" [dependencies.subtle] version = "2.6.1" default-features = false [dependencies.thiserror] version = "1.0.61" [dependencies.time] version = "0.3.36" features = [ "serde", "serde-well-known", ] [dependencies.tokio] version = "1.38.0" features = [ "full", "tracing", ] [dependencies.tokio-postgres] version = "0.7.10" features = [ "with-uuid-1", "with-time-0_3", "with-serde_json-1", ] [dependencies.tokio-postgres-generic-rustls] version = "0.1.0" features = ["ring"] default-features = false [dependencies.tokio-uring] version = "0.5.0" features = ["bytes"] optional = true [dependencies.tokio-util] version = "0.7.11" features = [ "codec", "io", ] default-features = false [dependencies.toml] version = "0.8.14" [dependencies.tracing] version = "0.1.40" [dependencies.tracing-actix-web] version = "0.7.11" features = ["opentelemetry_0_25"] default-features = false [dependencies.tracing-error] version = "0.2.0" [dependencies.tracing-log] version = "0.2.0" [dependencies.tracing-opentelemetry] version = "0.26.0" [dependencies.tracing-subscriber] version = "0.3.18" features = [ "ansi", "env-filter", "fmt", "json", "registry", "tracing-log", ] [dependencies.url] version = "2.5.2" features = ["serde"] [dependencies.uuid] version = "1.10.0" features = [ "serde", "std", "v4", "v7", ] [dependencies.webpki-roots] version = "0.26.3" [features] default = [] io-uring = [ "dep:tokio-uring", "sled/io_uring", "actix-web/experimental-io-uring", ] poll-timer-warnings = [] random-errors = ["dep:nanorand"]