Rust in 2022

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • rust

    Empowering everyone to build reliable and efficient software.

    As long as you're compiling with a version of Rust that satisfies the requirement, it doesn't care. You can write code that uses the new formatting macros argument capturing feature and set rust-version = "1.56.0", and as long as you compile with the latest beta it's fine.

  • rfcs

    RFCs for changes to Rust

    Note that only after writing all of this did I find the RFC where this feature was discussed, which was much harder than it should have been, IMO. I would love there to be a searchable index of RFCs. Github's search is very hit-or-miss. I was searching "rust-version" and got nothing because that exact terminology, even though it's what the stabilized implementation uses, isn't mentioned in the RFC at all; it was apparently changed later and the RFC was never amended.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • Cargo

    The Rust package manager

    It's fair to doubt that there will be any more work on it anytime soon. One follow-up issue was filed (https://github.com/rust-lang/cargo/issues/9930) but so far it hasn't seen much movement yet. I think an important limiting factor for this feature (and a bunch of other improvements) is that Cargo is severly under-resourced, so things don't get worked on or get worked on just slowly or it depends on a contributor stepping in to do the work (and then there might still be a substantial delay in getting feedback from the Cargo team).

  • sqlx

    🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL. (by launchbadge)

    We currently have something along the order of (I counted it once already while writing this but started editing another part of it and forgot) 70 separate CI passes covering various optional features. If we wanted to test with both latest stable and an MSRV, that'd be around double that, depending on if this should multiply with the matrices we already have for supported versions of the various databases.

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