Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 8, 2025

Bumps swift-bridge from 0.1.57 to 0.1.58.

Release notes

Sourced from swift-bridge's releases.

0.1.58

  • Support calling async Swift functions from Rust #346 (thanks @​Choochmeque)

    // Rust
    #[swift_bridge::bridge]
    mod ffi {
    enum FetchError {
    NetworkError,
    NotFound,
    }
    extern "Swift" {
        async fn fetch_count() -> u32;
        async fn fetch_data(succeed: bool) -> Result<u32, FetchError>;
    }
    
    }
    async fn example() {
    let count = ffi::fetch_count().await;
    match ffi::fetch_data(true).await {
        Ok(data) => println!("Got: {}", data),
        Err(e) => println!("Error: {:?}", e),
    }
    
    }

    // Swift
    func fetch_count() async -> UInt32 {
    return 999
    }
    func fetch_data(succeed: Bool) async throws(FetchError) -> UInt32 {
    if !succeed { throw FetchError.NetworkError }
    return 123
    }

  • Support calling Swift throwing functions from Rust #347 (thanks @​Choochmeque)

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

... (truncated)

Commits
  • 8d764da Support Swift function argument labels (#349)
  • 15062f3 Support call Swift throwing function from Rust (#347)
  • f69a5e6 Support call async Swift function from Rust (#346)
  • 09171dc Generate Hashable conformance for Copy types (#339)
  • 93da216 Clarify why linking to issues is not enough (#343)
  • 36193c8 Document pull request guidelines (#342)
  • 5350b06 Add Sendable to all async return types in tests (#312)
  • 455e986 Implement Sendable for RustString (#330)
  • 840235c Fix typo in .expect message for copying SwiftBridgeCore.h (#329)
  • 73dcc32 Support Equatable on Rust Copy types (#328)
  • Additional commits viewable in compare view

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 8, 2025
@tmolitor-stud-tu tmolitor-stud-tu force-pushed the develop branch 3 times, most recently from 23bd5c3 to be14a66 Compare December 9, 2025 05:11
@tmolitor-stud-tu
Copy link
Member

@dependabot rebase

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/rust/swift-bridge-0.1.58 branch from c4ff227 to 2bd6030 Compare December 9, 2025 05:47
@tmolitor-stud-tu tmolitor-stud-tu merged commit d489c4f into develop Dec 9, 2025
1 check failed
@dependabot dependabot bot deleted the dependabot/cargo/rust/swift-bridge-0.1.58 branch December 9, 2025 06:11
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.

2 participants