Module Management in Rust
Table of Contents
1. Package
A package is just a project that contains a Cargo.toml file. A package can only have one library crate, but multiple binary crates.
Library should be exposed in lib.rs.
2. Crate
A crate is equivalent to a package in JS, which is a collection of multiple modules.
3. Module
In Rust, we can use path to import modules.