What you'll learn
- 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
Course content
- Preview04:30
- 06:06Creating a Clean Command Line Interface with clap
- 05:33Parsing the Markdown with pulldown_cmark
- 08:16Generate HTML with Maud Static Template Macros
- 03:19Publishing Our Crate
- 9 questionsTest your knowledge
Requirements
- Basic Rust knowledge is assumed.
Description
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.
About the Author
Matthew Stoodley is a programming expert and enthusiast and was drawn to learn about Rust and master its features initially due to its low power usage and memory safety capabilities. He primarily uses Rust to build board games. In addition, he also possesses several years of experience in Go, PHP, and JavaScript among many others.
Who this course is for:
- This video is for Rust developers who would like to practically implement the Rust programming knowledge.
Instructor
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.