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
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • 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.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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