Remix.run Logo
▲ cmrdporcupine 5 hours ago

Yep, this is the NPM/Node disease that spread to Rust early in its history and it's really problematic. Very strong impulse to just pull in as many crates as you can to do little bits that should just be stdlib etc. (And additionally is crates.io is a wilderness of unmoderated deps and bottomless dependency trees.)

IMHO this is an anti-pattern that junior engineers fall into. You embrace this style of development because it lets you move fast and borrow others work... until it burns you badly in the ass with licensing, conflicts, security, etc etc and then you're stuck untangling the mess.

I love Rust the language. I do not like Cargo or Crates.io.

For your specific question, you could look at cargo deny (https://github.com/EmbarkStudios/cargo-deny) which lets you set up rules to lint deps. But this is mostly about security and licensing. I'd like something that was more about "reputation" and "cleanliness"

▲kvuj 5 hours ago | parent [-]

Wow that security check seems really useful!

▲cmrdporcupine 5 hours ago | parent [-]

I have CI jobs set up with that for my projects and with everything going on in the last few months it's been a couple advisories a week, just constantly having to upgrade things because of new RUSTSEC etc advisories.