[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1911":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},1911,"comprehensive-rust","google\u002Fcomprehensive-rust","google","This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.","https:\u002F\u002Fgoogle.github.io\u002Fcomprehensive-rust\u002F",null,"Rust",33038,2021,150,119,0,18,99,10,44.92,"Apache License 2.0",false,"main",true,[26,27,28,7,29,30,31,32],"android","classroom","course","guide","rust","training","training-materials","2026-06-12 02:00:34","# Comprehensive Rust 🦀\n\n[![Build workflow](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fgoogle\u002Fcomprehensive-rust\u002Fbuild.yml?style=flat-square)](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcomprehensive-rust\u002Factions\u002Fworkflows\u002Fbuild.yml?query=branch%3Amain)\n[![GitHub contributors](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fcontributors\u002Fgoogle\u002Fcomprehensive-rust?style=flat-square)](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcomprehensive-rust\u002Fgraphs\u002Fcontributors)\n[![GitHub stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fgoogle\u002Fcomprehensive-rust?style=flat-square)](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcomprehensive-rust\u002Fstargazers)\n\nThis repository has the source code for Comprehensive Rust 🦀, a multi-day Rust\ncourse developed by the Android team. The course covers all aspects of Rust,\nfrom basic syntax to generics and error handling. It also includes deep dives on\n[Android], [Chromium], [bare-metal], and [concurrency].\n\n[Android]: https:\u002F\u002Fgoogle.github.io\u002Fcomprehensive-rust\u002Fandroid.html\n[Chromium]: https:\u002F\u002Fgoogle.github.io\u002Fcomprehensive-rust\u002Fchromium.html\n[bare-metal]: https:\u002F\u002Fgoogle.github.io\u002Fcomprehensive-rust\u002Fbare-metal.html\n[concurrency]: https:\u002F\u002Fgoogle.github.io\u002Fcomprehensive-rust\u002Fconcurrency.html\n\nRead the course at **https:\u002F\u002Fgoogle.github.io\u002Fcomprehensive-rust\u002F**.\n\n## Course Format and Target Audience\n\nThe course is used internally at Google to teach Rust to experienced software\nengineers, typically with a background in C++ or Java.\n\nThe course is taught in a classroom setting, and we hope it will be useful for\nothers who want to teach Rust to their team. The course is less ideal for\nself-study, since you would miss out on classroom discussions. You would not see\nthe questions and answers, nor the compiler errors we trigger when going through\nthe code samples. We hope to improve the self-study experience via\n[speaker notes](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcomprehensive-rust\u002Fissues\u002F53) and by\n[publishing videos](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcomprehensive-rust\u002Fissues\u002F52).\n\n## Press\n\nArticles and blog posts from around the web which cover Comprehensive Rust:\n\n- 2023-09-08:\n  _[Teaching Rust in 5 days](https:\u002F\u002Fmo8it.com\u002Fblog\u002Fteaching-rust\u002F)_.\n  Comprehensive Rust was used as a base for a 5-day university class on Rust.\n- 2023-09-21:\n  _[Scaling Rust Adoption Through Training](https:\u002F\u002Fsecurity.googleblog.com\u002F2023\u002F09\u002Fscaling-rust-adoption-through-training.html)_.\n  We published a blog post with details on the development of the course.\n- 2023-10-02:\n  _[In Search of Rust Developers, Companies Turn to In-House Training](https:\u002F\u002Fwww.darkreading.com\u002Fapplication-security\u002Fseeking-rust-developers-in-house-training)_.\n  About how Microsoft, Google, and others are training people in Rust.\n- 2024-10-18:\n  _[Rust Training at Scale | Rust Global @ RustConf 2024](https:\u002F\u002Fyoutu.be\u002F7h5KyMqt2-Q?si=4M99HdWWxMaqN8Zr)_.\n  What Google learned from teaching Comprehensive Rust for more than two years.\n\n## Setup\n\nThe course is built using a few tools:\n\n- [mdbook](https:\u002F\u002Fgithub.com\u002Frust-lang\u002FmdBook)\n- [mdbook-svgbob](https:\u002F\u002Fgithub.com\u002Fboozook\u002Fmdbook-svgbob)\n- [mdbook-i18n-helpers and i18n-report](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmdbook-i18n-helpers)\n- [mdbook-exerciser](mdbook-exerciser\u002F)\n- [mdbook-course](mdbook-course\u002F)\n- [mdbook-linkcheck2](https:\u002F\u002Fgithub.com\u002Fmarxin\u002Fmdbook-linkcheck2)\n\nFirst, install Rust by following the instructions on https:\u002F\u002Frustup.rs\u002F. Then\nclone this repository:\n\n```shell\ngit clone https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcomprehensive-rust\u002F\ncd comprehensive-rust\n```\n\nThen run the following command to install the correct versions of all tools\nmentioned above:\n\n```shell\ncargo xtask install-tools\n```\n\nThis uses `cargo install` to install the tools, so you will find them in your\n`~\u002F.cargo\u002Fbin\u002F` directory afterwards.\n\n## Commands\n\nHere are some of the commonly used commands you can run in the project. Run\n`cargo xtask` to view all available commands.\n\n| Command                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `cargo xtask install-tools` | Install all the tools the project depends on.                                                                                                                                                                                                                                                                                                                                                                                          |\n| `cargo xtask serve`         | Start a web server with the course. You'll find the content on http:\u002F\u002Flocalhost:3000. To serve any of the translated versions of the course, add the language flag (--language or -l) followed by xx, where xx is the ISO 639 language code (e.g. cargo xtask serve -l da for the Danish translation).                                                                                                                                 |\n| `cargo xtask rust-tests`    | Test the included Rust snippets.                                                                                                                                                                                                                                                                                                                                                                                                       |\n| `cargo xtask web-tests`     | Run the web driver tests in the tests directory.                                                                                                                                                                                                                                                                                                                                                                                       |\n| `cargo xtask build`         | Create a static version of the course in the `book\u002F` directory. Note that you have to separately build and zip exercises and add them to book\u002Fhtml. To build any of the translated versions of the course, add the language flag (--language or -l) followed by xx, where xx is the ISO 639 language code (e.g. cargo xtask build -l da for the Danish translation). [TRANSLATIONS.md](TRANSLATIONS.md) contains further instructions. |\n\n> **Note** On Windows, you need to enable symlinks\n> (`git config --global core.symlinks true`) and Developer Mode.\n\n## Contributing\n\nWe welcome contributions. Please see [CONTRIBUTING.md](CONTRIBUTING.md) for\ndetails.\n\n## License\n\nThis project is licensed under a mix of the Apache License 2.0 and the Creative\nCommons Attribution 4.0 International License.\n\n- **Source Code:** All source code files and code examples embedded in the\n  documentation are licensed under the [Apache License, Version 2.0](LICENSE).\n\n- **Documentation & Content:** All non-source code assets—specifically Markdown\n  (`.md`) files, documentation, and images—are licensed under the\n  [Creative Commons Attribution 4.0 International License](LICENSE-CC-BY).\n\n## Contact\n\nFor questions or comments, please contact\n[Martin Geisler](mailto:mgeisler@google.com) or start a\n[discussion on GitHub](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcomprehensive-rust\u002Fdiscussions).\nWe would love to hear from you.\n","Comprehensive Rust 是由 Google Android 团队开发的一门 Rust 课程，旨在快速教授 Rust 编程语言。该课程全面覆盖了从基础语法到泛型、错误处理等高级主题，并深入探讨了 Rust 在 Android、Chromium 以及裸机环境下的应用和并发编程。采用 mdbook 工具构建，支持丰富的文档格式。适合已经具备 C++ 或 Java 背景的软件工程师在课堂环境中学习，尤其适用于企业内部培训或教育机构中的 Rust 教学活动。虽然目前对于自学来说可能不是最佳选择，但项目团队正致力于通过增加讲者笔记和发布视频来改善这一情况。",2,"2026-06-11 02:46:46","top_all"]