mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Bumps [swift-bridge](https://github.com/chinedufn/swift-bridge) from 0.1.52 to 0.1.53. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/chinedufn/swift-bridge/releases">swift-bridge's releases</a>.</em></p> <blockquote> <h2>0.1.53</h2> <ul> <li> <p>Add support for bridging <code>Option<&OpaqueRustType></code> in <code>extern "Rust"</code> modules. <a href="https://redirect.github.com/chinedufn/swift-bridge/issues/257">#257</a> (thanks <a href="https://github.com/PrismaPhonic"><code>@PrismaPhonic</code></a>)</p> <pre lang="rust"><code>#[swift_bridge::bridge] mod ffi { extern "Rust" { type MyRustType; <pre><code>fn my_func(arg: Option&lt;&amp;MyRustType&gt;) -&gt; Option&lt;&amp;MyRustType&gt;; </code></pre> <p>} } </code></pre></p> </li> <li> <p>Add support for bridging <code>Option<String></code> in <code>extern "Swift"</code> args/returns and <code>Option<&str></code> in <code>extern "Swift"</code> args. <a href="https://redirect.github.com/chinedufn/swift-bridge/issues/264">#264</a></p> <pre lang="rust"><code>#[swift_bridge::bridge] mod ffi { extern "Swift" { fn opt_string_function(arg: Option<String>) -> Option<String>; <pre><code> fn opt_str_function(arg: Option&lt;&amp;str&gt;); } </code></pre> <p>} </code></pre></p> </li> <li> <p>Improve error message when reporting an unsupported attribute <a href="https://redirect.github.com/chinedufn/swift-bridge/issues/244">#244</a> (thanks <a href="https://github.com/bes"><code>@bes</code></a>)</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="04e6abf522"><code>04e6abf</code></a> 0.1.53</li> <li><a href="58f4a40f96"><code>58f4a40</code></a> Swift Option<String> and Option<&str> (<a href="https://redirect.github.com/chinedufn/swift-bridge/issues/264">#264</a>)</li> <li><a href="53b118d17f"><code>53b118d</code></a> Add test cases for Option<&T> and fix rust codegen (<a href="https://redirect.github.com/chinedufn/swift-bridge/issues/257">#257</a>)</li> <li><a href="dd5bef56af"><code>dd5bef5</code></a> Fix <code>improper_ctypes</code> warning (<a href="https://redirect.github.com/chinedufn/swift-bridge/issues/254">#254</a>)</li> <li><a href="48195b550d"><code>48195b5</code></a> Remove unnecessary <code>.deref()</code></li> <li><a href="9746f311ce"><code>9746f31</code></a> Fix typos in Vec<-->RustVec docs (<a href="https://redirect.github.com/chinedufn/swift-bridge/issues/251">#251</a>)</li> <li><a href="a8059a4453"><code>a8059a4</code></a> Fix compilation source in documentation (<a href="https://redirect.github.com/chinedufn/swift-bridge/issues/250">#250</a>)</li> <li><a href="0614ba7d6d"><code>0614ba7</code></a> Remove <code>Array.toUnsafeBufferPointer</code></li> <li><a href="d527f32316"><code>d527f32</code></a> Improve error message for unsupported attribute (<a href="https://redirect.github.com/chinedufn/swift-bridge/issues/244">#244</a>)</li> <li><a href="af962ca051"><code>af962ca</code></a> 0.1.52</li> <li>See full diff in <a href="https://github.com/chinedufn/swift-bridge/compare/0.1.52...0.1.53">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Rust development guide
Firezone uses Rust for all data plane components. This directory contains the Linux and Windows clients, and low-level networking implementations related to STUN/TURN.
We target the last stable release of Rust using rust-toolchain.toml.
If you are using rustup, that is automatically handled for you.
Otherwise, ensure you have the latest stable version of Rust installed.