forked from hongkongkiwi/docx-mcp
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
81 lines (63 loc) · 1.73 KB
/
Cargo.toml
File metadata and controls
81 lines (63 loc) · 1.73 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
[workspace]
resolver = "2"
members = [
"crates/docx-storage-core",
"crates/docx-storage-local",
"crates/docx-storage-cloudflare",
"crates/docx-storage-gdrive",
"crates/docx-mcp-sse-proxy",
]
[workspace.package]
version = "1.6.0"
edition = "2021"
rust-version = "1.85"
license = "MIT"
[workspace.dependencies]
# gRPC
tonic = "0.13"
prost = "0.13"
prost-types = "0.13"
# Async runtime
tokio = { version = "1", features = ["full", "signal"] }
tokio-stream = { version = "0.1", features = ["net"] }
# Web framework (for proxy)
axum = { version = "0.8", features = ["macros"] }
hyper = { version = "1", features = ["server", "http1", "http2"] }
hyper-util = { version = "0.1", features = ["tokio", "server-auto", "http1", "http2"] }
tower = { version = "0.5", features = ["util"] }
tower-http = { version = "0.6", features = ["cors", "trace"] }
# HTTP client
reqwest = { version = "0.12", features = ["json", "rustls-tls"] }
# S3/R2
aws-sdk-s3 = "1"
aws-config = "1"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Error handling
thiserror = "2"
anyhow = "1"
# Async utilities
async-trait = "0.1"
futures = "0.3"
# Time
chrono = { version = "0.4", features = ["serde"] }
# CLI
clap = { version = "4", features = ["derive", "env"] }
# Cache (for proxy)
moka = { version = "0.12", features = ["future"] }
# Crypto
sha2 = "0.10"
hex = "0.4"
# Testing
tempfile = "3"
[workspace.lints.rust]
# Using "deny" instead of "forbid" to allow local #[allow(unsafe_code)]
# for specific safe patterns like libc::kill(pid, 0) for process checking
unsafe_code = "deny"
warnings = "deny"
[workspace.lints.clippy]
all = "warn"