8eec38e55c
winit 0.30.13 removed WindowBuilder and deprecated EventLoop::run. Move window/GPU creation into ApplicationHandler::resumed, expose AppHandler::setup hook, switch App::run to run_app, and migrate both examples. pollster becomes a regular dependency (used by app.rs).
16 lines
373 B
TOML
16 lines
373 B
TOML
[package]
|
|
name = "wsg-lib"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
wgpu = "30.0.0" # Vérifiez la version la plus récente
|
|
winit = "0.30.13" # For window management — pinned to match examples
|
|
thiserror = "2"
|
|
bytemuck = { version = "1.25.0", features = ["derive"] }
|
|
glam = "0.33"
|
|
pollster = { version="1.0.1", features = ["macro"] }
|