Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Rust Project: Building a Poll Application with Workspaces and Pretty-Print - Tutorial

The Dev Method via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a 29-minute tutorial on creating a small Rust project called "poll" to demonstrate concepts from previous videos. Learn about project structure, workspace configuration, and crate management in Rust. Dive into the code implementation, covering topics such as argument parsing, main loop structure, and using external crates like pretty-print. Discover how to format configuration rows, implement generics, and add stylized text to your output. Gain insights into problem-solving techniques, including leveraging AI assistance with Copilot.

Syllabus

intro
btop
intro to poll
poll arguments
look at script
rust project
root Cargo.toml
looking at the crates
adding another crate
building all crates
look at the code
first couple lines
main loop
how to use poll
pretty-print crate
configuration rows formatting
using generics
using a function from pretty-print
adding the padding
Stylized text
toughest part
Copilot helps me out

Taught by

The Dev Method

Reviews

Start your review of Rust Project: Building a Poll Application with Workspaces and Pretty-Print - Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.