Introduction to First Step with Rust

Get a brief introduction to what we’ll cover in this chapter.

We'll cover the following

In the previous chapter, we examined the “Hello, World” program. This chapter pushes us further into Rust development by building a program designed to assist a security team at a fancy new treehouse.

What will we learn?

We’ll start by creating a new project, which we’ll use throughout this chapter, gradually adding functionality as we learn more Rust.

In building this program, we’ll learn to accept input from the keyboard, store data in variables, store collections of variables in arrays and vectors, and begin to learn the power of Rust iterators and enumerations.

It’s going to be busy, as this section introduces many concepts (don’t worry if you don’t remember everything you read here; the more you use Rust, the more you’ll remember how it works).

Get hands-on with 1200+ tech skills courses.