From 6f687d2fc1bd28e403072594451dbf503d5f3a29 Mon Sep 17 00:00:00 2001 From: numzero Date: Tue, 11 Nov 2025 00:52:37 +0300 Subject: [PATCH] cleanup --- Cargo.lock | 89 ++++++------------------------------------------------ Cargo.toml | 10 +----- 2 files changed, 10 insertions(+), 89 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6b50248..2c1f3d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -475,15 +475,6 @@ dependencies = [ "xml-rs", ] -[[package]] -name = "glam" -version = "0.30.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd47b05dddf0005d850e5644cae7f2b14ac3df487979dbfff3b56f20b1a6ae46" -dependencies = [ - "bytemuck", -] - [[package]] name = "glow" version = "0.16.0" @@ -1140,20 +1131,6 @@ version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" -[[package]] -name = "photon-light" -version = "0.1.0" -dependencies = [ - "bytemuck", - "glam", - "pollster", - "rand", - "rand_distr", - "rand_pcg", - "wgpu", - "winit", -] - [[package]] name = "pin-project" version = "1.1.10" @@ -1221,15 +1198,6 @@ dependencies = [ "portable-atomic", ] -[[package]] -name = "ppv-lite86" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] - [[package]] name = "presser" version = "0.3.1" @@ -1284,54 +1252,6 @@ version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" -[[package]] -name = "rand" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" -dependencies = [ - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" -dependencies = [ - "getrandom", -] - -[[package]] -name = "rand_distr" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8615d50dcf34fa31f7ab52692afec947c4dd0ab803cc87cb3b0b4570ff7463" -dependencies = [ - "num-traits", - "rand", -] - -[[package]] -name = "rand_pcg" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b48ac3f7ffaab7fac4d2376632268aa5f89abdb55f7ebf8f4d11fffccb2320f7" -dependencies = [ - "rand_core", -] - [[package]] name = "range-alloc" version = "0.1.4" @@ -2007,6 +1927,15 @@ dependencies = [ "wgpu-hal", ] +[[package]] +name = "wgpu-example" +version = "0.1.0" +dependencies = [ + "pollster", + "wgpu", + "winit", +] + [[package]] name = "wgpu-hal" version = "27.0.4" diff --git a/Cargo.toml b/Cargo.toml index 033fca3..ad27425 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,8 @@ [package] -name = "photon-light" +name = "wgpu-example" version = "0.1.0" edition = "2024" -[profile.dev] -panic = 'abort' - [profile.dev.package."*"] opt-level = 3 @@ -13,11 +10,6 @@ opt-level = 3 opt-level = 3 [dependencies] -bytemuck = "1.24.0" -glam = { version = "0.30.9", features = ["bytemuck"] } pollster = "0.4.0" -rand = "0.9.2" -rand_distr = "0.5.1" -rand_pcg = "0.9.0" wgpu = "27.0.1" winit = "0.30.12"