vsvg icon indicating copy to clipboard operation
vsvg copied to clipboard

Crate conflicts between `eframe` and `vsvg-viewer`.

Open invisageable opened this issue 1 year ago • 0 comments

I trying to used your nice looking crate in a my project using eframe and vsvg-viewer. My goal is to integrate the svg-viewer in my application. But I am not able to use it due to one conflict.

In my Cargo.toml:

[dependencies]
eframe = { version = "0.28.1", features = ["wgpu", "puffin"] }
vsvg-viewer = "0.4.0"

Then when I try to run cargo run:

error: failed to select a version for `web-sys`.
    ... required by package `wgpu v0.18.0`
    ... which satisfies dependency `wgpu = "^0.18"` of package `vsvg-viewer v0.4.0`
    ... which satisfies dependency `vsvg-viewer = "^0.4.0"` of package `my-crate v0.0.0`
versions that meet the requirements `^0.3.64` are: 0.3.69, 0.3.68, 0.3.67, 0.3.66, 0.3.65, 0.3.64

the package `wgpu` depends on `web-sys`, with features: `GpuComputePassTimestampWrite` but `web-sys` does not have these features.

all possible versions conflict with previously selected packages.

  previously selected package `web-sys v0.3.69`
    ... which satisfies dependency `web-sys = "^0.3.64"` of package `wgpu v0.18.0`
    ... which satisfies dependency `wgpu = "^0.18"` of package `vsvg-viewer v0.4.0`
    ... which satisfies dependency `vsvg-viewer = "^0.4.0"` of package `my-crate v0.0.0`

failed to select a version for `web-sys` which could resolve this conflict

invisageable avatar Jul 29 '24 13:07 invisageable