bookkeeping 0.4.7

Minimalistic and unopinionated bookkeeping library.
Documentation

GitHub Workflow Status (branch)

This crate tries to model the very basics of the bookkeeping activity. it is a new rustacean's first open source crate.

Outline

A book contains

  • accounts,
  • units (may represent currencies)
  • and transactions, which in turn, contain moves.

Features

  • Book balance guaranteed at compile time.
  • Arbitrary metadata may be stored in books, accounts, units, transactions and moves.

Defficiencies

  • No optimization of balance calculations.

Tutorial

[Here][mod@tutorial].

FAQ

This API can panic in a bunch of places. I don't like that. I don't feel safe. How about returning Results, instead?

Results and errors are for when a function might fail despite all caution. In this crate, panics would only occur on wrong usage. Having this crate return Results would complicate the API and — worse — would give the impression that function calls could fail even when used correctly. I'd like the user to be confident that with correct usage the API is safe.