Extend Rust's standard library however you choose
Channel: timClicks
Date: 19/07/2023

Rust is a statically typed programming language. This means that its data types are significantly more constrained than some other programming languages. Rust provides a neat way around this however, its traits system.

This video shows you how the colored crate puts this to good use so that you can do the same in your own projects.

Timeline

00:00:00 Welcome and introduction
00:01:07 Demonstration
00:03:57 Inspect the colored crate's source code
00:05:54 Deref  and Display
00:07:30 Implementing your traits for standard library's type
00:08:30 Wrap up


📚 Resources:
- Colored: https://docs.rs/colored

🦀 Rust resources:
- Tim's tutorial videos https://timclicks.dev
- Rust Documentation: https://doc.rust-lang.org/book/
- Rust Playground: https://play.rust-lang.org/
- Rust in Action (Tim's book!) https://mng.bz/4MlD
- How to Learn Rust (online course!) https://learning.accelerant.dev/how-to-learn-rust

👋 Connect with Tim:
- Twitter: https://twitter.com/timClicks
- GitHub: https://github.com/timClicks
- Mastodon: https://mastodon.nz/@timClicks
- DEV: https://dev.to/timclicks/
- Patreon (extra learning materials) https://www.patreon.com/timClicks

🔔 Subscribe to the channel and click the bell icon to stay updated with the latest videos and live streams from timClicks: https://www.youtube.com/timClicks?sub_confirmation=1

👍 Like this video if you found it helpful, and share it with your friends who are also interested in Rust programming.