Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tally Votes - Rust Code Test

This is an exercise to practice Serde.

Build

# Clone the repository, then:
cd tally_votes_exercise
cargo build --release

Run

The 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.json

Or using cargo:

cargo run -- tests/contest.json  tests/votes.json

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages