Welcome to the Cargo Drinking Game! While not nearly as bad as NPM, rust projects still suffer from a degree of dependency-itis. Because code written by strangers on the internet is guaranteed to be safe, secure, and performant, right?
The rules of the game are very simple.
- Think of a trivial programming task. The more trivial, the better.
- Think of a likely name for a rust crate that solves that task.
-
If a crate exists to solve that problem, check the following criteria:
- If the crate has less than 200kb of code, excluding dependencies, take 1 more shot.
- If that crate has over 1,000 weekly downloads, and the above is satisfied, take 1 more shot.
- If the crate satisfies any of the above and has more than 50 users, take 1 more shot.
- If the crate has dependencies, take 1 shot for every additional crate, for each of the above criteria it satisfies.
- Tally up your score and drink up! (please don't actually drink)
Use the search bar below to play!