Rust Tips and Tricks #PartOne

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

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
  1. crossbeam

    Tools for concurrent programming in Rust

    The crossbeam crate offers a powerful alternative to standard channels with support for the Select operation, timeouts, and more.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Clippy

    A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

    They are two of my favorite Rust tools. If you haven’t tried them yet, I highly recommend giving them a try. Clippy can detect various lints in your code and guide you towards writing more idiomatic code. To install Clippy, simply run rustup component add clippy, and to run it within your workspace, execute cargo clippy. For more details, visit Clippy’s GitHub repository.

  4. rustfmt

    Format Rust code

    Rustfmt is a tool that formats Rust code in compliance with style guidelines. Its name precisely reflects its purpose. To install rustfmt, you can run rustup component add rustfmt. Once installed, you can execute cargo fmt to format Rust code in your workspace. If you require further information, you can visit rustfmt’s GitHub repository.

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

  • Rust 1.85.0 and Rust 2024

    1 project | news.ycombinator.com | 21 Feb 2025
  • Hyperbridge: Fast multi-producer, multi-consumer unbounded channel in Rust

    4 projects | news.ycombinator.com | 9 Feb 2024
  • Where can I read about how to write a safe API for unsafe code?

    3 projects | /r/rust | 16 Sep 2023
  • Let else will finally be formatted by rustfmt soon

    5 projects | /r/rust | 3 Jul 2023
  • Rustfmt refusing to work with certain functions.

    1 project | /r/rust | 26 Apr 2023