-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathCargo.toml
More file actions
123 lines (106 loc) · 3.57 KB
/
Cargo.toml
File metadata and controls
123 lines (106 loc) · 3.57 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[workspace]
members = [
"src/agent-client-protocol",
"src/agent-client-protocol-conductor",
"src/agent-client-protocol-cookbook",
"src/agent-client-protocol-core",
"src/agent-client-protocol-derive",
"src/agent-client-protocol-rmcp",
"src/agent-client-protocol-test",
"src/agent-client-protocol-tokio",
"src/agent-client-protocol-trace-viewer",
"src/yopo",
]
resolver = "3"
[workspace.package]
authors = ["Zed <hi@zed.dev>"]
edition = "2024"
license = "Apache-2.0"
repository = "https://github.com/agentclientprotocol/rust-sdk"
homepage = "https://github.com/agentclientprotocol/rust-sdk"
[workspace.dependencies]
# Internal crates
agent-client-protocol-conductor = { path = "src/agent-client-protocol-conductor", version = "0.1.0" }
agent-client-protocol-core = { path = "src/agent-client-protocol-core", version = "0.1.0" }
agent-client-protocol-derive = { path = "src/agent-client-protocol-derive", version = "0.1.0" }
agent-client-protocol-rmcp = { path = "src/agent-client-protocol-rmcp", version = "0.1.0" }
agent-client-protocol-test = { path = "src/agent-client-protocol-test", version = "0.1.0" }
agent-client-protocol-tokio = { path = "src/agent-client-protocol-tokio", version = "0.1.0" }
agent-client-protocol-trace-viewer = { path = "src/agent-client-protocol-trace-viewer", version = "0.1.0" }
yopo = { package = "agent-client-protocol-yopo", path = "src/yopo", version = "0.1.0" }
# Core async runtime
tokio = { version = "1.48", features = ["full"] }
tokio-util = { version = "0.7", features = ["compat"] }
# Protocol
agent-client-protocol-schema = { version = "=0.11.4" }
# Serialization
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = { version = "1", features = ["raw_value"] }
schemars = { version = "1.0", features = ["derive"] }
# UUID generation
uuid = { version = "1.18", features = ["v4"] }
# Error handling
anyhow = "1.0"
thiserror = "2.0"
# Logging
env_logger = "0.11"
log = "0.4"
tracing = "0.1"
tracing-appender = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# MCP SDK
rmcp = { version = "1.2.0", features = ["server", "transport-io", "schemars"] }
# CLI parsing
clap = { version = "4.5", features = ["derive"] }
# HTTP
axum = "0.8"
hyper = "1.0"
tower = "0.5"
tower-http = { version = "0.6", features = ["fs"] }
# Other dependencies
async-broadcast = "0.7"
async-stream = "0.3.6"
async-trait = "0.1"
boxfnonce = "0.1.1"
chrono = "0.4"
derive_more = { version = "2", features = ["from"] }
futures = "0.3.32"
futures-concurrency = "7.6.3"
fxhash = "0.2.1"
jsonrpcmsg = "0.1.2"
open = "5"
rustc-hash = "2.1.1"
shell-words = "1.1"
strip-ansi-escapes = "0.2"
# Proc macros
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["full", "extra-traits"] }
# Testing
expect-test = "1.5"
regex = "1.12.2"
futures-util = { version = "0.3", features = ["io"] }
piper = "0.2"
pretty_assertions = "1"
rustyline = "17"
tokio-test = "0.4"
[workspace.lints.rust]
future_incompatible = { level = "warn", priority = -1 }
let-underscore = "warn"
missing_debug_implementations = "warn"
# missing_docs = "warn"
nonstandard_style = { level = "warn", priority = -1 }
rust_2018_idioms = { level = "warn", priority = -1 }
unused = { level = "warn", priority = -1 }
[workspace.lints.clippy]
# cargo = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
needless_pass_by_value = "allow"
similar_names = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
type_complexity = "allow"
wildcard_imports = "allow"