# 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 = "hdds-gateway"
version = "1.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HDDS REST API Gateway with Web UI"
readme = "README.md"
keywords = [
    "dds",
    "rest",
    "gateway",
    "admin",
    "monitoring",
]
categories = [
    "network-programming",
    "web-programming",
]
license = "Apache-2.0 OR MIT"
repository = "https://git.hdds.io/hdds/hdds.git"

[[bin]]
name = "hdds-gateway"
path = "src/main.rs"

[dependencies.axum]
version = "0.7"

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

[dependencies.mime_guess]
version = "2"

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

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "json",
]
