Can anyone familiar explain how can you evaluate which dependencies are safe to use? I remember someone explaining that certain high quality projects were considered trusted enough, but from a quick glance, it seems really hard to check.
For example, the maintainer of endian-type is https://github.com/Lolirofle and has commited very few times this year. The code of the crate is minuscule. Why isn't it in the stdlib?
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 until it burns you badly in the ass and then you're stuck. I love Rust the language. I do not like Cargo or Crates.io.
https://github.com/scottvr/apifusefs
https://github.com/freyamade/openapi-fs
https://github.com/openai/mcpfs/blob/main/Cargo.lock
Can anyone familiar explain how can you evaluate which dependencies are safe to use? I remember someone explaining that certain high quality projects were considered trusted enough, but from a quick glance, it seems really hard to check.
For example, the maintainer of endian-type is https://github.com/Lolirofle and has commited very few times this year. The code of the crate is minuscule. Why isn't it in the stdlib?
IMHO this is an anti-pattern that junior engineers fall into. You embrace this style of development until it burns you badly in the ass and then you're stuck. I love Rust the language. I do not like Cargo or Crates.io.