fix(cli): add io-std to workspace tokio features#407
Open
namesreallyblank wants to merge 1 commit intoruvnet:mainfrom
Open
fix(cli): add io-std to workspace tokio features#407namesreallyblank wants to merge 1 commit intoruvnet:mainfrom
namesreallyblank wants to merge 1 commit intoruvnet:mainfrom
Conversation
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).
This was referenced Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
io-stdto the workspacetokiofeatures in the rootCargo.toml. Theruvector-cliMCP transport (crates/ruvector-cli/src/mcp/transport.rs, lines 30-31) callstokio::io::stdin()andtokio::io::stdout(), but the workspacetokiodependency omits theio-stdfeature. Becauseruvector-cliinheritstokioviaworkspace = true, the binary cannot be built from a clean workspace:Why workspace-level
Adding
io-stdat the workspace tier resolves the regression for every consumer at once with no per-crate overrides. This is the scope @ruvnet recommended in the review of #406.Verification
cargo build --release -p ruvector-cli --bin ruvector-mcpnow finishes cleanly on macOS aarch64 (release profile).Context
This is the standalone
io-stdfix per @ruvnet's request to split #406. The release-workflow rework from that PR will land separately as a follow-up.