# 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 = "imgforge"
version = "0.9.0"
authors = ["joker666 <mr.k779@outlook.com>"]
build = false
exclude = [
    "doc/*",
    "AGENTS.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast and secure image proxy and transformation server"
homepage = "https://imgforger.github.io"
readme = "README.md"
keywords = [
    "image",
    "proxy",
    "transform",
    "server",
]
categories = [
    "multimedia",
    "multimedia::images",
    "web-programming",
    "web-programming::http-server",
]
license = "GPL-3.0-only"
repository = "https://github.com/ImgForger/imgforge"

[lib]
name = "imgforge"
path = "src/lib.rs"

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

[[test]]
name = "handlers_integration_tests"
path = "tests/handlers_integration_tests.rs"

[[test]]
name = "handlers_integration_tests_extended"
path = "tests/handlers_integration_tests_extended.rs"

[[test]]
name = "presets_integration_tests"
path = "tests/presets_integration_tests.rs"

[dependencies.axum]
version = "0.8.7"

[dependencies.axum-extra]
version = "0.12.2"
features = ["typed-header"]

[dependencies.axum-prometheus]
version = "0.9.0"

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1.11.0"

[dependencies.foyer]
version = "0.20.1"

[dependencies.governor]
version = "0.10.2"

[dependencies.hex]
version = "0.4.3"

[dependencies.hmac]
version = "0.12.1"

[dependencies.kamadak-exif]
version = "0.6.1"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.libvips]
version = "1.7.1"

[dependencies.metrics]
version = "0.24.2"

[dependencies.num_cpus]
version = "1.17.0"

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

[dependencies.rand]
version = "0.9.2"

[dependencies.reqwest]
version = "0.12.24"
features = ["json"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10.9"

[dependencies.thiserror]
version = "2.0.17"

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

[dependencies.tower-http]
version = "0.6.6"
features = [
    "trace",
    "timeout",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.base64]
version = "0.22.1"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.hmac]
version = "0.12.1"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.image]
version = "0.25.9"

[dev-dependencies.lazy_static]
version = "1.5.0"

[dev-dependencies.percent-encoding]
version = "2.3.2"

[dev-dependencies.reqwest]
version = "0.12.24"

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.145"

[dev-dependencies.sha2]
version = "0.10.9"

[dev-dependencies.tempfile]
version = "3.23.0"

[dev-dependencies.tokio]
version = "1.48.0"
features = ["full"]

[dev-dependencies.tower]
version = "0.5"
features = ["util"]

[dev-dependencies.tracing]
version = "0.1.41"

[dev-dependencies.tracing-subscriber]
version = "0.3.20"
features = ["env-filter"]

[dev-dependencies.wiremock]
version = "0.6"
