Create Cargo.toml
Browse files- Cargo.toml +54 -0
Cargo.toml
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "rust-mcp-search"
|
| 3 |
+
version = "0.1.0"
|
| 4 |
+
edition = "2021"
|
| 5 |
+
authors = ["Ultra-Performance MCP Team"]
|
| 6 |
+
description = "Production-grade MCP server for heavy document parsing and Tantivy full-text search"
|
| 7 |
+
|
| 8 |
+
[dependencies]
|
| 9 |
+
# Async Runtime & Concurrency
|
| 10 |
+
tokio = { version = "1.39", features = ["full"] }
|
| 11 |
+
rayon = "1.10"
|
| 12 |
+
futures = "0.3"
|
| 13 |
+
tokio-stream = "0.1"
|
| 14 |
+
|
| 15 |
+
# Indexing & Search
|
| 16 |
+
tantivy = "0.22"
|
| 17 |
+
|
| 18 |
+
# File Processing & Zero-Copy I/O
|
| 19 |
+
memmap2 = "0.9"
|
| 20 |
+
walkdir = "2.5"
|
| 21 |
+
csv = "1.3"
|
| 22 |
+
zip = { version = "2.2", default-features = false, features = ["deflate"] }
|
| 23 |
+
quick-xml = "0.36"
|
| 24 |
+
pdf-extract = "0.7"
|
| 25 |
+
|
| 26 |
+
# Web / Transports
|
| 27 |
+
axum = { version = "0.7", features = ["tokio", "macros"] }
|
| 28 |
+
tower = { version = "0.4", features = ["util"] }
|
| 29 |
+
tower-http = { version = "0.5", features = ["cors", "trace"] }
|
| 30 |
+
|
| 31 |
+
# Serialization & RPC
|
| 32 |
+
serde = { version = "1.0", features = ["derive"] }
|
| 33 |
+
serde_json = "1.0"
|
| 34 |
+
|
| 35 |
+
# CLI & Environment
|
| 36 |
+
clap = { version = "4.5", features = ["derive", "env"] }
|
| 37 |
+
|
| 38 |
+
# Error Handling & Utilities
|
| 39 |
+
thiserror = "1.0"
|
| 40 |
+
anyhow = "1.0"
|
| 41 |
+
dashmap = "6.0"
|
| 42 |
+
chrono = { version = "0.4", features = ["serde"] }
|
| 43 |
+
uuid = { version = "1.10", features = ["v4"] }
|
| 44 |
+
|
| 45 |
+
# Logging (stderr-safe for STDIO MCP)
|
| 46 |
+
tracing = "0.1"
|
| 47 |
+
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
| 48 |
+
|
| 49 |
+
[profile.release]
|
| 50 |
+
opt-level = 3
|
| 51 |
+
lto = "fat"
|
| 52 |
+
codegen-units = 1
|
| 53 |
+
panic = "abort"
|
| 54 |
+
strip = true
|