Toolchain & Version Management

2

Installing, switching, and managing Rust toolchains and components.

Tool Notes Downloads Stars Updated Status
cargo-binstall cargo-bins/cargo-binstall v1.19.1 GPL-3.0-only by Félix Saparelli, ryan, Jiahao XU, Binstall

Installs Rust binaries from pre-built GitHub release artifacts instead of compiling from source, turning a multi-minute cargo install into a download. Falls back to building from source when no prebuilt binary is published.

Reach for it in CI and on dev machines to install tools fast. Skip it if you need a build from source for provenance/audit reasons, or for crates that ship no release binaries (where it gains you nothing over cargo install).

alternatives cargo-installcargo-quickinstall

100.4k 2.7k 6d ago Maintained
rustup rust-lang/rustup Apache-2.0

The official Rust toolchain installer and version manager. Installs and switches between stable, beta, and nightly toolchains, manages components (clippy, rustfmt, rust-src) and cross-compilation targets, and pins a per-project toolchain via rust-toolchain.toml.

Effectively mandatory: almost every other tool here assumes a rustup-managed toolchain. The only time you'd skip it is a fully pinned distro/Nix or CI image that provisions toolchains some other way.

alternatives rustup-toolchain-install-masterNix (oxalica/rust-overlay)

6.9k 1d ago Maintained

Build & Compilation

2

Speeding up, caching, and customizing the build itself.

Tool Notes Downloads Stars Updated Status
cargo-chef LukeMathWalker/cargo-chef v0.1.77 Apache-2.0 OR MIT by Luca Palmieri

Speeds up Docker builds by caching your dependency compilation as a separate, stable image layer. It computes a recipe.json from your manifests, cooks the dependencies once, and only rebuilds them when Cargo.toml/Cargo.lock change — so editing application code no longer recompiles the whole tree.

Specifically a Docker/CI optimization. It does nothing for local cargo build, and outside containerized builds you want sccache or plain incremental builds instead.

alternatives sccacheDocker BuildKit cache mounts

622.3k 2.6k 1mo ago Maintained
sccache mozilla/sccache v0.15.0 Apache-2.0 by Ted Mielczarek, Bernhard Schuster, Igor Matuszewski, Mike Hommey, Sylvestre Ledru

A compiler cache (think ccache for Rust) that caches compilation artifacts locally or in shared storage (S3, GCS, Redis, memcached). Set it as your RUSTC_WRAPPER to share build outputs across branches, machines, and CI runs.

Big wins on CI and large teams. Less useful for a single dev with a warm local target/ (incremental compilation already covers you), and shared caches add network/storage setup you may not want for small projects.

alternatives Cargo incremental compilationcargo-chef (Docker layer caching)

108.3k 7.3k today Maintained

Cargo Extensions

2

General-purpose cargo subcommands that smooth day-to-day workflows.

Tool Notes Downloads Stars Updated Status
cargo-edit killercup/cargo-edit v0.13.11 Apache-2.0 OR MIT by Pascal Hertleif, Ed Page, Benjamin Gill, ordian

Adds dependency-editing subcommands to Cargo. cargo add and cargo rm are now built into Cargo itself, but cargo-edit still provides cargo upgrade (bump dependencies in Cargo.toml to the latest compatible — or --incompatible — versions) and cargo set-version.

Mostly you only need it today for cargo upgrade. If you just want to add or remove a dependency, use the built-in cargo add/cargo remove and skip this.

alternatives cargo add (built-in)cargo-upgradescargo-set-version

542.0k 3.4k 1w ago Maintained
cargo-watch watchexec/cargo-watch v8.5.3 CC0-1.0 by Félix Saparelli, maintainers

Watches your source tree and re-runs a cargo command (check, test, run) on every change. It was the de-facto Rust file-watcher for years.

