mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
build(deps): Bump swift-bridge from 0.1.53 to 0.1.55 in /rust (#4862)
Bumps [swift-bridge](https://github.com/chinedufn/swift-bridge) from 0.1.53 to 0.1.55. <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.55</h2> <ul> <li>Fix memory leak when passing <code>Option<SwiftType></code> from Swift to Rust. <a href="https://redirect.github.com/chinedufn/swift-bridge/issues/273">#273</a> <ul> <li>It is very unlikely that users were impacted by this leak <code>Option<SwiftType></code> support was introduced about 10 hours ago</li> <li>Full explanation of the leak can be found in 87dbea3c28d4a96d9195bd3a70fdecfd85fd8f5c</li> </ul> <pre lang="rust"><code>#[swift_bridge::bridge] mod ffi { extern "Swift" { type SomeSwiftType; } <pre><code>extern &quot;Rust&quot; { // Calling with would leak memory in &quot;0.1.54&quot;. // This no longer leaks as of &quot;0.1.55&quot;. fn option_arg(arg: Option&lt;SomeSwiftType&gt;); } </code></pre> <p>} </code></pre></p> </li> </ul> <p><a href="https://redirect.github.com/chinedufn/swift-bridge/issues/273">#273</a>: <a href="https://redirect.github.com/chinedufn/swift-bridge/pull/273">chinedufn/swift-bridge#273</a></p> <h2>0.1.54</h2> <ul> <li>Add support for bridging <code>Option<SwiftType></code> in Rust function arguments and returns. <a href="https://redirect.github.com/chinedufn/swift-bridge/issues/272">#272</a> (thanks <a href="https://github.com/Bright-Shard"><code>@Bright-Shard</code></a>) <pre lang="rust"><code>#[swift_bridge::bridge] mod ffi { extern "Swift" { type SomeSwiftType; } <pre><code>extern &quot;Rust&quot; { fn option_arg(arg: Option&lt;SomeSwiftType&gt;); fn returns_option() -&gt; Option&lt;SomeSwiftType&gt;; } </code></pre> <p>} </code></pre></p> </li> </ul> <p><a href="https://redirect.github.com/chinedufn/swift-bridge/issues/272">#272</a>: <a href="https://redirect.github.com/chinedufn/swift-bridge/pull/272">chinedufn/swift-bridge#272</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="87dbea3c28"><code>87dbea3</code></a> Fix memory leak for <code>Option\<SwiftType></code> (<a href="https://redirect.github.com/chinedufn/swift-bridge/issues/273">#273</a>)</li> <li><a href="b4ba1a72a6"><code>b4ba1a7</code></a> Use explicit pointer casting</li> <li><a href="9d02d8f4e8"><code>9d02d8f</code></a> 0.1.54</li> <li><a href="636fa27748"><code>636fa27</code></a> Support Option<OpaqueSwiftType> (<a href="https://redirect.github.com/chinedufn/swift-bridge/issues/272">#272</a>)</li> <li><a href="c3c950c908"><code>c3c950c</code></a> Inline example code in book</li> <li><a href="75a1077f16"><code>75a1077</code></a> Improve signature support docs (<a href="https://redirect.github.com/chinedufn/swift-bridge/issues/267">#267</a>)</li> <li><a href="7fc3d3ccca"><code>7fc3d3c</code></a> Document the ToRustStr protocol (<a href="https://redirect.github.com/chinedufn/swift-bridge/issues/266">#266</a>)</li> <li>See full diff in <a href="https://github.com/chinedufn/swift-bridge/compare/0.1.53...0.1.55">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>
This commit is contained in:
16
rust/Cargo.lock
generated
16
rust/Cargo.lock
generated
@@ -5932,9 +5932,9 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
|
||||
|
||||
[[package]]
|
||||
name = "swift-bridge"
|
||||
version = "0.1.53"
|
||||
version = "0.1.55"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "72088d7882bd9c900d194cbc6008222c876450f68ce97212ac764775307bfd74"
|
||||
checksum = "6180c668892926e0bc19d75a81b0ee2fdce3ab15ff062a61b3ce9b4d562eac1b"
|
||||
dependencies = [
|
||||
"swift-bridge-build",
|
||||
"swift-bridge-macro",
|
||||
@@ -5942,9 +5942,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "swift-bridge-build"
|
||||
version = "0.1.53"
|
||||
version = "0.1.55"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a0216c84c63a11fb704946f9c4843c9fad28aaf2431cbbd674a37d86d71f2100"
|
||||
checksum = "7b8256d2d8c35795afeab117528f5e42b2706ca29b20f768929d458c7f245fdd"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"swift-bridge-ir",
|
||||
@@ -5954,9 +5954,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "swift-bridge-ir"
|
||||
version = "0.1.53"
|
||||
version = "0.1.55"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "183036306714fcb1a53192dd80b89694eef24389b034f3392109b3447006550f"
|
||||
checksum = "a28407ee88b57fac3e8c9314a0eefb1f63a3743cb0beef4b8d93189d5d8ce0f1"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@@ -5965,9 +5965,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "swift-bridge-macro"
|
||||
version = "0.1.53"
|
||||
version = "0.1.55"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "89560c6f6a3b65ec983c6fca5eb9d5e4c839ff41d8162c24339e258a20bf04a6"
|
||||
checksum = "e69ec9898b591cfcf473a584e98b54517400dcc67b0d3f8fdf2a099ce7971e3a"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
||||
@@ -24,7 +24,7 @@ resolver = "2"
|
||||
[workspace.dependencies]
|
||||
boringtun = { version = "0.6", default-features = false }
|
||||
chrono = { version = "0.4", default-features = false, features = ["std", "clock", "oldtime", "serde"] }
|
||||
swift-bridge = "0.1.53"
|
||||
swift-bridge = "0.1.55"
|
||||
backoff = { version = "0.4", features = ["tokio"] }
|
||||
tracing = { version = "0.1.40" }
|
||||
tracing-subscriber = { version = "0.3.17", features = ["parking_lot"] }
|
||||
|
||||
Reference in New Issue
Block a user