Rust Tooling: 8 tools that will increase your productivity

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. cargo-machete

    Remove unused Rust dependencies with this one weird trick!

    cargo-machete is a Cargo plugin for cutting out unused dependencies from your project. To install it, you can use cargo install cargo-machete then use cargo machete in a Rust project directory.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. testcontainers-node

    Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.

    Testing with added infrastructure can be quite tricky. testcontainers aims to solve this by providing an open-source framework for providing local, lightweight containers for your application that can be immediately thrown away after use. It also has a Rust SDK!

  4. cargo-make

    Rust task runner and build tool.

    cargo-make aims to be an extensive Rust-written task runner that additionally lets you define workflows to execute your tasks. You can install it using cargo install cargo-make.

  5. nextest

    A next-generation test runner for Rust.

    cargo-nextest describes itself as a “next-generation Rust test runner”. To install, you need to run cargo install cargo-nextest.

  6. rustsec

    RustSec API & Tooling

    cargo-audit is a simple Cargo tool for detecting vulnerable Rust crates. You can install it with cargo install cargo-audit, use cargo audit and you’re done! Any vulnerable crates will appear below, like so:

  7. testcontainers-rs

    A library for integration-testing against docker containers from within Rust.

    Testing with added infrastructure can be quite tricky. testcontainers aims to solve this by providing an open-source framework for providing local, lightweight containers for your application that can be immediately thrown away after use. It also has a Rust SDK!

  8. testcontainers-rs-modules-community

    Community maintained modules for Testcontainers for Rust

    Then we will need to add another dependency called testcontainers-modules alongside the feature we want (for the container we want to use). For this example, let’s use a Postgres database:

  9. console

    a debugger for async rust! (by tokio-rs)

    tokio-console is a debugger for Rust async programs that use Tokio. To get started, add the console-subscriber crate to your project and add the following line which will initialise the subscriber and allow tokio-console to connect to it:

  10. flamegraph

    Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3 (by flamegraph-rs)

    You can install cargo-flamegraph with cargo install flamegraph. There are some underlying requirements to be able to use cargo-flamegraph; you will want to take a look at the repo here to make sure you have the right dependencies.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • The Next Modern Test By pytest-modern

    2 projects | news.ycombinator.com | 20 Jul 2025
  • Build a Database in Four Months with Rust and 647 Open-Source Dependencies

    4 projects | news.ycombinator.com | 15 Jan 2025
  • Show HN: Maelstrom – A Hermetic, Clustered Test Runner for Python and Rust

    6 projects | news.ycombinator.com | 9 Jul 2024
  • Supercharging Obsidian.md with OpenAI, Qdrant and Rust

    2 projects | dev.to | 3 Jul 2024
  • Exploring the problem of faster Cargo Docker builds

    4 projects | /r/rust | 30 Mar 2023

Did you know that Rust is
the 3rd most popular programming language
based on number of references?