diff --git a/Cargo.toml b/Cargo.toml index 911efdd..399d6b7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,7 @@ codegen-units = 1 [workspace.dependencies] glam = "0.32.0" +wgpu = "28.0.0" strafesnet_common = { version = "0.8.6", registry = "strafesnet" } strafesnet_graphics = { version = "0.0.7", registry = "strafesnet" } diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 9e80de5..1a15875 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -5,7 +5,7 @@ edition = "2024" [dependencies] glam.workspace = true +wgpu.workspace = true strafesnet_common.workspace = true strafesnet_graphics.workspace = true strafesnet_roblox_bot_file.workspace = true -wgpu = "28.0.0" diff --git a/native-player/Cargo.toml b/native-player/Cargo.toml index 04e5253..178acf1 100644 --- a/native-player/Cargo.toml +++ b/native-player/Cargo.toml @@ -4,10 +4,10 @@ version = "0.1.0" edition = "2024" [dependencies] -glam.workspace = true pollster = "0.4.0" -wgpu = "28.0.0" winit = "0.30.12" +glam.workspace = true +wgpu.workspace = true strafesnet_roblox_bot_player.workspace = true strafesnet_common.workspace = true strafesnet_graphics.workspace = true diff --git a/video-encoder/Cargo.toml b/video-encoder/Cargo.toml index 53380c9..22fd1f2 100644 --- a/video-encoder/Cargo.toml +++ b/video-encoder/Cargo.toml @@ -5,7 +5,7 @@ edition = "2024" [dependencies] glam.workspace = true -wgpu = "28.0.0" +wgpu.workspace = true strafesnet_roblox_bot_player.workspace = true strafesnet_common.workspace = true strafesnet_graphics.workspace = true diff --git a/wasm-module/Cargo.toml b/wasm-module/Cargo.toml index 1ccb253..15ecb04 100644 --- a/wasm-module/Cargo.toml +++ b/wasm-module/Cargo.toml @@ -12,6 +12,7 @@ webgl = ["wgpu/webgl"] [dependencies] glam.workspace = true +wgpu.workspace = true strafesnet_roblox_bot_player.workspace = true strafesnet_common.workspace = true strafesnet_graphics.workspace = true @@ -20,7 +21,6 @@ strafesnet_snf.workspace = true wasm-bindgen = "0.2.108" wasm-bindgen-futures = "0.4.58" web-sys = { version = "0.3.85", features = ["HtmlCanvasElement"] } -wgpu = { version = "28.0.0" } [package.metadata.wasm-pack.profile.release] wasm-opt = ["-Oz", "--enable-bulk-memory","--enable-nontrapping-float-to-int"]