Elektrine lite

← Feed

@thingsiplay@lemmy.ml

2026-10-26 16:40 UTC

But that is the suggestion here, to not rely on many dependencies. And currently this is an odd thing to do in Rust, because there is no other support or eco system to support this kind of building. Yes, if you want rely on man dependencies and crates io, then it makes no sense to go that route I suggest. But this would only work widespread if distributions would adopt this kind of packaging and providing a stable environment. Imagine Python wasn’t installed by default on Linux, how would anyone think of relying on it? I know it’s technically not the same thing, but I’m making a comparison for having it in the distributions repository (or installed by default), not how the language works.

Replies (1)

  • @Ferk@lemmy.ml 2026-10-26 16:48

    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.

    Open ##5257619