84 releases (7 breaking)

Uses new Rust 2024

new 0.10.5 Nov 14, 2025
0.9.5 Oct 22, 2025
0.6.12 Jul 30, 2025
0.3.21 Mar 26, 2025
0.3.2 Dec 6, 2024

#10 in #bookkeeping

Download history 1094/week @ 2025-07-29 2437/week @ 2025-08-05 860/week @ 2025-08-12 737/week @ 2025-08-19 1209/week @ 2025-08-26 1380/week @ 2025-09-02 1373/week @ 2025-09-09 1474/week @ 2025-09-16 924/week @ 2025-09-23 822/week @ 2025-09-30 618/week @ 2025-10-07 552/week @ 2025-10-14 1052/week @ 2025-10-21 391/week @ 2025-10-28 258/week @ 2025-11-04 242/week @ 2025-11-11

2,050 downloads per month
Used in 6 crates (via es-entity)

Apache-2.0

265KB
6.5K SLoC

Cala

Cala is a robust ledger system developed by Galoy, designed to handle complex financial transactions and accounting operations. It provides a flexible and scalable solution for managing financial records with strong consistency guarantees.

Features

Core Capabilities

  • Double-Entry Accounting: Built-in support for double-entry bookkeeping principles ensuring accurate financial records
  • SQL-Compatible: Engineered to work with SQL databases (PostgreSQL) for robust data persistence and querying
  • Strong Consistency: Ensures accuracy and reliability of financial records
  • Real-time Processing: Efficient transaction processing suitable for production financial systems

API & Integration

  • GraphQL API: Modern API interface with built-in playground for easy integration and testing
  • Extensible Architecture: Modular design with support for custom extensions via the Node.js bindings
  • Transaction Templates: Customizable transaction templates for common financial operations
  • Multi-Currency Support: Handle transactions across different currencies

Developing

Dependencies

Nix package manager

direnv >= 2.30.0

Docker

Testing

Run unit tests with:

make reset-deps next-watch

Run end-to-end tests with:

make e2e

Running the Server

To run the server:

make run-server

Dependencies

~3–4.5MB
~81K SLoC