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

Pluralsight

Packages, Crates, and Modules in Rust

via Pluralsight

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
This course will teach you how to organize Rust applications, split them into libraries ("crates"), use libraries written by other Rustaceans, and share your own libraries with the Rust community.

In practice, production grade Rust code is developed using a higher order build and package manager utility. In this course, Packages, Crates, and Modules in Rust, you’ll learn how to create, use, update and publish modular libraries (crates) in Rust. First, you’ll explore Rust’s model for modular code segregation and reuse: crates and modules. Next, you’ll learn how to use Rust’s package manager, Cargo, to create new packages and leverage external libraries. You’ll then explore Rust’s facilities for working with larger projects: workspaces and features. Finally, you’ll learn how to use Cargo to publish modular libraries that other developers in the Rust ecosystem can leverage in their projects. When you’re finished with this course, you’ll have the skills and knowledge needed to build, use, and share modular libraries in Rust.

Syllabus

  • Course Overview 1min
  • What’s in a Name? 3mins
  • Understanding Crates and Modules 13mins
  • Managing Projects with Cargo 9mins
  • Managing Dependencies with Cargo 15mins
  • Managing Project Scale with Workspaces 10mins
  • Optimizing Builds with [features] 20mins
  • Publishing Crates 13mins

Taught by

Mike Woodring

Reviews

Start your review of Packages, Crates, and Modules in Rust

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.