Rust is known to have a steep learning curve. This book does not intend to explain every aspect of Rust; however, you may find it useful while learning Rust. This is a personal project and is not associated with the Rust Foundation.
-
Essentials covers the basic aspects of the Rust programming language. They are explained with easy-to-understand examples.
-
Design Patterns section demonstrates several design patterns with minimalistic but complete projects.
-
Algorithms section explains various popular algorithms with code samples in Rust. (WIP)
The project follows a minimalistic approach, where almost all pages are short with simple, easy-to-follow code samples. Most samples can run. External documentation is referenced when necessary for extended information.
Note: Pages with a WIP note haven't been reviewed yet, and the information in those pages may contain incorrect information.
git clone https://github.com/saltukalakus/idiomatic-rust-snippets
cd idiomatic-rust-snippets
cargo install mdbook
cargo install mdbook-metadata
mdbook build
mdbook serve
Last but not least, please like ⭐️⭐️⭐️ the project on Github if you find it useful. This is a great motivation to keep the project active.