Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tools

The preceding chapters cover tools tied to specific workflows: formatting and linting in Checks, test runners in Testing, profiling in Measure, and so on. This chapter collects general-purpose development tools that are useful across workflows but don’t belong to any single one.

Code Search covers ripgrep and ast-grep for navigating large codebases. Task Runners compares just, cargo-make, and the xtask pattern for automating project-specific commands. Readme Generation covers tools that keep your README.md in sync with your crate documentation. Watch Files covers cargo-watch and bacon for re-running commands on file changes. Expand Macros covers cargo-expand for inspecting what procedural and declarative macros generate. Debugging covers debugger integration with rust-gdb and rust-lldb.

Reading

Joshua showcases and explains some tools for Rust developers that can increase your productivity, and gives examples for how they can be used.

Awesome Rust Tools by @unpluggedcoder

This is a list of awesome tools written in Rust. It showcases tools in various categories, from general-purpose command-line tools to tools specifically for Rust development, maintenance or navigation.

Cargo plugins by lib.rs

This is a list of useful plugins for Cargo, sorted by their popularity (as measured by the download count from the Rust crates registry).