mirror of
https://github.com/open-goal/launcher.git
synced 2024-10-20 04:57:38 -04:00
f4a84d9f5d
Bumps the backend-deps group in /src-tauri with 1 update: [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Updates `ts-rs` from 8.1.0 to 9.0.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Aleph-Alpha/ts-rs/releases">ts-rs's releases</a>.</em></p> <blockquote> <h2>v9.0.0</h2> <p>While v9.0.0 is a technically breaking change, <strong>we expect it to be a drop-in replacement for almost all users</strong>. Only code interacting with <code>TS::dependency_types</code> and <code>TS::generics</code> will need to be adjusted.</p> <h1>What's new?</h1> <h3>Removal of <code>TypeList</code></h3> <p>The biggest change of v9.0.0 is an internal one: We removed <code>TypeList</code> from the API.<br /> This fixes the long-standing issue of complex types failing to compile with</p> <ul> <li><code>overflow evaluating the requirement</code> or</li> <li><code>reached the recursion limit</code></li> </ul> <p>Even if you did not run into those, we do expect this change to also improve compilation times.</p> <h3>Allow for <code>_</code> in <code>#[ts(as = "..")]</code></h3> <p>Similar to how it works in serde, <code>_</code> can be used in <code>#[ts(as = "..")]</code> to refer to the type of the field.<br /> This is particularly useful for more complex type overrides.</p> <h3>Allow <code>#[ts(as = "..")]</code> and <code>#[ts(type = "..")]</code> on structs and enums</h3> <p>These two attributes can now be used directly on structs and enums.<br /> Previously, it was necessary to add these attributes on every field where the type was used.<br /> This feature is particularly useful for exposing newtypes transparently.</p> <p><strong>To see a list of all changes, check out <a href="https://github.com/Aleph-Alpha/ts-rs/blob/main/CHANGELOG.md">CHANGELOG.md</a>!</strong></p> <h1>All changes</h1> <ul> <li>Release 8.1.0 by <a href="https://github.com/NyxCode"><code>@NyxCode</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/283">Aleph-Alpha/ts-rs#283</a></li> <li>add support for top level type overrides by <a href="https://github.com/dr-bonez"><code>@dr-bonez</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/286">Aleph-Alpha/ts-rs#286</a></li> <li>Fix <code>#[ts(rename_all_fields = "...")]</code> on enums containing tuple or unit variants by <a href="https://github.com/escritorio-gustavo"><code>@escritorio-gustavo</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/287">Aleph-Alpha/ts-rs#287</a></li> <li>add support for top level <code>as</code> by <a href="https://github.com/dr-bonez"><code>@dr-bonez</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/288">Aleph-Alpha/ts-rs#288</a></li> <li>Prevent empty <code>Dependencies</code> from being added to <code>dependency_types</code> by <a href="https://github.com/escritorio-gustavo"><code>@escritorio-gustavo</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/291">Aleph-Alpha/ts-rs#291</a></li> <li>Rework attribute parsing by <a href="https://github.com/escritorio-gustavo"><code>@escritorio-gustavo</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/290">Aleph-Alpha/ts-rs#290</a></li> <li>Add MSRV to cargo.toml and README by <a href="https://github.com/escritorio-gustavo"><code>@escritorio-gustavo</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/300">Aleph-Alpha/ts-rs#300</a></li> <li>Fix race condition in imports test by <a href="https://github.com/escritorio-gustavo"><code>@escritorio-gustavo</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/302">Aleph-Alpha/ts-rs#302</a></li> <li>Fix inconsistencies with <code>serde</code> and add <code>SCREAMING-KEBAB-CASE</code> by <a href="https://github.com/escritorio-gustavo"><code>@escritorio-gustavo</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/298">Aleph-Alpha/ts-rs#298</a></li> <li>Support <code>#[serde(with = "...")]</code> for struct fields by <a href="https://github.com/escritorio-gustavo"><code>@escritorio-gustavo</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/280">Aleph-Alpha/ts-rs#280</a></li> <li>dedup dependencies by <a href="https://github.com/kamadorueda"><code>@kamadorueda</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/293">Aleph-Alpha/ts-rs#293</a></li> <li>Fix location of rename_all errors by <a href="https://github.com/escritorio-gustavo"><code>@escritorio-gustavo</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/303">Aleph-Alpha/ts-rs#303</a></li> <li>Infered types (<code>_</code>) in <code>#[ts(as = "...")]</code> by <a href="https://github.com/escritorio-gustavo"><code>@escritorio-gustavo</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/299">Aleph-Alpha/ts-rs#299</a></li> <li>Track <code>Cargo.lock</code> files to improve CI speed by <a href="https://github.com/escritorio-gustavo"><code>@escritorio-gustavo</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/295">Aleph-Alpha/ts-rs#295</a></li> <li>Fix <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/issues/308">#308</a> by <a href="https://github.com/NyxCode"><code>@NyxCode</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/309">Aleph-Alpha/ts-rs#309</a></li> <li>Fix missing case in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/issues/299">#299</a> by <a href="https://github.com/escritorio-gustavo"><code>@escritorio-gustavo</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/310">Aleph-Alpha/ts-rs#310</a></li> <li>Coerce passed type to TS before invoking ::name() by <a href="https://github.com/paultag"><code>@paultag</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/318">Aleph-Alpha/ts-rs#318</a></li> <li>Recusion Limit - Round 2 by <a href="https://github.com/NyxCode"><code>@NyxCode</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/306">Aleph-Alpha/ts-rs#306</a></li> <li>Testing with --no-default-features didnt seem to work in CI by <a href="https://github.com/NyxCode"><code>@NyxCode</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/319">Aleph-Alpha/ts-rs#319</a></li> <li>Insert newline at end of generated files by <a href="https://github.com/lucperkins"><code>@lucperkins</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/321">Aleph-Alpha/ts-rs#321</a></li> <li>bug: Fix issue with absolute paths by <a href="https://github.com/escritorio-gustavo"><code>@escritorio-gustavo</code></a> in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/323">Aleph-Alpha/ts-rs#323</a></li> </ul> <h1>New Contributors</h1> <ul> <li><a href="https://github.com/dr-bonez"><code>@dr-bonez</code></a> made their first contribution in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/286">Aleph-Alpha/ts-rs#286</a></li> <li><a href="https://github.com/kamadorueda"><code>@kamadorueda</code></a> made their first contribution in <a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/293">Aleph-Alpha/ts-rs#293</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Aleph-Alpha/ts-rs/blob/main/CHANGELOG.md">ts-rs's changelog</a>.</em></p> <blockquote> <h1>9.0.0</h1> <h3>Breaking</h3> <ul> <li><code>#[serde(with = "...")]</code> requires the use of <code>#[ts(as = "...")]</code> or <code>#[ts(type = "...")]</code> (<a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/280">#280</a>)</li> <li>Fix incompatibility with serde for <code>snake_case</code>, <code>kebab-case</code> and <code>SCREAMING_SNAKE_CASE</code> (<a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/298">#298</a>)</li> <li><code>#[ts(rename_all = "...")]</code> no longer accepts variations in the string's casing, dashes and underscores to make behavior consistent with serde (<a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/298">#298</a>)</li> <li>Remove <code>TypeList</code>, and replace <code>TS::dependency_types</code>/<code>TS::generics</code> with <code>TS::visit_dependencies</code>/<code>TS::visit_generics</code>. This finally resolves "overflow evaluating the requirement", "reached the recursion limit" errors. Also, compile times should benefit. This is a technically breaking change for those interacting with the <code>TS</code> trait directly. For those just using <code>#[derive(TS)]</code> and <code>#[ts(...)]</code>, nothing changes!</li> </ul> <h3>Features</h3> <ul> <li>Add support for <code>#[ts(type = "..")]</code> directly on structs and enums (<a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/286">#286</a>)</li> <li>Add support for <code>#[ts(as = "..")]</code> directly on structs and enums (<a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/288">#288</a>)</li> <li>Add support for <code>#[ts(rename_all = "SCREAMING-KEBAB-CASE")]</code> (<a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/298">#298</a>)</li> <li>Support <code>_</code> in <code>#[ts(type = "..")]</code> to refer to the type of the field (<a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/299">#299</a>)</li> </ul> <h3>Fixes</h3> <ul> <li>Fix <code>#[ts(rename_all_fields = "...")]</code> on enums containing tuple or unit variants (<a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/287">#287</a>)</li> <li>Fix "overflow evaluating the requirement" and "reached the recursion limit" errors in some cases (<a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/293">#293</a>)</li> <li>Fix ambiguity causing "multiple applicable items in scope" errors in some cases (<a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/309">#309</a>)</li> <li>Fix issues with absolute <code>TS_RS_EXPORT_DIR</code> paths (<a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/323">#323</a>)</li> <li>Add newlines to the end of exported files (<a href="https://redirect.github.com/Aleph-Alpha/ts-rs/pull/321">#321</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
---|---|---|
.. | ||
icons | ||
src | ||
.gitignore | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
rustfmt.toml | ||
tauri.conf.json |