wip upgrade

This commit is contained in:
Swrup 2025-04-16 22:27:43 +02:00
parent b69952e559
commit 7f57c478c0
5 changed files with 11 additions and 9 deletions

View file

@ -2,14 +2,16 @@
name = "montociel"
version = "0.1.0"
edition = "2021"
resolver = "2"
resolver = "2" # Important! wgpu/Bevy needs this!
[dependencies]
bevy = {version = "0.5", default-features = false, features = ["bevy_winit", "render", "bevy_gltf", "png"]}
bevy = { version = "0.6", default-features = false, features = ["bevy_winit", "render", "bevy_gltf", "png"] }
bevy_rapier2d = "*"
rand = "0.8"
# Dependencies for native only.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bevy = {version = "0.5", default-features = false, features = ["bevy_wgpu", "bevy_winit", "render", "x11"]}
winit = "0.26.1" # newer version not ok with new rustc version
# Dependencies for native only.
# [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# bevy = {version = "0.5", default-features = false, features = ["bevy_wgpu", "bevy_winit", "render", "x11"]}