Take a simple idea, package it up in different ways.
Get experience with:
* Cargo
* Tests
* External crates
* Reading docs
* Packaging Mechanisms
* Accepting options/arguments
-
Dice Rolling Library (crate):
- tests
- 1d6
- tests
- nd6
- tests
- ndX
-
Dice Rolling Executable:
-
Rolls 1d6 & prints result
-
Accepts number of die and sides of die, rolls them, prints them per line
-
Dice Rolling Service (iron)
-
Accepts a request & returns a 1d6 result
-
Accepts ndX options & returns results as json array