[package]
edition = "2024"
rust-version = "1.93"
name = "cratedex"
version = "0.5.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server for Rust documentation indexing, full-text search, and project diagnostics"
readme = "README.md"
keywords = [
"mcp",
"rust",
"documentation",
"diagnostics",
"cargo",
]
categories = [
"development-tools",
"command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/0xCarbon/cratedex"
[lib]
name = "cratedex"
path = "src/lib.rs"
[[bin]]
name = "cratedex"
path = "src/main.rs"
[dependencies.anyhow]
version = "1.0.100"
[dependencies.axum]
version = "0.8.8"
[dependencies.cargo_metadata]
version = "0.23.1"
[dependencies.clap]
version = "4.5.56"
features = ["derive"]
[dependencies.config]
version = "0.15.19"
features = ["toml"]
[dependencies.dirs]
version = "6.0.0"
[dependencies.futures]
version = "0.3.31"
[dependencies.governor]
version = "0.10.1"
[dependencies.notify]
version = "8.2.0"
[dependencies.rmcp]
version = "0.15"
features = [
"transport-io",
"transport-streamable-http-server",
]
[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
[dependencies.rustdoc-types]
version = "0.57.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
features = ["unbounded_depth"]
[dependencies.serde_stacker]
version = "0.1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.49.0"
features = ["full"]
[dependencies.tower]
version = "0.5.2"
features = ["limit"]
[dependencies.tower-http]
version = "0.6.2"
features = [
"auth",
"limit",
]
[dependencies.tracing]
version = "0.1.44"
[dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]
[dev-dependencies.serial_test]
version = "3.3.1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
branches_sharing_code = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
format_push_string = "allow"
if_not_else = "allow"
implicit_clone = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
redundant_closure_for_method_calls = "allow"
redundant_pub_crate = "allow"
ref_option = "allow"
significant_drop_tightening = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"