This is an exercise to practice Serde.
# Clone the repository, then:
cd tally_votes_exercise
cargo build --releaseThe program requires two files as arguments: contest JSON and votes JSON. There are several sample files in the test folder. To run with the provided sample after building the release:
cd tally_votes_exercise
target/release/tally_votes_exercise tests/contest.json tests/votes.jsonOr using cargo:
cargo run -- tests/contest.json tests/votes.json