# 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 = "2024"
name = "manta-server"
version = "2.0.0-beta.61"
authors = [
    "Manuel Sopena Ballesteros <msopena@cscs.ch>",
    "Miguel Gila <miguel.gila@cscs.ch>",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Manta HTTP server — single API that proxies to CSM / Ochami backends."
readme = false
license-file = "LICENSE"
repository = "https://github.com/eth-cscs/manta"

[package.metadata.release]
tag = false

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

[[bin]]
name = "manta-server"
path = "src/main.rs"

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

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

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

[dependencies.axum]
version = "0.8"
features = [
    "json",
    "query",
    "tokio",
    "http1",
    "http2",
    "ws",
]
default-features = false

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

[dependencies.base64]
version = "0.22"
default-features = false

[dependencies.chrono]
version = "0.4.41"
default-features = false

[dependencies.comfy-table]
version = "7.2.2"

[dependencies.csm-rs]
version = "1.0.0-beta.19"
features = ["commands-admin"]

[dependencies.futures]
version = "0.3.31"
default-features = false

[dependencies.globset]
version = "0.4"

[dependencies.hostlist-parser]
version = "0.1.6"

[dependencies.manta-backend-dispatcher]
version = "1.0.0-beta.13"

[dependencies.manta-shared]
version = "=2.0.0-beta.61"

[dependencies.ochami-rs]
version = "1.0.0-beta.13"

[dependencies.rdkafka]
version = "0.39"

[dependencies.regex]
version = "1.6.0"

[dependencies.reqwest]
version = "0.12.15"
features = [
    "blocking",
    "json",
    "rustls-tls",
    "socks",
    "stream",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false

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

[dependencies.serde_json]
version = "1.0.140"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.tokio]
version = "1.45"
features = [
    "rt",
    "rt-multi-thread",
    "sync",
    "macros",
    "io-util",
    "io-std",
    "net",
    "signal",
    "time",
]

[dependencies.tokio-util]
version = "0.7.4"

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

[dependencies.tracing]
version = "0.1"

[dependencies.utoipa]
version = "5.5"
features = [
    "axum_extras",
    "uuid",
]

[dependencies.utoipa-swagger-ui]
version = "9"
features = ["axum"]

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

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

[dev-dependencies.syn]
version = "2"
features = [
    "full",
    "parsing",
]

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

[dev-dependencies.tokio]
version = "1.45"
features = [
    "rt",
    "rt-multi-thread",
    "sync",
    "macros",
    "io-util",
    "io-std",
    "net",
    "signal",
    "time",
    "test-util",
]

[dev-dependencies.toml]
version = "0.9"

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

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