Rust - Crates - Package


A package is one or more crates that provide a some functionality. A package contains a Cargo.toml file which describes how to build the crates.

A package can contain as many binary crates as desired but can only contain a maximum of one library crate. A package must contain at least one crate (either library or binary).