chore: Pin rmcp commit (#5014)
This commit is contained in:
parent
3dea599b9a
commit
16514050b9
@ -33,11 +33,12 @@ tauri-plugin-store = "2"
|
|||||||
hyper = { version = "0.14", features = ["server"] }
|
hyper = { version = "0.14", features = ["server"] }
|
||||||
reqwest = { version = "0.11", features = ["json", "blocking", "stream"] }
|
reqwest = { version = "0.11", features = ["json", "blocking", "stream"] }
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", branch = "main", features = [
|
rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", rev = "c1c4c9a0c9afbfbbf9eb42d6f8b00d8546fbdc2c", features = [
|
||||||
"client",
|
"client",
|
||||||
"transport-sse",
|
"transport-sse-client",
|
||||||
"transport-child-process",
|
"transport-child-process",
|
||||||
"tower",
|
"tower",
|
||||||
|
"reqwest",
|
||||||
] }
|
] }
|
||||||
uuid = { version = "1.7", features = ["v4"] }
|
uuid = { version = "1.7", features = ["v4"] }
|
||||||
env = "1.0.1"
|
env = "1.0.1"
|
||||||
|
|||||||
@ -63,7 +63,7 @@ pub async fn run_mcp_commands(
|
|||||||
});
|
});
|
||||||
|
|
||||||
let service =
|
let service =
|
||||||
().serve(TokioChildProcess::new(&mut cmd).map_err(|e| e.to_string())?)
|
().serve(TokioChildProcess::new(cmd).map_err(|e| e.to_string())?)
|
||||||
.await
|
.await
|
||||||
.map_err(|e| e.to_string())?;
|
.map_err(|e| e.to_string())?;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user