Table of Contents

Split-Bill

This is a command-line expense-sharing utility written in Rust. It takes NAME=AMOUNT pairs (or just NAME if a person had no expenses) and produces a very simple output about how much each person should return or get back for the expenses to be settled.

Repository: split-bill

Example

$ ./target/debug/split-bill john=10 jane=15 luke margaret dude=5
Expenses:
- john: 10
- jane: 15
- luke: 0
- margaret: 0
- dude: 5
john Gets(4.0)
jane Gets(9.0)
luke Pays(6.0)
margaret Pays(6.0)
dude Pays(1.0)

Ideas