Rust has a small standard library (and that's ok)

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

Our great sponsors
  • Onboard AI - ChatGPT with full context of any GitHub repo.
  • WorkOS - The modern API for authentication & user identity.
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • sccache

    Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.

    Use sccache to cache local compilations. I've done this in the past, but it has been too fragile and I finally gave up. In any case, I still had to recompile on every Rust release, and every release of a given crate — in parallel with people all over the world.

  • crates.io

    The Rust package registry

    The difference compared to "stdx" is the binary distribution. I think it would be easier to have one library doing it rather them all crates on crates.io and we also get the feeling of having something semi-official, rather them just lots of smaller crates.

  • Onboard AI

    ChatGPT with full context of any GitHub repo. 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 app.getonboardai.com.

  • rustc-serialize

    Deprecated serialization/deserialization for Rust

    You neglected to mention that there was a lazy_static to Serde's once_cell: rustc_serialize. In fact, I could be wrong, given how long it's been (I didn't really move from watching to writing my own code until the v1.0 stability promise), but I think it might have been part of the standard library before v1.0.

  • watt

    Runtime for executing procedural macros as WebAssembly

    What’s more likely is crates like syn, serde and others being distributed in binary via crates.io, possibly in wasm (https://github.com/dtolnay/watt). These don’t end up in the final binary anyway, they only generate code via macros. It would be a big win for compile times.

  • flume

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

    It's not officially deprecated, but the alternatives on crates.io are considered better. flume and crossbeam-channel feature less unsafe code and offer better performance. Benchmarks.

  • rust

    Empowering everyone to build reliable and efficient software.

    Adding to the other comment, it also has longstanding issues that are hard to fix https://github.com/rust-lang/rust/issues/39364

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