WebGPU Voxel Game

Initial Winit Setup

j0.lol 5a6b43ea

+2
.gitignore
··· 1 + /target 2 + /pkg
+8
.idea/.gitignore
··· 1 + # Default ignored files 2 + /shelf/ 3 + /workspace.xml 4 + # Editor-based HTTP Client requests 5 + /httpRequests/ 6 + # Datasource local storage ignored files 7 + /dataSources/ 8 + /dataSources.local.xml
+11
.idea/bl0ck.iml
··· 1 + <?xml version="1.0" encoding="UTF-8"?> 2 + <module type="EMPTY_MODULE" version="4"> 3 + <component name="NewModuleRootManager"> 4 + <content url="file://$MODULE_DIR$"> 5 + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> 6 + <excludeFolder url="file://$MODULE_DIR$/target" /> 7 + </content> 8 + <orderEntry type="inheritedJdk" /> 9 + <orderEntry type="sourceFolder" forTests="false" /> 10 + </component> 11 + </module>
+8
.idea/modules.xml
··· 1 + <?xml version="1.0" encoding="UTF-8"?> 2 + <project version="4"> 3 + <component name="ProjectModuleManager"> 4 + <modules> 5 + <module fileurl="file://$PROJECT_DIR$/.idea/bl0ck.iml" filepath="$PROJECT_DIR$/.idea/bl0ck.iml" /> 6 + </modules> 7 + </component> 8 + </project>
+6
.idea/vcs.xml
··· 1 + <?xml version="1.0" encoding="UTF-8"?> 2 + <project version="4"> 3 + <component name="VcsDirectoryMappings"> 4 + <mapping directory="" vcs="Git" /> 5 + </component> 6 + </project>
+2173
Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 3 4 + 5 + [[package]] 6 + name = "ab_glyph" 7 + version = "0.2.28" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "79faae4620f45232f599d9bc7b290f88247a0834162c4495ab2f02d60004adfb" 10 + dependencies = [ 11 + "ab_glyph_rasterizer", 12 + "owned_ttf_parser", 13 + ] 14 + 15 + [[package]] 16 + name = "ab_glyph_rasterizer" 17 + version = "0.1.8" 18 + source = "registry+https://github.com/rust-lang/crates.io-index" 19 + checksum = "c71b1793ee61086797f5c80b6efa2b8ffa6d5dd703f118545808a7f2e27f7046" 20 + 21 + [[package]] 22 + name = "ahash" 23 + version = "0.8.11" 24 + source = "registry+https://github.com/rust-lang/crates.io-index" 25 + checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" 26 + dependencies = [ 27 + "cfg-if", 28 + "getrandom", 29 + "once_cell", 30 + "version_check", 31 + "zerocopy", 32 + ] 33 + 34 + [[package]] 35 + name = "aho-corasick" 36 + version = "1.1.3" 37 + source = "registry+https://github.com/rust-lang/crates.io-index" 38 + checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" 39 + dependencies = [ 40 + "memchr", 41 + ] 42 + 43 + [[package]] 44 + name = "allocator-api2" 45 + version = "0.2.18" 46 + source = "registry+https://github.com/rust-lang/crates.io-index" 47 + checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" 48 + 49 + [[package]] 50 + name = "android-activity" 51 + version = "0.5.2" 52 + source = "registry+https://github.com/rust-lang/crates.io-index" 53 + checksum = "ee91c0c2905bae44f84bfa4e044536541df26b7703fd0888deeb9060fcc44289" 54 + dependencies = [ 55 + "android-properties", 56 + "bitflags 2.6.0", 57 + "cc", 58 + "cesu8", 59 + "jni", 60 + "jni-sys", 61 + "libc", 62 + "log", 63 + "ndk", 64 + "ndk-context", 65 + "ndk-sys", 66 + "num_enum", 67 + "thiserror", 68 + ] 69 + 70 + [[package]] 71 + name = "android-properties" 72 + version = "0.2.2" 73 + source = "registry+https://github.com/rust-lang/crates.io-index" 74 + checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04" 75 + 76 + [[package]] 77 + name = "android_system_properties" 78 + version = "0.1.5" 79 + source = "registry+https://github.com/rust-lang/crates.io-index" 80 + checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" 81 + dependencies = [ 82 + "libc", 83 + ] 84 + 85 + [[package]] 86 + name = "arrayref" 87 + version = "0.3.9" 88 + source = "registry+https://github.com/rust-lang/crates.io-index" 89 + checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" 90 + 91 + [[package]] 92 + name = "arrayvec" 93 + version = "0.7.6" 94 + source = "registry+https://github.com/rust-lang/crates.io-index" 95 + checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" 96 + 97 + [[package]] 98 + name = "as-raw-xcb-connection" 99 + version = "1.0.1" 100 + source = "registry+https://github.com/rust-lang/crates.io-index" 101 + checksum = "175571dd1d178ced59193a6fc02dde1b972eb0bc56c892cde9beeceac5bf0f6b" 102 + 103 + [[package]] 104 + name = "ash" 105 + version = "0.38.0+1.3.281" 106 + source = "registry+https://github.com/rust-lang/crates.io-index" 107 + checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f" 108 + dependencies = [ 109 + "libloading", 110 + ] 111 + 112 + [[package]] 113 + name = "atomic-waker" 114 + version = "1.1.2" 115 + source = "registry+https://github.com/rust-lang/crates.io-index" 116 + checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" 117 + 118 + [[package]] 119 + name = "autocfg" 120 + version = "1.3.0" 121 + source = "registry+https://github.com/rust-lang/crates.io-index" 122 + checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" 123 + 124 + [[package]] 125 + name = "bit-set" 126 + version = "0.6.0" 127 + source = "registry+https://github.com/rust-lang/crates.io-index" 128 + checksum = "f0481a0e032742109b1133a095184ee93d88f3dc9e0d28a5d033dc77a073f44f" 129 + dependencies = [ 130 + "bit-vec", 131 + ] 132 + 133 + [[package]] 134 + name = "bit-vec" 135 + version = "0.7.0" 136 + source = "registry+https://github.com/rust-lang/crates.io-index" 137 + checksum = "d2c54ff287cfc0a34f38a6b832ea1bd8e448a330b3e40a50859e6488bee07f22" 138 + 139 + [[package]] 140 + name = "bitflags" 141 + version = "1.3.2" 142 + source = "registry+https://github.com/rust-lang/crates.io-index" 143 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 144 + 145 + [[package]] 146 + name = "bitflags" 147 + version = "2.6.0" 148 + source = "registry+https://github.com/rust-lang/crates.io-index" 149 + checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" 150 + 151 + [[package]] 152 + name = "bl0ck" 153 + version = "0.1.0" 154 + dependencies = [ 155 + "cfg-if", 156 + "console_error_panic_hook", 157 + "console_log", 158 + "env_logger", 159 + "log", 160 + "wasm-bindgen", 161 + "wasm-bindgen-futures", 162 + "web-sys", 163 + "wgpu", 164 + "winit", 165 + ] 166 + 167 + [[package]] 168 + name = "block" 169 + version = "0.1.6" 170 + source = "registry+https://github.com/rust-lang/crates.io-index" 171 + checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" 172 + 173 + [[package]] 174 + name = "block-sys" 175 + version = "0.2.1" 176 + source = "registry+https://github.com/rust-lang/crates.io-index" 177 + checksum = "ae85a0696e7ea3b835a453750bf002770776609115e6d25c6d2ff28a8200f7e7" 178 + dependencies = [ 179 + "objc-sys", 180 + ] 181 + 182 + [[package]] 183 + name = "block2" 184 + version = "0.3.0" 185 + source = "registry+https://github.com/rust-lang/crates.io-index" 186 + checksum = "15b55663a85f33501257357e6421bb33e769d5c9ffb5ba0921c975a123e35e68" 187 + dependencies = [ 188 + "block-sys", 189 + "objc2", 190 + ] 191 + 192 + [[package]] 193 + name = "bumpalo" 194 + version = "3.16.0" 195 + source = "registry+https://github.com/rust-lang/crates.io-index" 196 + checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" 197 + 198 + [[package]] 199 + name = "bytemuck" 200 + version = "1.18.0" 201 + source = "registry+https://github.com/rust-lang/crates.io-index" 202 + checksum = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae" 203 + 204 + [[package]] 205 + name = "bytes" 206 + version = "1.7.2" 207 + source = "registry+https://github.com/rust-lang/crates.io-index" 208 + checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" 209 + 210 + [[package]] 211 + name = "calloop" 212 + version = "0.12.4" 213 + source = "registry+https://github.com/rust-lang/crates.io-index" 214 + checksum = "fba7adb4dd5aa98e5553510223000e7148f621165ec5f9acd7113f6ca4995298" 215 + dependencies = [ 216 + "bitflags 2.6.0", 217 + "log", 218 + "polling", 219 + "rustix", 220 + "slab", 221 + "thiserror", 222 + ] 223 + 224 + [[package]] 225 + name = "calloop-wayland-source" 226 + version = "0.2.0" 227 + source = "registry+https://github.com/rust-lang/crates.io-index" 228 + checksum = "0f0ea9b9476c7fad82841a8dbb380e2eae480c21910feba80725b46931ed8f02" 229 + dependencies = [ 230 + "calloop", 231 + "rustix", 232 + "wayland-backend", 233 + "wayland-client", 234 + ] 235 + 236 + [[package]] 237 + name = "cc" 238 + version = "1.1.21" 239 + source = "registry+https://github.com/rust-lang/crates.io-index" 240 + checksum = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0" 241 + dependencies = [ 242 + "jobserver", 243 + "libc", 244 + "shlex", 245 + ] 246 + 247 + [[package]] 248 + name = "cesu8" 249 + version = "1.1.0" 250 + source = "registry+https://github.com/rust-lang/crates.io-index" 251 + checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" 252 + 253 + [[package]] 254 + name = "cfg-if" 255 + version = "1.0.0" 256 + source = "registry+https://github.com/rust-lang/crates.io-index" 257 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 258 + 259 + [[package]] 260 + name = "cfg_aliases" 261 + version = "0.1.1" 262 + source = "registry+https://github.com/rust-lang/crates.io-index" 263 + checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" 264 + 265 + [[package]] 266 + name = "codespan-reporting" 267 + version = "0.11.1" 268 + source = "registry+https://github.com/rust-lang/crates.io-index" 269 + checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" 270 + dependencies = [ 271 + "termcolor", 272 + "unicode-width", 273 + ] 274 + 275 + [[package]] 276 + name = "com" 277 + version = "0.6.0" 278 + source = "registry+https://github.com/rust-lang/crates.io-index" 279 + checksum = "7e17887fd17353b65b1b2ef1c526c83e26cd72e74f598a8dc1bee13a48f3d9f6" 280 + dependencies = [ 281 + "com_macros", 282 + ] 283 + 284 + [[package]] 285 + name = "com_macros" 286 + version = "0.6.0" 287 + source = "registry+https://github.com/rust-lang/crates.io-index" 288 + checksum = "d375883580a668c7481ea6631fc1a8863e33cc335bf56bfad8d7e6d4b04b13a5" 289 + dependencies = [ 290 + "com_macros_support", 291 + "proc-macro2", 292 + "syn 1.0.109", 293 + ] 294 + 295 + [[package]] 296 + name = "com_macros_support" 297 + version = "0.6.0" 298 + source = "registry+https://github.com/rust-lang/crates.io-index" 299 + checksum = "ad899a1087a9296d5644792d7cb72b8e34c1bec8e7d4fbc002230169a6e8710c" 300 + dependencies = [ 301 + "proc-macro2", 302 + "quote", 303 + "syn 1.0.109", 304 + ] 305 + 306 + [[package]] 307 + name = "combine" 308 + version = "4.6.7" 309 + source = "registry+https://github.com/rust-lang/crates.io-index" 310 + checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" 311 + dependencies = [ 312 + "bytes", 313 + "memchr", 314 + ] 315 + 316 + [[package]] 317 + name = "concurrent-queue" 318 + version = "2.5.0" 319 + source = "registry+https://github.com/rust-lang/crates.io-index" 320 + checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" 321 + dependencies = [ 322 + "crossbeam-utils", 323 + ] 324 + 325 + [[package]] 326 + name = "console_error_panic_hook" 327 + version = "0.1.7" 328 + source = "registry+https://github.com/rust-lang/crates.io-index" 329 + checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" 330 + dependencies = [ 331 + "cfg-if", 332 + "wasm-bindgen", 333 + ] 334 + 335 + [[package]] 336 + name = "console_log" 337 + version = "1.0.0" 338 + source = "registry+https://github.com/rust-lang/crates.io-index" 339 + checksum = "be8aed40e4edbf4d3b4431ab260b63fdc40f5780a4766824329ea0f1eefe3c0f" 340 + dependencies = [ 341 + "log", 342 + "web-sys", 343 + ] 344 + 345 + [[package]] 346 + name = "core-foundation" 347 + version = "0.9.4" 348 + source = "registry+https://github.com/rust-lang/crates.io-index" 349 + checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" 350 + dependencies = [ 351 + "core-foundation-sys", 352 + "libc", 353 + ] 354 + 355 + [[package]] 356 + name = "core-foundation-sys" 357 + version = "0.8.7" 358 + source = "registry+https://github.com/rust-lang/crates.io-index" 359 + checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" 360 + 361 + [[package]] 362 + name = "core-graphics" 363 + version = "0.23.2" 364 + source = "registry+https://github.com/rust-lang/crates.io-index" 365 + checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081" 366 + dependencies = [ 367 + "bitflags 1.3.2", 368 + "core-foundation", 369 + "core-graphics-types", 370 + "foreign-types", 371 + "libc", 372 + ] 373 + 374 + [[package]] 375 + name = "core-graphics-types" 376 + version = "0.1.3" 377 + source = "registry+https://github.com/rust-lang/crates.io-index" 378 + checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf" 379 + dependencies = [ 380 + "bitflags 1.3.2", 381 + "core-foundation", 382 + "libc", 383 + ] 384 + 385 + [[package]] 386 + name = "crossbeam-utils" 387 + version = "0.8.20" 388 + source = "registry+https://github.com/rust-lang/crates.io-index" 389 + checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" 390 + 391 + [[package]] 392 + name = "cursor-icon" 393 + version = "1.1.0" 394 + source = "registry+https://github.com/rust-lang/crates.io-index" 395 + checksum = "96a6ac251f4a2aca6b3f91340350eab87ae57c3f127ffeb585e92bd336717991" 396 + 397 + [[package]] 398 + name = "d3d12" 399 + version = "22.0.0" 400 + source = "registry+https://github.com/rust-lang/crates.io-index" 401 + checksum = "bdbd1f579714e3c809ebd822c81ef148b1ceaeb3d535352afc73fd0c4c6a0017" 402 + dependencies = [ 403 + "bitflags 2.6.0", 404 + "libloading", 405 + "winapi", 406 + ] 407 + 408 + [[package]] 409 + name = "dispatch" 410 + version = "0.2.0" 411 + source = "registry+https://github.com/rust-lang/crates.io-index" 412 + checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" 413 + 414 + [[package]] 415 + name = "dlib" 416 + version = "0.5.2" 417 + source = "registry+https://github.com/rust-lang/crates.io-index" 418 + checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412" 419 + dependencies = [ 420 + "libloading", 421 + ] 422 + 423 + [[package]] 424 + name = "document-features" 425 + version = "0.2.10" 426 + source = "registry+https://github.com/rust-lang/crates.io-index" 427 + checksum = "cb6969eaabd2421f8a2775cfd2471a2b634372b4a25d41e3bd647b79912850a0" 428 + dependencies = [ 429 + "litrs", 430 + ] 431 + 432 + [[package]] 433 + name = "downcast-rs" 434 + version = "1.2.1" 435 + source = "registry+https://github.com/rust-lang/crates.io-index" 436 + checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" 437 + 438 + [[package]] 439 + name = "env_logger" 440 + version = "0.10.2" 441 + source = "registry+https://github.com/rust-lang/crates.io-index" 442 + checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" 443 + dependencies = [ 444 + "humantime", 445 + "is-terminal", 446 + "log", 447 + "regex", 448 + "termcolor", 449 + ] 450 + 451 + [[package]] 452 + name = "equivalent" 453 + version = "1.0.1" 454 + source = "registry+https://github.com/rust-lang/crates.io-index" 455 + checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 456 + 457 + [[package]] 458 + name = "errno" 459 + version = "0.3.9" 460 + source = "registry+https://github.com/rust-lang/crates.io-index" 461 + checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" 462 + dependencies = [ 463 + "libc", 464 + "windows-sys 0.52.0", 465 + ] 466 + 467 + [[package]] 468 + name = "foreign-types" 469 + version = "0.5.0" 470 + source = "registry+https://github.com/rust-lang/crates.io-index" 471 + checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" 472 + dependencies = [ 473 + "foreign-types-macros", 474 + "foreign-types-shared", 475 + ] 476 + 477 + [[package]] 478 + name = "foreign-types-macros" 479 + version = "0.2.3" 480 + source = "registry+https://github.com/rust-lang/crates.io-index" 481 + checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" 482 + dependencies = [ 483 + "proc-macro2", 484 + "quote", 485 + "syn 2.0.77", 486 + ] 487 + 488 + [[package]] 489 + name = "foreign-types-shared" 490 + version = "0.3.1" 491 + source = "registry+https://github.com/rust-lang/crates.io-index" 492 + checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" 493 + 494 + [[package]] 495 + name = "gethostname" 496 + version = "0.4.3" 497 + source = "registry+https://github.com/rust-lang/crates.io-index" 498 + checksum = "0176e0459c2e4a1fe232f984bca6890e681076abb9934f6cea7c326f3fc47818" 499 + dependencies = [ 500 + "libc", 501 + "windows-targets 0.48.5", 502 + ] 503 + 504 + [[package]] 505 + name = "getrandom" 506 + version = "0.2.15" 507 + source = "registry+https://github.com/rust-lang/crates.io-index" 508 + checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" 509 + dependencies = [ 510 + "cfg-if", 511 + "libc", 512 + "wasi", 513 + ] 514 + 515 + [[package]] 516 + name = "gl_generator" 517 + version = "0.14.0" 518 + source = "registry+https://github.com/rust-lang/crates.io-index" 519 + checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" 520 + dependencies = [ 521 + "khronos_api", 522 + "log", 523 + "xml-rs", 524 + ] 525 + 526 + [[package]] 527 + name = "glow" 528 + version = "0.13.1" 529 + source = "registry+https://github.com/rust-lang/crates.io-index" 530 + checksum = "bd348e04c43b32574f2de31c8bb397d96c9fcfa1371bd4ca6d8bdc464ab121b1" 531 + dependencies = [ 532 + "js-sys", 533 + "slotmap", 534 + "wasm-bindgen", 535 + "web-sys", 536 + ] 537 + 538 + [[package]] 539 + name = "glutin_wgl_sys" 540 + version = "0.6.0" 541 + source = "registry+https://github.com/rust-lang/crates.io-index" 542 + checksum = "0a4e1951bbd9434a81aa496fe59ccc2235af3820d27b85f9314e279609211e2c" 543 + dependencies = [ 544 + "gl_generator", 545 + ] 546 + 547 + [[package]] 548 + name = "gpu-alloc" 549 + version = "0.6.0" 550 + source = "registry+https://github.com/rust-lang/crates.io-index" 551 + checksum = "fbcd2dba93594b227a1f57ee09b8b9da8892c34d55aa332e034a228d0fe6a171" 552 + dependencies = [ 553 + "bitflags 2.6.0", 554 + "gpu-alloc-types", 555 + ] 556 + 557 + [[package]] 558 + name = "gpu-alloc-types" 559 + version = "0.3.0" 560 + source = "registry+https://github.com/rust-lang/crates.io-index" 561 + checksum = "98ff03b468aa837d70984d55f5d3f846f6ec31fe34bbb97c4f85219caeee1ca4" 562 + dependencies = [ 563 + "bitflags 2.6.0", 564 + ] 565 + 566 + [[package]] 567 + name = "gpu-allocator" 568 + version = "0.26.0" 569 + source = "registry+https://github.com/rust-lang/crates.io-index" 570 + checksum = "fdd4240fc91d3433d5e5b0fc5b67672d771850dc19bbee03c1381e19322803d7" 571 + dependencies = [ 572 + "log", 573 + "presser", 574 + "thiserror", 575 + "winapi", 576 + "windows", 577 + ] 578 + 579 + [[package]] 580 + name = "gpu-descriptor" 581 + version = "0.3.0" 582 + source = "registry+https://github.com/rust-lang/crates.io-index" 583 + checksum = "9c08c1f623a8d0b722b8b99f821eb0ba672a1618f0d3b16ddbee1cedd2dd8557" 584 + dependencies = [ 585 + "bitflags 2.6.0", 586 + "gpu-descriptor-types", 587 + "hashbrown", 588 + ] 589 + 590 + [[package]] 591 + name = "gpu-descriptor-types" 592 + version = "0.2.0" 593 + source = "registry+https://github.com/rust-lang/crates.io-index" 594 + checksum = "fdf242682df893b86f33a73828fb09ca4b2d3bb6cc95249707fc684d27484b91" 595 + dependencies = [ 596 + "bitflags 2.6.0", 597 + ] 598 + 599 + [[package]] 600 + name = "hashbrown" 601 + version = "0.14.5" 602 + source = "registry+https://github.com/rust-lang/crates.io-index" 603 + checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" 604 + dependencies = [ 605 + "ahash", 606 + "allocator-api2", 607 + ] 608 + 609 + [[package]] 610 + name = "hassle-rs" 611 + version = "0.11.0" 612 + source = "registry+https://github.com/rust-lang/crates.io-index" 613 + checksum = "af2a7e73e1f34c48da31fb668a907f250794837e08faa144fd24f0b8b741e890" 614 + dependencies = [ 615 + "bitflags 2.6.0", 616 + "com", 617 + "libc", 618 + "libloading", 619 + "thiserror", 620 + "widestring", 621 + "winapi", 622 + ] 623 + 624 + [[package]] 625 + name = "hermit-abi" 626 + version = "0.4.0" 627 + source = "registry+https://github.com/rust-lang/crates.io-index" 628 + checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" 629 + 630 + [[package]] 631 + name = "hexf-parse" 632 + version = "0.2.1" 633 + source = "registry+https://github.com/rust-lang/crates.io-index" 634 + checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" 635 + 636 + [[package]] 637 + name = "humantime" 638 + version = "2.1.0" 639 + source = "registry+https://github.com/rust-lang/crates.io-index" 640 + checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" 641 + 642 + [[package]] 643 + name = "icrate" 644 + version = "0.0.4" 645 + source = "registry+https://github.com/rust-lang/crates.io-index" 646 + checksum = "99d3aaff8a54577104bafdf686ff18565c3b6903ca5782a2026ef06e2c7aa319" 647 + dependencies = [ 648 + "block2", 649 + "dispatch", 650 + "objc2", 651 + ] 652 + 653 + [[package]] 654 + name = "indexmap" 655 + version = "2.5.0" 656 + source = "registry+https://github.com/rust-lang/crates.io-index" 657 + checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" 658 + dependencies = [ 659 + "equivalent", 660 + "hashbrown", 661 + ] 662 + 663 + [[package]] 664 + name = "is-terminal" 665 + version = "0.4.13" 666 + source = "registry+https://github.com/rust-lang/crates.io-index" 667 + checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" 668 + dependencies = [ 669 + "hermit-abi", 670 + "libc", 671 + "windows-sys 0.52.0", 672 + ] 673 + 674 + [[package]] 675 + name = "jni" 676 + version = "0.21.1" 677 + source = "registry+https://github.com/rust-lang/crates.io-index" 678 + checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" 679 + dependencies = [ 680 + "cesu8", 681 + "cfg-if", 682 + "combine", 683 + "jni-sys", 684 + "log", 685 + "thiserror", 686 + "walkdir", 687 + "windows-sys 0.45.0", 688 + ] 689 + 690 + [[package]] 691 + name = "jni-sys" 692 + version = "0.3.0" 693 + source = "registry+https://github.com/rust-lang/crates.io-index" 694 + checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" 695 + 696 + [[package]] 697 + name = "jobserver" 698 + version = "0.1.32" 699 + source = "registry+https://github.com/rust-lang/crates.io-index" 700 + checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" 701 + dependencies = [ 702 + "libc", 703 + ] 704 + 705 + [[package]] 706 + name = "js-sys" 707 + version = "0.3.70" 708 + source = "registry+https://github.com/rust-lang/crates.io-index" 709 + checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" 710 + dependencies = [ 711 + "wasm-bindgen", 712 + ] 713 + 714 + [[package]] 715 + name = "khronos-egl" 716 + version = "6.0.0" 717 + source = "registry+https://github.com/rust-lang/crates.io-index" 718 + checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76" 719 + dependencies = [ 720 + "libc", 721 + "libloading", 722 + "pkg-config", 723 + ] 724 + 725 + [[package]] 726 + name = "khronos_api" 727 + version = "3.1.0" 728 + source = "registry+https://github.com/rust-lang/crates.io-index" 729 + checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" 730 + 731 + [[package]] 732 + name = "libc" 733 + version = "0.2.159" 734 + source = "registry+https://github.com/rust-lang/crates.io-index" 735 + checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" 736 + 737 + [[package]] 738 + name = "libloading" 739 + version = "0.8.5" 740 + source = "registry+https://github.com/rust-lang/crates.io-index" 741 + checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" 742 + dependencies = [ 743 + "cfg-if", 744 + "windows-targets 0.52.6", 745 + ] 746 + 747 + [[package]] 748 + name = "libredox" 749 + version = "0.0.2" 750 + source = "registry+https://github.com/rust-lang/crates.io-index" 751 + checksum = "3af92c55d7d839293953fcd0fda5ecfe93297cfde6ffbdec13b41d99c0ba6607" 752 + dependencies = [ 753 + "bitflags 2.6.0", 754 + "libc", 755 + "redox_syscall 0.4.1", 756 + ] 757 + 758 + [[package]] 759 + name = "linux-raw-sys" 760 + version = "0.4.14" 761 + source = "registry+https://github.com/rust-lang/crates.io-index" 762 + checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" 763 + 764 + [[package]] 765 + name = "litrs" 766 + version = "0.4.1" 767 + source = "registry+https://github.com/rust-lang/crates.io-index" 768 + checksum = "b4ce301924b7887e9d637144fdade93f9dfff9b60981d4ac161db09720d39aa5" 769 + 770 + [[package]] 771 + name = "lock_api" 772 + version = "0.4.12" 773 + source = "registry+https://github.com/rust-lang/crates.io-index" 774 + checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" 775 + dependencies = [ 776 + "autocfg", 777 + "scopeguard", 778 + ] 779 + 780 + [[package]] 781 + name = "log" 782 + version = "0.4.22" 783 + source = "registry+https://github.com/rust-lang/crates.io-index" 784 + checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" 785 + 786 + [[package]] 787 + name = "malloc_buf" 788 + version = "0.0.6" 789 + source = "registry+https://github.com/rust-lang/crates.io-index" 790 + checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" 791 + dependencies = [ 792 + "libc", 793 + ] 794 + 795 + [[package]] 796 + name = "memchr" 797 + version = "2.7.4" 798 + source = "registry+https://github.com/rust-lang/crates.io-index" 799 + checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" 800 + 801 + [[package]] 802 + name = "memmap2" 803 + version = "0.9.5" 804 + source = "registry+https://github.com/rust-lang/crates.io-index" 805 + checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f" 806 + dependencies = [ 807 + "libc", 808 + ] 809 + 810 + [[package]] 811 + name = "metal" 812 + version = "0.29.0" 813 + source = "registry+https://github.com/rust-lang/crates.io-index" 814 + checksum = "7ecfd3296f8c56b7c1f6fbac3c71cefa9d78ce009850c45000015f206dc7fa21" 815 + dependencies = [ 816 + "bitflags 2.6.0", 817 + "block", 818 + "core-graphics-types", 819 + "foreign-types", 820 + "log", 821 + "objc", 822 + "paste", 823 + ] 824 + 825 + [[package]] 826 + name = "naga" 827 + version = "22.1.0" 828 + source = "registry+https://github.com/rust-lang/crates.io-index" 829 + checksum = "8bd5a652b6faf21496f2cfd88fc49989c8db0825d1f6746b1a71a6ede24a63ad" 830 + dependencies = [ 831 + "arrayvec", 832 + "bit-set", 833 + "bitflags 2.6.0", 834 + "cfg_aliases", 835 + "codespan-reporting", 836 + "hexf-parse", 837 + "indexmap", 838 + "log", 839 + "rustc-hash", 840 + "spirv", 841 + "termcolor", 842 + "thiserror", 843 + "unicode-xid", 844 + ] 845 + 846 + [[package]] 847 + name = "ndk" 848 + version = "0.8.0" 849 + source = "registry+https://github.com/rust-lang/crates.io-index" 850 + checksum = "2076a31b7010b17a38c01907c45b945e8f11495ee4dd588309718901b1f7a5b7" 851 + dependencies = [ 852 + "bitflags 2.6.0", 853 + "jni-sys", 854 + "log", 855 + "ndk-sys", 856 + "num_enum", 857 + "raw-window-handle 0.5.2", 858 + "raw-window-handle 0.6.2", 859 + "thiserror", 860 + ] 861 + 862 + [[package]] 863 + name = "ndk-context" 864 + version = "0.1.1" 865 + source = "registry+https://github.com/rust-lang/crates.io-index" 866 + checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" 867 + 868 + [[package]] 869 + name = "ndk-sys" 870 + version = "0.5.0+25.2.9519653" 871 + source = "registry+https://github.com/rust-lang/crates.io-index" 872 + checksum = "8c196769dd60fd4f363e11d948139556a344e79d451aeb2fa2fd040738ef7691" 873 + dependencies = [ 874 + "jni-sys", 875 + ] 876 + 877 + [[package]] 878 + name = "num_enum" 879 + version = "0.7.3" 880 + source = "registry+https://github.com/rust-lang/crates.io-index" 881 + checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" 882 + dependencies = [ 883 + "num_enum_derive", 884 + ] 885 + 886 + [[package]] 887 + name = "num_enum_derive" 888 + version = "0.7.3" 889 + source = "registry+https://github.com/rust-lang/crates.io-index" 890 + checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" 891 + dependencies = [ 892 + "proc-macro-crate", 893 + "proc-macro2", 894 + "quote", 895 + "syn 2.0.77", 896 + ] 897 + 898 + [[package]] 899 + name = "objc" 900 + version = "0.2.7" 901 + source = "registry+https://github.com/rust-lang/crates.io-index" 902 + checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" 903 + dependencies = [ 904 + "malloc_buf", 905 + ] 906 + 907 + [[package]] 908 + name = "objc-sys" 909 + version = "0.3.5" 910 + source = "registry+https://github.com/rust-lang/crates.io-index" 911 + checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310" 912 + 913 + [[package]] 914 + name = "objc2" 915 + version = "0.4.1" 916 + source = "registry+https://github.com/rust-lang/crates.io-index" 917 + checksum = "559c5a40fdd30eb5e344fbceacf7595a81e242529fb4e21cf5f43fb4f11ff98d" 918 + dependencies = [ 919 + "objc-sys", 920 + "objc2-encode", 921 + ] 922 + 923 + [[package]] 924 + name = "objc2-encode" 925 + version = "3.0.0" 926 + source = "registry+https://github.com/rust-lang/crates.io-index" 927 + checksum = "d079845b37af429bfe5dfa76e6d087d788031045b25cfc6fd898486fd9847666" 928 + 929 + [[package]] 930 + name = "once_cell" 931 + version = "1.19.0" 932 + source = "registry+https://github.com/rust-lang/crates.io-index" 933 + checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" 934 + 935 + [[package]] 936 + name = "orbclient" 937 + version = "0.3.47" 938 + source = "registry+https://github.com/rust-lang/crates.io-index" 939 + checksum = "52f0d54bde9774d3a51dcf281a5def240c71996bc6ca05d2c847ec8b2b216166" 940 + dependencies = [ 941 + "libredox", 942 + ] 943 + 944 + [[package]] 945 + name = "owned_ttf_parser" 946 + version = "0.24.0" 947 + source = "registry+https://github.com/rust-lang/crates.io-index" 948 + checksum = "490d3a563d3122bf7c911a59b0add9389e5ec0f5f0c3ac6b91ff235a0e6a7f90" 949 + dependencies = [ 950 + "ttf-parser", 951 + ] 952 + 953 + [[package]] 954 + name = "parking_lot" 955 + version = "0.12.3" 956 + source = "registry+https://github.com/rust-lang/crates.io-index" 957 + checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" 958 + dependencies = [ 959 + "lock_api", 960 + "parking_lot_core", 961 + ] 962 + 963 + [[package]] 964 + name = "parking_lot_core" 965 + version = "0.9.10" 966 + source = "registry+https://github.com/rust-lang/crates.io-index" 967 + checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" 968 + dependencies = [ 969 + "cfg-if", 970 + "libc", 971 + "redox_syscall 0.5.5", 972 + "smallvec", 973 + "windows-targets 0.52.6", 974 + ] 975 + 976 + [[package]] 977 + name = "paste" 978 + version = "1.0.15" 979 + source = "registry+https://github.com/rust-lang/crates.io-index" 980 + checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" 981 + 982 + [[package]] 983 + name = "percent-encoding" 984 + version = "2.3.1" 985 + source = "registry+https://github.com/rust-lang/crates.io-index" 986 + checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 987 + 988 + [[package]] 989 + name = "pin-project-lite" 990 + version = "0.2.14" 991 + source = "registry+https://github.com/rust-lang/crates.io-index" 992 + checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" 993 + 994 + [[package]] 995 + name = "pkg-config" 996 + version = "0.3.31" 997 + source = "registry+https://github.com/rust-lang/crates.io-index" 998 + checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" 999 + 1000 + [[package]] 1001 + name = "polling" 1002 + version = "3.7.3" 1003 + source = "registry+https://github.com/rust-lang/crates.io-index" 1004 + checksum = "cc2790cd301dec6cd3b7a025e4815cf825724a51c98dccfe6a3e55f05ffb6511" 1005 + dependencies = [ 1006 + "cfg-if", 1007 + "concurrent-queue", 1008 + "hermit-abi", 1009 + "pin-project-lite", 1010 + "rustix", 1011 + "tracing", 1012 + "windows-sys 0.59.0", 1013 + ] 1014 + 1015 + [[package]] 1016 + name = "presser" 1017 + version = "0.3.1" 1018 + source = "registry+https://github.com/rust-lang/crates.io-index" 1019 + checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa" 1020 + 1021 + [[package]] 1022 + name = "proc-macro-crate" 1023 + version = "3.2.0" 1024 + source = "registry+https://github.com/rust-lang/crates.io-index" 1025 + checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" 1026 + dependencies = [ 1027 + "toml_edit", 1028 + ] 1029 + 1030 + [[package]] 1031 + name = "proc-macro2" 1032 + version = "1.0.86" 1033 + source = "registry+https://github.com/rust-lang/crates.io-index" 1034 + checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" 1035 + dependencies = [ 1036 + "unicode-ident", 1037 + ] 1038 + 1039 + [[package]] 1040 + name = "profiling" 1041 + version = "1.0.15" 1042 + source = "registry+https://github.com/rust-lang/crates.io-index" 1043 + checksum = "43d84d1d7a6ac92673717f9f6d1518374ef257669c24ebc5ac25d5033828be58" 1044 + 1045 + [[package]] 1046 + name = "quick-xml" 1047 + version = "0.36.2" 1048 + source = "registry+https://github.com/rust-lang/crates.io-index" 1049 + checksum = "f7649a7b4df05aed9ea7ec6f628c67c9953a43869b8bc50929569b2999d443fe" 1050 + dependencies = [ 1051 + "memchr", 1052 + ] 1053 + 1054 + [[package]] 1055 + name = "quote" 1056 + version = "1.0.37" 1057 + source = "registry+https://github.com/rust-lang/crates.io-index" 1058 + checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" 1059 + dependencies = [ 1060 + "proc-macro2", 1061 + ] 1062 + 1063 + [[package]] 1064 + name = "range-alloc" 1065 + version = "0.1.3" 1066 + source = "registry+https://github.com/rust-lang/crates.io-index" 1067 + checksum = "9c8a99fddc9f0ba0a85884b8d14e3592853e787d581ca1816c91349b10e4eeab" 1068 + 1069 + [[package]] 1070 + name = "raw-window-handle" 1071 + version = "0.5.2" 1072 + source = "registry+https://github.com/rust-lang/crates.io-index" 1073 + checksum = "f2ff9a1f06a88b01621b7ae906ef0211290d1c8a168a15542486a8f61c0833b9" 1074 + 1075 + [[package]] 1076 + name = "raw-window-handle" 1077 + version = "0.6.2" 1078 + source = "registry+https://github.com/rust-lang/crates.io-index" 1079 + checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" 1080 + 1081 + [[package]] 1082 + name = "redox_syscall" 1083 + version = "0.3.5" 1084 + source = "registry+https://github.com/rust-lang/crates.io-index" 1085 + checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" 1086 + dependencies = [ 1087 + "bitflags 1.3.2", 1088 + ] 1089 + 1090 + [[package]] 1091 + name = "redox_syscall" 1092 + version = "0.4.1" 1093 + source = "registry+https://github.com/rust-lang/crates.io-index" 1094 + checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" 1095 + dependencies = [ 1096 + "bitflags 1.3.2", 1097 + ] 1098 + 1099 + [[package]] 1100 + name = "redox_syscall" 1101 + version = "0.5.5" 1102 + source = "registry+https://github.com/rust-lang/crates.io-index" 1103 + checksum = "62871f2d65009c0256aed1b9cfeeb8ac272833c404e13d53d400cd0dad7a2ac0" 1104 + dependencies = [ 1105 + "bitflags 2.6.0", 1106 + ] 1107 + 1108 + [[package]] 1109 + name = "regex" 1110 + version = "1.10.6" 1111 + source = "registry+https://github.com/rust-lang/crates.io-index" 1112 + checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" 1113 + dependencies = [ 1114 + "aho-corasick", 1115 + "memchr", 1116 + "regex-automata", 1117 + "regex-syntax", 1118 + ] 1119 + 1120 + [[package]] 1121 + name = "regex-automata" 1122 + version = "0.4.7" 1123 + source = "registry+https://github.com/rust-lang/crates.io-index" 1124 + checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" 1125 + dependencies = [ 1126 + "aho-corasick", 1127 + "memchr", 1128 + "regex-syntax", 1129 + ] 1130 + 1131 + [[package]] 1132 + name = "regex-syntax" 1133 + version = "0.8.4" 1134 + source = "registry+https://github.com/rust-lang/crates.io-index" 1135 + checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" 1136 + 1137 + [[package]] 1138 + name = "renderdoc-sys" 1139 + version = "1.1.0" 1140 + source = "registry+https://github.com/rust-lang/crates.io-index" 1141 + checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" 1142 + 1143 + [[package]] 1144 + name = "rustc-hash" 1145 + version = "1.1.0" 1146 + source = "registry+https://github.com/rust-lang/crates.io-index" 1147 + checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" 1148 + 1149 + [[package]] 1150 + name = "rustix" 1151 + version = "0.38.37" 1152 + source = "registry+https://github.com/rust-lang/crates.io-index" 1153 + checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" 1154 + dependencies = [ 1155 + "bitflags 2.6.0", 1156 + "errno", 1157 + "libc", 1158 + "linux-raw-sys", 1159 + "windows-sys 0.52.0", 1160 + ] 1161 + 1162 + [[package]] 1163 + name = "same-file" 1164 + version = "1.0.6" 1165 + source = "registry+https://github.com/rust-lang/crates.io-index" 1166 + checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 1167 + dependencies = [ 1168 + "winapi-util", 1169 + ] 1170 + 1171 + [[package]] 1172 + name = "scoped-tls" 1173 + version = "1.0.1" 1174 + source = "registry+https://github.com/rust-lang/crates.io-index" 1175 + checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" 1176 + 1177 + [[package]] 1178 + name = "scopeguard" 1179 + version = "1.2.0" 1180 + source = "registry+https://github.com/rust-lang/crates.io-index" 1181 + checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 1182 + 1183 + [[package]] 1184 + name = "sctk-adwaita" 1185 + version = "0.8.3" 1186 + source = "registry+https://github.com/rust-lang/crates.io-index" 1187 + checksum = "70b31447ca297092c5a9916fc3b955203157b37c19ca8edde4f52e9843e602c7" 1188 + dependencies = [ 1189 + "ab_glyph", 1190 + "log", 1191 + "memmap2", 1192 + "smithay-client-toolkit", 1193 + "tiny-skia", 1194 + ] 1195 + 1196 + [[package]] 1197 + name = "serde" 1198 + version = "1.0.210" 1199 + source = "registry+https://github.com/rust-lang/crates.io-index" 1200 + checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" 1201 + dependencies = [ 1202 + "serde_derive", 1203 + ] 1204 + 1205 + [[package]] 1206 + name = "serde_derive" 1207 + version = "1.0.210" 1208 + source = "registry+https://github.com/rust-lang/crates.io-index" 1209 + checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" 1210 + dependencies = [ 1211 + "proc-macro2", 1212 + "quote", 1213 + "syn 2.0.77", 1214 + ] 1215 + 1216 + [[package]] 1217 + name = "shlex" 1218 + version = "1.3.0" 1219 + source = "registry+https://github.com/rust-lang/crates.io-index" 1220 + checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" 1221 + 1222 + [[package]] 1223 + name = "slab" 1224 + version = "0.4.9" 1225 + source = "registry+https://github.com/rust-lang/crates.io-index" 1226 + checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" 1227 + dependencies = [ 1228 + "autocfg", 1229 + ] 1230 + 1231 + [[package]] 1232 + name = "slotmap" 1233 + version = "1.0.7" 1234 + source = "registry+https://github.com/rust-lang/crates.io-index" 1235 + checksum = "dbff4acf519f630b3a3ddcfaea6c06b42174d9a44bc70c620e9ed1649d58b82a" 1236 + dependencies = [ 1237 + "version_check", 1238 + ] 1239 + 1240 + [[package]] 1241 + name = "smallvec" 1242 + version = "1.13.2" 1243 + source = "registry+https://github.com/rust-lang/crates.io-index" 1244 + checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" 1245 + 1246 + [[package]] 1247 + name = "smithay-client-toolkit" 1248 + version = "0.18.1" 1249 + source = "registry+https://github.com/rust-lang/crates.io-index" 1250 + checksum = "922fd3eeab3bd820d76537ce8f582b1cf951eceb5475c28500c7457d9d17f53a" 1251 + dependencies = [ 1252 + "bitflags 2.6.0", 1253 + "calloop", 1254 + "calloop-wayland-source", 1255 + "cursor-icon", 1256 + "libc", 1257 + "log", 1258 + "memmap2", 1259 + "rustix", 1260 + "thiserror", 1261 + "wayland-backend", 1262 + "wayland-client", 1263 + "wayland-csd-frame", 1264 + "wayland-cursor", 1265 + "wayland-protocols", 1266 + "wayland-protocols-wlr", 1267 + "wayland-scanner", 1268 + "xkeysym", 1269 + ] 1270 + 1271 + [[package]] 1272 + name = "smol_str" 1273 + version = "0.2.2" 1274 + source = "registry+https://github.com/rust-lang/crates.io-index" 1275 + checksum = "dd538fb6910ac1099850255cf94a94df6551fbdd602454387d0adb2d1ca6dead" 1276 + dependencies = [ 1277 + "serde", 1278 + ] 1279 + 1280 + [[package]] 1281 + name = "spirv" 1282 + version = "0.3.0+sdk-1.3.268.0" 1283 + source = "registry+https://github.com/rust-lang/crates.io-index" 1284 + checksum = "eda41003dc44290527a59b13432d4a0379379fa074b70174882adfbdfd917844" 1285 + dependencies = [ 1286 + "bitflags 2.6.0", 1287 + ] 1288 + 1289 + [[package]] 1290 + name = "static_assertions" 1291 + version = "1.1.0" 1292 + source = "registry+https://github.com/rust-lang/crates.io-index" 1293 + checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 1294 + 1295 + [[package]] 1296 + name = "strict-num" 1297 + version = "0.1.1" 1298 + source = "registry+https://github.com/rust-lang/crates.io-index" 1299 + checksum = "6637bab7722d379c8b41ba849228d680cc12d0a45ba1fa2b48f2a30577a06731" 1300 + 1301 + [[package]] 1302 + name = "syn" 1303 + version = "1.0.109" 1304 + source = "registry+https://github.com/rust-lang/crates.io-index" 1305 + checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 1306 + dependencies = [ 1307 + "proc-macro2", 1308 + "quote", 1309 + "unicode-ident", 1310 + ] 1311 + 1312 + [[package]] 1313 + name = "syn" 1314 + version = "2.0.77" 1315 + source = "registry+https://github.com/rust-lang/crates.io-index" 1316 + checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" 1317 + dependencies = [ 1318 + "proc-macro2", 1319 + "quote", 1320 + "unicode-ident", 1321 + ] 1322 + 1323 + [[package]] 1324 + name = "termcolor" 1325 + version = "1.4.1" 1326 + source = "registry+https://github.com/rust-lang/crates.io-index" 1327 + checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" 1328 + dependencies = [ 1329 + "winapi-util", 1330 + ] 1331 + 1332 + [[package]] 1333 + name = "thiserror" 1334 + version = "1.0.64" 1335 + source = "registry+https://github.com/rust-lang/crates.io-index" 1336 + checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84" 1337 + dependencies = [ 1338 + "thiserror-impl", 1339 + ] 1340 + 1341 + [[package]] 1342 + name = "thiserror-impl" 1343 + version = "1.0.64" 1344 + source = "registry+https://github.com/rust-lang/crates.io-index" 1345 + checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" 1346 + dependencies = [ 1347 + "proc-macro2", 1348 + "quote", 1349 + "syn 2.0.77", 1350 + ] 1351 + 1352 + [[package]] 1353 + name = "tiny-skia" 1354 + version = "0.11.4" 1355 + source = "registry+https://github.com/rust-lang/crates.io-index" 1356 + checksum = "83d13394d44dae3207b52a326c0c85a8bf87f1541f23b0d143811088497b09ab" 1357 + dependencies = [ 1358 + "arrayref", 1359 + "arrayvec", 1360 + "bytemuck", 1361 + "cfg-if", 1362 + "log", 1363 + "tiny-skia-path", 1364 + ] 1365 + 1366 + [[package]] 1367 + name = "tiny-skia-path" 1368 + version = "0.11.4" 1369 + source = "registry+https://github.com/rust-lang/crates.io-index" 1370 + checksum = "9c9e7fc0c2e86a30b117d0462aa261b72b7a99b7ebd7deb3a14ceda95c5bdc93" 1371 + dependencies = [ 1372 + "arrayref", 1373 + "bytemuck", 1374 + "strict-num", 1375 + ] 1376 + 1377 + [[package]] 1378 + name = "toml_datetime" 1379 + version = "0.6.8" 1380 + source = "registry+https://github.com/rust-lang/crates.io-index" 1381 + checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" 1382 + 1383 + [[package]] 1384 + name = "toml_edit" 1385 + version = "0.22.21" 1386 + source = "registry+https://github.com/rust-lang/crates.io-index" 1387 + checksum = "3b072cee73c449a636ffd6f32bd8de3a9f7119139aff882f44943ce2986dc5cf" 1388 + dependencies = [ 1389 + "indexmap", 1390 + "toml_datetime", 1391 + "winnow", 1392 + ] 1393 + 1394 + [[package]] 1395 + name = "tracing" 1396 + version = "0.1.40" 1397 + source = "registry+https://github.com/rust-lang/crates.io-index" 1398 + checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" 1399 + dependencies = [ 1400 + "pin-project-lite", 1401 + "tracing-core", 1402 + ] 1403 + 1404 + [[package]] 1405 + name = "tracing-core" 1406 + version = "0.1.32" 1407 + source = "registry+https://github.com/rust-lang/crates.io-index" 1408 + checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" 1409 + 1410 + [[package]] 1411 + name = "ttf-parser" 1412 + version = "0.24.1" 1413 + source = "registry+https://github.com/rust-lang/crates.io-index" 1414 + checksum = "5be21190ff5d38e8b4a2d3b6a3ae57f612cc39c96e83cedeaf7abc338a8bac4a" 1415 + 1416 + [[package]] 1417 + name = "unicode-ident" 1418 + version = "1.0.13" 1419 + source = "registry+https://github.com/rust-lang/crates.io-index" 1420 + checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" 1421 + 1422 + [[package]] 1423 + name = "unicode-segmentation" 1424 + version = "1.12.0" 1425 + source = "registry+https://github.com/rust-lang/crates.io-index" 1426 + checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" 1427 + 1428 + [[package]] 1429 + name = "unicode-width" 1430 + version = "0.1.14" 1431 + source = "registry+https://github.com/rust-lang/crates.io-index" 1432 + checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" 1433 + 1434 + [[package]] 1435 + name = "unicode-xid" 1436 + version = "0.2.6" 1437 + source = "registry+https://github.com/rust-lang/crates.io-index" 1438 + checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" 1439 + 1440 + [[package]] 1441 + name = "version_check" 1442 + version = "0.9.5" 1443 + source = "registry+https://github.com/rust-lang/crates.io-index" 1444 + checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 1445 + 1446 + [[package]] 1447 + name = "walkdir" 1448 + version = "2.5.0" 1449 + source = "registry+https://github.com/rust-lang/crates.io-index" 1450 + checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" 1451 + dependencies = [ 1452 + "same-file", 1453 + "winapi-util", 1454 + ] 1455 + 1456 + [[package]] 1457 + name = "wasi" 1458 + version = "0.11.0+wasi-snapshot-preview1" 1459 + source = "registry+https://github.com/rust-lang/crates.io-index" 1460 + checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 1461 + 1462 + [[package]] 1463 + name = "wasm-bindgen" 1464 + version = "0.2.93" 1465 + source = "registry+https://github.com/rust-lang/crates.io-index" 1466 + checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" 1467 + dependencies = [ 1468 + "cfg-if", 1469 + "once_cell", 1470 + "wasm-bindgen-macro", 1471 + ] 1472 + 1473 + [[package]] 1474 + name = "wasm-bindgen-backend" 1475 + version = "0.2.93" 1476 + source = "registry+https://github.com/rust-lang/crates.io-index" 1477 + checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" 1478 + dependencies = [ 1479 + "bumpalo", 1480 + "log", 1481 + "once_cell", 1482 + "proc-macro2", 1483 + "quote", 1484 + "syn 2.0.77", 1485 + "wasm-bindgen-shared", 1486 + ] 1487 + 1488 + [[package]] 1489 + name = "wasm-bindgen-futures" 1490 + version = "0.4.43" 1491 + source = "registry+https://github.com/rust-lang/crates.io-index" 1492 + checksum = "61e9300f63a621e96ed275155c108eb6f843b6a26d053f122ab69724559dc8ed" 1493 + dependencies = [ 1494 + "cfg-if", 1495 + "js-sys", 1496 + "wasm-bindgen", 1497 + "web-sys", 1498 + ] 1499 + 1500 + [[package]] 1501 + name = "wasm-bindgen-macro" 1502 + version = "0.2.93" 1503 + source = "registry+https://github.com/rust-lang/crates.io-index" 1504 + checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" 1505 + dependencies = [ 1506 + "quote", 1507 + "wasm-bindgen-macro-support", 1508 + ] 1509 + 1510 + [[package]] 1511 + name = "wasm-bindgen-macro-support" 1512 + version = "0.2.93" 1513 + source = "registry+https://github.com/rust-lang/crates.io-index" 1514 + checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" 1515 + dependencies = [ 1516 + "proc-macro2", 1517 + "quote", 1518 + "syn 2.0.77", 1519 + "wasm-bindgen-backend", 1520 + "wasm-bindgen-shared", 1521 + ] 1522 + 1523 + [[package]] 1524 + name = "wasm-bindgen-shared" 1525 + version = "0.2.93" 1526 + source = "registry+https://github.com/rust-lang/crates.io-index" 1527 + checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" 1528 + 1529 + [[package]] 1530 + name = "wayland-backend" 1531 + version = "0.3.7" 1532 + source = "registry+https://github.com/rust-lang/crates.io-index" 1533 + checksum = "056535ced7a150d45159d3a8dc30f91a2e2d588ca0b23f70e56033622b8016f6" 1534 + dependencies = [ 1535 + "cc", 1536 + "downcast-rs", 1537 + "rustix", 1538 + "scoped-tls", 1539 + "smallvec", 1540 + "wayland-sys", 1541 + ] 1542 + 1543 + [[package]] 1544 + name = "wayland-client" 1545 + version = "0.31.6" 1546 + source = "registry+https://github.com/rust-lang/crates.io-index" 1547 + checksum = "e3f45d1222915ef1fd2057220c1d9d9624b7654443ea35c3877f7a52bd0a5a2d" 1548 + dependencies = [ 1549 + "bitflags 2.6.0", 1550 + "rustix", 1551 + "wayland-backend", 1552 + "wayland-scanner", 1553 + ] 1554 + 1555 + [[package]] 1556 + name = "wayland-csd-frame" 1557 + version = "0.3.0" 1558 + source = "registry+https://github.com/rust-lang/crates.io-index" 1559 + checksum = "625c5029dbd43d25e6aa9615e88b829a5cad13b2819c4ae129fdbb7c31ab4c7e" 1560 + dependencies = [ 1561 + "bitflags 2.6.0", 1562 + "cursor-icon", 1563 + "wayland-backend", 1564 + ] 1565 + 1566 + [[package]] 1567 + name = "wayland-cursor" 1568 + version = "0.31.6" 1569 + source = "registry+https://github.com/rust-lang/crates.io-index" 1570 + checksum = "3a94697e66e76c85923b0d28a0c251e8f0666f58fc47d316c0f4da6da75d37cb" 1571 + dependencies = [ 1572 + "rustix", 1573 + "wayland-client", 1574 + "xcursor", 1575 + ] 1576 + 1577 + [[package]] 1578 + name = "wayland-protocols" 1579 + version = "0.31.2" 1580 + source = "registry+https://github.com/rust-lang/crates.io-index" 1581 + checksum = "8f81f365b8b4a97f422ac0e8737c438024b5951734506b0e1d775c73030561f4" 1582 + dependencies = [ 1583 + "bitflags 2.6.0", 1584 + "wayland-backend", 1585 + "wayland-client", 1586 + "wayland-scanner", 1587 + ] 1588 + 1589 + [[package]] 1590 + name = "wayland-protocols-plasma" 1591 + version = "0.2.0" 1592 + source = "registry+https://github.com/rust-lang/crates.io-index" 1593 + checksum = "23803551115ff9ea9bce586860c5c5a971e360825a0309264102a9495a5ff479" 1594 + dependencies = [ 1595 + "bitflags 2.6.0", 1596 + "wayland-backend", 1597 + "wayland-client", 1598 + "wayland-protocols", 1599 + "wayland-scanner", 1600 + ] 1601 + 1602 + [[package]] 1603 + name = "wayland-protocols-wlr" 1604 + version = "0.2.0" 1605 + source = "registry+https://github.com/rust-lang/crates.io-index" 1606 + checksum = "ad1f61b76b6c2d8742e10f9ba5c3737f6530b4c243132c2a2ccc8aa96fe25cd6" 1607 + dependencies = [ 1608 + "bitflags 2.6.0", 1609 + "wayland-backend", 1610 + "wayland-client", 1611 + "wayland-protocols", 1612 + "wayland-scanner", 1613 + ] 1614 + 1615 + [[package]] 1616 + name = "wayland-scanner" 1617 + version = "0.31.5" 1618 + source = "registry+https://github.com/rust-lang/crates.io-index" 1619 + checksum = "597f2001b2e5fc1121e3d5b9791d3e78f05ba6bfa4641053846248e3a13661c3" 1620 + dependencies = [ 1621 + "proc-macro2", 1622 + "quick-xml", 1623 + "quote", 1624 + ] 1625 + 1626 + [[package]] 1627 + name = "wayland-sys" 1628 + version = "0.31.5" 1629 + source = "registry+https://github.com/rust-lang/crates.io-index" 1630 + checksum = "efa8ac0d8e8ed3e3b5c9fc92c7881406a268e11555abe36493efabe649a29e09" 1631 + dependencies = [ 1632 + "dlib", 1633 + "log", 1634 + "once_cell", 1635 + "pkg-config", 1636 + ] 1637 + 1638 + [[package]] 1639 + name = "web-sys" 1640 + version = "0.3.70" 1641 + source = "registry+https://github.com/rust-lang/crates.io-index" 1642 + checksum = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0" 1643 + dependencies = [ 1644 + "js-sys", 1645 + "wasm-bindgen", 1646 + ] 1647 + 1648 + [[package]] 1649 + name = "web-time" 1650 + version = "0.2.4" 1651 + source = "registry+https://github.com/rust-lang/crates.io-index" 1652 + checksum = "aa30049b1c872b72c89866d458eae9f20380ab280ffd1b1e18df2d3e2d98cfe0" 1653 + dependencies = [ 1654 + "js-sys", 1655 + "wasm-bindgen", 1656 + ] 1657 + 1658 + [[package]] 1659 + name = "wgpu" 1660 + version = "22.1.0" 1661 + source = "registry+https://github.com/rust-lang/crates.io-index" 1662 + checksum = "e1d1c4ba43f80542cf63a0a6ed3134629ae73e8ab51e4b765a67f3aa062eb433" 1663 + dependencies = [ 1664 + "arrayvec", 1665 + "cfg_aliases", 1666 + "document-features", 1667 + "js-sys", 1668 + "log", 1669 + "naga", 1670 + "parking_lot", 1671 + "profiling", 1672 + "raw-window-handle 0.6.2", 1673 + "smallvec", 1674 + "static_assertions", 1675 + "wasm-bindgen", 1676 + "wasm-bindgen-futures", 1677 + "web-sys", 1678 + "wgpu-core", 1679 + "wgpu-hal", 1680 + "wgpu-types", 1681 + ] 1682 + 1683 + [[package]] 1684 + name = "wgpu-core" 1685 + version = "22.1.0" 1686 + source = "registry+https://github.com/rust-lang/crates.io-index" 1687 + checksum = "0348c840d1051b8e86c3bcd31206080c5e71e5933dabd79be1ce732b0b2f089a" 1688 + dependencies = [ 1689 + "arrayvec", 1690 + "bit-vec", 1691 + "bitflags 2.6.0", 1692 + "cfg_aliases", 1693 + "document-features", 1694 + "indexmap", 1695 + "log", 1696 + "naga", 1697 + "once_cell", 1698 + "parking_lot", 1699 + "profiling", 1700 + "raw-window-handle 0.6.2", 1701 + "rustc-hash", 1702 + "smallvec", 1703 + "thiserror", 1704 + "wgpu-hal", 1705 + "wgpu-types", 1706 + ] 1707 + 1708 + [[package]] 1709 + name = "wgpu-hal" 1710 + version = "22.0.0" 1711 + source = "registry+https://github.com/rust-lang/crates.io-index" 1712 + checksum = "f6bbf4b4de8b2a83c0401d9e5ae0080a2792055f25859a02bf9be97952bbed4f" 1713 + dependencies = [ 1714 + "android_system_properties", 1715 + "arrayvec", 1716 + "ash", 1717 + "bit-set", 1718 + "bitflags 2.6.0", 1719 + "block", 1720 + "cfg_aliases", 1721 + "core-graphics-types", 1722 + "d3d12", 1723 + "glow", 1724 + "glutin_wgl_sys", 1725 + "gpu-alloc", 1726 + "gpu-allocator", 1727 + "gpu-descriptor", 1728 + "hassle-rs", 1729 + "js-sys", 1730 + "khronos-egl", 1731 + "libc", 1732 + "libloading", 1733 + "log", 1734 + "metal", 1735 + "naga", 1736 + "ndk-sys", 1737 + "objc", 1738 + "once_cell", 1739 + "parking_lot", 1740 + "profiling", 1741 + "range-alloc", 1742 + "raw-window-handle 0.6.2", 1743 + "renderdoc-sys", 1744 + "rustc-hash", 1745 + "smallvec", 1746 + "thiserror", 1747 + "wasm-bindgen", 1748 + "web-sys", 1749 + "wgpu-types", 1750 + "winapi", 1751 + ] 1752 + 1753 + [[package]] 1754 + name = "wgpu-types" 1755 + version = "22.0.0" 1756 + source = "registry+https://github.com/rust-lang/crates.io-index" 1757 + checksum = "bc9d91f0e2c4b51434dfa6db77846f2793149d8e73f800fa2e41f52b8eac3c5d" 1758 + dependencies = [ 1759 + "bitflags 2.6.0", 1760 + "js-sys", 1761 + "web-sys", 1762 + ] 1763 + 1764 + [[package]] 1765 + name = "widestring" 1766 + version = "1.1.0" 1767 + source = "registry+https://github.com/rust-lang/crates.io-index" 1768 + checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" 1769 + 1770 + [[package]] 1771 + name = "winapi" 1772 + version = "0.3.9" 1773 + source = "registry+https://github.com/rust-lang/crates.io-index" 1774 + checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 1775 + dependencies = [ 1776 + "winapi-i686-pc-windows-gnu", 1777 + "winapi-x86_64-pc-windows-gnu", 1778 + ] 1779 + 1780 + [[package]] 1781 + name = "winapi-i686-pc-windows-gnu" 1782 + version = "0.4.0" 1783 + source = "registry+https://github.com/rust-lang/crates.io-index" 1784 + checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 1785 + 1786 + [[package]] 1787 + name = "winapi-util" 1788 + version = "0.1.9" 1789 + source = "registry+https://github.com/rust-lang/crates.io-index" 1790 + checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" 1791 + dependencies = [ 1792 + "windows-sys 0.59.0", 1793 + ] 1794 + 1795 + [[package]] 1796 + name = "winapi-x86_64-pc-windows-gnu" 1797 + version = "0.4.0" 1798 + source = "registry+https://github.com/rust-lang/crates.io-index" 1799 + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 1800 + 1801 + [[package]] 1802 + name = "windows" 1803 + version = "0.52.0" 1804 + source = "registry+https://github.com/rust-lang/crates.io-index" 1805 + checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" 1806 + dependencies = [ 1807 + "windows-core", 1808 + "windows-targets 0.52.6", 1809 + ] 1810 + 1811 + [[package]] 1812 + name = "windows-core" 1813 + version = "0.52.0" 1814 + source = "registry+https://github.com/rust-lang/crates.io-index" 1815 + checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" 1816 + dependencies = [ 1817 + "windows-targets 0.52.6", 1818 + ] 1819 + 1820 + [[package]] 1821 + name = "windows-sys" 1822 + version = "0.45.0" 1823 + source = "registry+https://github.com/rust-lang/crates.io-index" 1824 + checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" 1825 + dependencies = [ 1826 + "windows-targets 0.42.2", 1827 + ] 1828 + 1829 + [[package]] 1830 + name = "windows-sys" 1831 + version = "0.48.0" 1832 + source = "registry+https://github.com/rust-lang/crates.io-index" 1833 + checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 1834 + dependencies = [ 1835 + "windows-targets 0.48.5", 1836 + ] 1837 + 1838 + [[package]] 1839 + name = "windows-sys" 1840 + version = "0.52.0" 1841 + source = "registry+https://github.com/rust-lang/crates.io-index" 1842 + checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 1843 + dependencies = [ 1844 + "windows-targets 0.52.6", 1845 + ] 1846 + 1847 + [[package]] 1848 + name = "windows-sys" 1849 + version = "0.59.0" 1850 + source = "registry+https://github.com/rust-lang/crates.io-index" 1851 + checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 1852 + dependencies = [ 1853 + "windows-targets 0.52.6", 1854 + ] 1855 + 1856 + [[package]] 1857 + name = "windows-targets" 1858 + version = "0.42.2" 1859 + source = "registry+https://github.com/rust-lang/crates.io-index" 1860 + checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 1861 + dependencies = [ 1862 + "windows_aarch64_gnullvm 0.42.2", 1863 + "windows_aarch64_msvc 0.42.2", 1864 + "windows_i686_gnu 0.42.2", 1865 + "windows_i686_msvc 0.42.2", 1866 + "windows_x86_64_gnu 0.42.2", 1867 + "windows_x86_64_gnullvm 0.42.2", 1868 + "windows_x86_64_msvc 0.42.2", 1869 + ] 1870 + 1871 + [[package]] 1872 + name = "windows-targets" 1873 + version = "0.48.5" 1874 + source = "registry+https://github.com/rust-lang/crates.io-index" 1875 + checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 1876 + dependencies = [ 1877 + "windows_aarch64_gnullvm 0.48.5", 1878 + "windows_aarch64_msvc 0.48.5", 1879 + "windows_i686_gnu 0.48.5", 1880 + "windows_i686_msvc 0.48.5", 1881 + "windows_x86_64_gnu 0.48.5", 1882 + "windows_x86_64_gnullvm 0.48.5", 1883 + "windows_x86_64_msvc 0.48.5", 1884 + ] 1885 + 1886 + [[package]] 1887 + name = "windows-targets" 1888 + version = "0.52.6" 1889 + source = "registry+https://github.com/rust-lang/crates.io-index" 1890 + checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 1891 + dependencies = [ 1892 + "windows_aarch64_gnullvm 0.52.6", 1893 + "windows_aarch64_msvc 0.52.6", 1894 + "windows_i686_gnu 0.52.6", 1895 + "windows_i686_gnullvm", 1896 + "windows_i686_msvc 0.52.6", 1897 + "windows_x86_64_gnu 0.52.6", 1898 + "windows_x86_64_gnullvm 0.52.6", 1899 + "windows_x86_64_msvc 0.52.6", 1900 + ] 1901 + 1902 + [[package]] 1903 + name = "windows_aarch64_gnullvm" 1904 + version = "0.42.2" 1905 + source = "registry+https://github.com/rust-lang/crates.io-index" 1906 + checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 1907 + 1908 + [[package]] 1909 + name = "windows_aarch64_gnullvm" 1910 + version = "0.48.5" 1911 + source = "registry+https://github.com/rust-lang/crates.io-index" 1912 + checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 1913 + 1914 + [[package]] 1915 + name = "windows_aarch64_gnullvm" 1916 + version = "0.52.6" 1917 + source = "registry+https://github.com/rust-lang/crates.io-index" 1918 + checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 1919 + 1920 + [[package]] 1921 + name = "windows_aarch64_msvc" 1922 + version = "0.42.2" 1923 + source = "registry+https://github.com/rust-lang/crates.io-index" 1924 + checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 1925 + 1926 + [[package]] 1927 + name = "windows_aarch64_msvc" 1928 + version = "0.48.5" 1929 + source = "registry+https://github.com/rust-lang/crates.io-index" 1930 + checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 1931 + 1932 + [[package]] 1933 + name = "windows_aarch64_msvc" 1934 + version = "0.52.6" 1935 + source = "registry+https://github.com/rust-lang/crates.io-index" 1936 + checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 1937 + 1938 + [[package]] 1939 + name = "windows_i686_gnu" 1940 + version = "0.42.2" 1941 + source = "registry+https://github.com/rust-lang/crates.io-index" 1942 + checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 1943 + 1944 + [[package]] 1945 + name = "windows_i686_gnu" 1946 + version = "0.48.5" 1947 + source = "registry+https://github.com/rust-lang/crates.io-index" 1948 + checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 1949 + 1950 + [[package]] 1951 + name = "windows_i686_gnu" 1952 + version = "0.52.6" 1953 + source = "registry+https://github.com/rust-lang/crates.io-index" 1954 + checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 1955 + 1956 + [[package]] 1957 + name = "windows_i686_gnullvm" 1958 + version = "0.52.6" 1959 + source = "registry+https://github.com/rust-lang/crates.io-index" 1960 + checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 1961 + 1962 + [[package]] 1963 + name = "windows_i686_msvc" 1964 + version = "0.42.2" 1965 + source = "registry+https://github.com/rust-lang/crates.io-index" 1966 + checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 1967 + 1968 + [[package]] 1969 + name = "windows_i686_msvc" 1970 + version = "0.48.5" 1971 + source = "registry+https://github.com/rust-lang/crates.io-index" 1972 + checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 1973 + 1974 + [[package]] 1975 + name = "windows_i686_msvc" 1976 + version = "0.52.6" 1977 + source = "registry+https://github.com/rust-lang/crates.io-index" 1978 + checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 1979 + 1980 + [[package]] 1981 + name = "windows_x86_64_gnu" 1982 + version = "0.42.2" 1983 + source = "registry+https://github.com/rust-lang/crates.io-index" 1984 + checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 1985 + 1986 + [[package]] 1987 + name = "windows_x86_64_gnu" 1988 + version = "0.48.5" 1989 + source = "registry+https://github.com/rust-lang/crates.io-index" 1990 + checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 1991 + 1992 + [[package]] 1993 + name = "windows_x86_64_gnu" 1994 + version = "0.52.6" 1995 + source = "registry+https://github.com/rust-lang/crates.io-index" 1996 + checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 1997 + 1998 + [[package]] 1999 + name = "windows_x86_64_gnullvm" 2000 + version = "0.42.2" 2001 + source = "registry+https://github.com/rust-lang/crates.io-index" 2002 + checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 2003 + 2004 + [[package]] 2005 + name = "windows_x86_64_gnullvm" 2006 + version = "0.48.5" 2007 + source = "registry+https://github.com/rust-lang/crates.io-index" 2008 + checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 2009 + 2010 + [[package]] 2011 + name = "windows_x86_64_gnullvm" 2012 + version = "0.52.6" 2013 + source = "registry+https://github.com/rust-lang/crates.io-index" 2014 + checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 2015 + 2016 + [[package]] 2017 + name = "windows_x86_64_msvc" 2018 + version = "0.42.2" 2019 + source = "registry+https://github.com/rust-lang/crates.io-index" 2020 + checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 2021 + 2022 + [[package]] 2023 + name = "windows_x86_64_msvc" 2024 + version = "0.48.5" 2025 + source = "registry+https://github.com/rust-lang/crates.io-index" 2026 + checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 2027 + 2028 + [[package]] 2029 + name = "windows_x86_64_msvc" 2030 + version = "0.52.6" 2031 + source = "registry+https://github.com/rust-lang/crates.io-index" 2032 + checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 2033 + 2034 + [[package]] 2035 + name = "winit" 2036 + version = "0.29.15" 2037 + source = "registry+https://github.com/rust-lang/crates.io-index" 2038 + checksum = "0d59ad965a635657faf09c8f062badd885748428933dad8e8bdd64064d92e5ca" 2039 + dependencies = [ 2040 + "ahash", 2041 + "android-activity", 2042 + "atomic-waker", 2043 + "bitflags 2.6.0", 2044 + "bytemuck", 2045 + "calloop", 2046 + "cfg_aliases", 2047 + "core-foundation", 2048 + "core-graphics", 2049 + "cursor-icon", 2050 + "icrate", 2051 + "js-sys", 2052 + "libc", 2053 + "log", 2054 + "memmap2", 2055 + "ndk", 2056 + "ndk-sys", 2057 + "objc2", 2058 + "once_cell", 2059 + "orbclient", 2060 + "percent-encoding", 2061 + "raw-window-handle 0.5.2", 2062 + "raw-window-handle 0.6.2", 2063 + "redox_syscall 0.3.5", 2064 + "rustix", 2065 + "sctk-adwaita", 2066 + "smithay-client-toolkit", 2067 + "smol_str", 2068 + "unicode-segmentation", 2069 + "wasm-bindgen", 2070 + "wasm-bindgen-futures", 2071 + "wayland-backend", 2072 + "wayland-client", 2073 + "wayland-protocols", 2074 + "wayland-protocols-plasma", 2075 + "web-sys", 2076 + "web-time", 2077 + "windows-sys 0.48.0", 2078 + "x11-dl", 2079 + "x11rb", 2080 + "xkbcommon-dl", 2081 + ] 2082 + 2083 + [[package]] 2084 + name = "winnow" 2085 + version = "0.6.18" 2086 + source = "registry+https://github.com/rust-lang/crates.io-index" 2087 + checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" 2088 + dependencies = [ 2089 + "memchr", 2090 + ] 2091 + 2092 + [[package]] 2093 + name = "x11-dl" 2094 + version = "2.21.0" 2095 + source = "registry+https://github.com/rust-lang/crates.io-index" 2096 + checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f" 2097 + dependencies = [ 2098 + "libc", 2099 + "once_cell", 2100 + "pkg-config", 2101 + ] 2102 + 2103 + [[package]] 2104 + name = "x11rb" 2105 + version = "0.13.1" 2106 + source = "registry+https://github.com/rust-lang/crates.io-index" 2107 + checksum = "5d91ffca73ee7f68ce055750bf9f6eca0780b8c85eff9bc046a3b0da41755e12" 2108 + dependencies = [ 2109 + "as-raw-xcb-connection", 2110 + "gethostname", 2111 + "libc", 2112 + "libloading", 2113 + "once_cell", 2114 + "rustix", 2115 + "x11rb-protocol", 2116 + ] 2117 + 2118 + [[package]] 2119 + name = "x11rb-protocol" 2120 + version = "0.13.1" 2121 + source = "registry+https://github.com/rust-lang/crates.io-index" 2122 + checksum = "ec107c4503ea0b4a98ef47356329af139c0a4f7750e621cf2973cd3385ebcb3d" 2123 + 2124 + [[package]] 2125 + name = "xcursor" 2126 + version = "0.3.8" 2127 + source = "registry+https://github.com/rust-lang/crates.io-index" 2128 + checksum = "0ef33da6b1660b4ddbfb3aef0ade110c8b8a781a3b6382fa5f2b5b040fd55f61" 2129 + 2130 + [[package]] 2131 + name = "xkbcommon-dl" 2132 + version = "0.4.2" 2133 + source = "registry+https://github.com/rust-lang/crates.io-index" 2134 + checksum = "d039de8032a9a8856a6be89cea3e5d12fdd82306ab7c94d74e6deab2460651c5" 2135 + dependencies = [ 2136 + "bitflags 2.6.0", 2137 + "dlib", 2138 + "log", 2139 + "once_cell", 2140 + "xkeysym", 2141 + ] 2142 + 2143 + [[package]] 2144 + name = "xkeysym" 2145 + version = "0.2.1" 2146 + source = "registry+https://github.com/rust-lang/crates.io-index" 2147 + checksum = "b9cc00251562a284751c9973bace760d86c0276c471b4be569fe6b068ee97a56" 2148 + 2149 + [[package]] 2150 + name = "xml-rs" 2151 + version = "0.8.22" 2152 + source = "registry+https://github.com/rust-lang/crates.io-index" 2153 + checksum = "af4e2e2f7cba5a093896c1e150fbfe177d1883e7448200efb81d40b9d339ef26" 2154 + 2155 + [[package]] 2156 + name = "zerocopy" 2157 + version = "0.7.35" 2158 + source = "registry+https://github.com/rust-lang/crates.io-index" 2159 + checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" 2160 + dependencies = [ 2161 + "zerocopy-derive", 2162 + ] 2163 + 2164 + [[package]] 2165 + name = "zerocopy-derive" 2166 + version = "0.7.35" 2167 + source = "registry+https://github.com/rust-lang/crates.io-index" 2168 + checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" 2169 + dependencies = [ 2170 + "proc-macro2", 2171 + "quote", 2172 + "syn 2.0.77", 2173 + ]
+29
Cargo.toml
··· 1 + [package] 2 + name = "bl0ck" 3 + version = "0.1.0" 4 + edition = "2021" 5 + 6 + [dependencies] 7 + winit = { version = "0.29", features = ["rwh_05"] } 8 + env_logger = "0.10" 9 + log = "0.4" 10 + wgpu = "22.0" 11 + cfg-if = "1" 12 + wasm-bindgen = "0.2.93" 13 + web-sys = "0.3.70" 14 + 15 + 16 + [lib] 17 + crate-type = ["cdylib", "rlib"] 18 + 19 + [target.'cfg(target_arch = "wasm32")'.dependencies] 20 + console_error_panic_hook = "0.1.6" 21 + console_log = "1.0" 22 + wgpu = { version = "22.0", features = ["webgl"]} 23 + wasm-bindgen = "0.2" 24 + wasm-bindgen-futures = "0.4.30" 25 + web-sys = { version = "0.3", features = [ 26 + "Document", 27 + "Window", 28 + "Element", 29 + ]}
+25
index.html
··· 1 + <!DOCTYPE html> 2 + <html lang="en"> 3 + 4 + <head> 5 + <meta charset="UTF-8"> 6 + <meta http-equiv="X-UA-Compatible" content="IE=edge"> 7 + <meta name="viewport" content="width=device-width, initial-scale=1.0"> 8 + <title>bl0ck</title> 9 + <style> 10 + canvas { 11 + background-color: black; 12 + } 13 + </style> 14 + </head> 15 + 16 + <body id="wasm-example"> 17 + <script type="module"> 18 + import init from "./pkg/bl0ck.js"; 19 + init().then(() => { 20 + console.log("WASM Loaded"); 21 + }); 22 + </script> 23 + </body> 24 + 25 + </html>
+24
justfile
··· 1 + #!/usr/bin/env just --justfile 2 + 3 + release: 4 + cargo build --release 5 + 6 + lint: 7 + cargo clippy 8 + 9 + pack: 10 + wasm-pack build --target web 11 + 12 + # Requires RustRover 13 + file_dir := "http://localhost:63342/bl0ck/index.html?_ijt=6adftqhk5fvj3fik73h0ri92c0&_ij_reload=RELOAD_ON_SAVE" 14 + browse: 15 + just _browse-{{os()}} 16 + 17 + _browse-macos: 18 + open {{file_dir}} 19 + 20 + _browse-linux: 21 + xdg-open {{file_dir}} 22 + 23 + _browse-windows: 24 + start {{file_dir}}
+68
src/lib.rs
··· 1 + use winit::{ 2 + event::*, 3 + event_loop::EventLoop, 4 + keyboard::{KeyCode, PhysicalKey}, 5 + window::WindowBuilder, 6 + }; 7 + 8 + #[cfg(target_arch="wasm32")] 9 + use wasm_bindgen::prelude::*; 10 + 11 + #[cfg_attr(target_arch = "wasm32", wasm_bindgen(start))] 12 + pub fn run() { 13 + 14 + cfg_if::cfg_if! { 15 + if #[cfg(target_arch = "wasm32")] { 16 + std::panic::set_hook(Box::new(console_error_panic_hook::hook)); 17 + console_log::init_with_level(log::Level::Warn).expect("Couldn't initialize logger"); 18 + } else { 19 + env_logger::init(); 20 + } 21 + } 22 + 23 + let event_loop = EventLoop::new().unwrap(); 24 + let window = WindowBuilder::new().build(&event_loop).unwrap(); 25 + 26 + 27 + #[cfg(target_arch = "wasm32")] 28 + { 29 + // Winit prevents sizing with CSS, so we have to set 30 + // the size manually when on web. 31 + use winit::dpi::PhysicalSize; 32 + let _ = window.request_inner_size(PhysicalSize::new(450, 400)); 33 + 34 + use winit::platform::web::WindowExtWebSys; 35 + web_sys::window() 36 + .and_then(|win| win.document()) 37 + .and_then(|doc| { 38 + let dst = doc.get_element_by_id("wasm-example")?; 39 + let canvas = web_sys::Element::from(window.canvas()?); 40 + dst.append_child(&canvas).ok()?; 41 + Some(()) 42 + }) 43 + .expect("Couldn't append canvas to document body."); 44 + } 45 + 46 + 47 + 48 + event_loop.run(move |event, control_flow| match event { 49 + Event::WindowEvent { 50 + ref event, 51 + window_id, 52 + } if window_id == window.id() => match event { 53 + WindowEvent::CloseRequested 54 + | WindowEvent::KeyboardInput { 55 + event: 56 + KeyEvent { 57 + state: ElementState::Pressed, 58 + physical_key: PhysicalKey::Code(KeyCode::Escape), 59 + .. 60 + }, 61 + .. 62 + } => control_flow.exit(), 63 + _ => {} 64 + }, 65 + _ => {} 66 + }).unwrap(); 67 + } 68 +
+6
src/main.rs
··· 1 + use bl0ck::run; 2 + 3 + fn main() { 4 + run() 5 + } 6 +