Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Rust Projects
Rating: 3.6 out of 5(65 ratings)
635 students

Rust Projects

Build fast, safe, and concurrent applications with Rust.
Last updated 1/2020
English

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

6 sections32 lectures3h 35m total length
  • The Course Overview4:30

    Understand how this series will help you learn to use the tools in the Rust ecosystem effectively.

       •  Introduce Rust as a language and its growing ecosystem.

       •  Get an overview of the course

       •  Get introduced to the teacher

  • Creating a Clean Command Line Interface with clap6:06

    Every program needs to have a clean and consistent user interface. clap can help us provide that.

       •  Make sure Rust is installed

       •  Use Cargo to import clap

       •  Build a program that outputs its version and a help message

  • Parsing the Markdown with pulldown_cmark5:33

    This video shows how we can convert markdown into HTML.

       •  Introduce and import pulldown_cmark

       •  Parse the chosen file

       •  Print the file to stdout

  • Generate HTML with Maud Static Template Macros8:16

    How can we create new build clear HTML from within Rust?

       •  Introduce and import Maud

       •  Introduce and install nightly Rust

       •  Build a Maud template into our program

  • Publishing Our Crate3:19

    How can we let other people use our application?

       •  Get a crates.io account

       •  Make sure our crate is ready

       •  Publish the crate

  • Test 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.