1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-11-30 00:58:23 +02:00
Go to file
dependabot[bot] cb538caef5 Bump the npm_and_yarn group across 1 directory with 2 updates (#2866)
Bumps the npm_and_yarn group with 2 updates in the /tests directory:
[tmp](https://github.com/raszi/node-tmp) and
[@wdio/cli](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli).

Removes `tmp`

Updates `@wdio/cli` from 9.5.3 to 9.19.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/webdriverio/webdriverio/releases"><code>@​wdio/cli</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v9.19.2 (2025-08-24)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>wdio-junit-reporter</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14706">#14706</a>
fix(junit-reporter): improve error handling and skipped test reportin…
(<a
href="https://github.com/nair-sumesh"><code>@​nair-sumesh</code></a>)</li>
</ul>
</li>
<li><code>webdriverio</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14717">#14717</a>
fix(webdriverio): escape scripts in addInitScript (<a
href="https://github.com/birtles"><code>@​birtles</code></a>)</li>
</ul>
</li>
<li><code>wdio-local-runner</code>, <code>wdio-types</code>,
<code>wdio-xvfb</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14700">#14700</a>
fix(wdio-xvfb): <code>autoXvfb</code> should disable xvfb completely (<a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>wdio-browserstack-service</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14704">#14704</a>
Add chaining of multiple layers of overwritten command definitions (<a
href="https://github.com/amaanbs"><code>@​amaanbs</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 4</h4>
<ul>
<li>Amaan Hakim (<a
href="https://github.com/amaanbs"><code>@​amaanbs</code></a>)</li>
<li>Brian Birtles (<a
href="https://github.com/birtles"><code>@​birtles</code></a>)</li>
<li><a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a></li>
<li><a
href="https://github.com/nair-sumesh"><code>@​nair-sumesh</code></a></li>
</ul>
<h2>v9.19.1 (2025-08-12)</h2>
<h4>💅 Polish</h4>
<ul>
<li><code>wdio-local-runner</code>, <code>wdio-types</code>,
<code>wdio-xvfb</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14696">#14696</a>
feat(wdio-xvfb): add <code>xvfbAutoInstall</code> option (<a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 1</h4>
<ul>
<li><a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a></li>
</ul>
<h2>v9.19.0 (2025-08-11)</h2>
<h4>🚀 New Feature</h4>
<ul>
<li><code>wdio-local-runner</code>, <code>wdio-types</code>,
<code>wdio-xvfb</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14663">#14663</a>
feat: <code>@​wdio/xvfb</code> (<a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a>)</li>
</ul>
</li>
<li><code>wdio-browserstack-service</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14680">#14680</a>
Add ignore hooks support for v9 (<a
href="https://github.com/xxshubhamxx"><code>@​xxshubhamxx</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>webdriverio</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14694">#14694</a>
fix(webdriverio): don't fail if last window is closed (<a
href="https://github.com/christian-bromann"><code>@​christian-bromann</code></a>)</li>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14683">#14683</a>
fix: fix longpress on iOS Safari (<a
href="https://github.com/wswebcreation"><code>@​wswebcreation</code></a>)</li>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14589">#14589</a>
[BUG-14514] - Switch frame to an iframe in a Shadow DOM (<a
href="https://github.com/vishnuv688"><code>@​vishnuv688</code></a>)</li>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14661">#14661</a>
fix: simplify the getNativeContext check (<a
href="https://github.com/wswebcreation"><code>@​wswebcreation</code></a>)</li>
</ul>
</li>
<li><code>wdio-cucumber-framework</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14672">#14672</a>
feat(cucumber): Fix skipping tests with skip tag (<a
href="https://github.com/Nyaran"><code>@​Nyaran</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>wdio-browserstack-service</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14677">#14677</a>
A11y targeted scans v9 (<a
href="https://github.com/xxshubhamxx"><code>@​xxshubhamxx</code></a>)</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md"><code>@​wdio/cli</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>v9.19.2 (2025-08-24)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>wdio-junit-reporter</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14706">#14706</a>
fix(junit-reporter): improve error handling and skipped test reportin…
(<a
href="https://github.com/nair-sumesh"><code>@​nair-sumesh</code></a>)</li>
</ul>
</li>
<li><code>webdriverio</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14717">#14717</a>
fix(webdriverio): escape scripts in addInitScript (<a
href="https://github.com/birtles"><code>@​birtles</code></a>)</li>
</ul>
</li>
<li><code>wdio-local-runner</code>, <code>wdio-types</code>,
<code>wdio-xvfb</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14700">#14700</a>
fix(wdio-xvfb): <code>autoXvfb</code> should disable xvfb completely (<a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>wdio-browserstack-service</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14704">#14704</a>
Add chaining of multiple layers of overwritten command definitions (<a
href="https://github.com/amaanbs"><code>@​amaanbs</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 4</h4>
<ul>
<li>Amaan Hakim (<a
href="https://github.com/amaanbs"><code>@​amaanbs</code></a>)</li>
<li>Brian Birtles (<a
href="https://github.com/birtles"><code>@​birtles</code></a>)</li>
<li><a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a></li>
<li><a
href="https://github.com/nair-sumesh"><code>@​nair-sumesh</code></a></li>
</ul>
<h2>v9.19.1 (2025-08-12)</h2>
<h4>💅 Polish</h4>
<ul>
<li><code>wdio-local-runner</code>, <code>wdio-types</code>,
<code>wdio-xvfb</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14696">#14696</a>
feat(wdio-xvfb): add <code>xvfbAutoInstall</code> option (<a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 1</h4>
<ul>
<li><a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a></li>
</ul>
<h2>v9.19.0 (2025-08-11)</h2>
<h4>🚀 New Feature</h4>
<ul>
<li><code>wdio-local-runner</code>, <code>wdio-types</code>,
<code>wdio-xvfb</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14663">#14663</a>
feat: <code>@​wdio/xvfb</code> (<a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a>)</li>
</ul>
</li>
<li><code>wdio-browserstack-service</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14680">#14680</a>
Add ignore hooks support for v9 (<a
href="https://github.com/xxshubhamxx"><code>@​xxshubhamxx</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>webdriverio</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14694">#14694</a>
fix(webdriverio): don't fail if last window is closed (<a
href="https://github.com/christian-bromann"><code>@​christian-bromann</code></a>)</li>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14683">#14683</a>
fix: fix longpress on iOS Safari (<a
href="https://github.com/wswebcreation"><code>@​wswebcreation</code></a>)</li>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14589">#14589</a>
[BUG-14514] - Switch frame to an iframe in a Shadow DOM (<a
href="https://github.com/vishnuv688"><code>@​vishnuv688</code></a>)</li>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14661">#14661</a>
fix: simplify the getNativeContext check (<a
href="https://github.com/wswebcreation"><code>@​wswebcreation</code></a>)</li>
</ul>
</li>
<li><code>wdio-cucumber-framework</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14672">#14672</a>
feat(cucumber): Fix skipping tests with skip tag (<a
href="https://github.com/Nyaran"><code>@​Nyaran</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>wdio-browserstack-service</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4ca4677177"><code>4ca4677</code></a>
v9.19.2</li>
<li><a
href="df3ec33741"><code>df3ec33</code></a>
v9.19.1</li>
<li><a
href="be9a42358a"><code>be9a423</code></a>
v9.19.0</li>
<li><a
href="a319103a2a"><code>a319103</code></a>
v9.18.4</li>
<li><a
href="fc1d8576f1"><code>fc1d857</code></a>
v9.18.3</li>
<li><a
href="87f33dacfe"><code>87f33da</code></a>
v9.18.2</li>
<li><a
href="3e04568bb2"><code>3e04568</code></a>
v9.18.1</li>
<li><a
href="a515cdf9ce"><code>a515cdf</code></a>
v9.18.0</li>
<li><a
href="69b2f3f90b"><code>69b2f3f</code></a>
chore(*): update major dependencies where possible (<a
href="https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli/issues/14641">#14641</a>)</li>
<li><a
href="bc720bef67"><code>bc720be</code></a>
feat(wdio-cli): enhance job completion logging format (<a
href="https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli/issues/14632">#14632</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/webdriverio/webdriverio/commits/v9.19.2/packages/wdio-cli">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/google/comprehensive-rust/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 21:51:43 +02:00
2025-05-23 19:03:03 +01:00
2023-01-29 14:20:55 +01:00
2025-08-31 17:36:05 -04:00

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, Chromium, 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.

Press

Articles and blog posts from around the web which cover Comprehensive Rust:

Setup

The course is built using a few tools:

First install Rust by following the instructions on https://rustup.rs/. Then clone this repository:

git clone https://github.com/google/comprehensive-rust/
cd comprehensive-rust

Then install these tools with:

cargo xtask install-tools

Note

We use xtask for task automation within the project (e.g. installing required tools). Xtask is not a package that you should install. Visit https://github.com/matklad/cargo-xtask for more information.

Commands

Here are some of the commonly used commands you can run in the project. Run cargo xtask to view all available commands.

Command Description
cargo xtask install-tools Install all the tools the project depends on.
cargo xtask serve Start a web server with the course. You'll find the content on http://localhost: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).
cargo xtask rust-tests Test the included Rust snippets.
cargo xtask web-tests Run the web driver tests in the tests directory.
cargo xtask build 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. 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 contains further instructions.

Note

On Windows, you need to enable symlinks (git config --global core.symlinks true) and Developer Mode.

Contributing

We would like to receive your contributions. Please see CONTRIBUTING.md for details.

Contact

For questions or comments, please contact Martin Geisler or start a discussion on GitHub. We would love to hear from you.

Description
This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.
Readme Apache-2.0 55 MiB
Languages
Rust 62.5%
JavaScript 12.9%
TypeScript 9.5%
Handlebars 6.6%
Assembly 3.4%
Other 5.1%