The Cargo Drinking Game

Your liver might be ok with this

Home Games Software In Your Browser Animation Tutorials Miscellaneous

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.

  1. Think of a trivial programming task. The more trivial, the better.
  2. Think of a likely name for a rust crate that solves that task.
  3. If a crate exists to solve that problem, check the following criteria:
    1. If the crate has less than 200kb of code, excluding dependencies, take 1 more shot.
    2. If that crate has over 1,000 weekly downloads, and the above is satisfied, take 1 more shot.
    3. If the crate satisfies any of the above and has more than 50 users, take 1 more shot.
    4. If the crate has dependencies, take 1 shot for every additional crate, for each of the above criteria it satisfies.
  4. Tally up your score and drink up! (please don't actually drink)

Use the search bar below to play!