3 releases (breaking)

0.7.0 Sep 21, 2024
0.6.0 Dec 18, 2022
0.5.0 Dec 28, 2021

#98 in Finance

Download history 252/week @ 2024-12-09 237/week @ 2024-12-16 177/week @ 2024-12-23 188/week @ 2024-12-30 364/week @ 2025-01-06 254/week @ 2025-01-13 343/week @ 2025-01-20 315/week @ 2025-01-27 311/week @ 2025-02-03 276/week @ 2025-02-10 262/week @ 2025-02-17 343/week @ 2025-02-24 186/week @ 2025-03-03 279/week @ 2025-03-10 282/week @ 2025-03-17 265/week @ 2025-03-24

1,063 downloads per month
Used in qsv

MIT license

51KB
1K SLoC

Rust Currency Library

A very small library, providing a way to represent currencies in Rust.

This is a fork of https://github.com/Tahler/currency-rs, pulling in pending PRs for currency strings (e.g. "USD, EUR, etc." - not just single character symbols - "$, €, etc.") and serde support.

It also upgrades the num dependency from 0.1.32 to 0.4.0 and adds a is_iso_currency function to check if a currency is an ISO currency.

This fork was primarily created for the qsv CSV data-wrangling toolkit.

Dependencies

~1.7–2.5MB
~46K SLoC