#iso-4217 #currency

no-std currency-iso4217

ISO 4217 currency codes

2 releases

0.1.1 Aug 2, 2023
0.1.0 Aug 2, 2023

#180 in No standard library

Download history 59/week @ 2024-01-17 11/week @ 2024-01-24 3/week @ 2024-02-07 97/week @ 2024-02-14 53/week @ 2024-02-21 59/week @ 2024-02-28 75/week @ 2024-03-06 47/week @ 2024-03-13 28/week @ 2024-03-20 34/week @ 2024-03-27 34/week @ 2024-04-03 31/week @ 2024-04-10 88/week @ 2024-04-17 112/week @ 2024-04-24

278 downloads per month
Used in 6 crates (4 directly)

MIT license

48KB
1K SLoC

ISO 4217 Currency Codes

Minimalistic implementation of ISO 4217 https://en.wikipedia.org/wiki/ISO_4217 currency codes.

By default, no-std compatible.

Using with std

To enable std features, use:

currency_iso4217 = { version = "x.x", features = ["std"] }

Features

  • std: use standard library types/functions instead of core
  • serde: enable serde de/serialization
  • serde-std: enable serde de/serialization using std types/functions

lib.rs:

ISO 4217 https://en.wikipedia.org/wiki/ISO_4217 currency codes

A no_std implementation of ISO 4217 currency codes.

Aims to be as minimalistic as possible, while still providing a full set of features for handling ISO 4217 currency codes.

Alternatives:

Dependencies

~170KB