accountant

Crates.ioaccountant
lib.rsaccountant
version0.1.3
created_at2026-01-19 01:18:19.199189+00
updated_at2026-01-19 01:22:38.734546+00
descriptionA simple accounting utilities library for financial calculations
homepage
repository
max_upload_size
id2053475
size10,445
Mr Dott (MrDottt)

documentation

README

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

Commit count: 0

cargo fmt