-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (85 loc) · 2.95 KB
/
Cargo.toml
File metadata and controls
93 lines (85 loc) · 2.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[workspace]
members = ["document-parser", "fastembed", "mcp-common", "mcp-proxy", "mcp-sse-proxy", "mcp-streamable-proxy", "oss-client", "voice-cli"]
resolver = "2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace.dependencies]
mcp-proxy = { path = "mcp-proxy" }
oss-client = { path = "oss-client" }
# Note: rmcp 依赖由各子项目独立管理(mcp-sse-proxy 用 0.10,mcp-streamable-proxy 用 0.12)
tokio = { version = "1.48", features = ["macros", "net", "rt", "rt-multi-thread"] }
tokio-util = "0.7"
# Logging and tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
tracing-opentelemetry = "0.32"
opentelemetry = { version = "0.31", features = ["trace"] }
opentelemetry-jaeger = { version = "0.22", features = ["rt-tokio"] }
opentelemetry-semantic-conventions = { version = "0.31", features = ["semconv_experimental"] }
opentelemetry_sdk = "0.31"
opentelemetry-otlp = { version = "0.31", features = ["grpc-tonic"] }
tonic = "0.13"
hostname = "0.4"
uuid = { version = "1.19", features = ["v4", "v7"] }
rand = "0.9"
log = "0.4"
anyhow = "1.0"
chrono = { version = "0.4", features = ["serde", "now"] }
thiserror = "2.0"
axum = { version = "0.8", features = [
"http2",
"query",
"tracing",
"ws",
"multipart",
"macros",
] }
tower = { version = "0.5" }
tower-http = { version = "0.6", features = [
"compression-full",
"cors",
"fs",
"trace",
"limit",
] }
axum-extra = { version = "0.12", features = ["typed-header"] }
utoipa = { version = "5.4", features = ["axum_extras", "chrono", "uuid"] }
utoipa-rapidoc = { version = "6", features = ["axum"] }
utoipa-redoc = { version = "6", features = ["axum"] }
utoipa-swagger-ui = { version = "9", features = ["axum"] }
dashmap = "6.1"
arc-swap = "1.7"
moka = { version = "0.12", features = ["future"] }
criterion = "0.7"
once_cell = "1.21"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "=0.9.33"
serde_with = "3.12"
reqwest = { version = "0.12", features = ["json"] }
http = "1.4"
aliyun-oss-rust-sdk = { version = "0.2", default-features = false, features = ["async"] }
clap = { version = "4.5", features = ["derive", "env"] }
futures = "0.3"
run_code_rmcp = "0.0.35"
derive_builder = "0.20"
bytes = "1.0"
base64 = "0.22"
tempfile = "3.23"
dirs = "6.0"
scopeguard = "1.2"
async-trait = "0.1"
# 自己开发的语音相关工具
voice-toolkit = { version = "0.16", features = ["stt", "audio"] }
# Task queue and persistence for async processing
apalis = { version = "0.7", features = ["tracing", "limit"] }
apalis-sql = { version = "0.7", features = ["sqlite"] }
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "sqlite", "chrono", "uuid"] }
sled = "0.34"
# Audio format detection and processing
symphonia = { version = "0.5", features = ["all"] }
bincode = "2.0"
tokio-stream = "0.1.18"
backtrace = "0.3"
tracing-futures = "0.2.5"
urlencoding = "2.1.3"