Our great sponsors
-
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.
-
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.
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).
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.
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:
There's enough disagreement over personal taste that there are various repositories (eg. my CLI boilerplate vs. Rust Starter) but none especially dominant.
There's enough disagreement over personal taste that there are various repositories (eg. my CLI boilerplate vs. Rust Starter) but none especially dominant.
it's slow (checkout flume's benchmarks for example)
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.