From d2213c830f0cc8f16e9d8b7a59cae1073b68127f Mon Sep 17 00:00:00 2001 From: blaenkey Date: Tue, 28 Apr 2026 16:10:34 -0400 Subject: [PATCH] fix(cli): add io-std to workspace tokio features The ruvector-cli MCP transport (crates/ruvector-cli/src/mcp/transport.rs) calls tokio::io::stdin() and tokio::io::stdout() at lines 30-31, but the workspace tokio dependency in the root Cargo.toml omits the `io-std` feature. Because ruvector-cli inherits tokio via `workspace = true`, the binary cannot be built from a clean workspace: cargo build --release -p ruvector-cli --bin ruvector-mcp error[E0425]: cannot find function `stdin` in module `tokio::io` error[E0425]: cannot find function `stdout` in module `tokio::io` Adding `io-std` to the workspace tokio features resolves the regression for every consumer at once (no per-crate overrides needed). Verified: `cargo build --release -p ruvector-cli --bin ruvector-mcp` now finishes cleanly on macOS aarch64 (release profile). --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d529f6c41..4497403ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -247,7 +247,7 @@ web-sys = { version = "0.3", features = ["Worker", "MessagePort", "console"] } getrandom = { version = "0.3", features = ["wasm_js"] } # Async runtime -tokio = { version = "1.41", features = ["rt-multi-thread", "sync", "macros"] } +tokio = { version = "1.41", features = ["rt-multi-thread", "sync", "macros", "io-std"] } futures = "0.3" # Error handling and utilities