Requirements Make sure that you have rust and cargo installed on your system cargo --version rustc --version Running the Example In your terminal, in the project's directory run cargo run to execute the code in main.rs.