Part of the Rust Crash Course: https://www.youtube.com/playlist?list=PL6yRaaP0WPkWRsXJgdnw9lj1vchAaKwfS

Welcome to the Rust Crash Course

In this course, we will be learning Rust from scratch. This course is very fast paced and designed for programmers who already have some experience with another programming language such as Dart or JavaScript or Swift. We will talk about variables, constants, ownership, functions, structures, enumerations, collections such as tuples, vectors, hash-maps and iterators, optionals, error handling, lifetime specifiers, traits, pointers, generics, packages, crates, modules and paths, asynchronous programming and we will also create 2 sample applications using Rust to put all these concepts to use!

In this chapter we will build yet another application with Rust. This time we will allow the user to store their notes inside a text file.

Timestamps:
00:00 - Sample Project (Notes)
00:20 - We will ask user for notes and store them
00:40 - Create your project
00:54 - Set your project settings
01:25 - Add "chrono" to your dependencies
01:51 - Bring "env" to your workspace
02:11 - Bring "OpenOptions" to your workspace
02:29 - Add "io" prelude to your workspace
02:38 - Return a Result from your main function
02:59 - Return a dummy value for now
03:08 - Kick start your executable with a note
04:06 - Collect input arguments
04:31 - Check for input arguments
05:22 - Grab the incoming note
05:37 - Grab the current date and time
05:59 - Open a file for writing
06:37 - Write the current time to it
07:27 - Write the note to it


If you want to support my work, please consider joining my YouTube channel by pressing the Join button!

Twitter: https://twitter.com/vandadnp
LinkedIn: https://linkedin.com/in/vandadnp

Let's get started!