#exchange #iso-4217 #currency #money #finance #date-time

money2

For storing and asynchronously converting between (a subset of) ISO-4217 currencies

19 releases (8 stable)

1.4.0 Nov 4, 2023
1.3.1 Nov 3, 2023
1.0.0 Jul 1, 2023
0.8.3 Aug 6, 2022
0.6.8 Jul 31, 2022

#273 in Math

Download history 118/week @ 2024-02-09 16/week @ 2024-02-16 24/week @ 2024-02-23 18/week @ 2024-03-01 6/week @ 2024-03-08 4/week @ 2024-03-15 1/week @ 2024-03-22 167/week @ 2024-03-29

179 downloads per month

GPL-3.0-only

53KB
1K SLoC

money

This crate provides functionality for storing and exchanging various ISO-4217 currency codes using the European Central Bank.

Has the capability of performing exchanges based on the rates as they were in a specific date in time, and keeps up to date with the latest exchange rates if your software must stay running.

Feature Flags

  • all enables all feature flags.
  • history enables the ability to perform exchanges based on historical records.
  • num-traits enables performing safe numeric calculations with money via the num-traits crate.
  • serde enables support for the serde crate.

Re-exports

Dependencies

~9–24MB
~352K SLoC