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 |
#762 in Math
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
rust_decimal::Decimal
, because it is required to createMoney
.
Dependencies
~10–23MB
~330K SLoC