accountant 0.1.3

A simple accounting utilities library for financial calculations
Documentation
  • Coverage
  • 100%
    8 out of 8 items documented0 out of 6 items with examples
  • Size
  • Source code size: 9.95 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.3 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 22s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • MrDottt

Accountant

A simple accounting utilities library for financial calculations in Rust.

Features

  • Basic balance management
  • Credit and debit operations
  • Simple and lightweight

Installation

Add to your Cargo.toml:

[dependencies]
accountant = "0.1.3"

Usage

use accountant::Accountant;

fn main() {
    let mut acc = Accountant::new();
    acc.credit(100.0);
    acc.debit(25.0);
    println!("Balance: {}", acc.get_balance()); // 75.0
}

License

MIT License