Deprecated: the project is archived and no longer maintained. For a Rust-aware watch loop with a clean rendered TUI use bacon; for a general-purpose, language-agnostic watcher use watchexec (which now absorbs cargo-watch's maintainers). Don't start new projects on cargo-watch.

use instead baconwatchexec

155.2k 2.9k 1y ago Deprecated

Dependency Management

5

Inspecting, updating, auditing, and pruning your dependency tree.

Tool Notes Downloads Stars Updated Status
cargo-machete bnjbvr/cargo-machete v0.9.2 MIT by Benjamin Bouvier

Finds dependencies declared in Cargo.toml that are never used, by scanning source files for references to each crate. It runs on stable Rust without compiling the project, which makes it fast enough for CI gates and large workspaces.

Because the analysis is heuristic (text-based), it can produce false positives for crates used only via macros or re-exports; mark those with ignored = [...] under [package.metadata.cargo-machete]. For a precise but slower, nightly-only check, use cargo-udeps.

alternatives cargo-udeps

361.7k 1.3k 1d ago Maintained
cargo-udeps est31/cargo-udeps v0.1.61 MIT OR Apache-2.0 by est31

Finds unused dependencies by inspecting actual compiler output, so it knows which crates were genuinely linked rather than guessing from source text. This makes it more accurate than heuristic scanners, catching cases that pure text analysis misses and avoiding some false positives.

The tradeoff is that it requires a nightly toolchain and a full build, so it is slower. If you want a stable, fast check for everyday CI, prefer cargo-machete and keep cargo-udeps for periodic deep audits.

alternatives cargo-machete

104.8k 2.1k 1mo ago Maintained
cargo-outdated kbknapp/cargo-outdated v0.19.0 MIT by Kevin K.

Displays a table of dependencies that have newer versions available, comparing what is resolved in Cargo.lock against the latest releases on crates.io. It distinguishes between updates allowed by your current version requirements and those that need a manual Cargo.toml bump (SemVer-incompatible).

Run cargo outdated -R to limit the report to root dependencies. It only reports and never edits your manifest, so reach for cargo upgrade (from cargo-edit) when you actually want to apply the bumps.

alternatives cargo-upgradescargo-edit

72.3k 1.4k 3d ago Maintained
cargo-upgrades gitlab.com/kornelski/cargo-upgrades v3.1.0 GPL-3.0+ by Kornel

Checks which dependencies can be upgraded to newer SemVer-incompatible versions, accounting for the whole dependency graph so it only suggests upgrades that can actually resolve. This avoids the false positives you get from naively comparing against the latest crates.io release.

Use it as a sanity check before bumping version requirements. It reports only; pair it with cargo upgrade from cargo-edit to apply changes. Overlaps heavily with cargo-outdated, so most projects need just one.

alternatives cargo-outdatedcargo-edit

3.8k 17 3w ago Maintained
cargo-tree sfackler/cargo-tree v0.29.0 MIT OR Apache-2.0 by Steven Fackler

ARCHIVED. This standalone subcommand visualized the dependency graph as a tree and helped track down where a transitive crate or duplicate version came from. Its functionality was upstreamed into Cargo itself starting with Rust 1.44.

Do not install this crate anymore: run the built-in cargo tree instead, which is maintained, supports -i/--invert to find who pulls in a package, and -d to show duplicate versions. The external repository is no longer developed.

use instead cargo tree (built-in)

13.7k 531 6y ago Deprecated

Testing & Coverage

6

Test runners, coverage, property testing, fuzzing, and snapshots.

Tool Notes Downloads Stars Updated Status
proptest proptest-rs/proptest v1.11.0 MIT OR Apache-2.0 by Mazdak Farrokhzad, Jason Lingle, publish

A property-based testing library: instead of hand-writing example inputs, you describe properties that should hold for all inputs and let proptest generate many cases. When a case fails it automatically shrinks the input to a minimal failing example and persists it to a regression file so failures stay reproducible.

Its Strategy-based generators compose well for structured and constrained data, going beyond simple type-driven generation. Compared to quickcheck, it is more flexible but more verbose; reach for quickcheck when you want a lighter, type-directed approach.

alternatives quickcheck

33.1M 2.2k 1w ago Maintained
insta mitsuhiko/insta v1.47.2 Apache-2.0 by Armin Ronacher, Maximilian Roos

A snapshot testing library that records the output of a value (debug, JSON, YAML, RON, or plain strings) to a file and fails when it later changes. This is ideal for asserting on large or structured outputs where writing explicit expected values by hand is tedious.

Its companion cargo-insta adds cargo insta review for interactively accepting or rejecting diffs, plus inline snapshots embedded in source. Use it for serialization, parser, and rendering output; for small scalar assertions a plain assert_eq! is clearer and avoids a separate review step.

17.5M 2.9k 1d ago Maintained
cargo-nextest nextest-rs/nextest v0.9.137 Apache-2.0 OR MIT by Rain, Nextest Bot

A next-generation test runner that executes each test in its own process for isolation, runs them in parallel with a clean summary output, and is typically faster than cargo test on larger suites. It adds practical features like automatic retries for flaky tests, per-test timeouts, and JUnit output for CI.

Run it with cargo nextest run. Note it does not run doctests, so you still need cargo test --doc for those. Tests that assume they share a process (for example relying on global state set by another test) may need adjustment under its process-per-test model.

alternatives cargo test (built-in)

1.5M 3.0k today Maintained
cargo-llvm-cov taiki-e/cargo-llvm-cov v0.8.7 Apache-2.0 OR MIT by Taiki Endo

Collects source-based code coverage using LLVM's instrumentation (-C instrument-coverage), giving accurate line and region coverage that maps back to your source. It handles the gcov/profdata plumbing for you and can emit lcov, HTML, or Cobertura reports, and integrates with cargo nextest.

It works across the major platforms Rust's LLVM coverage supports and is the current go-to for accurate coverage. It needs the llvm-tools-preview rustup component; the older cargo-tarpaulin is an alternative with different platform tradeoffs.

alternatives cargo-tarpaulin

954.0k 1.4k 1d ago Maintained
cargo-fuzz rust-fuzz/cargo-fuzz v0.13.1 MIT OR Apache-2.0 by Corey Farwell, Nick Fitzgerald, Simonas Kazlauskas, Manish Goregaokar, Publishers

Scaffolds and drives coverage-guided fuzzing targets backed by libFuzzer. You write a fuzz_target! that feeds arbitrary bytes into your code, and cargo fuzz run mutates inputs to maximize coverage and surface panics, memory errors, and crashes, saving any reproducer it finds.

It links libFuzzer through the compiler's sanitizer support and therefore requires a nightly toolchain. For an AFL-style engine instead, see the afl crate (cargo-afl). Fuzzing complements, rather than replaces, unit and property tests.

alternatives afl

672.8k 1.8k 1w ago Maintained
cargo-tarpaulin xd009642/tarpaulin v0.35.4 MIT OR Apache-2.0 by xd009642

A code coverage tool for Rust that reports line coverage and uploads cleanly to services like Codecov and Coveralls. It was the long-standing default for CI coverage and remains widely used and simple to invoke with cargo tarpaulin.

Its mature Ptrace-based engine is Linux/x86_64-focused, though it now also offers an LLVM-based backend. If you need accurate source-based coverage across more platforms, cargo-llvm-cov is generally the better fit today.

alternatives cargo-llvm-cov

301.5k 3.0k 3d ago Maintained

Linting & Correctness

2

Catching bugs, anti-patterns, and style issues before review.

Tool Notes Downloads Stars Updated Status
cargo-semver-checks obi1kenobi/cargo-semver-checks v0.48.0 Apache-2.0 OR MIT by Predrag Gruevski

Lints a crate's public API for SemVer-violating changes between releases, catching breaking changes that would require a major version bump.

Run cargo semver-checks before publishing to verify your version bump matches the actual API surface. It analyzes the API for breakage but cannot detect behavioral or semantic changes, so it complements rather than replaces tests.

alternatives clippy

74.9k 1.6k 4d ago Maintained
clippy rust-lang/rust-clippy Apache-2.0

The official Rust linter, providing 700+ lints that catch correctness issues, performance pitfalls, and unidiomatic code beyond what rustc reports.

Installed as a rustup component with rustup component add clippy and run via cargo clippy. Effectively mandatory in CI as cargo clippy -- -D warnings to fail the build on any lint. Not a formatter; pair it with rustfmt for style.

alternatives cargo-semver-checks

13.2k today Maintained

Formatting

2

Consistent, automatic code and config formatting.

Tool Notes Downloads Stars Updated Status
taplo tamasfe/taplo v0.10.0 MIT by Ferenc Tamás, JounQin

A TOML toolkit providing a formatter, linter, and language server for TOML files such as Cargo.toml and rustfmt.toml.

Install with the taplo-cli crate and run taplo fmt or taplo lint; use taplo fmt --check in CI. Reach for it to keep config files tidy and validated against schemas. It handles TOML only, so pair it with rustfmt for Rust source.

alternatives rustfmt

169.1k 2.3k 2mo ago Maintained
rustfmt rust-lang/rustfmt Apache-2.0

The official Rust code formatter, applying a consistent style across a codebase so diffs stay focused on real changes rather than whitespace.

Installed as a rustup component with rustup component add rustfmt and run via cargo fmt. Use cargo fmt --check in CI to enforce formatting without writing files. It formats Rust source only; use taplo for Cargo.toml and other TOML.

alternatives taplo

6.9k 2d ago Maintained

Security & Supply Chain

5

Vulnerability scanning, license/policy enforcement, and audits.

Tool Notes Downloads Stars Updated Status
cargo-audit rustsec/rustsec v0.22.1 Apache-2.0 OR MIT by Alex Gaynor, Tony Arcieri, Dirkjan Ochtman, Sergey "Shnatsel" Davidoff, Working Group

Scans Cargo.lock for dependencies with known vulnerabilities reported in the RustSec advisory database.

Run cargo audit in CI to fail builds when a vulnerable or yanked crate enters the dependency tree. It checks advisories only; for license, source, and duplicate-crate policy use cargo-deny, which subsumes this functionality.

alternatives cargo-denycargo-vet

2.0M 1.9k today Maintained
cargo-deny EmbarkStudios/cargo-deny v0.19.8 MIT OR Apache-2.0 by embark-studios

A policy linter for your dependency graph, checking security advisories, license compliance, banned or duplicate crates, and allowed source registries.

Configure rules in deny.toml and run cargo deny check in CI. Broader than cargo-audit, which covers only advisories. Reach for it when you need to enforce organizational policy across all four areas in one pass.

alternatives cargo-auditcargo-vet

916.4k 2.3k 1w ago Maintained
cargo-auditable rust-secure-code/cargo-auditable v0.7.4 MIT OR Apache-2.0 by Tony Arcieri, Sergey "Shnatsel" Davidoff

Embeds the exact dependency list into compiled binaries so they can be audited after the fact, even without the original source or Cargo.lock.

Build with cargo auditable build --release, then scan the artifact later with cargo audit bin. Useful for distributing binaries whose provenance must remain verifiable. It records dependencies; it does not itself detect vulnerabilities.

alternatives cargo-audit

144.7k 827 1w ago Maintained
cargo-vet mozilla/cargo-vet v0.10.2 Apache-2.0/MIT by Nika Layzell, Bobby Holley

A supply-chain tool to record and enforce that each dependency has been human-reviewed, storing audit records that can be shared across an organization.

Run cargo vet in CI to require that new or updated crates have a recorded audit before they are accepted. Designed for teams that perform source review; it tracks human judgment rather than scanning for known vulnerabilities like cargo-audit. Overkill for a small solo project.

alternatives cargo-auditcargo-deny

63.4k 950 1mo ago Maintained
cargo-geiger geiger-rs/cargo-geiger v0.13.0 Apache-2.0 OR MIT by Tony Arcieri, anderejd, pinkforest(she/her), publish-rs, publish

Audits your dependency tree for unsafe code, reporting how many unsafe expressions each crate contains so you can gauge how much of your supply chain relies on it. Useful for security reviews and for projects that aim to minimize unsafe surface area.

Treat the counts as a heuristic, not a verdict: unsafe is not inherently a bug, and the tool can struggle with some macro-heavy crates. Note its maintenance has been intermittent — verify it builds against current toolchains before relying on it in CI.

alternatives cargo-auditcargo-deny

36.0k 1.6k 4mo ago Maintained

Performance & Profiling

4

Benchmarking, profiling, and finding what's slow.

Tool Notes Downloads Stars Updated Status
criterion bheisler/criterion.rs v0.8.2 Apache-2.0 OR MIT by Berkus Decker, Brook Heisler, David Himmelstrup, maintainers

A statistics-driven microbenchmarking library for in-process Rust functions. It collects many samples, estimates confidence intervals, and detects performance regressions between runs, all on stable Rust.

Prefer it over the unstable built-in #[bench] harness when you need reliable numbers without nightly. If you want a lighter, faster-to-compile alternative look at divan; to benchmark whole commands rather than functions use hyperfine.

alternatives divanhyperfine

41.0M 5.5k 1mo ago Maintained
cargo-flamegraph flamegraph-rs/flamegraph v0.6.12 MIT OR Apache-2.0 by Tyler Neely, Dirkjan Ochtman, maintainers

Generates flamegraphs from a single cargo flamegraph invocation, wrapping perf on Linux and dtrace on macOS/Windows to sample stacks and render an interactive SVG.

Reach for it when you need a quick visual of where wall-clock time goes across a whole binary. It profiles a complete run, so for fine-grained, statistically sound timing of individual functions use criterion instead, and for an interactive UI consider samply.

alternatives samplyperf

197.5k 5.9k 1d ago Maintained
hyperfine sharkdp/hyperfine v1.20.0 MIT OR Apache-2.0 by David Peter

A command-line benchmarking tool that runs a program many times, performs warmup runs, and reports mean/stddev with statistical analysis and outlier detection. Supports parameterized runs and exporting results to JSON/CSV/Markdown.

Use it to compare whole programs or shell commands (e.g. two CLI builds) under realistic conditions. It measures process start-to-finish time, so it cannot profile in-process functions; for that use criterion or divan.

alternatives criteriondivan

97.2k 28.2k 1mo ago Maintained
samply mstange/samply v0.13.1 MIT OR Apache-2.0 by Markus Stange

A cross-platform sampling profiler: samply record <cmd> captures a profile and opens it in the Firefox Profiler web UI, giving you a call tree, stack charts, and timeline without leaving the browser.

Good when you want interactive exploration of where time is spent across a whole process. For a static, shareable SVG instead use cargo-flamegraph, and for precise per-function timing use criterion.

alternatives cargo-flamegraphperf

40.3k 4.2k 1w ago Maintained

Debugging & Diagnostics

3

Debuggers, expansion, and understanding what the compiler sees.

Tool Notes Downloads Stars Updated Status
cargo-expand dtolnay/cargo-expand v1.0.122 MIT OR Apache-2.0 by David Tolnay

Prints the source of your crate after macro expansion, so you can see exactly what derive, macro_rules!, and proc-macros generate. Invaluable for debugging macros and understanding surprising compiler errors.

It shells out to the compiler's expansion mode, which requires a nightly rustc to run (rustup toolchain install nightly), even if your project otherwise uses stable. Not a code generator: it only shows expansion, it does not modify your sources.

alternatives cargo-show-asm

422.0k 3.1k 2w ago Maintained
tokio-console tokio-rs/console v0.1.14 MIT by Carl Lerche, Eliza Weisman, Console

A diagnostics and debugging TUI for async Rust. It connects to a running tokio app (via the console-subscriber instrumentation) and shows live per-task state, poll times, wakers, and resource usage — making it possible to spot tasks that are stuck, busy-looping, or never waking.

Indispensable for diagnosing async stalls and runaway tasks. It requires adding the subscriber and building with tokio_unstable, so it's a development-time tool, not something you ship. For CPU/wall-clock hotspots in sync code, reach for a sampling profiler like samply instead.

alternatives samplycargo-flamegraph

68.5k 4.5k 1mo ago Maintained
cargo-show-asm pacak/cargo-show-asm v0.2.60 MIT OR Apache-2.0 by pacak

Shows the assembly, LLVM IR, MIR, or WASM the compiler generates for a chosen function via cargo asm. Lets you confirm that optimizations (inlining, vectorization, bounds-check elimination) actually happened.

Use it when you need to inspect codegen at the instruction level for a specific function. To see source after macro expansion instead use cargo-expand, and to profile real runtime behavior use samply or cargo-flamegraph.

alternatives cargo-expand

6.9k 943 6d ago Maintained

Documentation

1

Writing, testing, and publishing documentation.

Tool Notes Downloads Stars Updated Status
mdbook rust-lang/mdBook v0.5.3 MPL-2.0 by Eric Huss, Dylan DPC, rust-lang-owner

Builds searchable online books from a set of Markdown files; it powers The Rust Book and most official Rust documentation.

Run mdbook build to generate a static site or mdbook serve for live preview. Reach for it to write guides, tutorials, and prose documentation. It is not for API reference docs generated from code comments; use rustdoc / cargo doc.

793.9k 21.7k 3d ago Maintained

Release & Publishing

4

Versioning, changelogs, and shipping crates and binaries.

Tool Notes Downloads Stars Updated Status
git-cliff orhun/git-cliff v2.13.1 MIT OR Apache-2.0 by Orhun Parmaksız

A highly customizable changelog generator that builds release notes from git history, with first-class support for conventional commits and fully templated output (via Tera) and regex-based commit grouping.

Use it when you want full control over changelog formatting independent of your release tooling. It only produces the changelog; to drive the actual version bump, tag, and publish use cargo-release or release-plz.

alternatives release-plzcargo-release

23.1k 11.9k 1d ago Maintained
release-plz release-plz/release-plz v0.3.158 MIT OR Apache-2.0 by Marco Ieni

Automates releases for cargo workspaces through pull requests: it derives version bumps and changelog entries from conventional commits, opens a release PR, and publishes to crates.io once merged. Designed to run in CI.

Use it for a hands-off, git-driven release flow across many crates. If you want manual, step-by-step control from your terminal instead, use the lower-level cargo-release; it internally relies on git-cliff-style changelog generation.

alternatives cargo-releasegit-cliff

22.7k 1.4k 3d ago Maintained
cargo-dist axodotdev/cargo-dist v0.32.0 MIT OR Apache-2.0 by Aria Desires, ashley williams, Misty De Méo, axoadmin, eng

Builds and packages cross-platform binary artifacts and installers (shell/PowerShell installers, archives, npm/Homebrew formulae) and wires up the CI to produce them on a tagged release.

Use it when you ship prebuilt binaries rather than just publishing a crate. Note the project has been renamed to dist; newer releases and docs live under that name. It handles distribution, not version bumping, so pair it with cargo-release or release-plz.

alternatives release-plzcargo-release

15.3k 2.0k today Maintained
cargo-release crate-ci/cargo-release v1.1.2 MIT OR Apache-2.0 by Ning Sun, Ed Page

Automates the mechanics of cutting a release: bumps the version, commits, creates a git tag, runs cargo publish, and applies a post-release dev-version bump, with workspace support.

Reach for it when you want explicit, command-driven control over each release step. If you prefer a fully automated, PR-based flow that derives versions from conventional commits, use release-plz instead; for changelog generation pair it with git-cliff.

alternatives release-plzcargo-dist

14.6k 1.6k today Maintained

Cross-Compilation & Targets

5

Building for other platforms, embedded, and WebAssembly.

Tool Notes Downloads Stars Updated Status
wasm-pack rustwasm/wasm-pack v0.15.0 MIT OR Apache-2.0 by Jesper Håkansson

Builds Rust-generated WebAssembly for consumption from JavaScript, producing an npm-ready package with the wasm-bindgen glue, TypeScript types, and a package.json.

Use it when you publish a Rust library to npm or integrate WASM into a JS toolchain. Note its maintenance activity has slowed; for a full Rust frontend app prefer trunk, and for a thinner build step you can invoke wasm-bindgen-cli directly.

alternatives trunkwasm-bindgen-cli

1.1M 7.2k 6d ago Maintained
cargo-zigbuild rust-cross/cargo-zigbuild v0.22.3 MIT by messense

Cross compiles by using zig cc as the linker, which makes it easy to target a specific older glibc version (e.g. --target x86_64-unknown-linux-gnu.2.17) for broad binary compatibility, all without containers.

Use it for lightweight, container-free cross builds, especially for glibc version targeting. It requires Zig to be installed and does not cover every exotic target or runtime; for those, cross with its prebuilt images may be more reliable.

alternatives cross

1.1M 2.5k 2d ago Maintained
cross cross-rs/cross v0.2.5 MIT OR Apache-2.0 by Adam Greig, publishers

Zero-setup cross compilation: cross build --target ... runs the build inside prebuilt Docker/Podman images that already contain the right toolchain, linker, and system libraries for the target.

Use it to target architectures and platforms without manually installing cross linkers. It requires a running container engine (Docker or Podman), which can be a dealbreaker in restricted CI; if you only need different glibc versions or want to avoid containers, consider cargo-zigbuild.

alternatives cargo-zigbuild

302.6k 8.2k 1mo ago Maintained
probe-rs probe-rs/probe-rs v0.31.0 MIT OR Apache-2.0 by Noah Hüsser, Dominik Boehi, crate-owners

A toolkit for debugging and flashing embedded Rust on real hardware. It talks to debug probes (CMSIS-DAP, J-Link, ST-Link) to flash firmware, reset targets, and run an in-app log/RTT console, and ships cargo embed plus a GDB/DAP server for editor debugging. It's the modern replacement for OpenOCD-based workflows in the embedded Rust ecosystem.

Reach for it whenever you develop firmware for microcontrollers. It's irrelevant for hosted (non-embedded) targets, and very capable probes with vendor-specific features may still need their proprietary tooling.

alternatives OpenOCDcargo-flashcargo-embed

129.1k 2.8k 2d ago Maintained
trunk trunk-rs/trunk v0.22.0-beta.1 MIT/Apache-2.0 by Anthony Dodd

A WASM web application bundler for Rust frontend frameworks like Yew and Leptos. Driven by a Trunk.toml and index.html, it runs the asset pipeline (SCSS, images, JS snippets), builds the WASM, and serves a hot-reloading dev server.

Reach for it to build and ship a Rust single-page app to the browser. If your goal is instead to produce a WASM package consumed from JavaScript/npm, use wasm-pack or wasm-bindgen-cli directly.

alternatives wasm-packwasm-bindgen-cli

82.0k 4.3k 2mo ago Maintained

Editor & Productivity

5

Language servers, watchers, and general developer ergonomics.

Tool Notes Downloads Stars Updated Status
just casey/just v1.51.0 CC0-1.0 by Casey Rodarmor, maintainers

A command runner that saves project-specific commands as recipes in a justfile and runs them with just <recipe>. Think of it as a saner make: recipes, parameters, and dependencies without make's reliance on file timestamps and tab-sensitive syntax.

Use it to standardize common project tasks (build, test, lint, deploy) for a team. It is a task runner, not a build system, so it does not do incremental builds based on file changes; for that keep using cargo or make.

alternatives makecargo-make

265.8k 34.1k 6d ago Maintained
evcxr evcxr/evcxr v0.21.1 MIT OR Apache-2.0 by David Lattimore

Provides interactive Rust evaluation: evcxr_repl is a REPL where you can define items, add dependencies with :dep, and evaluate expressions incrementally, and the same engine backs a Jupyter kernel for notebooks.

Use it for experimentation, learning, and prototyping snippets without a full crate. It recompiles behind the scenes so it is not a performance-measurement tool; for benchmarking use criterion or hyperfine.

alternatives irust

92.9k 6.4k 2d ago Maintained
bacon Canop/bacon v3.23.0 AGPL-3.0 by Denys Séguret

A background Rust code checker that re-runs cargo check, clippy, test, or doc whenever you save and shows warnings and errors in a compact, navigable TUI, jumping straight to the first problem.

Use it for a fast, terminal-based feedback loop without a full IDE. It is Rust/cargo-focused; if you need a language-agnostic runner that executes arbitrary commands on file change, use watchexec instead.

alternatives watchexeccargo-watch (deprecated)

16.7k 3.3k 2w ago Maintained
rust-analyzer rust-lang/rust-analyzer Apache-2.0

The official Language Server Protocol implementation for Rust, powering IDE features like completion, go-to-definition, inline type hints, refactorings, and on-the-fly diagnostics in editors such as VS Code, Zed, and Neovim.

It is the default choice for editor integration and is distributed as a rustup component or an editor extension rather than an installable crate. It is an interactive analysis server, not a CI checker; for command-line checks use cargo check/clippy, and for an automated check loop use bacon.

alternatives bacon

16.5k today Maintained
watchexec watchexec/watchexec v2.5.1 Apache-2.0 by Félix Saparelli

A general-purpose, language-agnostic file watcher that runs an arbitrary command whenever matching files change, with debouncing, glob filters, and process restart handling. Installed via the watchexec-cli crate.

Use it to drive any tool on change (tests, builds, codegen, server reloads), regardless of language. For a Rust-specific experience with a results TUI and ready-made cargo jobs, bacon is more convenient.

alternatives baconcargo-watch (deprecated)

7.6k 7.0k 1mo ago Maintained