{"id":13637422,"url":"https://google.github.io/comprehensive-rust/","last_synced_at":"2025-04-19T08:34:08.998Z","repository":{"id":65022610,"uuid":"580836813","full_name":"google/comprehensive-rust","owner":"google","description":"This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.","archived":false,"fork":false,"pushed_at":"2024-05-22T09:17:25.000Z","size":19633,"stargazers_count":26312,"open_issues_count":134,"forks_count":1549,"subscribers_count":144,"default_branch":"main","last_synced_at":"2024-05-22T12:05:50.335Z","etag":null,"topics":["android","classroom","course","google","guide","rust","training","training-materials"],"latest_commit_sha":null,"homepage":"https://google.github.io/comprehensive-rust/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-21T15:17:24.000Z","updated_at":"2024-05-28T11:02:52.731Z","dependencies_parsed_at":"2023-10-16T08:26:13.379Z","dependency_job_id":"66b764e0-7098-4921-90ef-7997888e04e1","html_url":"https://github.com/google/comprehensive-rust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fcomprehensive-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fcomprehensive-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fcomprehensive-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fcomprehensive-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/comprehensive-rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223795266,"owners_count":17204137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","classroom","course","google","guide","rust","training","training-materials"],"created_at":"2024-08-02T00:01:17.172Z","updated_at":"2025-04-19T08:34:08.990Z","avatar_url":"https://github.com/google.png","language":"Rust","readme":"# Comprehensive Rust 🦀\n\n[![Build workflow](https://img.shields.io/github/actions/workflow/status/google/comprehensive-rust/build.yml?style=flat-square)](https://github.com/google/comprehensive-rust/actions/workflows/build.yml?query=branch%3Amain)\n[![GitHub contributors](https://img.shields.io/github/contributors/google/comprehensive-rust?style=flat-square)](https://github.com/google/comprehensive-rust/graphs/contributors)\n[![GitHub stars](https://img.shields.io/github/stars/google/comprehensive-rust?style=flat-square)](https://github.com/google/comprehensive-rust/stargazers)\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://google.github.io/comprehensive-rust/android.html\n[Chromium]: https://google.github.io/comprehensive-rust/chromium.html\n[bare-metal]: https://google.github.io/comprehensive-rust/bare-metal.html\n[concurrency]: https://google.github.io/comprehensive-rust/concurrency.html\n\nRead the course at **https://google.github.io/comprehensive-rust/**.\n\n## Course Format and Target Audience\n\nThe course is used internally at Google when teaching Rust to experienced\nsoftware engineers. They typically have 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 will be less useful for\nself-study since you miss out on the discussions happening in the classroom. You\ndon't see the questions and answers and you don't see the compiler errors we\ntrigger when going through the code samples. We hope to improve on this via\n[speaker notes](https://github.com/google/comprehensive-rust/issues/53) and by\n[publishing videos](https://github.com/google/comprehensive-rust/issues/52).\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://mo8it.com/blog/teaching-rust/)_.\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://security.googleblog.com/2023/09/scaling-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://www.darkreading.com/application-security/google-microsoft-take-refuge-in-rust-languages-better-security)_.\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://youtu.be/7h5KyMqt2-Q?si=4M99HdWWxMaqN8Zr)_.\n  What Google learnt from teaching Comprehensive Rust for more than two years.\n\n## Building\n\nThe course is built using a few tools:\n\n- [mdbook](https://github.com/rust-lang/mdBook)\n- [mdbook-svgbob](https://github.com/boozook/mdbook-svgbob)\n- [mdbook-i18n-helpers and i18n-report](https://github.com/google/mdbook-i18n-helpers)\n- [mdbook-exerciser](mdbook-exerciser/)\n- [mdbook-course](mdbook-course/)\n\nIn addition,\n[mdbook-linkcheck](https://github.com/Michael-F-Bryan/mdbook-linkcheck) checks\nthe internal links.\n\nFirst install Rust by following the instructions on https://rustup.rs/. Then\nclone this repository:\n\n```shell\ngit clone https://github.com/google/comprehensive-rust/\ncd comprehensive-rust\n```\n\nThen install these tools with:\n\n```shell\ncargo xtask install-tools\n```\n\nRun\n\n```shell\nmdbook test\n```\n\nto test all included Rust snippets. Run\n\n```shell\nmdbook serve\n```\n\nto start a web server with the course. You'll find the content on\n\u003chttp://localhost:3000\u003e. You can use `mdbook build` to create a static version\nof the course in the `book/` directory. Note that you have to separately build\nand zip exercises and add them to `book/html`. To build any of the translated\nversions of the course, run `MDBOOK_BOOK__LANGUAGE=xx mdbook build -d book/xx`\nwhere `xx` is the ISO 639 language code (e.g. `da` for the Danish translation).\n[TRANSLATIONS.md](TRANSLATIONS.md) contains further instructions.\n\n\u003e **Note** On Windows, you need to enable symlinks\n\u003e (`git config --global core.symlinks true`) and Developer Mode.\n\n## Contributing\n\nWe would like to receive your contributions. Please see\n[CONTRIBUTING.md](CONTRIBUTING.md) for details.\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://github.com/google/comprehensive-rust/discussions).\nWe would love to hear from you.\n","funding_links":[],"categories":["Resources","Programming Languages"],"sub_categories":["Web programming","Rust"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/google.github.io%2Fcomprehensive-rust%2F","html_url":"https://awesome.ecosyste.ms/projects/google.github.io%2Fcomprehensive-rust%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/google.github.io%2Fcomprehensive-rust%2F/lists"}