# 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 = "doggygallery"
version = "0.4.3"
authors = ["DoggyGallery Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A secure, beautiful media gallery server with TLS 1.3, HTTP Basic Auth, and automatic light/dark mode"
homepage = "https://github.com/meltingscales/DoggyGallery"
documentation = "https://docs.rs/doggygallery"
readme = "README.md"
keywords = [
    "media",
    "gallery",
    "server",
    "https",
    "tls",
]
categories = [
    "web-programming::http-server",
    "multimedia",
]
license = "MIT"
repository = "https://github.com/meltingscales/DoggyGallery"

[package.metadata.docs.rs]
all-features = true
include = [
    "src/**/*",
    "templates/**/*",
    "static/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE*",
]

[[bin]]
name = "doggygallery"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.askama]
version = "0.12"

[dependencies.askama_axum]
version = "0.4"

[dependencies.axum]
version = "0.7"
features = ["multipart"]

[dependencies.axum-server]
version = "0.7"
features = ["tls-rustls"]

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.flate2]
version = "1.0"

[dependencies.id3]
version = "1.13"

[dependencies.infer]
version = "0.16"

[dependencies.mime_guess]
version = "2.0"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.rcgen]
version = "0.13"

[dependencies.rust-embed]
version = "8.5"

[dependencies.rustls]
version = "0.23"
features = ["aws_lc_rs"]

[dependencies.rustls-pemfile]
version = "2.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.subtle]
version = "2.5"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tower]
version = "0.4"

[dependencies.tower-http]
version = "0.5"
features = [
    "fs",
    "trace",
    "compression-full",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.utoipa]
version = "5"
features = ["axum_extras"]

[dependencies.utoipa-swagger-ui]
version = "8"
features = [
    "axum",
    "vendored",
]

[dependencies.zeroize]
version = "1.8"
features = ["derive"]

[dependencies.zip]
version = "2.1"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
