Crate codes-iso-4217

This package contains an implementation of the ISO-4217 country code specification.

For notes on the design of the API, see the repository README.

Example

```rust use codesiso4217::{CurrencyCode, ISO_4217};

let code = CurrencyCode::BZD;

asserteq!(code.alphacode(), "BZD"); asserteq!(code.numericcode(), Some(84)); asserteq!(code.currencyname(), "Belize Dollar"); asserteq!(code.countryname(), "BELIZE"); asserteq!(code.isfund(), false); asserteq!(code.ishistorical(), false); asserteq!(code.withdrawaldate(), None);

asserteq!(ISO4217.title(), "Currency codes"); ```

Features

By default only the serde feature is enabled, the [CurrencyCode::alphacode] and [CurrencyCode::numericcode] methods cannot be excluded.

Changes

Version 0.1.2

Version 0.1.1

Version 0.1.0

TODO

  1. Create a scheduled build that retrieves updated files from the ISO site.