From 4f3dbbbb9abe25218b0a11364f28f412af16d413 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 8 Apr 2024 13:58:05 +0000
Subject: [PATCH] build(deps): Bump swift-bridge-build from 0.1.52 to 0.1.53 in
/rust (#4434)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [swift-bridge-build](https://github.com/chinedufn/swift-bridge)
from 0.1.52 to 0.1.53.
Release notes
Sourced from swift-bridge-build's
releases.
0.1.53
-
Add support for bridging
Option<&OpaqueRustType> in extern
"Rust" modules. #257
(thanks @​PrismaPhonic)
#[swift_bridge::bridge]
mod ffi {
extern "Rust" {
type MyRustType;
fn my_func(arg: Option<&MyRustType>)
-> Option<&MyRustType>;
}
}
Add support for bridging Option<String> in
extern "Swift" args/returns and
Option<&str> in extern
"Swift" args. #264
#[swift_bridge::bridge]
mod ffi {
extern "Swift" {
fn opt_string_function(arg: Option<String>) ->
Option<String>;
fn opt_str_function(arg:
Option<&str>);
}
}
Improve error message when reporting an unsupported attribute #244
(thanks @​bes)
Commits
[](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)
---
Dependabot commands and options
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 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)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
rust/Cargo.lock | 10 +++++-----
rust/connlib/clients/apple/Cargo.toml | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index b07244012..36b6b3d7c 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -3366,7 +3366,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19"
dependencies = [
"cfg-if",
- "windows-targets 0.48.5",
+ "windows-targets 0.52.4",
]
[[package]]
@@ -5865,9 +5865,9 @@ dependencies = [
[[package]]
name = "swift-bridge-build"
-version = "0.1.52"
+version = "0.1.53"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba4282dc94afa1b7d8f2445532a7c0b7508d470cee261132e26ec001b3185c3b"
+checksum = "a0216c84c63a11fb704946f9c4843c9fad28aaf2431cbbd674a37d86d71f2100"
dependencies = [
"proc-macro2",
"swift-bridge-ir",
@@ -5877,9 +5877,9 @@ dependencies = [
[[package]]
name = "swift-bridge-ir"
-version = "0.1.52"
+version = "0.1.53"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2096a82fb42280699d9b5dde6674cb4f802931eca8623f1edc4587c50dc58da"
+checksum = "183036306714fcb1a53192dd80b89694eef24389b034f3392109b3447006550f"
dependencies = [
"proc-macro2",
"quote",
diff --git a/rust/connlib/clients/apple/Cargo.toml b/rust/connlib/clients/apple/Cargo.toml
index 21c3d1d8c..799435bc5 100644
--- a/rust/connlib/clients/apple/Cargo.toml
+++ b/rust/connlib/clients/apple/Cargo.toml
@@ -8,7 +8,7 @@ edition = "2021"
mock = ["connlib-client-shared/mock"]
[build-dependencies]
-swift-bridge-build = "0.1.52"
+swift-bridge-build = "0.1.53"
[dependencies]
secrecy = { workspace = true }