Nilirad / bevy_prototype_lyon

Draw 2D shapes in Bevy
Apache License 2.0
702 stars 87 forks source link

Conflict with bevy? #128

Closed TheButlah closed 3 years ago

TheButlah commented 3 years ago
❯ cargo check
error: failed to select a version for `wasm-bindgen`.
    ... required by package `wgpu v0.7.0`
    ... which satisfies dependency `wgpu = "^0.7"` of package `bevy_wgpu v0.5.0`
    ... which satisfies dependency `bevy_wgpu = "^0.5.0"` of package `bevy_internal v0.5.0`
    ... which satisfies dependency `bevy_internal = "=0.5.0"` of package `bevy v0.5.0`
    ... which satisfies dependency `bevy = "=0.5.0"` of package `bevy_prototype_lyon v0.3.1`
    ... which satisfies dependency `bevy_prototype_lyon = "=0.3.1"` of package `tp_client v3.0.0 (/home/ryan/Programming/tp/tp-platform/client)`
versions that meet the requirements `=0.2.69` are: 0.2.69

all possible versions conflict with previously selected packages.

  previously selected package `wasm-bindgen v0.2.72`
    ... which satisfies dependency `wasm-bindgen = "=0.2.72"` of package `bevy_app v0.5.0`
    ... which satisfies dependency `bevy_app = "=0.5.0"` of package `bevy_asset v0.5.1`
    ... which satisfies dependency `bevy_asset = "=0.5.1"` of package `bevy_audio v0.5.0`
    ... which satisfies dependency `bevy_audio = "^0.5.0"` of package `bevy_internal v0.5.0`
    ... which satisfies dependency `bevy_internal = "=0.5.0"` of package `bevy v0.5.0`
    ... which satisfies dependency `bevy = "=0.5.0"` of package `bevy_prototype_lyon v0.3.1`
    ... which satisfies dependency `bevy_prototype_lyon = "=0.3.1"` of package `tp_client v3.0.0 (/home/ryan/Programming/tp/tp-platform/client)`

failed to select a version for `wasm-bindgen` which could resolve this conflict

Cargo.toml:

[package]
name = "tp_client"
version = "3.0.0"
edition = "2021"
rust-version = "1.56"  # Rust 2021

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rand = "0.8"
eyre = "0.6"
arena = {path = "../datastructures/arena"}
typemap = "0.3"
crossbeam-channel = "0.5"

[dev-dependencies]
bevy_prototype_lyon = "0.3.1"
bevy = "0.5"
TheButlah commented 3 years ago

actually, this happens with just bevy = 0.5. Not sure why. closing.