@@ -18,7 +18,6 @@ serde_json = "1.0"
1818thiserror = " 2"
1919chrono = { version = " 0.4.38" , features = [" serde" ] }
2020tokio = { version = " 1" , features = [" sync" , " macros" , " rt" , " time" ] }
21- process-wrap = { version = " 8.2" , features = [" tokio1" ] }
2221futures = " 0.3"
2322tracing = { version = " 0.1" }
2423tokio-util = { version = " 0.7" }
@@ -46,6 +45,8 @@ url = { version = "2.4", optional = true }
4645# For tower compatibility
4746tower-service = { version = " 0.3" , optional = true }
4847
48+ # for child process transport
49+ process-wrap = { version = " 8.2" , features = [" tokio1" ], optional = true }
4950
5051# for ws transport
5152# tokio-tungstenite ={ version = "0.26", optional = true }
@@ -66,7 +67,11 @@ macros = ["dep:rmcp-macros", "dep:paste"]
6667transport-sse = [" dep:reqwest" , " dep:sse-stream" , " dep:url" ]
6768transport-async-rw = [" tokio/io-util" , " tokio-util/codec" ]
6869transport-io = [" transport-async-rw" , " tokio/io-std" ]
69- transport-child-process = [" transport-async-rw" , " tokio/process" ]
70+ transport-child-process = [
71+ " transport-async-rw" ,
72+ " tokio/process" ,
73+ " dep:process-wrap" ,
74+ ]
7075transport-sse-server = [
7176 " transport-async-rw" ,
7277 " dep:axum" ,
0 commit comments