Below are crates that are generally useful, with the goal being quick, one-off “script” writing.
- High utility / complexity crates. This value is subjective, and at the whimsy of the maintainer.
An example of a crate that would not match is
tokio, which provides great amounts of utility, but is also very complex.
- Crates useful for one-off scripts. Once a project gets larger than a few thousand lines of code, it has likely outlived the usefulness of this crate.
- Opinionated feature flags. Dependencies already have feature flags set that could be useful.
- Conservative Size. Optimizing for size isn’t a concern; this crate is gonna get big.
|anyhow||Easier error handling|
|fastrand||Easy Random number generation|
|glob||File globbing and matching|
|once_cell||Safe global vars|
|structopt||CLI arg parsing|