(no title)
cloudhead | 2 months ago
I've started also dropping `thiserror` when building libraries, as I don't want upstream users of my libraries to incur this additional dependency, but it's a pain.
cloudhead | 2 months ago
I've started also dropping `thiserror` when building libraries, as I don't want upstream users of my libraries to incur this additional dependency, but it's a pain.
01HNNWZ0MV43FF|2 months ago
Rust has a too-small stdlib because they want to avoid a calcified stdlib like C++ and Python, which both have too-big stdlibs.
This is a law of nature, your stdlib can either be too small or too big. It cannot be the right size. At least it isn't C.
cloudhead|2 months ago
brabel|2 months ago
duped|2 months ago
The general argument against adding something to `std` is that once the API is stabilized, it's stabilized forever (or at least for an edition, but practically I don't think many APIs have been changed or broken across editions in std).
The aversion to dependencies is just something you have to get over in Rust imo. std is purposefully kept small and that's a good thing (although it's still bigger and better than C++, which is the chief language to compare against).