RustBrock/Packages.md

350 B

Packages

a bundle of one or more crates that provides a set functionality

it contains a cargo.toml file and describes how to build those crates

packages can have as many binary crates as you want but only at most one library crate

packages must have at least one crate

packages are defined by the toml file that comes with creating a new crate