mcpls-core 0.3.7

Core library for MCP to LSP protocol translation
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.88"
name = "mcpls-core"
version = "0.3.7"
authors = ["Andrei G. <k05h31@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for MCP to LSP protocol translation"
readme = "README.md"
keywords = [
    "mcp",
    "lsp",
    "language-server",
    "protocol",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bug-ops/mcpls"
resolver = "2"

[features]
default = []
transport-http = [
    "rmcp/transport-streamable-http-server",
    "dep:axum",
    "dep:tokio-util",
]

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

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

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

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

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.chrono]
version = "0.4.45"

[dependencies.dirs]
version = "6.0"

[dependencies.futures]
version = "0.3"

[dependencies.ignore]
version = "0.4"

[dependencies.lsp-types]
version = "0.97"

[dependencies.rmcp]
version = "1.8.0"
features = [
    "server",
    "transport-io",
    "macros",
]

[dependencies.schemars]
version = "1.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.52"
features = ["full"]

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

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.rstest]
version = "0.26"

[dev-dependencies.tempfile]
version = "3.27"

[dev-dependencies.tokio]
version = "1.52"
features = ["test-util"]

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

[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"

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

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

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"