Rust Time Module and Chrono Crate Intro 🦀

Ғылым және технология

In this video, we are going to explore a couple of structs in the Rust standard library time module. We will also take an introductory look at how to work with dates in the third party Chrono crate. In order to work with external APIs, file systems, databases, and other integrations, you'll need to know how to use dates and times in Rust programs.
🤯 Rust Programming Playlist 🦀 • Rust Programming Tutor...
📖 Rust std::time docs ➡️ doc.rust-lang.org/std/time/in...
📖 Rust chrono docs ➡️ docs.rs/chrono
Visual Studio Code ➡️ code.visualstudio.com
Rust Website ➡️ rust-lang.org
Rustup Installer ➡️ rustup.rs
Rust Docs ➡️ doc.rust-lang.org/book
Please follow me on these other social channels!
➡️ trevorsullivan.net
➡️ github.com/pcgeek86
➡️ / pcgeek86
➡️ / trevorsullivan
➡️ / trevorsoftware
➡️ tiktok.com/pcgeek86
All trademarks, logos and brand names are the property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names,trademarks and brands does not imply endorsement.
#rustlang #rust #rustdev #opensource #software #linux #devops #programming #rusty #dev #coding #codinglife #code #coder #ubuntu #ubuntulinux #appdev #developer

Пікірлер: 10

  • @TrevorSullivan
    @TrevorSullivan9 ай бұрын

    Check out the full Rust playlist for more Rust programming videos! 🦀 ➡➡➡➡ kzread.info/head/PLDbRgZ0OOEpUkWDGqp91ODn0dk7LPBAUL

  • @damianolmedo9248
    @damianolmedo92486 ай бұрын

    thank you, I was learning rust by doing a mini project and the truth is that you are very helpful!

  • @pashok1641
    @pashok16419 ай бұрын

    thank you for the video, watched a whole thing in one sitting!

  • @TrevorSullivan

    @TrevorSullivan

    9 ай бұрын

    Thanks for your support!! I'm glad you benefitted from this series! 🙂

  • @RolandHaller
    @RolandHaller5 ай бұрын

    That was really useful, thank you.

  • @OferSadan85
    @OferSadan859 ай бұрын

    If im not mistaken, extern crate is no longer needed. You can just "use chrono" as if it was an std crate or a module if it's installed Thx for the great content!

  • @TrevorSullivan

    @TrevorSullivan

    9 ай бұрын

    Thank you for the tip!! I figured it was needed based on some older content then. Rust on!! 🦀🦀

  • @hanyanglee9018
    @hanyanglee901817 күн бұрын

    Opt = optimized ? Im not sure.

  • @DBZM1k3
    @DBZM1k39 ай бұрын

    Hi! The .ok() value you use at the end is unnecessary actually! You could just call unwrap() on the Result .ok() converts a result into an Option which is useful in when you are using filter_map or flat_map so that you can discard bad values in a Vec. For instance, you could flat_map or filter_map over a Vec of strings you want converted to i32 via the parse() function. You can call .ok() after the parse to convert to Option which is what flat_map and filter_map will take.

  • @TrevorSullivan

    @TrevorSullivan

    9 ай бұрын

    Thank you for sharing your knowledge! I'm still picking up tips and tricks each and every day 🙂

Келесі