### Generate Crate Documentation Source: https://github.com/jeremycg/max_rects/blob/main/README.md Generate the documentation for the Max Rects crate and open it in a web browser. ```bash cargo doc --open ``` -------------------------------- ### Run Max Rects Program Source: https://github.com/jeremycg/max_rects/blob/main/README.md Execute the Max Rects program using Cargo, specifying the number of boxes and bins. ```bash cargo run -- -b 50 -n 10 ``` -------------------------------- ### Clone Max Rects Repository Source: https://github.com/jeremycg/max_rects/blob/main/README.md Clone the Max Rects repository to your local machine and navigate into the project directory. ```bash git clone https://github.com/jeremycg/max_rects.git cd max_rects ``` -------------------------------- ### Use Max Rects Crate in Rust Code Source: https://github.com/jeremycg/max_rects/blob/main/README.md Import and utilize the MaxRects, Bucket, and PackingBox types from the max_rects crate to perform packing operations within your Rust project. ```rust use max_rects::{Bucket, MaxRects, PackingBox}; fn main() { let boxes = vec![PackingBox::new(5, 6), PackingBox::new(4, 4)]; let bins = vec![Bucket::new(10, 20, 0, 0, 1)]; let mut max_rects = MaxRects::new(boxes, bins); let (placed, remaining, updated_bins) = max_rects.place(); } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.