Rust analyzer and compilation are very slow. My system is heating up, running out of ram and disk space. I have 8 GB ram.
I use helix editor.
Rust analyzer and compilation are very slow. My system is heating up, running out of ram and disk space. I have 8 GB ram.
I use helix editor.
you may consider it harmful, but if they’re not using the features, why would it be? or if they’re only using a tiny chunk of a giant dep, maybe there’s something else more appropriate for their use
--no-default-features --features=foo,baris fine. The harmful part is replacing established crates with smaller ones solely because of ze size.And the whole dance doesn’t even do what many people think it does, as covered in some comments in that linked old thread.
Note that I made that jerk thread when min-dependency-ing was sort of trending. A trend that was often (not always) as stupid and counter-productive as the other related(-ish) trend min-binary-sizing.
Also note that the harmfulness of that trend went beyond bad ecosystem dynamics and dependants ending up with less quality/reliability. That semi-obsession also encouraged bad coding practices like pervasive use of
dynwhere it’s not needed. Compromising idiomaticity, and removing zero-cost abstractions to win a faster compiling dependency prize!I will stop here, because I really don’t want to write that blog post.