# 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 = "rmcp-openapi-server"
version = "0.26.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server executable for OpenAPI specifications"
homepage = "https://gitlab.com/lx-industries/rmcp-openapi"
readme = "README.md"
keywords = [
    "mcp",
    "openapi",
    "llm",
]
categories = [
    "network-programming",
    "web-programming",
]
license = "MIT"
repository = "https://gitlab.com/lx-industries/rmcp-openapi"
resolver = "2"

[features]
authorization-token-passthrough = ["rmcp-openapi/authorization-token-passthrough"]

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

[dependencies.actix-web]
version = "4.9.0"

[dependencies.bon]
version = "3.7"

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

[dependencies.http]
version = "1.3.1"

[dependencies.reqwest]
version = "0.13"
features = [
    "http2",
    "json",
    "charset",
    "system-proxy",
    "rustls",
    "multipart",
    "form",
]
default-features = false

[dependencies.rmcp]
version = "1.0.0"
features = [
    "server",
    "base64",
    "macros",
    "transport-streamable-http-server",
    "transport-streamable-http-server-session",
    "transport-worker",
]
default-features = false

[dependencies.rmcp-actix-web]
version = "0.12.1"
features = [
    "transport-streamable-http",
    "transport-streamable-http",
]
default-features = false

[dependencies.rmcp-openapi]
version = "0.26.6"

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.0"
features = [
    "fs",
    "process",
    "time",
]
default-features = false

[dependencies.tracing]
version = "0.1"

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

[dependencies.url]
version = "2.5.4"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.insta]
version = "1.43.1"
features = ["json"]

[dev-dependencies.mockito]
version = "1.7.0"

[dev-dependencies.rmcp]
version = "1.0.0"
features = [
    "server",
    "base64",
    "macros",
    "transport-streamable-http-server",
    "transport-streamable-http-server-session",
    "transport-worker",
    "server",
    "transport-streamable-http-server",
]
default-features = false

[dev-dependencies.tokio-util]
version = "0.7"
