Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 7, 2026

Bumps swift-bridge-build from 0.1.58 to 0.1.59.

Release notes

Sourced from swift-bridge-build's releases.

0.1.59

  • Add support for calling async functions when using Swift 6.0+. Now Swift 5.9+ and 6.0+ are supported. #362 (thanks @​Choochmeque)

  • Support Option<String> in shared struct fields. #354 (thanks @​Choochmeque)

    // Rust
    #[swift_bridge::bridge]
    mod ffi {
    #[swift_bridge(swift_repr = "struct")]
    struct UserProfile {
    name: String,
    bio: Option<String>,  // Now supported
    }
    extern &quot;Rust&quot; {
        fn create_profile(name: String, bio: Option&lt;String&gt;) -&gt; UserProfile;
    }
    
    }

    // Swift
    // Create with Some value
    let profileWithBio = UserProfile(
    name: "Alice".intoRustString(),
    bio: "Hello world".intoRustString()
    )
    // Create with None value
    let profileWithoutBio = UserProfile(
    name: "Bob".intoRustString(),
    bio: nil
    )
    // Access optional field
    if let bio = profileWithBio.bio {
    print("Bio: (bio.toString())")
    }

  • Support Rust calls Swift async throwing function. #348 (thanks @​Choochmeque)

    // Rust
    #[swift_bridge::bridge]
    mod ffi {
        enum SwiftError {
            SomeError,
        }

... (truncated)

Commits

Dependabot compatibility score

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 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 <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)

Bumps [swift-bridge-build](https://github.com/chinedufn/swift-bridge) from 0.1.58 to 0.1.59.
- [Release notes](https://github.com/chinedufn/swift-bridge/releases)
- [Commits](chinedufn/swift-bridge@0.1.58...0.1.59)

---
updated-dependencies:
- dependency-name: swift-bridge-build
  dependency-version: 0.1.59
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 7, 2026
@tmolitor-stud-tu tmolitor-stud-tu force-pushed the develop branch 2 times, most recently from d41e71c to a160ec8 Compare January 9, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant