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

YouTube

Rust Best Practices - Utils, Examples, and Tests - Part 2

Jeremy Chone via YouTube

Overview

Explore four essential Rust programming best practices in this 42-minute video tutorial, part 2 of a 3-part series. Learn about utils and trait extensions for single and multi-crate projects, examples best practices, and integration and unit testing techniques. Follow along as the instructor demonstrates these concepts using a real library, genai. Dive into topics such as ValueExt extension traits, code review of integration tests, and practical unit testing examples. Gain valuable insights to enhance your Rust library development skills and improve your coding practices.

Syllabus

- - Intro
- 00:19 - c04: Utils & Support
- 10:03 - c04: Extension Trait Intro
- 12:22 - c04: ValueExt Extension trait by example
- 19:27 - c05: Examples best practices
- 25:05 - c06: Integration Tests code review
- 35:23 - c06: Unit Tests, by example

Taught by

Jeremy Chone

Reviews

Start your review of Rust Best Practices - Utils, Examples, and Tests - Part 2

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.