specta-rs / tauri-specta

Completely typesafe Tauri commands
MIT License
368 stars 40 forks source link

Updated tauri dep to `>= beta 19` to fix `link_swift_library` is private #97

Closed ahornbeck closed 5 months ago

ahornbeck commented 5 months ago

The function link_swift_library has been replaced by link_apple_library in tauri-util. However, tauri-specta has a fixed version dependency on tauri version =2.0.0-beta.19, causing a version mismatch among the tauri crates. This results in the following error:

error[E0603]: functionlink_swift_libraryis private.

Updated the tauri version dependency to >=2.0.0-beta.19

oscartbeaumont commented 5 months ago

Thanks but i'm closing this in favor of https://github.com/oscartbeaumont/tauri-specta/commit/c7878ecf0611f845470532bd6ff20548f4771a8a.

oscartbeaumont commented 5 months ago

I forgot to mention in my original but i'm not willing to have a relaxed version requirement on Tauri, as it would be against crates.io's semantic versioning requirements which are pretty important to follow.

The Tauri team are still making breaking changes and it would be irresponsible for me not to lock the build as your project would stop compiling if the Tauri team did a breaking change to anything Tauri Specta relies on.

Once Tauri v2 lands as stable the version requirement can be safely lifted. Hopefully, that will be soon!