[package]
name          = "mcp-compressor-core"
version       = "0.15.0-alpha.5"
edition       = "2021"
description   = "Internal Rust core for mcp-compressor. Prefer the public mcp-compressor crate."
license       = "Apache-2.0"
repository    = "https://github.com/atlassian-labs/mcp-compressor"
homepage      = "https://atlassian-labs.github.io/mcp-compressor/"
documentation = "https://atlassian-labs.github.io/mcp-compressor/"
readme        = "../../README.md"
publish       = true

[dependencies]
serde      = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
thiserror  = "1"
rand       = "0.8"
tokio      = { version = "1", features = ["sync", "rt-multi-thread"] }
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"] }
axum       = "0.8"
libc       = "0.2"
async-trait = "0.1"
dirs = "6"
reqwest = { version = "0.13.3", default-features = false, features = ["native-tls", "stream"] }
futures = "0.3"
sse-stream = "0.2"
http = "1"
clap = { version = "4", features = ["derive"] }
open = "5.3"
toon-format = { version = "0.4.5", default-features = false }
[dev-dependencies]
# async test runtime and macros (#[tokio::test])
tokio    = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }
# temporary directories for client_gen file-generation tests
tempfile = "3"
# binary e2e contract tests
assert_cmd = "2"
predicates = "3"

[[bin]]
name = "mcp-compressor"
path = "src/main.rs"
