Mandi POS: Offline-First Rust ERP System
A production-grade, load-shedding resilient POS & ERP built entirely in Rust, featuring a Tauri v2 desktop app, SQLite WAL outbox replication, and PostgreSQL central sync.
Client
Mandi POS Engineering
Industry
Agri-Tech & Enterprise Retail
Category
Cloud & DevOps
Cloud & DevOps
Mandi POS: Offline-First Rust ERP System
Engineered specifically for agricultural commodity trading shops in Pakistan, Mandi POS operates 100% offline during power outages. Built with a pure Rust domain kernel (pos-core), SQLite WAL local database with outbox staging (pos-db), ESC/POS thermal receipt engine with Urdu bitmap rendering (pos-escpos), exponential backoff sync supervisor (pos-sync), and an Axum + PostgreSQL central server (pos-server). Supports double-entry Aarthi ledgers, integer Paisa (i64) arithmetic, FEFO batch stock tracking, and Z-Report day-end locks.
Results
100%
Offline trading continuity (0 data loss)
0
Floating point drift (Integer Paisa)
Dual
Bilingual Urdu/English ESC/POS receipts
100%
Immutable Z-Report day closures
Technologies Used