Refactor rustybeer calculators to use measurements structs. This will standardize the API to accept input in any unit and also to return structs that can be converted to the users desired unit. At least the following calculators could take this into use:
- Calorie counter
- Alcohol volume weight
- Diluting
- IBU
- Bottles calculator
- Priming
At the moment the functions in these calculators take mixed units (from fahrenheit to grams to fluid ounces etc.)
Refactor rustybeer calculators to use measurements structs. This will standardize the API to accept input in any unit and also to return structs that can be converted to the users desired unit. At least the following calculators could take this into use:
At the moment the functions in these calculators take mixed units (from fahrenheit to grams to fluid ounces etc.)