stdio2http 0.3.1

MCP stdio -> Streamable HTTP proxy
Documentation
# 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"
rust-version = "1.99"
name = "stdio2http"
version = "0.3.1"
build = false
exclude = [".beads/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP stdio -> Streamable HTTP proxy"
documentation = "https://docs.rs/stdio2http"
readme = "README.md"
keywords = [
    "http",
    "mcp",
    "proxy",
]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mimi1vx/stdio2http"

[features]
acme = ["dep:instant-acme"]

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.axum-server]
version = "0.9"
features = ["tls-rustls-no-provider"]

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

[dependencies.http]
version = "1"

[dependencies.instant-acme]
version = "0.8"
features = [
    "hyper-rustls",
    "rcgen",
    "ring",
]
optional = true
default-features = false

[dependencies.rmcp]
version = "3.10"
features = [
    "client",
    "server",
    "transport-child-process",
    "transport-streamable-http-server",
    "transport-streamable-http-server-session",
]
default-features = false

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.subtle]
version = "2.6"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "process",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

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

[dependencies.tower-http]
version = "0.7"
features = ["cors"]

[dependencies.tracing]
version = "0.1"

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

[dependencies.x509-parser]
version = "0.18"

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

[dev-dependencies.rcgen]
version = "0.14"

[dev-dependencies.reqwest]
version = "0.13"
features = ["json"]
default-features = false

[dev-dependencies.rmcp]
version = "3.10"
features = [
    "client",
    "transport-streamable-http-client-reqwest",
]
default-features = false

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

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

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"

[profile.release]
lto = "thin"
codegen-units = 1
strip = true