# 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"
name = "catenary-mcp"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A bridge between MCP (Model Context Protocol) and LSP (Language Server Protocol)"
readme = "README.md"
keywords = [
    "mcp",
    "lsp",
    "language-server",
    "llm",
    "ai",
]
categories = ["development-tools"]
license = "GPL-3.0"
repository = "https://github.com/Mark-Wells-Dev/Catenary"

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

[[bin]]
name = "catenary"
path = "src/main.rs"

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

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.bytes]
version = "1.10"

[dependencies.clap]
version = "4.5.54"
features = ["derive"]

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

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.tracing]
version = "0.1.44"

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

[dependencies.url]
version = "2.5.8"

[dev-dependencies.cargo-husky]
version = "1"
features = [
    "run-cargo-test",
    "run-cargo-clippy",
    "run-cargo-fmt",
]
default-features = false

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