This is the code repository for Rust Projects [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.
The Rust programming language is a boon for systems programmers because of its powerful and expressive type system and strict compile-time static analysis. Still, there are best practices to follow and idioms that the community has developed over time. This course tackles testing, building and distributing applications, and other real-world challenges using Rust, Cargo, and the Rustup toolchain manager. You will build four projects, including a search tool, a Markdown parser, a chat server and client, and a blog. In this course, we’ll progress from command line applications, built with proper command line argument parsing and error handling, to more complex applications like a GUI text editor and several web applications. We’ll explore asynchronous programming and concurrent programming in Rust using real-world scenarios like file searching and stress testing. Finally, we’ll build a simple web app that interacts with a database in a type-safe manner using Diesel. By the end of the course, you will be adept with the knowledge of Rust to practically implement it in real-world projects. You’ll know enough to build high-quality software that can be shared with the rest of the Rust community or even used in production.
The code bundle for this video course is available at: https://github.com/PacktPublishing/Rust-Projects
- Building command line interfaces in Rust with CLAP
- Creating web applications with Rocket
- Accessing a database in a typesafe manner
- Handling errors gracefully and idiomatically
- Organizing code with crates and workspaces
- Packaging and distribute Rust applications and libraries
To fully benefit from the coverage included in this course, you will need:
This video is for Rust developers who would like to practically implement the Rust programming knowledge. Basic Rust knowledge is assumed.
This course has the following software requirements:
Operating system: Windows/Mac/Linux Ubuntu
Browser: Any
Rustup >1.11, downloadable at https://rustup.rs/
PostgreSQL 9 or 10, downloadable at https://www.postgresql.org/
Web Services/REST API Testing with SoapUI+ Real Time Projects [Video]