Packages, Crates, and Modules in Rust
Offered By: Pluralsight
Course Description
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.
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
Related Courses
Intermediate Rust Programming and Advanced ConceptsPackt via Coursera RESTful API with Rust: Build a Game Map Server
Coursera Project Network via Coursera Creating a Digital Garden CLI with Rust
egghead.io Rust Essential Training
LinkedIn Learning Rust Secret Cipher CLI
Duke University via Coursera