tiffany352 / rink-rs

Unit conversion tool and library written in rust
https://rinkcalc.app/about
GNU General Public License v3.0
408 stars 28 forks source link

Code reorganization #123

Closed tiffany352 closed 2 years ago

tiffany352 commented 2 years ago

Much of the code organization and architecture of Rink has been the same since I hacked this project together in 2016. In this PR, I spent about a day moving files around and refactoring code.

I'm hoping that cleaning up the codebase like this will help make it easier to change going forwards. There's a lot of duplicated code, few abstractions are used.

In order to make this not break everything I did it in tiny steps, verifying the test suite each time. This is why this branch has >30 commits in it.