Skip to content

Commit 69ba51e

Browse files
BrendanGraham14bug-ops
authored andcommitted
chore(rmcp): bump rmcp-macros version to match (modelcontextprotocol#311)
1 parent 2c510e9 commit 69ba51e

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

crates/rmcp/Cargo.toml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ base64 = { version = "0.22", optional = true }
3535

3636
# for SSE client
3737
reqwest = { version = "0.12", default-features = false, features = [
38-
"json",
39-
"stream",
38+
"json",
39+
"stream",
4040
], optional = true }
4141

4242
sse-stream = { version = "0.2", optional = true }
@@ -62,7 +62,7 @@ http-body = { version = "1", optional = true }
6262
http-body-util = { version = "0.1", optional = true }
6363
bytes = { version = "1", optional = true }
6464
# macro
65-
rmcp-macros = { version = "0.1", workspace = true, optional = true }
65+
rmcp-macros = { version = "0.2.1", workspace = true, optional = true }
6666
[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies]
6767
chrono = { version = "0.4.38", features = ["serde"] }
6868

@@ -94,15 +94,15 @@ reqwest = ["__reqwest", "reqwest?/rustls-tls"]
9494
reqwest-tls-no-provider = ["__reqwest", "reqwest?/rustls-tls-no-provider"]
9595

9696
server-side-http = [
97-
"uuid",
98-
"dep:rand",
99-
"dep:tokio-stream",
100-
"dep:http",
101-
"dep:http-body",
102-
"dep:http-body-util",
103-
"dep:bytes",
104-
"dep:sse-stream",
105-
"tower",
97+
"uuid",
98+
"dep:rand",
99+
"dep:tokio-stream",
100+
"dep:http",
101+
"dep:http-body",
102+
"dep:http-body-util",
103+
"dep:bytes",
104+
"dep:sse-stream",
105+
"tower",
106106
]
107107
# SSE client
108108
client-side-sse = ["dep:sse-stream", "dep:http"]
@@ -119,23 +119,23 @@ transport-streamable-http-client = ["client-side-sse", "transport-worker"]
119119
transport-async-rw = ["tokio/io-util", "tokio-util/codec"]
120120
transport-io = ["transport-async-rw", "tokio/io-std"]
121121
transport-child-process = [
122-
"transport-async-rw",
123-
"tokio/process",
124-
"dep:process-wrap",
122+
"transport-async-rw",
123+
"tokio/process",
124+
"dep:process-wrap",
125125
]
126126
transport-sse-server = [
127-
"transport-async-rw",
128-
"transport-worker",
129-
"server-side-http",
130-
"dep:axum",
127+
"transport-async-rw",
128+
"transport-worker",
129+
"server-side-http",
130+
"dep:axum",
131131
]
132132
transport-streamable-http-server = [
133-
"transport-streamable-http-server-session",
134-
"server-side-http",
133+
"transport-streamable-http-server-session",
134+
"server-side-http",
135135
]
136136
transport-streamable-http-server-session = [
137-
"transport-async-rw",
138-
"dep:tokio-stream",
137+
"transport-async-rw",
138+
"dep:tokio-stream",
139139
]
140140
# transport-ws = ["transport-io", "dep:tokio-tungstenite"]
141141
tower = ["dep:tower-service"]
@@ -148,9 +148,9 @@ schemars = { version = "0.8" }
148148

149149
anyhow = "1.0"
150150
tracing-subscriber = { version = "0.3", features = [
151-
"env-filter",
152-
"std",
153-
"fmt",
151+
"env-filter",
152+
"std",
153+
"fmt",
154154
] }
155155
async-trait = "0.1"
156156
[[test]]
@@ -161,25 +161,25 @@ path = "tests/test_tool_macros.rs"
161161
[[test]]
162162
name = "test_with_python"
163163
required-features = [
164-
"reqwest",
165-
"server",
166-
"client",
167-
"transport-sse-server",
168-
"transport-sse-client",
169-
"transport-child-process",
164+
"reqwest",
165+
"server",
166+
"client",
167+
"transport-sse-server",
168+
"transport-sse-client",
169+
"transport-child-process",
170170
]
171171
path = "tests/test_with_python.rs"
172172

173173
[[test]]
174174
name = "test_with_js"
175175
required-features = [
176-
"server",
177-
"client",
178-
"transport-sse-server",
179-
"transport-child-process",
180-
"transport-streamable-http-server",
181-
"transport-streamable-http-client",
182-
"__reqwest",
176+
"server",
177+
"client",
178+
"transport-sse-server",
179+
"transport-child-process",
180+
"transport-streamable-http-server",
181+
"transport-streamable-http-client",
182+
"__reqwest",
183183
]
184184
path = "tests/test_with_js.rs"
185185

0 commit comments

Comments
 (0)