Company: Packt Publishing Author: Matthew Stoodley Full Title: Rust Projects Year: 2019 Language: English Genre: Educational: Programming Skill Level: - Price: €124.99 - Files: MP4 (+ Exercise Files) Time: 03:35:59 Video: AVC, 1920 x 1080 (1.778) at 30.000 fps, 400 kbps Audio: AAC at 137 Kbps, 2 channels, 48.0 KHz Build fast, safe, and concurrent applications with Rust. 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. Style and Approach: A complete course packed with step-by-step instructions, working examples, and helpful advice. 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 Features: ✓ Interesting projects that will help you build High Performance applications with Rust ✓ Delve into concepts such as error handling, memory management, concurrency, generics, and macros with Rust ✓ Create a Web API with Iron and use Diesel for compile-time safe database interactions Lessons: 1. clap: The Command Line Argument Parser 01. The Course Overview 02. Creating a Clean Command Line Interface with clap 03. Parsing the Markdown with pulldown_cmark 04. Generate HTML with Maud Static Template Macros 05. Publishing Our Crate 2. Error Handling 06. An Introduction to Regex 07. Building Extensible Errors with the Failure Crate 08. Deriving the Fail Trait for Our Error Type 09. Handle Multiple Types of Errors 3. Tokio and Futures 10. Starting to Understand Futures 11. Communicating between Futures Using Channels 12. Running Futures Together 13. One-Shot Communication Across Simple Channels 14. Getting Data Back out of Futures into Synchronous Code 4. A Chat Server 15. Use AsyncRead to Treat Input as an Asynchronous Stream 16. Use AsyncWrite to Treat Output as a Future 17. Listening over TCP 18. Convert Our Input to a Rust Type Using Serde 19. Completing the Application 5. Diesel Database ORM 20. Installing PostgreSQL Database 21. Connect Diesel ORM to the PostgreSQL Database 22. Creating Migrations and Models with the Diesel CLI 23. Inserting Data into Our Database 24. Reading Data from Our Database 25. Updating Our Database 6. A Website Built on Actix 26. Getting a Website Online Using Actix 27. Connecting Actix to the Database 28. Connecting Actix to the Database in an Asynchronous Way 29. Getting Request Information Using Actix Extractors 30. Creating HTML Templates Using Serde and Handlebars 31. Handling Long Term Sessions Using Cookies 32. Course Summary Our members see more. Join us! ------------- Our members see more. Join us!