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.