codelens-mcp 1.9.45

Harness-native Rust MCP server for code intelligence with generated surface governance, hybrid retrieval, and mutation-gated workflows
# 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 = "codelens-mcp"
version = "1.9.45"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Harness-native Rust MCP server for code intelligence with generated surface governance, hybrid retrieval, and mutation-gated workflows"
homepage = "https://github.com/mupozg823/codelens-mcp-plugin"
readme = "README.md"
keywords = [
    "mcp",
    "code-intelligence",
    "tree-sitter",
    "lsp",
    "ai",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/mupozg823/codelens-mcp-plugin"
resolver = "2"

[features]
default = ["semantic"]
http = [
    "dep:axum",
    "dep:tokio",
    "dep:uuid",
    "dep:tokio-stream",
]
model-bakeoff = [
    "semantic",
    "codelens-engine/model-bakeoff",
]
otel = [
    "dep:opentelemetry",
    "dep:opentelemetry_sdk",
    "dep:opentelemetry-otlp",
    "dep:tracing-opentelemetry",
    "dep:tokio",
]
scip-backend = ["codelens-engine/scip-backend"]
semantic = ["codelens-engine/semantic"]

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.codelens-engine]
version = "=1.9.45"

[dependencies.opentelemetry]
version = "0.28"
features = ["trace"]
optional = true
default-features = false

[dependencies.opentelemetry-otlp]
version = "0.28"
features = [
    "trace",
    "grpc-tonic",
]
optional = true
default-features = false

[dependencies.opentelemetry_sdk]
version = "0.28"
features = [
    "trace",
    "rt-tokio",
]
optional = true
default-features = false

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "sync",
    "time",
]
optional = true

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-opentelemetry]
version = "0.29"
optional = true

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

[dependencies.uuid]
version = "1"
features = ["v4"]
optional = true

[dev-dependencies.http-body-util]
version = "0.1"

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

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