2026-10-26 16:48 UTC
Unlike Python or C++, Rust’s standard library is intentionally kept tiny. It does not include regular expressions, random number generation, JSON parsing, or an HTTP client. To do basic modern programming tasks, you have to use external libraries. Choosing not to rely on dependencies in Rust doesn’t make your project simpler; it just forces you to write more things from scratch.
Replies (1)
-
@thingsiplay@lemmy.ml 2026-10-26 16:52
Exactly and that’s one of the advantages to not rely on dependencies. Not every application need those packages. Otherwise they would be included in the standard library. This would encourage people to build software that is self confined, even if it is harder to do. And not every type of tool needs to be this, this is only meant for projects where it makes sense. You guys need to stop thinking that I’m suggesting a complete replacement of cargo and crates io. It doesn’t need to be one or the other, we can have both solutions and choose which ever works best for the project or you.