[package]
name = "mcp_backend"
version = "0.1.0"
edition = "2021"

[dependencies]
tokio = { version = "1.35", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
anyhow = "1.0"
futures = "0.3"
axum = { version = "0.7", optional = true }
hyper = { version = "1.0", optional = true }
tower = { version = "0.4", optional = true }
http-body-util = { version = "0.1", optional = true }

[features]
default = []
http_server = ["axum", "hyper", "tower", "http-body-util"]