#sink #kitchen #re-exports #bunch #script #goal #pull

kitchen_sink

A simple re-export of a bunch of other useful crates

3 releases (breaking)

0.3.0 Nov 24, 2021
0.2.0 Nov 17, 2021
0.1.1 Oct 11, 2021
0.1.0 Oct 11, 2021

#23 in #bunch

Custom license

4KB

Rust Kitchen Sync

The purpose of this crate is to simply find crates that implement basic functionality that you might expect in the Python Standard Library (which has everything). One can then simply pull in this crate to get them all.


lib.rs:

The Rust Kitchen Sink

Below are crates that are generally useful, with the goal being quick, one-off "script" writing.

Goals

  • 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.

Non-Goals

  • Conservative Size. Optimizing for size isn't a concern; this crate is gonna get big.

Included Crates

Crate Purpose
anyhow Easier error handling
fastrand Easy Random number generation
glob File globbing and matching
once_cell Safe global vars
rayon Easy concurrency
regex Regular Expressions
structopt CLI arg parsing

Dependencies

~8.5MB
~151K SLoC