Why are so many important features not in standard library yet?

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

Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • SaaSHub - Software Alternatives and Reviews
  • rust

    Empowering everyone to build reliable and efficient software.

    Not exactly. What happens is that, when a feature like that provided by lazy_static and once_cell gets used ubiquitously enough to prove the need for it, an RFC gets drafted to come up with a version suitable for the standard library, like the one for the in-development std::lazy::OnceCell (tracking issue).

  • rfcs

    RFCs for changes to Rust

    That said, useful functionality does occasionally graduate from a third-party crate into the standard library (std::future is one such example), but it is always done via RFCs that carefully lay out the benefits and drawbacks of doing so. See https://github.com/rust-lang/rfcs for more about the Rust RFC process. Just because lots of people vote for something doesn't necessarily make it the right thing when the benefits and drawbacks are measured, which is what the RFC process seeks to draw out.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • crates.io

    The Rust package registry

    When using Rust, there are so many idiomatic must-have features that are simply not in the standard lib. Some of the ones I know that are extremely popular (according to downloads on crates.io) and are used/recommended in almost every tutorial:

  • rust-cli-boilerplate

    Rust project boilerplate for CLI applications

    There's enough disagreement over personal taste that there are various repositories (eg. my CLI boilerplate vs. Rust Starter) but none especially dominant.

  • rust-starter

    Rust Starter Project

    There's enough disagreement over personal taste that there are various repositories (eg. my CLI boilerplate vs. Rust Starter) but none especially dominant.

  • flume

    A safe and fast multi-producer, multi-consumer channel. (by zesterer)

    it's slow (checkout flume's benchmarks for example)

  • Rust-for-Linux

    Adding support for the Rust language to the Linux kernel. (by Rust-for-Linux)

    In fact, the delays being worked through in getting support for writing Linux kernel modules in Rust are generally about opting out of even more stuff because various aspects of Rust default to assuming you're writing userland code.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

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