this post was submitted on 16 Mar 2024
26 points (93.3% liked)
Rust
6032 readers
2 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is kind good reason to have optional namespaces in Cargo. The Rust team could have a "rust/" prefix or something with things that are considered to be a "standard library extension," but supports versioning and all that. Some notes about that namespace:
This solves most of the problems a large standard library is intended to solve, while avoiding most of the downsides. Users only need to look in one namespace for "official" packages, so it's similar to looking at the standard library (official Rust docs could even include them).