# 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.86.0"
name = "plug-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for plug MCP multiplexer"
homepage = "https://github.com/cyberpapiii/plug"
readme = false
license = "Apache-2.0"
repository = "https://github.com/cyberpapiii/plug"
resolver = "2"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.arc-swap]
version = "1.8"

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"

[dependencies.backon]
version = "1.6"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.dashmap]
version = "6.1"

[dependencies.directories]
version = "6"

[dependencies.dirs]
version = "6"

[dependencies.figment]
version = "0.10"
features = [
    "toml",
    "env",
]

[dependencies.fs2]
version = "0.4"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1"

[dependencies.keyring]
version = "3"
features = [
    "apple-native",
    "linux-native",
]

[dependencies.notify]
version = "8"

[dependencies.notify-debouncer-mini]
version = "0.7"

[dependencies.oauth2]
version = "5"

[dependencies.rand]
version = "0.8"

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

[dependencies.rmcp]
version = "1.7.0"
features = [
    "client",
    "server",
    "macros",
    "schemars",
    "transport-io",
    "transport-child-process",
    "transport-streamable-http-client",
    "transport-streamable-http-client-reqwest",
    "transport-streamable-http-server",
    "server-side-http",
    "reqwest-tls-no-provider",
    "elicitation",
    "auth",
]

[dependencies.rustls]
version = "0.23"
features = [
    "std",
    "ring",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_norway]
version = "0.9.42"

[dependencies.sse-stream]
version = "0.2"

[dependencies.subtle]
version = "2.6"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-stream]
version = "0.1"

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

[dependencies.toml]
version = "0.8"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "limit",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

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

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