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

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

#587 in Math

Download history 96/week @ 2024-07-01 3/week @ 2024-07-22 9/week @ 2024-08-26 57/week @ 2024-09-23 15/week @ 2024-10-07

72 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–23MB
~326K SLoC