A simple CLI payment processor
Find a file
Bruno BELANYI ffd6a20a30 transaction: add CSV deserialization
It is unfortunate that both [1] and [2] conspire to make this code way
worse than it could otherwise be with a saner (de)serialization format.

We both need to introduce `TransactionRecord` due to tagged enums not
being powerful enough in CSV, and make its `amount` field optional to
deal with the varying number of fields for each kind of transaction.

[1]: https://github.com/BurntSushi/rust-csv/issues/211
[2]: https://github.com/BurntSushi/rust-csv/issues/172
2022-08-23 14:05:03 +02:00
src transaction: add CSV deserialization 2022-08-23 14:05:03 +02:00
.envrc nix: add direnv integration 2022-08-22 17:11:53 +02:00
.gitignore git: ignore generated files 2022-08-22 17:11:53 +02:00
Cargo.lock transaction: add CSV deserialization 2022-08-23 14:05:03 +02:00
Cargo.toml transaction: add CSV deserialization 2022-08-23 14:05:03 +02:00
flake.lock nix: init flake environment 2022-08-22 17:11:53 +02:00
flake.nix nix: init flake environment 2022-08-22 17:11:53 +02:00