Published First Library, Looking for Feedback

I saw rusty_money when I was scoping out the "competition" lol. I thought about including multiplication, but then it'd feel lacking without division, and that led me down a path of uncertainty.

Since this project was largely intended to be academic, I chose to keep it simple. But I also wrote it "for myself". Many years ago, I wrote a fairly complex finance GUI using pure C (with GTK+). When I was looking for Rust practice ideas, this seemed like a great idea. The conversion from precise types to strings made it a no-brainer. I guess I hoped it'd be useful for someone looking for a similar simple solution.

Sorry to compare your project to a more mature crate, but it is what came to mind.

No need to apologize, sharing different ideas is exactly what I'm looking for in coming here!

Quick code review...

These are great, thank you! It seems so obvious now. I definitely plan in incorporating these improvements.

Looks like you have a good number of tests! Love to see it.

This is the first programming language I've learned that makes it so easy to make test cases! It's actually a pleasure to implement them.

Thank you so much!

4 Likes