Learn More Rust: Questions
Questions you should be able to answer at the end of this step:
- Make sure to be able to answer all questions of step (1).
- What is cargo and why does it exist?
- What kind of extensions exist for Cargo, how do we install them, how do we use them and what are some commonly used ones?
- What is the Cargo.toml file?
- What is the Cargo.lock file?
- What are build scripts? Why do we use these? How do we use these?
- How can we build code? How do we test code?
- How can we check code without building the final binaries?
- How do we make a simple CLI application? How do we pass arguments and flags? How do we handle signals?
- How can we structure our code and package(s)?
- What does public and private mean in the context of Rust? At what scope do these operate?