nzfcc

Crates.ionzfcc
lib.rsnzfcc
version1.1.0
created_at2026-01-04 20:46:19.694124+00
updated_at2026-01-14 22:44:41.477524+00
descriptionNew Zealand Financial Category Codes (NZFCC) library
homepage
repositoryhttps://github.com/josiahbull/nzfcc
max_upload_size
id2022448
size247,249
Josiah Bull (JosiahBull)

documentation

README

NZFCC - New Zealand Financial Category Codes

A Rust library providing types and utilities for working with the New Zealand Financial Category Codes (NZFCC) system.

The NZFCC is a standardized categorization system for financial transactions in New Zealand. For more information, visit https://nzfcc.org/.

Installation

Add this to your Cargo.toml:

[dependencies]
nzfcc = "0.1"

Regenerating Code

To regenerate the category definitions from the latest NZFCC data:

cargo run -p nzfcc-generator

This will:

  1. Download the latest categories from https://nzfcc.org/downloads/categories.json
  2. Save a formatted copy to categories.json in the repository root
  3. Generate the Rust code in crates/nzfcc/src/generated/

License

Licensed under either of:

at your option.

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 11

cargo fmt