I have a Cargo workspace with a Tauri 2.x app. When I tried adding a Dioxus desktop app to the same workspace, it failed to resolve dependencies:
error: failed to select a version for `webkit2gtk`.
... required by package `wry v0.53.5`
... which satisfies dependency `wry = "^0.53.5"` of package `dioxus-desktop v0.7.9`
versions that meet the requirements `=2.0.1` are: 2.0.1
all possible versions conflict with previously selected packages
previously selected package `webkit2gtk v2.0.2`
... which satisfies dependency `webkit2gtk = "^2"` of package `tauri v2.11.1`
The issue is that dioxus-desktop depends on wry 0.53.5 which pins webkit2gtk-sys =2.0.1, while Tauri 2.x uses a newer wry that pins =2.0.2.
I tried bumping wry from 0.53.5 to 0.54.4 locally and the workspace compiles cleanly with no code changes, but I don't know if there's a reason the older version was pinned or anything else to be aware of.
I'll put together a PR for this. If it's a safe bump someone can merge, otherwise feel free to close.
I have a Cargo workspace with a Tauri 2.x app. When I tried adding a Dioxus desktop app to the same workspace, it failed to resolve dependencies:
The issue is that dioxus-desktop depends on wry 0.53.5 which pins
webkit2gtk-sys =2.0.1, while Tauri 2.x uses a newer wry that pins=2.0.2.I tried bumping wry from 0.53.5 to 0.54.4 locally and the workspace compiles cleanly with no code changes, but I don't know if there's a reason the older version was pinned or anything else to be aware of.
I'll put together a PR for this. If it's a safe bump someone can merge, otherwise feel free to close.