A hands-on introduction to the Rust language.
- handling user input with the io library.
- adding rand from crates.io as a dependency.
- generating a secret number.
- comparing the guess to the secret number.
- allowing multiple guesses with looping.
- quitting after a correct guess.
- handling invalid input.
Based on The Rust Programming Language by Steve Klabnik and Carol Nichols (2021).