[package]
edition = "2021"
name = "mcp-compressor-core"
version = "0.0.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal Rust core for mcp-compressor. Prefer the public mcp-compressor crate."
homepage = "https://atlassian-labs.github.io/mcp-compressor/"
documentation = "https://atlassian-labs.github.io/mcp-compressor/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/atlassian-labs/mcp-compressor"
[lib]
name = "mcp_compressor_core"
path = "src/lib.rs"
[[bin]]
name = "mcp-compressor"
path = "src/main.rs"
[[test]]
name = "cli_binary"
path = "tests/cli_binary.rs"
[[test]]
name = "compressed_server_stdio"
path = "tests/compressed_server_stdio.rs"
[[test]]
name = "compression_levels"
path = "tests/compression_levels.rs"
[[test]]
name = "config_sources"
path = "tests/config_sources.rs"
[[test]]
name = "generated_clients"
path = "tests/generated_clients.rs"
[[test]]
name = "multi_server"
path = "tests/multi_server.rs"
[[test]]
name = "proxy_http"
path = "tests/proxy_http.rs"
[[test]]
name = "transform_modes"
path = "tests/transform_modes.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.dirs]
version = "6"
[dependencies.futures]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.libc]
version = "0.2"
[dependencies.open]
version = "5.3"
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.13.3"
features = [
"native-tls",
"stream",
]
default-features = false
[dependencies.rmcp]
version = "1.6.0"
features = [
"client",
"server",
"transport-child-process",
"transport-io",
"transport-streamable-http-server",
"transport-streamable-http-client-reqwest",
"reqwest-native-tls",
"auth",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.sse-stream]
version = "0.2"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"sync",
"rt-multi-thread",
]
[dependencies.toon-format]
version = "0.4.5"
default-features = false
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
]