https://github.com/google/comprehensive-rust Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this organization All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} google / comprehensive-rust Public * Notifications * Fork 657 * Star 13.8k This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust to everyone. google.github.io/comprehensive-rust/ License Apache-2.0 license 13.8k stars 657 forks Star Notifications * Code * Issues 50 * Pull requests 20 * Discussions * Actions * Security * Insights More * Code * Issues * Pull requests * Discussions * Actions * Security * Insights google/comprehensive-rust This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 10 branches 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/g] Use Git or checkout with SVN using the web URL. [gh repo clone google] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @djmitche djmitche Add a sentence about lifetime elision (#663) ... 1c1c367 May 23, 2023 Add a sentence about lifetime elision (#663) add a sentence about lifetime elision 1c1c367 Git stats * 792 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github Update CODEOWNERS (#657) May 23, 2023 03:55 mdbook-exerciser Rename exercise template directory and archive. April 5, 2023 16:28 po da: Small fixes from #646 (#648) May 22, 2023 19:44 src Add a sentence about lifetime elision (#663) May 23, 2023 11:31 theme Add book.js generated with mdbook init --theme March 1, 2023 13:14 third_party Integrate GA4 code directly with book.js (#470) March 2, 2023 17:50 .gitignore Additional Italian translation (#642) May 19, 2023 12:52 CONTRIBUTING.md Publish Comprehensive Rust December 21, 2022 16:38 Cargo.lock Add the description of the chat-app exercise (#641) May 17, 2023 18:22 Cargo.toml Beginnings of an async chat exercise (#627) May 16, 2023 15:51 LICENSE Rename LICENSE.txt to LICENSE (#293) January 29, 2023 14:20 README.md Link badges to the main branch (#636) May 15, 2023 18:12 STYLE.md Add a style guide (#591) May 4, 2023 12:20 TRANSLATIONS.md Add a style guide (#591) May 4, 2023 12:20 aspect-ratio-helper.py Add an aspect-ratio-helper mdbook preprocessor (#187) January 27, 2023 18:30 book.toml Add the description of the chat-app exercise (#641) May 17, 2023 18:22 language-picker.css Add language picker menu (#411) February 15, 2023 15:10 rustfmt.toml Enable imports_granularity for rustfmt (#637) May 16, 2023 12:35 speaker-notes.css Simplify state transitions for speaker notes January 12, 2023 12:31 speaker-notes.js Simplify state transitions for speaker notes January 12, 2023 12:31 svgbob.css Fix svgbob diagrams in dark mode December 27, 2022 17:04 View code Comprehensive Rust Course Format and Target Audience Building Contact README.md Comprehensive Rust Build workflow GitHub contributors GitHub stars This repository has the source code for Comprehensive Rust , a multi-day Rust course developed by the Android team. The course covers all aspects of Rust, from basic syntax to generics and error handling. It also includes deep dives on Android, bare-metal, and concurrency. Read the course at https://google.github.io/comprehensive-rust/. Course Format and Target Audience The course is used internally at Google when teaching Rust to experienced software engineers. They typically have a background in C++ or Java. The course is taught in a classroom setting and we hope it will be useful for others who want to teach Rust to their team. The course will be less useful for self-study since you miss out on the discussions happening in the classroom. You don't see the questions and answers and you don't see the compiler errors we trigger when going through the code samples. We hope to improve on this via speaker notes and by publishing videos. Building The course is built using a few tools: * mdbook * mdbook-svgbob * mdbook-i18n-helpers * mdbook-exerciser Install these tools with: $ cargo install mdbook $ cargo install mdbook-svgbob $ cargo install mdbook-i18n-helpers $ cargo install --path mdbook-exerciser Then run $ mdbook test to test all included Rust snippets. Run $ mdbook serve to start a web server with the course. You'll find the content on http://localhost:3000. You can use mdbook build to create a static version of the course in the book/ directory. Note that you have to separately build and zip exercises and add them to book/html. Contact For questions or comments, please contact Martin Geisler or start a discussion on GitHub. We would love to hear from you. About This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust to everyone. google.github.io/comprehensive-rust/ Topics rust classroom course guide training-materials Resources Readme License Apache-2.0 license Code of conduct Code of conduct Security policy Security policy Stars 13.8k stars Watchers 85 watching Forks 657 forks Report repository Contributors 105 * @mgeisler * @qwandor * @igor-petruk * @fbornhofen * @cchiw * @gendx * @jooyunghan * @djmitche * @brandonpollack23 * @rastringer * @andrewpollack + 94 contributors Languages * Rust 63.1% * Assembly 12.4% * Handlebars 10.4% * JavaScript 4.9% * Shell 2.5% * C 2.2% * Other 4.5% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.