naira-format 0.2.0

A lightweight Rust crate for formatting and parsing Nigerian Naira (₦) amounts.
Documentation
  • Coverage
  • 11.11%
    1 out of 9 items documented0 out of 6 items with examples
  • Size
  • Source code size: 8.27 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.47 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • sublime247/naira-format
    0 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sublime247

naira-format 🇳🇬

A lightweight, zero-dependency Rust crate for formatting, parsing, and converting Nigerian Naira (₦) amounts.

Built for fintech backends, dashboards, WASM apps, and mobile integrations.


✨ Features

  • Format Naira with proper thousands separators
  • Convert kobo ↔ naira
  • Compact formatting (₦1.2K, ₦2.5M, ₦3B)
  • Parse user-entered Naira strings
  • No external dependencies
  • Works in backend, WASM, and embedded contexts

📦 Installation

cargo add naira-format