đź’± moneyman
A crusty currency converter

Example
$ moneyman convert 50 --from EUR --to PHP --on 2023-05-06 --fallback
50 EUR -> 3044.5833333333350 PHP on the date 2023-05-06
moneyman is also available as a library.
use PathBuf;
use NaiveDate;
use dec;
use ;
Details
moneyman extends on rusty-money as it already provides a lot of the things like
Money, Currency, ExchangeRate, and Exchange. However, it does not
provide any data to actually convert currency. For historical data, moneyman
uses the European Central Bank, and saves its data to its own local data store.
Caveat
One important thing to know is that ANY_OTHER_CURRENCY -> EUR is computed with
1/<RATE_OF_ONE_EUR_IN_THAT_OTHER_CURRENCY> since ECB only contains the
EUR -> ANY_OTHER_CURRENCY rates, not vice versa. This [dividing] is most
probably not the behavior observed by RealWord™ currency exchanges. So this
only serves as an approximation at best.