forked from modelcontextprotocol/rust-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
106 lines (87 loc) · 1.93 KB
/
Cargo.toml
File metadata and controls
106 lines (87 loc) · 1.93 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
[workspace]
members = ["crates/rmcp", "crates/rmcp-macros", "examples/*", "conformance"]
default-members = ["crates/rmcp", "crates/rmcp-macros"]
resolver = "3"
[workspace.dependencies]
# Internal crates
rmcp = { version = "0.17.0", path = "./crates/rmcp" }
rmcp-macros = { version = "0.17.0", path = "./crates/rmcp-macros" }
# Serialization
serde = "1.0"
serde_json = "1.0"
serde_urlencoded = "0.7"
# Async runtime
tokio = "1"
tokio-util = "0.7"
tokio-stream = "0.1"
futures = "0.3"
async-trait = "0.1"
pin-project-lite = "0.2"
# Error handling
thiserror = "2"
anyhow = "1.0"
# Logging
tracing = "0.1"
tracing-subscriber = "0.3"
tracing-appender = "0.2"
# HTTP / networking
reqwest = { version = "0.13.2", default-features = false }
http = "1"
http-body = "1"
http-body-util = "0.1"
axum = { version = "0.8", default-features = false }
tower = "0.5"
tower-service = "0.3"
tower-http = "0.6"
hyper = "1"
hyper-util = "0.1"
sse-stream = "0.2"
url = "2"
# Encoding
base64 = "0.22"
bytes = "1"
# Schema
schemars = "1.2"
# Utility
rand = "0.10"
uuid = "1"
chrono = { version = "0.4.44", default-features = false }
clap = "4.5"
toml = "1.0"
# Process
process-wrap = "9.0"
# Auth
oauth2 = { version = "5.0", default-features = false }
# Proc macros
syn = "2"
quote = "1"
proc-macro2 = "1"
darling = "0.23"
pastey = "0.2.1"
# Template
askama = "0.15"
# Crypto
p256 = "0.13"
# WebSocket
tokio-tungstenite = "0.28.0"
# URL encoding
urlencoding = "2"
# WASI
wasi = "0.14.7"
# AI integration
rig-core = "0.31.0"
[workspace.package]
edition = "2024"
rust-version = "1.93"
version = "0.17.0"
authors = ["4t145 <u4t145@163.com>"]
license = "Apache-2.0"
repository = "https://github.com/modelcontextprotocol/rust-sdk/"
description = "Rust SDK for Model Context Protocol"
keywords = ["mcp", "sdk", "tokio", "modelcontextprotocol"]
homepage = "https://github.com/modelcontextprotocol/rust-sdk"
categories = [
"network-programming",
"asynchronous",
]
readme = "README.md"