Skip to content

Commit da7f442

Browse files
committed
make hyper optional
1 parent 8817d3f commit da7f442

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/rust-mcp-sdk/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ axum-server = { version = "0.7", features = [], optional = true }
2929
tracing.workspace = true
3030

3131
# rustls = { workspace = true, optional = true }
32-
hyper = { version = "1.6.0" }
32+
hyper = { version = "1.6.0", optional = true }
3333

3434
[dev-dependencies]
3535
reqwest = { workspace = true, default-features = false, features = [
@@ -59,6 +59,7 @@ client = ["rust-mcp-transport/stdio", "rust-mcp-transport/sse"] # Client feature
5959
hyper-server = [
6060
"axum",
6161
"axum-server",
62+
"hyper",
6263
"uuid",
6364
"tokio-stream",
6465
"rust-mcp-transport/sse",

0 commit comments

Comments
 (0)