bevy_editor_pls
bevy_editor_pls copied to clipboard
Conflict when depend on bevy 8.0
Updating crates.io index
Updating git repository `https://github.com/obsgolem/bevy_mod_raycast`
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.7.0`
... which satisfies dependency `bevy_render = "^0.7.0"` of package `bevy_core_pipeline v0.7.0`
... which satisfies dependency `bevy_core_pipeline = "^0.7.0"` of package `bevy_internal v0.7.0`
... which satisfies dependency `bevy_internal = "^0.7.0"` of package `bevy v0.7.0`
... which satisfies dependency `bevy = "^0.7"` of package `bevy-inspector-egui v0.11.0`
... which satisfies dependency `bevy-inspector-egui = "^0.11"` of package `bevy_editor_pls_core v0.1.0 (/Users/zhouzihao/.Trash/bevy_editor_pls/crates/bevy_editor_pls_core)`
... which satisfies path dependency `bevy_editor_pls_core` of package `bevy_editor_pls v0.1.0 (/Users/zhouzihao/.Trash/bevy_editor_pls/crates/bevy_editor_pls)`
versions that meet the requirements `^0.3.53` are: 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.58`
... which satisfies dependency `web-sys = "^0.3.53"` of package `wgpu v0.12.0`
... which satisfies dependency `wgpu = "^0.12.0"` of package `bevy_render v0.7.0`
... which satisfies dependency `bevy_render = "^0.7.0"` of package `bevy_core_pipeline v0.7.0`
... which satisfies dependency `bevy_core_pipeline = "^0.7.0"` of package `bevy_internal v0.7.0`
... which satisfies dependency `bevy_internal = "^0.7.0"` of package `bevy v0.7.0`
... which satisfies dependency `bevy = "^0.7"` of package `bevy-inspector-egui v0.11.0`
... which satisfies dependency `bevy-inspector-egui = "^0.11"` of package `bevy_editor_pls_core v0.1.0 (/Users/zhouzihao/.Trash/bevy_editor_pls/crates/bevy_editor_pls_core)`
... which satisfies path dependency `bevy_editor_pls_core` of package `bevy_editor_pls v0.1.0 (/Users/zhouzihao/.Trash/bevy_editor_pls/crates/bevy_editor_pls)`
failed to select a version for `web-sys` which could resolve this conflict
How can i fix it? I'm new for rust.if can get some help .thank you,
I think this is just because bevy_editor_pls needs to be updated to 0.8, and until then it's not usable on 0.8.
Oh, I have try to update 0.8 bevy on bevy_editor_pls but failed.
Best wish for anyone can do it and make a MR.
Waiting hores.
There are a few rather complex issues since bevy's large changes with how cameras work. I am taking a stab at migrating in my fork here if anyone wants to take a look: https://github.com/MitchellMarinoDev/bevy_editor_pls.git Still a work in progress, and might have some somewhat big changes due to the camera changes, but if I get it figured out I will put in a pull request.
I'm also very interested in utilizing the new camera changes into the editor since now we could even do split screen or separate window with the editor in that more easily.
@MitchellMarinoDev If you need any help feel free to ping me on anything, I'll probably look into updating it as well just a bit busy atm.
The camera changes do look exciting. I haven't had too much time to look into migrating to 0.8 either. Up until now I have been just trying to get it to compile. But I think I'll have some more time tonight to work on it. I am curious what you have in mind for the camera stuff. From what I can tell, all it does right now is disable the game's camera and enable the editor camera when you press e (and back again when you dissable the editor). I was planning on just keeping this same logic but supporting multiple active cameras now.
Ya, I was just interested in having split screen editor and game, maybe even on separate windows.
Oh, I see. That could be very cool!
I pushed the update in https://github.com/jakobhellermann/bevy_editor_pls/pull/34