Skip to content

Commit

Permalink
build(deps): bump the backend-deps group in /src-tauri with 3 updates (
Browse files Browse the repository at this point in the history
…#434)

Bumps the backend-deps group in /src-tauri with 3 updates:
[reqwest](https://github.com/seanmonstar/reqwest),
[tokio](https://github.com/tokio-rs/tokio) and
[wgpu](https://github.com/gfx-rs/wgpu).

Updates `reqwest` from 0.11.23 to 0.11.24
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/seanmonstar/reqwest/releases">reqwest's
releases</a>.</em></p>
<blockquote>
<h2>v0.11.24</h2>
<h2>What's Changed</h2>
<ul>
<li>Add <code>Certificate::from_pem_bundle()</code> to add a
bundle.</li>
<li>Add <code>http3_prior_knowledge()</code> to blocking client
builder.</li>
<li>Remove <code>Sync</code> bounds requirement for
<code>Body::wrap_stream()</code>.</li>
<li>Fix HTTP/2 to retry <code>REFUSED_STREAM</code> requests.</li>
<li>Fix instances of converting <code>Url</code> to <code>Uri</code>
that could panic.</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/magurotuna"><code>@​magurotuna</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2081">seanmonstar/reqwest#2081</a></li>
<li><a
href="https://github.com/michaelciraci"><code>@​michaelciraci</code></a>
made their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2102">seanmonstar/reqwest#2102</a></li>
<li><a
href="https://github.com/basic-bgnr"><code>@​basic-bgnr</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2110">seanmonstar/reqwest#2110</a></li>
<li><a href="https://github.com/jgraef"><code>@​jgraef</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2114">seanmonstar/reqwest#2114</a></li>
<li><a
href="https://github.com/LucasPickering"><code>@​LucasPickering</code></a>
made their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2040">seanmonstar/reqwest#2040</a></li>
<li><a href="https://github.com/gibbz00"><code>@​gibbz00</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2032">seanmonstar/reqwest#2032</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/seanmonstar/reqwest/compare/v0.11.23...v0.11.24">https://github.com/seanmonstar/reqwest/compare/v0.11.23...v0.11.24</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md">reqwest's
changelog</a>.</em></p>
<blockquote>
<h2>v0.11.24</h2>
<ul>
<li>Add <code>Certificate::from_pem_bundle()</code> to add a
bundle.</li>
<li>Add <code>http3_prior_knowledge()</code> to blocking client
builder.</li>
<li>Remove <code>Sync</code> bounds requirement for
<code>Body::wrap_stream()</code>.</li>
<li>Fix HTTP/2 to retry <code>REFUSED_STREAM</code> requests.</li>
<li>Fix instances of converting <code>Url</code> to <code>Uri</code>
that could panic.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/seanmonstar/reqwest/commit/c9b4b654cb804a8f5ca6b6f768758868ca7d36c3"><code>c9b4b65</code></a>
v0.11.24</li>
<li><a
href="https://github.com/seanmonstar/reqwest/commit/ddf7f24dcadb9a310b52300c531fe516a05e0c43"><code>ddf7f24</code></a>
Add Certificate::from_pem_bundle() (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2032">#2032</a>)</li>
<li><a
href="https://github.com/seanmonstar/reqwest/commit/5d8443ddde43f184c245949b7c4c16c850ffd9cd"><code>5d8443d</code></a>
fix panic when parsing invalid Url to Uri (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2040">#2040</a>)</li>
<li><a
href="https://github.com/seanmonstar/reqwest/commit/e3bf09006608015b565cbd22fc11589e91879c4d"><code>e3bf090</code></a>
docs: explain TLS backend features better (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2117">#2117</a>)</li>
<li><a
href="https://github.com/seanmonstar/reqwest/commit/1bd939ba15bb1a673e1e9187d3773033b42cc6b6"><code>1bd939b</code></a>
update wasm-streams dependency (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2114">#2114</a>)</li>
<li><a
href="https://github.com/seanmonstar/reqwest/commit/87cdf12d3fbc175f1c5a6a06fd5940d6df75fed0"><code>87cdf12</code></a>
doc: clarify Cookie API usage (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2111">#2111</a>)</li>
<li><a
href="https://github.com/seanmonstar/reqwest/commit/b3feff6bd80d78d4f16c300ff92bf4c74eaa87d7"><code>b3feff6</code></a>
Add http3 feature to blocking client (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2110">#2110</a>)</li>
<li><a
href="https://github.com/seanmonstar/reqwest/commit/23329363c68afd7d5e30bcf603060f7af34f7b8c"><code>2332936</code></a>
Update cookie crates (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2089">#2089</a>)</li>
<li><a
href="https://github.com/seanmonstar/reqwest/commit/ef2c8ee50f25717755e3cb4410e3e6480f46d29a"><code>ef2c8ee</code></a>
Upgrading env_logger dep (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2102">#2102</a>)</li>
<li><a
href="https://github.com/seanmonstar/reqwest/commit/4ab5fb031c1d4672c685cb158e2cc6c644346fe2"><code>4ab5fb0</code></a>
Fix HTTP/2: retry requests rejected with <code>REFUSED_STREAM</code> (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2081">#2081</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/seanmonstar/reqwest/compare/v0.11.23...v0.11.24">compare
view</a></li>
</ul>
</details>
<br />

Updates `tokio` from 1.35.1 to 1.36.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/tokio/releases">tokio's
releases</a>.</em></p>
<blockquote>
<h2>Tokio v1.36.0</h2>
<h1>1.36.0 (February 2nd, 2024)</h1>
<h3>Added</h3>
<ul>
<li>io: add <code>tokio::io::Join</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6220">#6220</a>)</li>
<li>io: implement <code>AsyncWrite</code> for <code>Empty</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6235">#6235</a>)</li>
<li>net: add support for anonymous unix pipes (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6127">#6127</a>)</li>
<li>net: add <code>UnixSocket</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6290">#6290</a>)</li>
<li>net: expose keepalive option on <code>TcpSocket</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6311">#6311</a>)</li>
<li>sync: add <code>{Receiver,UnboundedReceiver}::poll_recv_many</code>
(<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6236">#6236</a>)</li>
<li>sync: add <code>Sender::{try_,}reserve_many</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6205">#6205</a>)</li>
<li>sync: add <code>watch::Receiver::mark_unchanged</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6252">#6252</a>)</li>
<li>task: add <code>JoinSet::try_join_next</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6280">#6280</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>io: make <code>copy</code> cooperative (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6265">#6265</a>)</li>
<li>io: make <code>repeat</code> and <code>sink</code> cooperative (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6254">#6254</a>)</li>
<li>io: simplify check for empty slice (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6293">#6293</a>)</li>
<li>process: use pidfd on Linux when available (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6152">#6152</a>)</li>
<li>sync: use AtomicBool in broadcast channel future (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6298">#6298</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li>io: clarify <code>clear_ready</code> docs (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6304">#6304</a>)</li>
<li>net: document that <code>*Fd</code> traits on <code>TcpSocket</code>
are unix-only (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6294">#6294</a>)</li>
<li>sync: document FIFO behavior of <code>tokio::sync::Mutex</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6279">#6279</a>)</li>
<li>chore: typographic improvements (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6262">#6262</a>)</li>
<li>runtime: remove obsolete comment (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6303">#6303</a>)</li>
<li>task: fix typo (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6261">#6261</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/tokio-rs/tokio/issues/6220">#6220</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6220">tokio-rs/tokio#6220</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6235">#6235</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6235">tokio-rs/tokio#6235</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6127">#6127</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6127">tokio-rs/tokio#6127</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6290">#6290</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6290">tokio-rs/tokio#6290</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6311">#6311</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6311">tokio-rs/tokio#6311</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6236">#6236</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6236">tokio-rs/tokio#6236</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6205">#6205</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6205">tokio-rs/tokio#6205</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6252">#6252</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6252">tokio-rs/tokio#6252</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6280">#6280</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6280">tokio-rs/tokio#6280</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6265">#6265</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6265">tokio-rs/tokio#6265</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6254">#6254</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6254">tokio-rs/tokio#6254</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6293">#6293</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6293">tokio-rs/tokio#6293</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6238">#6238</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6238">tokio-rs/tokio#6238</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6152">#6152</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6152">tokio-rs/tokio#6152</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6298">#6298</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6298">tokio-rs/tokio#6298</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6262">#6262</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6262">tokio-rs/tokio#6262</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6303">#6303</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6303">tokio-rs/tokio#6303</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6261">#6261</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6261">tokio-rs/tokio#6261</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tokio-rs/tokio/commit/eaf81ed324e7cca0fa9b497a6747746da37eea93"><code>eaf81ed</code></a>
chore: prepare Tokio v1.36.0 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6312">#6312</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/53f9e5a357c7bc30b01c738d325b4f4a9acc32a6"><code>53f9e5a</code></a>
ci: make sure dictionary words are sorted and unique (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6316">#6316</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/9077762545da312c3527ba45b0bba37ba4b4fb7f"><code>9077762</code></a>
net: expose keepalive option on <code>TcpSocket</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6311">#6311</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/131e7b4e49c8849298ba54b4e0c99f4b81d869e3"><code>131e7b4</code></a>
ci: add spellchecking (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6297">#6297</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/e53b92a9939565edb33575fff296804279e5e419"><code>e53b92a</code></a>
io: clarify <code>clear_ready</code> docs (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6304">#6304</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/753613206566d3e818b8a6e2466121f0f18c70f4"><code>7536132</code></a>
sync: use AtomicBool in broadcast channel future (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6298">#6298</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/b6d0c9091d4f3c6a90ad8764d3c65f8480a48676"><code>b6d0c90</code></a>
macros: fix trait_method breaking change detection (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6308">#6308</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/4846959e8a534cf2aff63f8613e5f69a7d2ce5f8"><code>4846959</code></a>
runtime: remove obsolete comment (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6303">#6303</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/ec3038357f8dbbae0ab4daf55ff27937ad42abb2"><code>ec30383</code></a>
net: add <code>UnixSocket</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6290">#6290</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/f80bbec28ff790d15481a29583c9b778bf0cc40e"><code>f80bbec</code></a>
io: simplify check for empty slice (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6293">#6293</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tokio-rs/tokio/compare/tokio-1.35.1...tokio-1.36.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `wgpu` from 0.18.0 to 0.19.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/gfx-rs/wgpu/releases">wgpu's
releases</a>.</em></p>
<blockquote>
<h2>v0.19.1</h2>
<p>This release includes <code>wgpu</code> and <code>wgpu-hal</code>.
The rest of the crates are unchanged since 0.19.0.</p>
<h3>Bug Fixes</h3>
<h4>DX12</h4>
<ul>
<li>Properly register all swapchain buffers to prevent error on surface
present. By <a
href="https://github.com/dtzxporter"><code>@​dtzxporter</code></a> in <a
href="https://redirect.github.com/gfx-rs/wgpu/pull/5091">#5091</a></li>
<li>Check for extra null states when creating resources. By <a
href="https://github.com/nical"><code>@​nical</code></a> in <a
href="https://redirect.github.com/gfx-rs/wgpu/pull/5096">#5096</a></li>
<li>Fix depth-only and stencil-only views causing crashes. By <a
href="https://github.com/teoxoy"><code>@​teoxoy</code></a> in <a
href="https://redirect.github.com/gfx-rs/wgpu/pull/5100">#5100</a></li>
</ul>
<h4>OpenGL</h4>
<ul>
<li>In Surface::configure and Surface::present on Windows, fix the
current GL context not being unset when releasing the lock that guards
access to making the context current. This was causing other threads to
panic when trying to make the context current. By <a
href="https://github.com/Imberflur"><code>@​Imberflur</code></a> in <a
href="https://redirect.github.com/gfx-rs/wgpu/pull/5087">#5087</a>.</li>
</ul>
<h4>WebGPU</h4>
<ul>
<li>Improve error message when compiling WebGPU backend on wasm without
the <code>web_sys_unstable_apis</code> set. By <a
href="https://github.com/rukai"><code>@​rukai</code></a> in <a
href="https://redirect.github.com/gfx-rs/wgpu/pull/5104">#5104</a></li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Document Wayland specific behavior related to
<code>SurfaceTexture::present</code>. By <a
href="https://github.com/i509VCB"><code>@​i509VCB</code></a> in <a
href="https://redirect.github.com/gfx-rs/wgpu/pull/5093">#5093</a>.</li>
</ul>
<h2>v0.19.0</h2>
<p>This release includes:</p>
<ul>
<li><code>wgpu</code></li>
<li><code>wgpu-core</code></li>
<li><code>wgpu-hal</code></li>
<li><code>wgpu-types</code></li>
<li><code>wgpu-info</code></li>
<li><code>naga</code> (skipped from 0.14 to 0.19)</li>
<li><code>naga-cli</code> (skipped from 0.14 to 0.19)</li>
<li><code>d3d12</code> (skipped from 0.7 to 0.19)</li>
</ul>
<h3>Improved Multithreading through internal use of Reference
Counting</h3>
<p>Large refactoring of wgpu’s internals aiming at reducing lock
contention, and providing better performance when using wgpu on multiple
threads.</p>
<p><a href="https://gfx-rs.github.io/2023/11/24/arcanization.html">Check
the blog post!</a></p>
<p>By <a href="https://github.com/gents83"><code>@​gents83</code></a> in
<a href="https://redirect.github.com/gfx-rs/wgpu/pull/3626">#3626</a>
and thanks also to <a
href="https://github.com/jimblandy"><code>@​jimblandy</code></a>, <a
href="https://github.com/nical"><code>@​nical</code></a>, <a
href="https://github.com/Wumpf"><code>@​Wumpf</code></a>, <a
href="https://github.com/Elabajaba"><code>@​Elabajaba</code></a> &amp;
<a
href="https://github.com/cwfitzgerald"><code>@​cwfitzgerald</code></a></p>
<h3>All Public Dependencies are Re-Exported</h3>
<p>All of wgpu's public dependencies are now re-exported at the top
level so that users don't need to take their own dependencies.
This includes:</p>
<ul>
<li>wgpu-core</li>
<li>wgpu-hal</li>
<li>naga</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/gfx-rs/wgpu/blob/v0.19.1/CHANGELOG.md">wgpu's
changelog</a>.</em></p>
<blockquote>
<h2>v0.19.1 (2024-01-21)</h2>
<h3>Bug Fixes</h3>
<h4>DX12</h4>
<ul>
<li>Properly register all swapchain buffers to prevent error on surface
present. By <a
href="https://github.com/dtzxporter"><code>@​dtzxporter</code></a> in <a
href="https://redirect.github.com/gfx-rs/wgpu/pull/5091">#5091</a></li>
<li>Check for extra null states when creating resources. By <a
href="https://github.com/nical"><code>@​nical</code></a> in <a
href="https://redirect.github.com/gfx-rs/wgpu/pull/5096">#5096</a></li>
<li>Fix depth-only and stencil-only views causing crashes. By <a
href="https://github.com/teoxoy"><code>@​teoxoy</code></a> in <a
href="https://redirect.github.com/gfx-rs/wgpu/pull/5100">#5100</a></li>
</ul>
<h4>OpenGL</h4>
<ul>
<li>In Surface::configure and Surface::present on Windows, fix the
current GL context not being unset when releasing the lock that guards
access to making the context current. This was causing other threads to
panic when trying to make the context current. By <a
href="https://github.com/Imberflur"><code>@​Imberflur</code></a> in <a
href="https://redirect.github.com/gfx-rs/wgpu/pull/5087">#5087</a>.</li>
</ul>
<h4>WebGPU</h4>
<ul>
<li>Improve error message when compiling WebGPU backend on wasm without
the <code>web_sys_unstable_apis</code> set. By <a
href="https://github.com/rukai"><code>@​rukai</code></a> in <a
href="https://redirect.github.com/gfx-rs/wgpu/pull/5104">#5104</a></li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Document Wayland specific behavior related to
<code>SurfaceTexture::present</code>. By <a
href="https://github.com/i509VCB"><code>@​i509VCB</code></a> in <a
href="https://redirect.github.com/gfx-rs/wgpu/pull/5092">#5092</a>.</li>
</ul>
<h2>v0.19.0 (2024-01-17)</h2>
<p>This release includes:</p>
<ul>
<li><code>wgpu</code></li>
<li><code>wgpu-core</code></li>
<li><code>wgpu-hal</code></li>
<li><code>wgpu-types</code></li>
<li><code>wgpu-info</code></li>
<li><code>naga</code> (skipped from 0.14 to 0.19)</li>
<li><code>naga-cli</code> (skipped from 0.14 to 0.19)</li>
<li><code>d3d12</code> (skipped from 0.7 to 0.19)</li>
</ul>
<h3>Improved Multithreading through internal use of Reference
Counting</h3>
<p>Large refactoring of wgpu’s internals aiming at reducing lock
contention, and providing better performance when using wgpu on multiple
threads.</p>
<p><a href="https://gfx-rs.github.io/2023/11/24/arcanization.html">Check
the blog post!</a></p>
<p>By <a href="https://github.com/gents83"><code>@​gents83</code></a> in
<a href="https://redirect.github.com/gfx-rs/wgpu/pull/3626">#3626</a>
and thanks also to <a
href="https://github.com/jimblandy"><code>@​jimblandy</code></a>, <a
href="https://github.com/nical"><code>@​nical</code></a>, <a
href="https://github.com/Wumpf"><code>@​Wumpf</code></a>, <a
href="https://github.com/Elabajaba"><code>@​Elabajaba</code></a> &amp;
<a
href="https://github.com/cwfitzgerald"><code>@​cwfitzgerald</code></a></p>
<h3>All Public Dependencies are Re-Exported</h3>
<p>All of wgpu's public dependencies are now re-exported at the top
level so that users don't need to take their own dependencies.
This includes:</p>
<ul>
<li>wgpu-core</li>
<li>wgpu-hal</li>
<li>naga</li>
<li>raw_window_handle</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/gfx-rs/wgpu/commit/b8a8ff6e44162a41b8d54184a88613794dd3d2e4"><code>b8a8ff6</code></a>
Versions</li>
<li><a
href="https://github.com/gfx-rs/wgpu/commit/6e95491c9d809baff749b86a483daba90548ff87"><code>6e95491</code></a>
Update changelog</li>
<li><a
href="https://github.com/gfx-rs/wgpu/commit/ec48ee3ba6fa60e5a9670ea01e01c1bd462a4212"><code>ec48ee3</code></a>
Document Wayland specifics related to SurfaceTexture::present (<a
href="https://redirect.github.com/gfx-rs/wgpu/issues/5093">#5093</a>)</li>
<li><a
href="https://github.com/gfx-rs/wgpu/commit/f9454d156566615931d1d2bf6879599527d30246"><code>f9454d1</code></a>
Error on missing web_sys_unstable_apis (<a
href="https://redirect.github.com/gfx-rs/wgpu/issues/5104">#5104</a>)</li>
<li><a
href="https://github.com/gfx-rs/wgpu/commit/e1481b656aee4b17602aec2620ad05d2bd77347c"><code>e1481b6</code></a>
Make sure to unset current context in wgl Surface::configure/present (<a
href="https://redirect.github.com/gfx-rs/wgpu/issues/5087">#5087</a>)</li>
<li><a
href="https://github.com/gfx-rs/wgpu/commit/c094e625d0e8cc2d52e2dba91dc8d5292ac220ed"><code>c094e62</code></a>
[d3d12] use plane 1 for stencil only views (<a
href="https://redirect.github.com/gfx-rs/wgpu/issues/5100">#5100</a>)</li>
<li><a
href="https://github.com/gfx-rs/wgpu/commit/a0db2a2355234efb47f8fe49921f042c697ba53f"><code>a0db2a2</code></a>
Make sure to copy all of the buffers into the resource array for dx12.
(<a
href="https://redirect.github.com/gfx-rs/wgpu/issues/5091">#5091</a>)</li>
<li><a
href="https://github.com/gfx-rs/wgpu/commit/ba74217c89d3bf52ebe457c8de7f059379409941"><code>ba74217</code></a>
d3d12: Null check the out ComPtr of a few creation functions (<a
href="https://redirect.github.com/gfx-rs/wgpu/issues/5096">#5096</a>)</li>
<li><a
href="https://github.com/gfx-rs/wgpu/commit/484457d95993b00b91905fae0e539a093423cc28"><code>484457d</code></a>
Fix wgpu-hal build</li>
<li><a
href="https://github.com/gfx-rs/wgpu/commit/7eac4cec5b5768b9e8c221eb3ab1b5b0173bcba7"><code>7eac4ce</code></a>
Fix naga release</li>
<li>Additional commits viewable in <a
href="https://github.com/gfx-rs/wgpu/compare/v0.18.0...v0.19.1">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


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Wilding <[email protected]>
  • Loading branch information
dependabot[bot] and xTVaser authored Feb 10, 2024
1 parent 27e63e6 commit 2afbbaf
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 91 deletions.
29 changes: 23 additions & 6 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

103 changes: 18 additions & 85 deletions src-tauri/src/commands/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,74 +86,6 @@ pub async fn is_avx_requirement_met(
}
}

async fn check_opengl_via_heuristic(
mut config_lock: tokio::sync::MutexGuard<'_, LauncherConfig>,
) -> Result<Option<bool>, CommandError> {
let instance = wgpu::Instance::new(wgpu::InstanceDescriptor {
backends: wgpu::Backends::all(),
flags: wgpu::InstanceFlags::empty(),
gles_minor_version: wgpu::Gles3MinorVersion::Automatic,
dx12_shader_compiler: wgpu::Dx12Compiler::default(),
});
let adapter = match instance
.request_adapter(&wgpu::RequestAdapterOptions {
power_preference: wgpu::PowerPreference::default(),
force_fallback_adapter: false,
compatible_surface: None,
})
.await
{
None => {
config_lock.set_opengl_requirement_met(None).map_err(|_| {
CommandError::Configuration("Unable to persist opengl requirement change".to_owned())
})?;
return Err(CommandError::Configuration(
"Unable to request GPU adapter to check for OpenGL support".to_owned(),
));
}
Some(instance) => instance,
};

match adapter
.request_device(
&wgpu::DeviceDescriptor {
features: wgpu::Features::empty(),
limits: wgpu::Limits {
// These are OpenGL 4.3 minimums where these values
// were the maximum (not inclusive) for 4.2
max_texture_dimension_1d: 16384,
max_texture_dimension_2d: 16384,
max_texture_dimension_3d: 2048,
..wgpu::Limits::default()
},
label: None,
},
None,
)
.await
{
Err(err) => {
config_lock
.set_opengl_requirement_met(Some(false))
.map_err(|_| {
CommandError::Configuration("Unable to persist opengl requirement change".to_owned())
})?;
return Err(CommandError::Configuration(format!(
"Unable to request GPU device with adequate OpenGL support - {err:?}",
)));
}
Ok(device) => device,
};

// If we didn't support the above limits, we would have returned an error already
config_lock
.set_opengl_requirement_met(Some(true))
.map_err(|_| {
CommandError::Configuration("Unable to persist opengl requirement change".to_owned())
})?;
Ok(Some(true))
}

#[tauri::command]
pub async fn is_opengl_requirement_met(
config: tauri::State<'_, tokio::sync::Mutex<LauncherConfig>>,
Expand Down Expand Up @@ -188,24 +120,25 @@ pub async fn is_opengl_requirement_met(
let tooling_version = Version::parse(active_version.strip_prefix('v').unwrap_or(&active_version))
.unwrap_or(Version::new(0, 1, 37));
if tooling_version.major == 0 && tooling_version.minor <= 1 && tooling_version.patch < 38 {
// Do it the old way
log::info!("Checking for OpenGL support via heuristic");
return check_opengl_via_heuristic(config_lock).await;
} else {
// Do it the new way!
log::info!("Checking for OpenGL support via `gk`");
let test_result = super::binaries::run_game_gpu_test(&config_lock, app_handle).await?;
match test_result {
Some(result) => {
config_lock
.set_opengl_requirement_met(Some(result))
.map_err(|_| {
CommandError::Configuration("Unable to persist opengl requirement change".to_owned())
})?;
Ok(Some(result))
}
None => Ok(None),
// Assume it's fine
log::warn!(
"We no longer check for OpenGL support via heuristics, assuming they meet the requirement"
);
return Ok(Some(true));
}
// Do it the new way!
log::info!("Checking for OpenGL support via `gk`");
let test_result = super::binaries::run_game_gpu_test(&config_lock, app_handle).await?;
match test_result {
Some(result) => {
config_lock
.set_opengl_requirement_met(Some(result))
.map_err(|_| {
CommandError::Configuration("Unable to persist opengl requirement change".to_owned())
})?;
Ok(Some(result))
}
None => Ok(None),
}
}

Expand Down

0 comments on commit 2afbbaf

Please sign in to comment.