# 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 = "2021"
name = "pathfinder-mcp"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pathfinder — The Headless IDE MCP Server for AI Coding Agents"
homepage = "https://github.com/irahardianto/pathfinder"
documentation = "https://docs.rs/pathfinder-mcp"
readme = "README.md"
keywords = [
    "mcp",
    "ai",
    "lsp",
    "code-intelligence",
    "ide",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/irahardianto/pathfinder"

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.futures]
version = "0.3"

[dependencies.pathfinder-common]
version = "0.3.0"
package = "pathfinder-mcp-common"

[dependencies.pathfinder-lsp]
version = "0.4.0"
package = "pathfinder-mcp-lsp"

[dependencies.pathfinder-search]
version = "0.2.5"
package = "pathfinder-mcp-search"

[dependencies.pathfinder-treesitter]
version = "0.4.2"
package = "pathfinder-mcp-treesitter"

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

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.tracing]
version = "0.1"

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

[dependencies.url]
version = "2.5.8"

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

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

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

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

[lints.rust]
unsafe_code = "deny"
