Skip to content

Dependency issues with bevy 0.10.0 #2

@michaelmariaott

Description

@michaelmariaott

If I try to ad bevy_plot to a porject with bevy 0.10.0, I get the following error:

    Updating crates.io index
      Adding bevy_plot v0.1.5 to dependencies.
             Features:
             - unstable
error: failed to select a version for `web-sys`.
    ... required by package `wgpu v0.12.0`
    ... which satisfies dependency `wgpu = "^0.12.0"` of package `bevy_render v0.6.0`
    ... which satisfies dependency `bevy_render = "^0.6.0"` of package `bevy_core_pipeline v0.6.0`
    ... which satisfies dependency `bevy_core_pipeline = "^0.6.0"` of package `bevy_internal v0.6.0`
    ... which satisfies dependency `bevy_internal = "^0.6.0"` of package `bevy v0.6.0`
    ... which satisfies dependency `bevy = "^0.6.0"` of package `bevy_plot v0.1.5`
    ... which satisfies dependency `bevy_plot = "^0.1.5"` of package `brain_osc_viz v0.1.0 (/home/mo/Documents/brain_osc_viz)`
versions that meet the requirements `^0.3.53` are: 0.3.61, 0.3.60, 0.3.59, 0.3.58, 0.3.57, 0.3.56, 0.3.55, 0.3.54, 0.3.53

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


all possible versions conflict with previously selected packages.

  previously selected package `web-sys v0.3.60`
    ... which satisfies dependency `web_sys = "~0.3.60"` of package `glow v0.12.0`
    ... which satisfies dependency `glow = "^0.12.0"` of package `wgpu-hal v0.15.1`
    ... which satisfies dependency `wgpu-hal = "^0.15.1"` of package `bevy_render v0.10.0`
    ... which satisfies dependency `bevy_render = "^0.10.0"` of package `bevy_core_pipeline v0.10.0`
    ... which satisfies dependency `bevy_core_pipeline = "^0.10.0"` of package `bevy_gltf v0.10.0`
    ... which satisfies dependency `bevy_gltf = "^0.10.0"` of package `bevy_internal v0.10.0`
    ... which satisfies dependency `bevy_internal = "^0.10.0"` of package `bevy v0.10.0`
    ... which satisfies dependency `bevy = "^0.10.0"` of package `brain_osc_viz v0.1.0 (/home/mo/Documents/brain_osc_viz)`

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions