3 ms·
I was recently working with collection of Rust libraries with poor dependency management. Some dependencies wouldn't compile for certain platforms. In most case
by palmfacehn 3y ago
I was recently working with collection of Rust libraries with poor dependency management. Some dependencies wouldn't compile for certain platforms. In most cases these features were totally unnecessary for my usage.
Would love to see a tool that could automatically break these dependencies into optional features within their crate. It felt like a poor use of my time to track everything down manually.
- TN1ck 3y agoRich hickey has a nice talk about this exact problem. He uses this scenario on why “classical” dependency management is flawed - you might only want one function of a library that has no dependencies itself, but you have to import the whole thing. https://youtu.be/oyLBGkS5ICk?si=cawjnPnR9riEyvf2 https://youtu.be/oyLBGkS5ICk?si=cawjnPnR9riEyvf2