Design Patterns and Best Practices in Rust
{"length":10,"manual_blank_page_correction":4,"manual_repetition_loop_correction":9,"stop":427}{"total_receipts":450,"flagged_possible_repetition_loop":14,"success":436,"finish_reason_length":10,"finish_reason_manual_blank_page_correction":4,"finish_re…local graph
Design Patterns and Best Practices in Rust
Section titled “Design Patterns and Best Practices in Rust”Build correct, performant, and maintainable Rust applications using idiomatic patterns and the type system
Technical requirements
Section titled “Technical requirements”To complete the exercises in this book, you’ll need a Rust toolchain installed. The examples in this book were developed using stable Rust, version 1.78.0, which is the minimum version for working on the exercises. Using rustup is recommended for installing a recent toolchain version. It can be found here: https://rustup.rs/. This includes the instructions on installing and using it.
The source code for the exercises can be found on GitHub at https://github.com/PacktPublishing/Design-Patterns-and-Best-Practices-in-Rust. The repository is organized by chapter. The relevant exercises for this chapter can be found at https://github.com/PacktPublishing/Design-Patterns-and-Best-Practices-in-Rust/tree/main/ch1/.
chapter_01
Section titled “chapter_01”node-book_design-patterns-and-best-practices-in-rust_chapter-01-why-is-rust-different — Why Is Rust Different?
chapter_02
Section titled “chapter_02”node-book_design-patterns-and-best-practices-in-rust_chapter-02-anti-pattern-designing-for-object-orientation — Anti-Pattern: Designing for Object Orientation
chapter_03
Section titled “chapter_03”node-book_design-patterns-and-best-practices-in-rust_chapter-03-anti-pattern-using-clone-and-rc-everywhere — Anti-Pattern: Using Clone and Rc Everywhere
chapter_04
Section titled “chapter_04”node-book_design-patterns-and-best-practices-in-rust_chapter-04-dont-fight-the-borrow-checker — Don’t Fight the Borrow Checker
chapter_05
Section titled “chapter_05”node-book_design-patterns-and-best-practices-in-rust_chapter-05-creational-patterns-making-things — Creational Patterns: Making Things
chapter_06
Section titled “chapter_06”node-book_design-patterns-and-best-practices-in-rust_chapter-06-structural-patterns-connecting-and-aggregating-components — Structural Patterns: Connecting and Aggregating Components
chapter_07
Section titled “chapter_07”node-book_design-patterns-and-best-practices-in-rust_chapter-07-behavioral-patterns-1-taking-action — Behavioral Patterns 1: Taking Action
chapter_08
Section titled “chapter_08”node-book_design-patterns-and-best-practices-in-rust_chapter-08-behavioral-patterns-2-keeping-track — Behavioral Patterns 2: Keeping Track
chapter_09
Section titled “chapter_09”node-book_design-patterns-and-best-practices-in-rust_chapter-09-architectural-patterns — Architectural Patterns
chapter_10
Section titled “chapter_10”node-book_design-patterns-and-best-practices-in-rust_chapter-10-patterns-that-leverage-the-type-system — Patterns That Leverage the Type System
chapter_11
Section titled “chapter_11”node-book_design-patterns-and-best-practices-in-rust_chapter-11-patterns-from-functional-programming — Patterns from Functional Programming
chapter_12
Section titled “chapter_12”node-book_design-patterns-and-best-practices-in-rust_chapter-12-patterns-emerging-from-rusts-core-features — Patterns Emerging from Rust’s Core Features
chapter_13
Section titled “chapter_13”node-book_design-patterns-and-best-practices-in-rust_chapter-13-leaning-into-rust — Leaning into Rust