The Cargo Book -

Cargo plugin for generating a listing of all of the crates used by a root crate, and the terms under which they are licensed. - Find out what takes most of the space in your executable.

% cargo bloat --release --filter '^__' -n 10
Compiling ...
Analyzing target/release/cargo-bloat

File .text    Size Crate Name
0.2%  1.7%  6.3KiB   std __rdos_backtrace_dwarf_add
0.1%  0.5%  1.9KiB   std __rdos_backtrace_qsort
0.0%  0.2%    843B   std __udivmodti4
0.0%  0.1%    296B   std __floattidf
0.0%  0.1%    290B   std __floattisf
0.0%  0.1%    284B   std __rdos_backtrace_initialize
0.0%  0.1%    253B   std __floatuntisf
0.0%  0.1%    253B   std __floatuntidf
0.0%  0.1%    211B   std __rdos_backtrace_get_view
0.0%  0.0%    180B   std __rdos_backtrace_vector_grow
0.1%  0.7%  2.8KiB       And 37 smaller methods. Use -n N to show more.
0.5%  3.6% 13.5KiB       filtered data size, the file size is 2.8MiB

Cache the dependencies of your Rust project and speed up your Docker builds. - A bunch of lints to catch common mistakes and improve your Rust code

A collection of lints to catch common mistakes and improve your Rust code.

cargo-deny is a cargo plugin for linting your dependencies. - Subcommand to show result of macro expansion

Once installed, the following command prints out the result of macro expansion and #[derive] expansion applied to the current crate. - Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3

A Rust-powered flamegraph generator with additional support for Cargo projects! It can be used to profile anything, not just Rust projects! No perl or pipes required <3 - Command line helpers for fuzzing

A cargo subcommand for using libFuzzer! Easy to use! No need to recompile LLVM!

Detects usage of unsafe Rust in a Rust crate and its dependencies. - cargo, make me a project

cargo-generate is a developer tool to help you get up and running quickly with a new Rust project by leveraging a pre-existing git repository as a template.


cargo-mobile takes care of generating Xcode and Android Studio project files, building and running on device, generating project boilerplate, and a few other things!

Articles: - cargo-mobile: Rust on mobile made easy!

Cargo subcommand “release”: everything about releasing a rust crate. - Cargo subcommand for handling single-source Rust programs with dependencies

To write a relatively simple Rust program, which can fit in a single source file but does need a couple of external dependencies, one must use Cargo to create a project for the program. Cargo's defaults and tools like cargo-edit help, but it's still some amount of ceremony and increased friction. This tool lets one list the dependencies in the comments at the top of the source file, and use that list and the file name to automatically generate the project directory, which is then transparently used to check, build or run the program.

A tool to view every TODOs in the rust code

Find unused dependencies in Cargo.toml