- Install the rust toolchain
Payments
writes output to stdout ( you can pipe it into a file as needed)- Run a development version
cargo run transactions.csv
- Build and run for/in production
cargo build --release
./target/release/payments transactions.csv
- No tests are included at this time - this is a simple engine and requires work to be production ready
- Uses Domain Driven Design to leverage Rust's type system
- Validates/sanitizes incoming data via the type system - see
Transaction
andTransactionType
- Validates/sanitizes incoming data via the type system - see
Account
uses an associated function to handle field updates
- Add tests
- Unit
- Integration
- Remove
pub
from struct fields, and expose via methods