Tauri 2.0 Compatibility
Opened this issue · 0 comments
appinteractive commented
Is there any chance for this nice project to work with Tauri 2.0 (alpha)?
When adding it currently it does break:
cargo add tauri-plugin-graphql
Updating crates.io index
Adding tauri-plugin-graphql v2.1.0 to dependencies.
Features:
- bigdecimal
- bson
- cbor
- chrono
- chrono-tz
- dataloader
- decimal
- fast_chemail
- graphiql
- hashbrown
- log
- opentelemetry
- secrecy
- smol_str
- string_number
- time
- tokio-sync
- tracing
- url
- uuid
- uuid08
Updating crates.io index
error: failed to select a version for `webkit2gtk-sys`.
... required by package `wry v0.18.3`
... which satisfies dependency `wry = "^0.18.3"` of package `tauri-runtime-wry v0.9.0`
... which satisfies dependency `tauri-runtime-wry = "^0.9.0"` of package `tauri v1.0.0`
... which satisfies dependency `tauri = "^1.0.0"` of package `tauri-plugin-graphql v2.1.0`
... which satisfies dependency `tauri-plugin-graphql = "^2.1.0"` of package `freelance-metrics v0.0.0 (/Users/Greg/Projekte/Eigenes/FreelanceMetrics/src-tauri)`
versions that meet the requirements `^0.18` are: 0.18.0
the package `webkit2gtk-sys` links to the native library `web_kit2`, but it conflicts with a previous package which links to `web_kit2` as well:
package `webkit2gtk-sys v2.0.1`
... which satisfies dependency `ffi = "^2.0.1"` of package `webkit2gtk v2.0.1`
... which satisfies dependency `webkit2gtk = "=2.0.1"` of package `tauri v2.0.0-alpha.20`
... which satisfies dependency `tauri = "^2.0.0-alpha"` of package `freelance-metrics v0.0.0 (/Users/Greg/Projekte/Eigenes/FreelanceMetrics/src-tauri)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links ='webkit2gtk-sys' value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.
failed to select a version for `webkit2gtk-sys` which could resolve this conflict