Rust - Crates - Binary


A package can have any number of binary crates

src/main.rs is the default crate root for a binary crate with the same name as the package. To add multiple binary crates, place files in the src/bin/ directory. Each file will be a separate binary crate.