Tools
Tools that provide developer-facing features such as testing, debugging, linting, performance profiling, autocompletion, formatting, and more.
Cargo
Recipe | Crates | Categories |
---|---|---|
Basic cargo usage | ||
Cargo.toml and lock files |
Recipe | Crates | Categories |
---|---|---|
Crate registries | crates.io⮳ |
Recipe | Crates | Categories |
---|---|---|
Package layout |
Documentation
Recipe | Crates | Categories |
---|---|---|
Document your code | ||
Create module- or crate-level documentation |
| mdbook-cmdrun
| | |
| Create a journal with mdbook-journal
| | |
| Check links with mdbook-linkcheck
| | |
| mdbook-pagetoc
| | |
| Hide entire chapters with mdbook-private
| | |
| Hide pages with mdbook-hide
| | |
| Create pages from a template with mdbook-tera
| | |
| mdbook-theme
| | |
| mdbook-toc
| | |
| Test code in your mdbook
| Byron-termbook | |
| Replace text in chapters with yapp
| | |
Formatting
Recipe | Crates | Categories |
---|---|---|
Format your Rust code with rustfmt | ||
Configure rustfmt | ||
Use attributes to skip code formatting in your code |
Installation
Recipe | Crates | Categories |
---|---|---|
Install and manage Rust toolchains with rustup |
Recipe | Crates | Categories |
---|---|---|
Build and install a Rust binary with cargo install | ||
Install a Rust binary with cargo binstall |
Other
Recipe | Crates | Categories |
---|---|---|
Save and run project-specific commands with the just command runner | ||
Check your Rust code in the background |
Recipe | Crates | Categories |
---|---|---|
Verify your Rust code | {{hi:kani}} |
Recipe | Crates | Categories |
---|---|---|
Install the miri interpreter | ||
Detect undefined behavior with the miri interpreter |
Recipe | Crates | Categories |
---|---|---|
Search for Rust APIs | roogle | |
Deploy your Rust code on shuttle.rs | shuttle.rs | |
Minimize Rust binary sizes | {{#crate }} | |
Generate Rust code | {{#crate }} |
Versioning
fd-find as a more human-friendly alternative to find which, by default, ignores paths listed in things like .gitignore and mimics Vim's smartcase option.
hyperfine as an analogue to the UNIX time command which can do warm-up runs, run the command multiple times to do statistical outlier detection, display a progress bar for the multiple runs, export results to CSV/JSON/etc., parameterize the runs, etc.
miniserve as a simple, easy way to serve up some files or accept some uploads over HTTP.
ripgrep for fast searching of file contents
rust-script as a way to quickly write little single-file programs in Rust without having to spin up a whole project.
skim as a Rust clone of fzf with some additional features. (Including being usable as a library you can embed in your own programs)
tokei for gathering statistics about a codebase (i.e. number of files, lines, lines of code, lines of comments, and lines of blanks, per language)
xd as an alternative to xxd that doesn't have as many features, but renders un-printable characters in a reversible "codepage 437 plus a symbol for NULL" mapping to ensure that all patterns in the visualization of binary files are visible... not just ones that occur in printable characters.
cross