codeitlikemiley/cargo-runner — explained in plain English
Analysis updated 2026-07-19 · repo last pushed 2025-06-12
Run or debug a single Rust function or test directly from the editor without typing cargo commands.
Quickly enable features or set environment variables for a specific run using the command palette.
Switch between stable and nightly Rust toolchains on the fly for testing.
Use cargo-nextest as an alternative test runner for faster test execution.
| codeitlikemiley/cargo-runner | adguardteam/ruleseditor | bymilon/aether-nexus-dashboard | |
|---|---|---|---|
| Stars | 7 | 7 | 7 |
| Language | TypeScript | TypeScript | TypeScript |
| Last pushed | 2025-06-12 | 2026-07-01 | — |
| Maintenance | Stale | Active | — |
| Setup difficulty | moderate | easy | easy |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | developer | developer | vibe coder |
Figures from each repo's GitHub metadata at analysis time.
Requires both the rust-analyzer extension and the codelldb debugger extension to be installed in VS Code.
Cargo Runner is a VS Code extension that makes working with Rust code faster and more convenient. It adds clickable buttons directly above your functions, structs, and modules so you can run or debug them without typing commands in a terminal. If you write Rust in VS Code, this tool saves you from constantly switching contexts to test or execute a specific piece of code. The extension works alongside rust-analyzer, the standard Rust language support tool for VS Code. When you open a Rust file and place your cursor inside a function or test, Cargo Runner displays small "Run," "Debug," or "Run Test" buttons, called CodeLens buttons, right above that code block. You can click those buttons or use a keyboard shortcut to instantly execute whatever your cursor is on. It requires both rust-analyzer and a debugger extension called codelldb to function. Where the extension really shines is its configuration system. Rust projects often need specific settings turned on or off, like enabling certain features, targeting a specific platform, or setting environment variables. Cargo Runner lets you change these settings on the fly using a quick command palette shortcut. You can type things like "--features my-feature" to enable options, set environment variables, or even switch between stable and nightly Rust versions, all without digging through configuration files. A reset command lets you undo changes, and an append mode lets you add to existing settings rather than replacing them. This tool is built for Rust developers who spend their days in VS Code and want to reduce friction. If you are working on a web server and need to quickly run one endpoint with a database URL, or you are building a WebAssembly module and need to switch your build target, you can do it in a couple of keystrokes. It also supports cargo-nextest, a popular alternative test runner, for those who need faster test execution.
A VS Code extension for Rust developers that adds clickable Run and Debug buttons above functions and tests, with quick command-palette controls for features, environment variables, and build targets.
Mainly TypeScript. The stack also includes TypeScript, VS Code Extension API, rust-analyzer.
Stale — no commits in 1-2 years (last push 2025-06-12).
No license information is provided in the explanation, so usage rights are unclear.
Setup difficulty is rated moderate, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.