Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor rustybeer lib to use measurements library #109

Open
drodil opened this issue Sep 7, 2021 · 1 comment
Open

Refactor rustybeer lib to use measurements library #109

drodil opened this issue Sep 7, 2021 · 1 comment
Labels
refactor Something to write again, better this time

Comments

@drodil
Copy link
Owner

drodil commented Sep 7, 2021

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

drodil added a commit that referenced this issue Sep 7, 2021
this is to make handling conversions more easier for #109
drodil added a commit that referenced this issue Sep 7, 2021
this is to make handling conversions more easier for #109
drodil added a commit that referenced this issue Sep 7, 2021
this is to make handling conversions more easier for #109
@drodil drodil added the refactor Something to write again, better this time label Sep 7, 2021
This was referenced Sep 14, 2021
@drodil
Copy link
Owner Author

drodil commented Sep 14, 2021

Still to do:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Something to write again, better this time
Projects
None yet
Development

No branches or pull requests

1 participant