diff --git a/Cargo.lock b/Cargo.lock index 4f9748d..2bdec21 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "ab_glyph" @@ -20,52 +20,55 @@ checksum = "c71b1793ee61086797f5c80b6efa2b8ffa6d5dd703f118545808a7f2e27f7046" [[package]] name = "accesskit" -version = "0.14.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cf780eb737f2d4a49ffbd512324d53ad089070f813f7be7f99dbd5123a7f448" +checksum = "d3d3b8f9bae46a948369bc4a03e815d4ed6d616bd00de4051133a5019dc31c5a" [[package]] name = "accesskit_consumer" -version = "0.22.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bdfa1638ddd6eb9c752def95568df8b3ad832df252e9156d2eb783b201ca8a9" +checksum = "f47983a1084940ba9a39c077a8c63e55c619388be5476ac04c804cfbd1e63459" dependencies = [ "accesskit", + "hashbrown 0.15.2", "immutable-chunkmap", ] [[package]] name = "accesskit_macos" -version = "0.15.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c236a84ff1111defc280cee755eaa953d0b24398786851b9d28322c6d3bb1ebd" +checksum = "7329821f3bd1101e03a7d2e03bd339e3ac0dc64c70b4c9f9ae1949e3ba8dece1" dependencies = [ "accesskit", "accesskit_consumer", + "hashbrown 0.15.2", "objc2", "objc2-app-kit", "objc2-foundation", - "once_cell", ] [[package]] name = "accesskit_windows" -version = "0.20.0" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d7f43d24b16b3e76bef248124fbfd2493c3a9860edb5aae1010c890e826de5e" +checksum = "24fcd5d23d70670992b823e735e859374d694a3d12bfd8dd32bd3bd8bedb5d81" dependencies = [ "accesskit", "accesskit_consumer", + "hashbrown 0.15.2", "paste", "static_assertions", - "windows 0.54.0", + "windows 0.58.0", + "windows-core 0.58.0", ] [[package]] name = "accesskit_winit" -version = "0.20.4" +version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "755535e6bf711a42dac28b888b884b10fc00ff4010d9d3bd871c5f5beae5aa78" +checksum = "6a6a48dad5530b6deb9fc7a52cc6c3bf72cdd9eb8157ac9d32d69f2427a5e879" dependencies = [ "accesskit", "accesskit_macos", @@ -87,6 +90,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", + "const-random", "getrandom 0.2.15", "once_cell", "version_check", @@ -206,7 +210,7 @@ checksum = "9fb4009533e8ff8f1450a5bcbc30f4242a1d34442221f72314bea1f5dc9c7f89" dependencies = [ "clipboard-win", "core-graphics", - "image 0.25.2", + "image", "log", "objc2", "objc2-app-kit", @@ -222,9 +226,9 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -247,11 +251,22 @@ checksum = "175571dd1d178ced59193a6fc02dde1b972eb0bc56c892cde9beeceac5bf0f6b" [[package]] name = "ash" -version = "0.37.3+1.3.251" +version = "0.38.0+1.3.281" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e9c3835d686b0a6084ab4234fcd1b07dbf6e4767dce60874b12356a25ecd4a" +checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f" dependencies = [ - "libloading 0.7.4", + "libloading", +] + +[[package]] +name = "assert_type_match" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f548ad2c4031f2902e3edc1f29c29e835829437de49562d8eb5dc5584d3a1043" +dependencies = [ + "proc-macro2 1.0.93", + "quote 1.0.36", + "syn 2.0.96", ] [[package]] @@ -343,6 +358,12 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" +[[package]] +name = "atomicow" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "467163b50876d3a4a44da5f4dbd417537e522fc059ede8d518d57941cfb3d745" + [[package]] name = "autocfg" version = "1.3.0" @@ -386,18 +407,18 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "bevy" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "043c9ad4b6fc4ca52d779873a8ca792a4e37842d07fce95363c9e17e36a1d8a0" +checksum = "bb2a21c9f3306676077a88700bb8f354be779cf9caba9c21e94da9e696751af4" dependencies = [ "bevy_internal", ] [[package]] name = "bevy-inspector-egui" -version = "0.25.0" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "094e2d697a9dcbbd62fc6ff133d1d95990f66b6c4d25cdfb528f4b102c6a3ed1" +checksum = "36172627eb6fd8586600972bcbba2880ed6f59e4e243dcf2ed7ff68d987577ce" dependencies = [ "bevy-inspector-egui-derive", "bevy_app", @@ -408,6 +429,7 @@ dependencies = [ "bevy_ecs", "bevy_egui", "bevy_hierarchy", + "bevy_image", "bevy_log", "bevy_math", "bevy_pbr", @@ -418,42 +440,43 @@ dependencies = [ "bevy_utils", "bevy_window", "bytemuck", + "disqualified", "egui", "fuzzy-matcher", - "image 0.24.9", - "once_cell", - "pretty-type-name", + "image", "smallvec", + "winit", ] [[package]] name = "bevy-inspector-egui-derive" -version = "0.25.0" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "161d93f4b3a9246a87485e30ccf4cc927f204a14f26df42da977e383f0a0ec5d" +checksum = "3afc67826e0a4347414545e022e748f42550a577a502b26af44e6d03742c9266" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] name = "bevy_a11y" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae1a976cb539d6a5a3ff579cdb78187a6bcfbffa7e8224ea28f23d8b983d9389" +checksum = "f96642402d2cd7c8e58c5994bbd14a2e44ca72dd7e460a2edad82aa3bf0348f9" dependencies = [ "accesskit", "bevy_app", "bevy_derive", "bevy_ecs", + "bevy_reflect", ] [[package]] name = "bevy_animation" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93aef7d21a0342c24b05059493aa31d58f1798d34a2236569a8789b74df5a475" +checksum = "03064ab96e15b2fda5bd58eac2055692d731c1fba3e211fd1ba48472cced75c3" dependencies = [ "bevy_app", "bevy_asset", @@ -470,20 +493,22 @@ dependencies = [ "bevy_transform", "bevy_utils", "blake3", - "fixedbitset 0.5.7", + "derive_more", + "downcast-rs", + "either", "petgraph", "ron", "serde", - "thiserror", + "smallvec", "thread_local", "uuid", ] [[package]] name = "bevy_app" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5361d0f8a8677a5d0102cfe7321a7ecd2a8b9a4f887ce0dde1059311cf9cd42" +checksum = "454a8cfd134864dcdcba6ee56fb958531b981021bba6bb2037c9e3df6046603c" dependencies = [ "bevy_derive", "bevy_ecs", @@ -491,31 +516,37 @@ dependencies = [ "bevy_tasks", "bevy_utils", "console_error_panic_hook", + "ctrlc", + "derive_more", "downcast-rs", - "thiserror", "wasm-bindgen", "web-sys", ] [[package]] name = "bevy_asset" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60ec5ea257e1ebd3d411f669e29acf60beb715bebc7e1f374c17f49cd3aad46c" +checksum = "2d762dd4422fb6219fd904e514a4a5d1d451711a0a8e1d6495dea15a545f04f3" dependencies = [ "async-broadcast", "async-fs", "async-lock", + "atomicow", "bevy_app", "bevy_asset_macros", "bevy_ecs", "bevy_reflect", "bevy_tasks", "bevy_utils", - "bevy_winit", + "bevy_window", + "bitflags 2.6.0", "blake3", "crossbeam-channel", + "derive_more", + "disqualified", "downcast-rs", + "either", "futures-io", "futures-lite", "js-sys", @@ -523,7 +554,7 @@ dependencies = [ "parking_lot", "ron", "serde", - "thiserror", + "stackfuture", "uuid", "wasm-bindgen", "wasm-bindgen-futures", @@ -532,9 +563,9 @@ dependencies = [ [[package]] name = "bevy_asset_loader" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47863215e4454e0142cc7e0f7801ad256d44e690f43186743e3e2bc9da2de870" +checksum = "d806c255faca43ace03fe99889dd322e295a55ed4dd478a5d8ea6efe523158fe" dependencies = [ "anyhow", "bevy", @@ -546,32 +577,32 @@ dependencies = [ [[package]] name = "bevy_asset_loader_derive" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b12bd14ec1f3e57760d01b239bd27ab5dd13547379e5a83c167c7162525f646" +checksum = "b758b06fa9ec729c925f1fc256b503ca438f1ea345636af362b5fae71f5d8868" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] name = "bevy_asset_macros" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9eb05ce838d282f09d83380b4d6432aec7519d421dee8c75cc20e6148237e6e" +checksum = "8db6957e3f9649d415ee613901cf487898d0339455aa9c3a2525fc37facee920" dependencies = [ "bevy_macro_utils", - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] name = "bevy_audio" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee31312a0e67f288fe12a1d9aa679dd0ba8a49e1e6fe5fcd2ba1aa1ea34e5ed" +checksum = "13d13715401172d7616b376362a46bba125ec9ccc73ab262153a43a2402537ca" dependencies = [ "bevy_app", "bevy_asset", @@ -588,24 +619,24 @@ dependencies = [ [[package]] name = "bevy_color" -version = "0.14.3" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04842e9d38a93f0c75ab46f7f404ea24ef57ad83dbd159e5b4b35318b02257bb" +checksum = "f00aa2966c7ca0c7dd39f5ba8f3b1eaa5c2005a93ffdefb7a4090150d8327678" dependencies = [ "bevy_math", "bevy_reflect", "bytemuck", + "derive_more", "encase", "serde", - "thiserror", "wgpu-types", ] [[package]] name = "bevy_common_assets" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f631ce2863f3b6f1af3fa24143363b9fbd21c44218caad495a17b83e6968256" +checksum = "3521990269672c442f2bf0fbed0fce9db719e3dd136dd4012a97809464a4389d" dependencies = [ "anyhow", "bevy", @@ -616,9 +647,9 @@ dependencies = [ [[package]] name = "bevy_core" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de706862871a1fe99ea619bff2f99d73e43ad82f19ef866a9e19a14c957c8537" +checksum = "0ff28118f5ae3193f7f6cab30d4fd4246ba1802776910ab256dc7c20e8696381" dependencies = [ "bevy_app", "bevy_ecs", @@ -630,9 +661,9 @@ dependencies = [ [[package]] name = "bevy_core_pipeline" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f6e1e122ada4cd811442e083fb5ad3e325c59a87271d5ef57193f1c2cad7f8c" +checksum = "c0c0eea548a55fd04acf01d351bd16da4d1198037cb9c7b98dea6519f5d7dade" dependencies = [ "bevy_app", "bevy_asset", @@ -640,35 +671,37 @@ dependencies = [ "bevy_core", "bevy_derive", "bevy_ecs", + "bevy_image", "bevy_math", "bevy_reflect", "bevy_render", "bevy_transform", "bevy_utils", + "bevy_window", "bitflags 2.6.0", + "derive_more", "nonmax", "radsort", "serde", "smallvec", - "thiserror", ] [[package]] name = "bevy_derive" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fbfc33a4c6b80760bb8bf850a2cc65a1e031da62fd3ca8b552189104dc98514" +checksum = "b962df2a1bef274ae76ec75279eb6f8ef0ffd85b5e4c43433f5d08ba57b3d071" dependencies = [ "bevy_macro_utils", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] name = "bevy_diagnostic" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bebb154e0cc78e3bbfbfdb42fb502b14c1cd47e72f16e6d4228dfe6233ba6cbd" +checksum = "21fe41b22fdf47bf11f0a3ca3e61975b003e86fa44d87e070f2dc7e752dd99f5" dependencies = [ "bevy_app", "bevy_core", @@ -682,9 +715,9 @@ dependencies = [ [[package]] name = "bevy_ecs" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ee4222406637f3c8e3991a99788cfcde76097bf997c311f1b6297364057483f" +checksum = "b747210d7db09dfacc237707d4fd31c8b43d7744cd5e5829e2c4ca86b9e47baf" dependencies = [ "arrayvec", "bevy_ecs_macros", @@ -694,101 +727,92 @@ dependencies = [ "bevy_utils", "bitflags 2.6.0", "concurrent-queue", + "derive_more", + "disqualified", "fixedbitset 0.5.7", "nonmax", "petgraph", "serde", - "thiserror", + "smallvec", ] [[package]] name = "bevy_ecs_macros" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36b573430b67aff7bde8292257494f39343401379bfbda64035ba4918bba7b20" +checksum = "0d36ba5874ee278d20f17b8934d2969f8fbab90f3ea3fcf8d3583814b3661ada" dependencies = [ "bevy_macro_utils", - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] name = "bevy_egui" -version = "0.28.0" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e4a90f30f2849a07d91e393b10c0cc05df09b5773c010ddde57dd8b583be230" +checksum = "954fbe8551af4b40767ea9390ec7d32fe1070a6ab55d524cf0868c17f8469a55" dependencies = [ "arboard", - "bevy", + "bevy_app", + "bevy_asset", + "bevy_derive", + "bevy_ecs", + "bevy_image", + "bevy_input", + "bevy_log", + "bevy_math", + "bevy_reflect", + "bevy_render", + "bevy_time", + "bevy_utils", + "bevy_window", + "bevy_winit", "bytemuck", - "console_log", "crossbeam-channel", "egui", + "encase", "js-sys", "log", "thread_local", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webbrowser", + "wgpu-types", "winit", ] [[package]] name = "bevy_encase_derive" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06c9693847a2a6ea61d6b86288dd4d8b6a79f05d4bf6e27b96d4f5c8d552fe4" +checksum = "46db3d4ebc2ab23045a7d32fa1afb4be78894ec3fbe2f52b28f6cd6e4011e400" dependencies = [ "bevy_macro_utils", "encase_derive_impl", ] -[[package]] -name = "bevy_eventlistener" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63aff74ac1477b88b57ff2f82fc711a7931414be7ee7d0e96aeea45b6d4a7cb6" -dependencies = [ - "bevy_app", - "bevy_ecs", - "bevy_eventlistener_derive", - "bevy_hierarchy", - "bevy_utils", -] - -[[package]] -name = "bevy_eventlistener_derive" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fc779559aa23b81da2b14fba90586755d225983c5b6d3154658e42fc088de7f" -dependencies = [ - "proc-macro2 1.0.86", - "quote 1.0.36", - "syn 2.0.70", -] - [[package]] name = "bevy_gilrs" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0422ccb3ce0f79b264100cf064fdc5ef65cef5c7d51bf6378058f9b96fea4183" +checksum = "a20320bd21f379ba4ec885b8217cb7c2c57eb0be014ba29509959e252480c3e9" dependencies = [ "bevy_app", "bevy_ecs", "bevy_input", "bevy_time", "bevy_utils", + "derive_more", "gilrs", - "thiserror", ] [[package]] name = "bevy_gizmos" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfe32af0666d8d8a7fd6eb6b5e41eceefdc6f2e5441c74b812e8f0902a9d7f52" +checksum = "ca821905afffe1f3aaf33b496903a24a0c980e4c83fa7523fb41eac16892a57a" dependencies = [ "bevy_app", "bevy_asset", @@ -796,6 +820,7 @@ dependencies = [ "bevy_core_pipeline", "bevy_ecs", "bevy_gizmos_macros", + "bevy_image", "bevy_math", "bevy_pbr", "bevy_reflect", @@ -809,21 +834,21 @@ dependencies = [ [[package]] name = "bevy_gizmos_macros" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "906b052f8cf3f3983f0f6df625fb10cbd9b27d44e362a327dc1ed51300d362bc" +checksum = "19843a638c93364950ca54a879832f325be7fa9b89f226fced3b4105594afb70" dependencies = [ "bevy_macro_utils", - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] name = "bevy_gltf" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6adbd325b90e3c700d0966b5404e226c7deec1b8bda8f36832788d7b435b9b8" +checksum = "c38b79c0e43c6387699d6a332d12f98ed895bcf69dd70c462d5e49ad76d44d1f" dependencies = [ "base64 0.22.1", "bevy_animation", @@ -834,6 +859,7 @@ dependencies = [ "bevy_core_pipeline", "bevy_ecs", "bevy_hierarchy", + "bevy_image", "bevy_math", "bevy_pbr", "bevy_reflect", @@ -842,48 +868,72 @@ dependencies = [ "bevy_tasks", "bevy_transform", "bevy_utils", + "derive_more", "gltf", "percent-encoding", "serde", "serde_json", "smallvec", - "thiserror", ] [[package]] name = "bevy_hierarchy" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a88b912b37e1bc4dbb2aa40723199f74c8b06c4fbb6da0bb4585131df28ef66e" +checksum = "bd9aab2cd1684d30f2eedf953b6377a6416fd6b482f8145b6c05f4684bd60c3e" dependencies = [ "bevy_app", "bevy_core", "bevy_ecs", "bevy_reflect", "bevy_utils", + "disqualified", "smallvec", ] [[package]] -name = "bevy_input" -version = "0.14.2" +name = "bevy_image" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8dd3a54e67cc3ba17971de7b1a7e64eda84493c1e7bb6bfa11c6cf8ac124377b" +checksum = "8c5942a7d681b81aa9723bb1d918135c2f88e7871331f5676119c86c01984759" +dependencies = [ + "bevy_asset", + "bevy_color", + "bevy_math", + "bevy_reflect", + "bevy_utils", + "bitflags 2.6.0", + "bytemuck", + "derive_more", + "futures-lite", + "image", + "ktx2", + "ruzstd", + "serde", + "wgpu", +] + +[[package]] +name = "bevy_input" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9bbf39c1d2d33350e03354a67bebee5c21973c5203b1456a9a4b90a5e6f8e75" dependencies = [ "bevy_app", + "bevy_core", "bevy_ecs", "bevy_math", "bevy_reflect", "bevy_utils", + "derive_more", "smol_str", - "thiserror", ] [[package]] name = "bevy_internal" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45d435cac77c568f3aef65f786a5fee0e53c81950c5258182dd2c1d6cd6c4fec" +checksum = "fd7fc4db9a1793ee71f79abb15e7a8fcfe4e2081e5f18ed91b802bf6cf30e088" dependencies = [ "bevy_a11y", "bevy_animation", @@ -900,10 +950,12 @@ dependencies = [ "bevy_gizmos", "bevy_gltf", "bevy_hierarchy", + "bevy_image", "bevy_input", "bevy_log", "bevy_math", "bevy_pbr", + "bevy_picking", "bevy_ptr", "bevy_reflect", "bevy_render", @@ -922,9 +974,9 @@ dependencies = [ [[package]] name = "bevy_log" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67240c7596c8f0653e50fce35a60196516817449235193246599facba9002e02" +checksum = "774238dcf70a0ef4d82aa2860b24b1cffdd4633f3694d3bcbfbb05c4f17ae4fe" dependencies = [ "android_log-sys", "bevy_app", @@ -932,105 +984,77 @@ dependencies = [ "bevy_utils", "tracing-error", "tracing-log", + "tracing-oslog", "tracing-subscriber", "tracing-tracy", "tracing-wasm", ] -[[package]] -name = "bevy_lunex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32e2bb6bf7507c23bb69edf4f045312448b8dbba73b85dda58e9178255ece099" -dependencies = [ - "bevy", - "bevy_mod_picking", - "colored", - "lunex_engine", -] - [[package]] name = "bevy_macro_utils" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfc65e570012e64a21f3546df68591aaede8349e6174fb500071677f54f06630" +checksum = "9bdb3a681c24abace65bf18ed467ad8befbedb42468b32e459811bfdb01e506c" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", "toml_edit 0.22.15", ] [[package]] name = "bevy_math" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5421792749dda753ab3718e77d27bfce38443daf1850b836b97530b6245a4581" +checksum = "edec18d90e6bab27b5c6131ee03172ece75b7edd0abe4e482a26d6db906ec357" dependencies = [ "bevy_reflect", + "derive_more", "glam", + "itertools 0.13.0", "rand 0.8.5", + "rand_distr", "serde", "smallvec", - "thiserror", +] + +[[package]] +name = "bevy_mesh" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "183abae7c6695a80d7408c860bd737410cd66d2a9f910dafc914485da06e43dc" +dependencies = [ + "bevy_asset", + "bevy_derive", + "bevy_ecs", + "bevy_image", + "bevy_math", + "bevy_mikktspace", + "bevy_reflect", + "bevy_transform", + "bevy_utils", + "bitflags 2.6.0", + "bytemuck", + "derive_more", + "hexasphere", + "serde", + "wgpu", ] [[package]] name = "bevy_mikktspace" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66cf695a264b043f2c4edb92dd5c742e6892180d2b30dac870012d153f8557ea" +checksum = "b53f0cf879a0682280937f515ecf00ab2140f7224881d6a621f40093a36a2ef6" dependencies = [ "glam", ] -[[package]] -name = "bevy_mod_picking" -version = "0.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e290b8ad3e72dc621da7a9c21129da10540d78290ef8857353190e0213cac692" -dependencies = [ - "bevy_app", - "bevy_core", - "bevy_ecs", - "bevy_eventlistener", - "bevy_math", - "bevy_picking_core", - "bevy_picking_highlight", - "bevy_picking_input", - "bevy_picking_raycast", - "bevy_picking_selection", - "bevy_reflect", - "bevy_render", - "bevy_utils", - "bevy_window", -] - -[[package]] -name = "bevy_mod_raycast" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9e4ff45885c4716771a9f55977d8ce69596502a5241da55bf608d7cd71a9cb3" -dependencies = [ - "bevy_app", - "bevy_asset", - "bevy_color", - "bevy_derive", - "bevy_ecs", - "bevy_math", - "bevy_reflect", - "bevy_render", - "bevy_transform", - "bevy_utils", - "bevy_window", - "crossbeam-channel", -] - [[package]] name = "bevy_pbr" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccaa3c945f19834dcf7cd8eb358236dbf0fc4000dacbc7710564e7856714db" +checksum = "f7f17067399cf00f4441e93d39fb4c391a16cc223e0d35346ac388e66712c418" dependencies = [ "bevy_app", "bevy_asset", @@ -1038,6 +1062,7 @@ dependencies = [ "bevy_core_pipeline", "bevy_derive", "bevy_ecs", + "bevy_image", "bevy_math", "bevy_reflect", "bevy_render", @@ -1046,6 +1071,7 @@ dependencies = [ "bevy_window", "bitflags 2.6.0", "bytemuck", + "derive_more", "fixedbitset 0.5.7", "nonmax", "radsort", @@ -1054,100 +1080,40 @@ dependencies = [ ] [[package]] -name = "bevy_picking_core" -version = "0.20.0" +name = "bevy_picking" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "020b6cf6079927a1e6a3dd883986546632d8d09ab77840997f4936a74eade722" -dependencies = [ - "bevy_app", - "bevy_derive", - "bevy_ecs", - "bevy_eventlistener", - "bevy_math", - "bevy_reflect", - "bevy_render", - "bevy_transform", - "bevy_utils", - "bevy_window", - "uuid", -] - -[[package]] -name = "bevy_picking_highlight" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ba45161608da1bb58cbc55fd83cf5e529e616a180778c394733c85056cd2b76" +checksum = "125e0c7327ec155c566c044c6eefd1a02e904134fa5dc0ba54665e06a35297b0" dependencies = [ "bevy_app", "bevy_asset", - "bevy_color", - "bevy_ecs", - "bevy_picking_core", - "bevy_picking_selection", - "bevy_reflect", -] - -[[package]] -name = "bevy_picking_input" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ba8cf67c68a5e150c066366744f9a44006ead9ad280de1c9ca69a6a13c5e283" -dependencies = [ - "bevy_app", + "bevy_derive", "bevy_ecs", "bevy_hierarchy", "bevy_input", "bevy_math", - "bevy_picking_core", - "bevy_picking_selection", - "bevy_reflect", - "bevy_render", - "bevy_utils", - "bevy_window", -] - -[[package]] -name = "bevy_picking_raycast" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b024e7b0a6062aafd5daa746e5298a1b726c6409de11e35e0b574b712ebda3d" -dependencies = [ - "bevy_app", - "bevy_ecs", - "bevy_mod_raycast", - "bevy_picking_core", + "bevy_mesh", "bevy_reflect", "bevy_render", + "bevy_time", "bevy_transform", - "bevy_window", -] - -[[package]] -name = "bevy_picking_selection" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf0769d84e944fbc09b0475f068e5232a8a4be15339796539aecd747413ededd" -dependencies = [ - "bevy_app", - "bevy_ecs", - "bevy_eventlistener", - "bevy_input", - "bevy_picking_core", - "bevy_reflect", "bevy_utils", + "bevy_window", + "crossbeam-channel", + "uuid", ] [[package]] name = "bevy_ptr" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61baa1bdc1f4a7ac2c18217570a7cc04e1cd54d38456e91782f0371c79afe0a8" +checksum = "aa65df6a190b7dfc84d79f09cf02d47ae046fa86a613e202c31559e06d8d3710" [[package]] name = "bevy_rapier3d" -version = "0.27.0" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "863f0fa7a944d8fa49dde5b89793f4deecf8476f25d61f336063fe71db7743bd" +checksum = "65fff77c1e3140f8fa9d08632841f42cbef06e4ad98ba61d65a6297369bad763" dependencies = [ "bevy", "bitflags 2.6.0", @@ -1158,13 +1124,16 @@ dependencies = [ [[package]] name = "bevy_reflect" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2508785a4a5809f25a237eec4fee2c91a4dbcf81324b2bbc2d6c52629e603781" +checksum = "bab3264acc3b6f48bc23fbd09fdfea6e5d9b7bfec142e4f3333f532acf195bca" dependencies = [ + "assert_type_match", "bevy_ptr", "bevy_reflect_derive", "bevy_utils", + "derive_more", + "disqualified", "downcast-rs", "erased-serde", "glam", @@ -1172,28 +1141,27 @@ dependencies = [ "serde", "smallvec", "smol_str", - "thiserror", "uuid", ] [[package]] name = "bevy_reflect_derive" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "967d5da1882ec3bb3675353915d3da909cafac033cbf31e58727824a1ad2a288" +checksum = "42f83876a322130ab38a47d5dcf75258944bf76b3387d1acdb3750920fda63e2" dependencies = [ "bevy_macro_utils", - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", "uuid", ] [[package]] name = "bevy_render" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836cf8a513db013cbe7d55a331060088efd407e49fd5b05c8404700cd82e7619" +checksum = "5b14d77d8ff589743237c98502c0e47fd31059cf348ab86a265c4f90bb5e2a22" dependencies = [ "async-channel", "bevy_app", @@ -1205,8 +1173,9 @@ dependencies = [ "bevy_ecs", "bevy_encase_derive", "bevy_hierarchy", + "bevy_image", "bevy_math", - "bevy_mikktspace", + "bevy_mesh", "bevy_reflect", "bevy_render_macros", "bevy_tasks", @@ -1214,25 +1183,23 @@ dependencies = [ "bevy_transform", "bevy_utils", "bevy_window", - "bitflags 2.6.0", "bytemuck", "codespan-reporting", + "derive_more", "downcast-rs", "encase", "futures-lite", - "hexasphere", - "image 0.25.2", + "image", "js-sys", "ktx2", "naga", "naga_oil", "nonmax", + "offset-allocator", "profiling", - "ruzstd", "send_wrapper", "serde", "smallvec", - "thiserror", "wasm-bindgen", "web-sys", "wgpu", @@ -1240,21 +1207,21 @@ dependencies = [ [[package]] name = "bevy_render_macros" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbc24e0e95061a38a7744218b9c7e52e4c08b53f1499f33480e2b749f3864432" +checksum = "285769c193b832d67c5742a716c6063db573573d5df5ce0c41aa7584ef0e348e" dependencies = [ "bevy_macro_utils", - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] name = "bevy_scene" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ec57a72d75273bdbb6154390688fd07ba79ae9f6f99476d1937f799c736c2da" +checksum = "cd00a08d01a190a826a5f6ad0fcb3dbf7bd1bd4f64ebe6108c38384691a21111" dependencies = [ "bevy_app", "bevy_asset", @@ -1265,16 +1232,16 @@ dependencies = [ "bevy_render", "bevy_transform", "bevy_utils", + "derive_more", "serde", - "thiserror", "uuid", ] [[package]] name = "bevy_sprite" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e045b4d8cc8e7422a4c29b1eadbe224f5cc42f170b88d43e7535892fcede3840" +checksum = "84c7d22da88e562fb2ae8fe7f8cc749d3024caa4dcb57a777d070ef9141577aa" dependencies = [ "bevy_app", "bevy_asset", @@ -1282,25 +1249,29 @@ dependencies = [ "bevy_core_pipeline", "bevy_derive", "bevy_ecs", + "bevy_image", "bevy_math", + "bevy_picking", "bevy_reflect", "bevy_render", "bevy_transform", "bevy_utils", + "bevy_window", "bitflags 2.6.0", "bytemuck", + "derive_more", "fixedbitset 0.5.7", "guillotiere", + "nonmax", "radsort", "rectangle-pack", - "thiserror", ] [[package]] name = "bevy_state" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25335bfa58cc22371182335c3b133017293bc9b6d3308402fd4d1f978b83f937" +checksum = "fd10c8b01a982642596406fc4486fcd52239aa9c4aa47fed27abab93a69fba59" dependencies = [ "bevy_app", "bevy_ecs", @@ -1312,40 +1283,44 @@ dependencies = [ [[package]] name = "bevy_state_macros" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dee600b659c739f1911f997a81611fec0a1832cf731727956e5fa4e7532b4dd5" +checksum = "23773797bf8077a6ad9299f10b063b6947f22dad311d855c4b3523102ab4381b" dependencies = [ "bevy_macro_utils", - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] name = "bevy_tasks" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77865f310b1fc48fb05b7c4adbe76607ec01d0c14f8ab4caba4d714c86439946" +checksum = "5c28f2db2619203aa82342dbbe77e49aeea4f933212c0b7a1f285e94c4008e5b" dependencies = [ "async-channel", "async-executor", "concurrent-queue", + "futures-channel", "futures-lite", + "pin-project", "wasm-bindgen-futures", ] [[package]] name = "bevy_text" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b661db828fd423fc41a4ccf43aa4d1b8e50e75057ec40453317d0d761e8ad62d" +checksum = "17ee0b5f52946d222521f93773a6230f42e868548f881c4c5bddb1393a96298b" dependencies = [ - "ab_glyph", "bevy_app", "bevy_asset", "bevy_color", + "bevy_derive", "bevy_ecs", + "bevy_hierarchy", + "bevy_image", "bevy_math", "bevy_reflect", "bevy_render", @@ -1353,45 +1328,48 @@ dependencies = [ "bevy_transform", "bevy_utils", "bevy_window", - "glyph_brush_layout", + "cosmic-text", + "derive_more", "serde", - "thiserror", + "smallvec", + "sys-locale", + "unicode-bidi", ] [[package]] name = "bevy_time" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4e4d53ec32a1b16492396951d04de0d2d90e924bf9adcb8d1adacab5ab6c17c" +checksum = "bb3108ed1ef864bc40bc859ba4c9c3844213c7be3674f982203cf5d87c656848" dependencies = [ "bevy_app", "bevy_ecs", "bevy_reflect", "bevy_utils", "crossbeam-channel", - "thiserror", ] [[package]] name = "bevy_transform" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5493dce84427d00a9266e8e4386d738a72ee8640423b62dfcecb6dfccbfe0d2" +checksum = "056fabcedbf0503417af69447d47a983e18c7cfb5e6b6728636be3ec285cbcfa" dependencies = [ "bevy_app", "bevy_ecs", "bevy_hierarchy", "bevy_math", "bevy_reflect", - "thiserror", + "derive_more", ] [[package]] name = "bevy_ui" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56d2cba6603b39a3765f043212ae530e25550af168a7eec6b23b9b93c19bc5f7" +checksum = "4556fc2202c6339f95e0c24ca4c96ee959854b702e23ecf73e05fb20e67d67b0" dependencies = [ + "accesskit", "bevy_a11y", "bevy_app", "bevy_asset", @@ -1400,8 +1378,10 @@ dependencies = [ "bevy_derive", "bevy_ecs", "bevy_hierarchy", + "bevy_image", "bevy_input", "bevy_math", + "bevy_picking", "bevy_reflect", "bevy_render", "bevy_sprite", @@ -1410,22 +1390,22 @@ dependencies = [ "bevy_utils", "bevy_window", "bytemuck", + "derive_more", "nonmax", "smallvec", "taffy", - "thiserror", ] [[package]] name = "bevy_utils" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb0ec333b5965771153bd746f92ffd8aeeb9d008a8620ffd9ed474859381a5e" +checksum = "4f01088c048960ea50ee847c3f668942ecf49ed26be12a1585a5e59b6a941d9a" dependencies = [ "ahash", "bevy_utils_proc_macros", "getrandom 0.2.15", - "hashbrown", + "hashbrown 0.14.5", "thread_local", "tracing", "web-time", @@ -1433,24 +1413,26 @@ dependencies = [ [[package]] name = "bevy_utils_proc_macros" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38f1ab8f2f6f58439d260081d89a42b02690e5fdd64f814edc9417d33fcf2857" +checksum = "4a0c3244d543cc964545b7aa074f6fb18a915a7121cf3de5d7ed37a4aae8662d" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] name = "bevy_window" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89e88a20db64ea8204540afb4699295947c454738fd50293f7b32ab8be857a6" +checksum = "36139955777cc9e7a40a97833ff3a95b7401ce525a3dbac05fc52557968b31a7" dependencies = [ + "android-activity", "bevy_a11y", "bevy_app", "bevy_ecs", + "bevy_input", "bevy_math", "bevy_reflect", "bevy_utils", @@ -1460,17 +1442,20 @@ dependencies = [ [[package]] name = "bevy_winit" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0bef8ec3e4b45db943ad4d1c0bf59b09e382ce0651a706e2f33a70fa955303c" +checksum = "36e84e7f94583cac93de4ba641029eb0b6551d35e559c829209f2b1b9fe532d8" dependencies = [ + "accesskit", "accesskit_winit", "approx", "bevy_a11y", "bevy_app", + "bevy_asset", "bevy_derive", "bevy_ecs", "bevy_hierarchy", + "bevy_image", "bevy_input", "bevy_log", "bevy_math", @@ -1478,11 +1463,13 @@ dependencies = [ "bevy_tasks", "bevy_utils", "bevy_window", + "bytemuck", "cfg-if", "crossbeam-channel", "raw-window-handle", "wasm-bindgen", "web-sys", + "wgpu-types", "winit", ] @@ -1495,15 +1482,35 @@ dependencies = [ "bitflags 2.6.0", "cexpr", "clang-sys", - "itertools", + "itertools 0.12.1", "lazy_static", "lazycell", - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", "regex", "rustc-hash 1.1.0", "shlex", - "syn 2.0.70", + "syn 2.0.96", +] + +[[package]] +name = "bindgen" +version = "0.70.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f49d8fed880d473ea71efb9bf597651e77201bdd4893efe54c9e5d65ae04ce6f" +dependencies = [ + "bitflags 2.6.0", + "cexpr", + "clang-sys", + "itertools 0.13.0", + "log", + "prettyplease", + "proc-macro2 1.0.93", + "quote 1.0.36", + "regex", + "rustc-hash 1.1.0", + "shlex", + "syn 2.0.96", ] [[package]] @@ -1512,7 +1519,16 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" dependencies = [ - "bit-vec", + "bit-vec 0.6.3", +] + +[[package]] +name = "bit-set" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" +dependencies = [ + "bit-vec 0.8.0", ] [[package]] @@ -1521,6 +1537,18 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" +[[package]] +name = "bit-vec" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2c54ff287cfc0a34f38a6b832ea1bd8e448a330b3e40a50859e6488bee07f22" + +[[package]] +name = "bit-vec" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" + [[package]] name = "bit_field" version = "0.10.2" @@ -1618,9 +1646,9 @@ checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "bytemuck" -version = "1.16.1" +version = "1.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b236fc92302c97ed75b38da1f4917b5cdda4984745740f153a5d3059e48d725e" +checksum = "ef657dfab802224e671f5818e9a4935f9b1957ed18e58292690cc39e7a4092a3" dependencies = [ "bytemuck_derive", ] @@ -1631,9 +1659,9 @@ version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ee891b04274a59bd38b412188e24b849617b2e45a0fd8d057deb63e7403761b" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -1742,7 +1770,7 @@ checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" dependencies = [ "glob", "libc", - "libloading 0.8.4", + "libloading", ] [[package]] @@ -1770,47 +1798,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" -[[package]] -name = "colored" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8" -dependencies = [ - "lazy_static", - "windows-sys 0.48.0", -] - -[[package]] -name = "com" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e17887fd17353b65b1b2ef1c526c83e26cd72e74f598a8dc1bee13a48f3d9f6" -dependencies = [ - "com_macros", -] - -[[package]] -name = "com_macros" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d375883580a668c7481ea6631fc1a8863e33cc335bf56bfad8d7e6d4b04b13a5" -dependencies = [ - "com_macros_support", - "proc-macro2 1.0.86", - "syn 1.0.109", -] - -[[package]] -name = "com_macros_support" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad899a1087a9296d5644792d7cb72b8e34c1bec8e7d4fbc002230169a6e8710c" -dependencies = [ - "proc-macro2 1.0.86", - "quote 1.0.36", - "syn 1.0.109", -] - [[package]] name = "combine" version = "4.6.7" @@ -1840,22 +1827,32 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "console_log" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be8aed40e4edbf4d3b4431ab260b63fdc40f5780a4766824329ea0f1eefe3c0f" -dependencies = [ - "log", - "web-sys", -] - [[package]] name = "const-fnv1a-hash" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32b13ea120a812beba79e34316b3942a857c86ec1593cb34f27bb28272ce2cca" +[[package]] +name = "const-random" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" +dependencies = [ + "const-random-macro", +] + +[[package]] +name = "const-random-macro" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" +dependencies = [ + "getrandom 0.2.15", + "once_cell", + "tiny-keccak", +] + [[package]] name = "const_panic" version = "0.2.8" @@ -1894,10 +1891,20 @@ dependencies = [ ] [[package]] -name = "core-foundation-sys" -version = "0.8.6" +name = "core-foundation" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +checksum = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "core-graphics" @@ -1906,7 +1913,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081" dependencies = [ "bitflags 1.3.2", - "core-foundation", + "core-foundation 0.9.4", "core-graphics-types", "foreign-types", "libc", @@ -1919,7 +1926,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf" dependencies = [ "bitflags 1.3.2", - "core-foundation", + "core-foundation 0.9.4", "libc", ] @@ -1940,7 +1947,30 @@ version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f01585027057ff5f0a5bf276174ae4c1594a2c5bde93d5f46a016d76270f5a9" dependencies = [ - "bindgen", + "bindgen 0.69.4", +] + +[[package]] +name = "cosmic-text" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59fd57d82eb4bfe7ffa9b1cec0c05e2fd378155b47f255a67983cb4afe0e80c2" +dependencies = [ + "bitflags 2.6.0", + "fontdb", + "log", + "rangemap", + "rayon", + "rustc-hash 1.1.0", + "rustybuzz", + "self_cell", + "swash", + "sys-locale", + "ttf-parser 0.21.1", + "unicode-bidi", + "unicode-linebreak", + "unicode-script", + "unicode-segmentation", ] [[package]] @@ -2037,23 +2067,22 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" +[[package]] +name = "ctrlc" +version = "3.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90eeab0aa92f3f9b4e87f258c72b139c207d251f9cbc1080a0086b86a8870dd3" +dependencies = [ + "nix", + "windows-sys 0.59.0", +] + [[package]] name = "cursor-icon" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96a6ac251f4a2aca6b3f91340350eab87ae57c3f127ffeb585e92bd336717991" -[[package]] -name = "d3d12" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b28bfe653d79bd16c77f659305b195b82bb5ce0c0eb2a4846b82ddbd77586813" -dependencies = [ - "bitflags 2.6.0", - "libloading 0.8.4", - "winapi", -] - [[package]] name = "darling" version = "0.9.0" @@ -2111,10 +2140,10 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a3767f826efbbe5a5ae093920b58b43b01734202be697e1354914e862e8e704" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", "semver", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -2142,26 +2171,53 @@ dependencies = [ "syn 0.15.44", ] +[[package]] +name = "derive_more" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" +dependencies = [ + "proc-macro2 1.0.93", + "quote 1.0.36", + "syn 2.0.96", + "unicode-xid 0.2.6", +] + [[package]] name = "dispatch" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" +[[package]] +name = "disqualified" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9c272297e804878a2a4b707cfcfc6d2328b5bb936944613b4fdf2b9269afdfd" + [[package]] name = "dlib" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412" dependencies = [ - "libloading 0.8.4", + "libloading", ] [[package]] name = "document-features" -version = "0.2.8" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef5282ad69563b5fc40319526ba27e0e7363d552a896f0297d54f767717f9b95" +checksum = "cb6969eaabd2421f8a2775cfd2471a2b634372b4a25d41e3bd647b79912850a0" dependencies = [ "litrs", ] @@ -2180,9 +2236,9 @@ checksum = "f25c0e292a7ca6d6498557ff1df68f32c99850012b6ea401cf8daf771f22ff53" [[package]] name = "ecolor" -version = "0.28.1" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e6b451ff1143f6de0f33fc7f1b68fecfd2c7de06e104de96c4514de3f5396f8" +checksum = "775cfde491852059e386c4e1deb4aef381c617dc364184c6f6afee99b87c402b" dependencies = [ "bytemuck", "emath", @@ -2190,9 +2246,9 @@ dependencies = [ [[package]] name = "egui" -version = "0.28.1" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20c97e70a2768de630f161bb5392cbd3874fcf72868f14df0e002e82e06cb798" +checksum = "53eafabcce0cb2325a59a98736efe0bf060585b437763f8c476957fb274bb974" dependencies = [ "ahash", "emath", @@ -2208,18 +2264,27 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "emath" -version = "0.28.1" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6a21708405ea88f63d8309650b4d77431f4bc28fb9d8e6f77d3963b51249e6" +checksum = "b1fe0049ce51d0fb414d029e668dd72eb30bc2b739bf34296ed97bd33df544f3" dependencies = [ "bytemuck", ] [[package]] -name = "encase" -version = "0.8.0" +name = "ena" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a9299a95fa5671ddf29ecc22b00e121843a65cb9ff24911e394b4ae556baf36" +checksum = "3d248bdd43ce613d87415282f69b9bb99d947d290b10962dd6c56233312c2ad5" +dependencies = [ + "log", +] + +[[package]] +name = "encase" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0a05902cf601ed11d564128448097b98ebe3c6574bd7b6a653a3d56d54aa020" dependencies = [ "const_panic", "encase_derive", @@ -2229,39 +2294,46 @@ dependencies = [ [[package]] name = "encase_derive" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e09decb3beb1fe2db6940f598957b2e1f7df6206a804d438ff6cb2a9cddc10" +checksum = "181d475b694e2dd56ae919ce7699d344d1fd259292d590c723a50d1189a2ea85" dependencies = [ "encase_derive_impl", ] [[package]] name = "encase_derive_impl" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd31dbbd9743684d339f907a87fe212cb7b51d75b9e8e74181fe363199ee9b47" +checksum = "f97b51c5cc57ef7c5f7a0c57c250251c49ee4c28f819f87ac32f4aceabc36792" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] name = "epaint" -version = "0.28.1" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f0dcc0a0771e7500e94cd1cb797bd13c9f23b9409bdc3c824e2cbc562b7fa01" +checksum = "a32af8da821bd4f43f2c137e295459ee2e1661d87ca8779dfa0eaf45d870e20f" dependencies = [ "ab_glyph", "ahash", "bytemuck", "ecolor", "emath", + "epaint_default_fonts", "nohash-hasher", "parking_lot", ] +[[package]] +name = "epaint_default_fonts" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "483440db0b7993cf77a20314f08311dbe95675092405518c0677aa08c151a3ea" + [[package]] name = "equivalent" version = "1.0.1" @@ -2363,11 +2435,11 @@ dependencies = [ [[package]] name = "file-id" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6584280525fb2059cba3db2c04abf947a1a29a45ddae89f3870f8281704fafc9" +checksum = "6bc904b9bbefcadbd8e3a9fb0d464a9b979de6324c03b3c663e8994f46a5be36" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -2419,6 +2491,44 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" + +[[package]] +name = "font-types" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3971f9a5ca983419cdc386941ba3b9e1feba01a0ab888adf78739feb2798492" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "fontconfig-parser" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1fcfcd44ca6e90c921fee9fa665d530b21ef1327a4c1a6c5250ea44b776ada7" +dependencies = [ + "roxmltree", +] + +[[package]] +name = "fontdb" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0299020c3ef3f60f526a4f64ab4a3d4ce116b1acbf24cdd22da0068e5d81dc3" +dependencies = [ + "fontconfig-parser", + "log", + "memmap2", + "slotmap", + "tinyvec", + "ttf-parser 0.20.0", +] + [[package]] name = "foreign-types" version = "0.5.0" @@ -2435,9 +2545,9 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -2446,15 +2556,6 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" -[[package]] -name = "form_urlencoded" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" -dependencies = [ - "percent-encoding", -] - [[package]] name = "fsevent-sys" version = "4.1.0" @@ -2464,6 +2565,15 @@ dependencies = [ "libc", ] +[[package]] +name = "futures-channel" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +dependencies = [ + "futures-core", +] + [[package]] name = "futures-core" version = "0.3.30" @@ -2558,9 +2668,9 @@ dependencies = [ [[package]] name = "gilrs" -version = "0.10.8" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f226b8f4d9bc7da93de8efd8747c6b1086409ca3f4b6d51e9a7f5461a9183fe" +checksum = "bbb2c998745a3c1ac90f64f4f7b3a54219fd3612d7705e7798212935641ed18f" dependencies = [ "fnv", "gilrs-core", @@ -2571,12 +2681,12 @@ dependencies = [ [[package]] name = "gilrs-core" -version = "0.5.13" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbb5e8d912059b33b463831c16b838d15c4772d584ce332e4a80f6dffdae2bc1" +checksum = "0ed2326d21aa97752d41b2c195aee1d99cd84456ff4d5a7f5e6e1cdbd3dcb0b8" dependencies = [ - "core-foundation", - "inotify 0.10.2", + "core-foundation 0.10.0", + "inotify 0.11.0", "io-kit-sys", "js-sys", "libc", @@ -2603,9 +2713,9 @@ dependencies = [ [[package]] name = "glam" -version = "0.27.0" +version = "0.29.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e05e7e6723e3455f4818c7b26e855439f7546cf617ef669d1adedb8669e5cb9" +checksum = "dc46dd3ec48fdd8e693a98d2b8bafae273a2d54c1de02a2a7e3d57d501f39677" dependencies = [ "bytemuck", "rand 0.8.5", @@ -2620,9 +2730,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "glow" -version = "0.13.1" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd348e04c43b32574f2de31c8bb397d96c9fcfa1371bd4ca6d8bdc464ab121b1" +checksum = "d51fa363f025f5c111e03f13eda21162faeacb6911fe8caa0c0349f9cf0c4483" dependencies = [ "js-sys", "slotmap", @@ -2649,9 +2759,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14070e711538afba5d6c807edb74bcb84e5dbb9211a3bf5dea0dfab5b24f4c51" dependencies = [ "inflections", - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -2668,24 +2778,13 @@ dependencies = [ [[package]] name = "glutin_wgl_sys" -version = "0.5.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8098adac955faa2d31079b65dc48841251f69efd3ac25477903fc424362ead" +checksum = "2c4ee00b289aba7a9e5306d57c2d05499b2e5dc427f84ac708bd2c090212cf3e" dependencies = [ "gl_generator", ] -[[package]] -name = "glyph_brush_layout" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b1e288bfd2f6c0313f78bf5aa538356ad481a3bb97e9b7f93220ab0066c5992" -dependencies = [ - "ab_glyph", - "approx", - "xi-unicode", -] - [[package]] name = "gpu-alloc" version = "0.6.0" @@ -2707,15 +2806,14 @@ dependencies = [ [[package]] name = "gpu-allocator" -version = "0.25.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f56f6318968d03c18e1bcf4857ff88c61157e9da8e47c5f29055d60e1228884" +checksum = "c151a2a5ef800297b4e79efa4f4bec035c5f51d5ae587287c9b952bdf734cacd" dependencies = [ "log", "presser", "thiserror", - "winapi", - "windows 0.52.0", + "windows 0.58.0", ] [[package]] @@ -2726,7 +2824,7 @@ checksum = "9c08c1f623a8d0b722b8b99f821eb0ba672a1618f0d3b16ddbee1cedd2dd8557" dependencies = [ "bitflags 2.6.0", "gpu-descriptor-types", - "hashbrown", + "hashbrown 0.14.5", ] [[package]] @@ -2764,6 +2862,15 @@ dependencies = [ "crunchy", ] +[[package]] +name = "hash32" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d60b12902ba28e2730cd37e95b8c9223af2808df9e902d4df49588d1470606" +dependencies = [ + "byteorder", +] + [[package]] name = "hashbrown" version = "0.14.5" @@ -2776,18 +2883,22 @@ dependencies = [ ] [[package]] -name = "hassle-rs" -version = "0.11.0" +name = "hashbrown" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af2a7e73e1f34c48da31fb668a907f250794837e08faa144fd24f0b8b741e890" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" dependencies = [ - "bitflags 2.6.0", - "com", - "libc", - "libloading 0.8.4", - "thiserror", - "widestring", - "winapi", + "foldhash", +] + +[[package]] +name = "heapless" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bfb9eb618601c89945a70e254898da93b13be0388091d42117462b265bb3fad" +dependencies = [ + "hash32", + "stable_deref_trait", ] [[package]] @@ -2804,12 +2915,13 @@ checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" [[package]] name = "hexasphere" -version = "12.0.0" +version = "15.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edd6b038160f086b0a7496edae34169ae22f328793cbe2b627a5a3d8373748ec" +checksum = "d9c9e718d32b6e6b2b32354e1b0367025efdd0b11d6a740b905ddf5db1074679" dependencies = [ "constgebra", "glam", + "tinyvec", ] [[package]] @@ -2818,43 +2930,12 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" -[[package]] -name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] - [[package]] name = "ident_case" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" -[[package]] -name = "idna" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "image" -version = "0.24.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d" -dependencies = [ - "bytemuck", - "byteorder", - "color_quant", - "num-traits", -] - [[package]] name = "image" version = "0.25.2" @@ -2896,9 +2977,9 @@ checksum = "44feda355f4159a7c757171a77de25daf6411e217b4cabd03bd6650690468126" [[package]] name = "immutable-chunkmap" -version = "2.0.5" +version = "2.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4419f022e55cc63d5bbd6b44b71e1d226b9c9480a47824c706e9d54e5c40c5eb" +checksum = "12f97096f508d54f8f8ab8957862eee2ccd628847b6217af1a335e1c44dee578" dependencies = [ "arrayvec", ] @@ -2910,7 +2991,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", - "hashbrown", + "hashbrown 0.14.5", ] [[package]] @@ -2919,17 +3000,6 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a257582fdcde896fd96463bf2d40eefea0580021c0712a0e2b028b60b47a837a" -[[package]] -name = "inotify" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff" -dependencies = [ - "bitflags 1.3.2", - "inotify-sys", - "libc", -] - [[package]] name = "inotify" version = "0.10.2" @@ -2941,6 +3011,17 @@ dependencies = [ "libc", ] +[[package]] +name = "inotify" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f37dccff2791ab604f9babef0ba14fbe0be30bd368dc541e2b08d07c8aa908f3" +dependencies = [ + "bitflags 2.6.0", + "inotify-sys", + "libc", +] + [[package]] name = "inotify-sys" version = "0.1.5" @@ -2950,6 +3031,15 @@ dependencies = [ "libc", ] +[[package]] +name = "instant" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" +dependencies = [ + "cfg-if", +] + [[package]] name = "integer-sqrt" version = "0.1.5" @@ -2965,9 +3055,9 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c34819042dc3d3971c46c2190835914dfbe0c3c13f61449b2997f4e9722dfa60" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -2989,22 +3079,21 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" -[[package]] -name = "iyes_perf_ui" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c7015cab699e6224bd5519854cff04280dddab4257090f4720e85d1095e66c8" -dependencies = [ - "bevy", - "num-traits", -] - [[package]] name = "jni" version = "0.21.1" @@ -3044,10 +3133,11 @@ checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0" [[package]] name = "js-sys" -version = "0.3.69" +version = "0.3.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" +checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" dependencies = [ + "once_cell", "wasm-bindgen", ] @@ -3058,7 +3148,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76" dependencies = [ "libc", - "libloading 0.8.4", + "libloading", "pkg-config", ] @@ -3128,9 +3218,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.155" +version = "0.2.169" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" [[package]] name = "libfuzzer-sys" @@ -3143,16 +3233,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "libloading" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" -dependencies = [ - "cfg-if", - "winapi", -] - [[package]] name = "libloading" version = "0.8.4" @@ -3251,18 +3331,6 @@ dependencies = [ "imgref", ] -[[package]] -name = "lunex_engine" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64d55d2e631c0eb2d5bc164ca826452f550a57a9b0d8da93e6e5625d23f533bd" -dependencies = [ - "bevy", - "colored", - "indexmap", - "thiserror", -] - [[package]] name = "mach2" version = "0.4.2" @@ -3326,9 +3394,9 @@ dependencies = [ [[package]] name = "metal" -version = "0.28.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5637e166ea14be6063a3f8ba5ccb9a4159df7d8f6d61c02fc3d480b1f90dcfcb" +checksum = "7ecfd3296f8c56b7c1f6fbac3c71cefa9d78ce009850c45000015f206dc7fa21" dependencies = [ "bitflags 2.6.0", "block", @@ -3357,45 +3425,45 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.11" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" dependencies = [ "libc", "log", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "naga" -version = "0.20.0" +version = "23.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e536ae46fcab0876853bd4a632ede5df4b1c2527a58f6c5a4150fe86be858231" +checksum = "364f94bc34f61332abebe8cad6f6cd82a5b65cff22c828d05d0968911462ca4f" dependencies = [ "arrayvec", - "bit-set", + "bit-set 0.8.0", "bitflags 2.6.0", + "cfg_aliases 0.1.1", "codespan-reporting", "hexf-parse", "indexmap", "log", - "num-traits", "pp-rs", "rustc-hash 1.1.0", "spirv", "termcolor", "thiserror", - "unicode-xid 0.2.4", + "unicode-xid 0.2.6", ] [[package]] name = "naga_oil" -version = "0.14.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "275d9720a7338eedac966141089232514c84d76a246a58ef501af88c5edf402f" +checksum = "31ea1f080bb359927cd5404d0af1e5e6758f4f2d82ecfbebb0a0c434764e40f1" dependencies = [ - "bit-set", + "bit-set 0.5.3", "codespan-reporting", "data-encoding", "indexmap", @@ -3411,9 +3479,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.33.0" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c4b5f057b303842cf3262c27e465f4c303572e7f6b0648f60e16248ac3397f4" +checksum = "26aecdf64b707efd1310e3544d709c5c0ac61c13756046aaaba41be5c4f66a3b" dependencies = [ "approx", "glam", @@ -3432,9 +3500,9 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -3560,37 +3628,45 @@ checksum = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8" [[package]] name = "notify" -version = "6.1.1" +version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6205bd8bb1e454ad2e27422015fb5e4f2bcc7e08fa8f27058670d208324a4d2d" +checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009" dependencies = [ "bitflags 2.6.0", - "crossbeam-channel", "filetime", "fsevent-sys", - "inotify 0.9.6", + "inotify 0.10.2", "kqueue", "libc", "log", "mio", + "notify-types", "walkdir", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "notify-debouncer-full" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f5dab59c348b9b50cf7f261960a20e389feb2713636399cd9082cd4b536154" +checksum = "9dcf855483228259b2353f89e99df35fc639b2b2510d1166e4858e3f67ec1afb" dependencies = [ - "crossbeam-channel", "file-id", "log", "notify", - "parking_lot", + "notify-types", "walkdir", ] +[[package]] +name = "notify-types" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "585d3cb5e12e01aed9e8a1f70d5c6b5e86fe2a6e48fc8cd0b3e0b8df6f6eb174" +dependencies = [ + "instant", +] + [[package]] name = "ntapi" version = "0.4.1" @@ -3684,9 +3760,9 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -3758,9 +3834,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -3998,6 +4074,16 @@ dependencies = [ "cc", ] +[[package]] +name = "offset-allocator" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e234d535da3521eb95106f40f0b73483d80bfb3aacf27c40d7e2b72f1a3e00a2" +dependencies = [ + "log", + "nonmax", +] + [[package]] name = "ogg" version = "0.8.0" @@ -4009,9 +4095,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.19.0" +version = "1.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" [[package]] name = "orbclient" @@ -4043,7 +4129,7 @@ version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "490d3a563d3122bf7c911a59b0add9389e5ec0f5f0c3ac6b91ff235a0e6a7f90" dependencies = [ - "ttf-parser", + "ttf-parser 0.24.0", ] [[package]] @@ -4077,20 +4163,22 @@ dependencies = [ [[package]] name = "parry3d" -version = "0.16.1" +version = "0.17.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec1d9cc5a359352e2be7e47270cef9f9e175794c03302553353804a436228e7f" +checksum = "b5d6c81f7d291d5ba572951242779a672f73ed605fe5520045c0bccdb381e913" dependencies = [ "approx", "arrayvec", "bitflags 2.6.0", "downcast-rs", "either", + "ena", "log", "nalgebra", "num-derive", "num-traits", "ordered-float", + "rstar", "rustc-hash 2.0.0", "simba", "slab", @@ -4150,11 +4238,9 @@ dependencies = [ "bevy", "bevy-inspector-egui", "bevy_asset_loader", - "bevy_lunex", "bevy_rapier3d", "buildings", - "image 0.25.2", - "iyes_perf_ui", + "image", "noise 0.8.2", "rayon", "ron", @@ -4178,9 +4264,9 @@ version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -4240,7 +4326,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb458bb7f6e250e6eb79d5026badc10a3ebb8f9a15d1fff0f13d17c71f4d6dee" dependencies = [ - "unicode-xid 0.2.4", + "unicode-xid 0.2.6", ] [[package]] @@ -4256,10 +4342,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa" [[package]] -name = "pretty-type-name" -version = "1.0.1" +name = "prettyplease" +version = "0.2.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f73cdaf19b52e6143685c3606206e114a4dfa969d6b14ec3894c88eb38bd4b" +checksum = "6924ced06e1f7dfe3fa48d57b9f74f55d8915f5036121bef647ef4b204895fac" +dependencies = [ + "proc-macro2 1.0.93", + "syn 2.0.96", +] [[package]] name = "proc-macro-crate" @@ -4281,9 +4371,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" dependencies = [ "unicode-ident", ] @@ -4305,7 +4395,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8021cf59c8ec9c432cfc2526ac6b8aa508ecaf29cd415f271b8406c1b851c3fd" dependencies = [ "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -4357,7 +4447,7 @@ version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", ] [[package]] @@ -4428,6 +4518,16 @@ dependencies = [ "getrandom 0.2.15", ] +[[package]] +name = "rand_distr" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + [[package]] name = "rand_hc" version = "0.2.0" @@ -4462,14 +4562,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8a99fddc9f0ba0a85884b8d14e3592853e787d581ca1816c91349b10e4eeab" [[package]] -name = "rapier3d" -version = "0.21.0" +name = "rangemap" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdfa17fa28a7a4cfaebf669f57ca34dce0e758b295bd8a2aa1fbac4e054fb836" +checksum = "f60fcc7d6849342eff22c4350c8b9a989ee8ceabc4b481253e8946b9fe83d684" + +[[package]] +name = "rapier3d" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87360935d1a54802efe0ddf908489436bb49c84865c36c930131843c7b1dc97d" dependencies = [ "approx", "arrayvec", - "bit-vec", + "bit-vec 0.7.0", "bitflags 2.6.0", "crossbeam", "downcast-rs", @@ -4500,7 +4606,7 @@ dependencies = [ "built", "cfg-if", "interpolate_name", - "itertools", + "itertools 0.12.1", "libc", "libfuzzer-sys", "log", @@ -4567,6 +4673,16 @@ dependencies = [ "crossbeam-utils", ] +[[package]] +name = "read-fonts" +version = "0.22.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69aacb76b5c29acfb7f90155d39759a29496aebb49395830e928a9703d2eec2f" +dependencies = [ + "bytemuck", + "font-types", +] + [[package]] name = "rectangle-pack" version = "0.4.2" @@ -4672,9 +4788,9 @@ checksum = "cbf4a6aa5f6d6888f39e980649f3ad6b666acdce1d78e95b8a2cb076e687ae30" [[package]] name = "rodio" -version = "0.18.1" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1fceb9d127d515af1586d8d0cc601e1245bdb0af38e75c865a156290184f5b3" +checksum = "6006a627c1a38d37f3d3a85c6575418cfe34a5392d60a686d0071e1c8d427acb" dependencies = [ "cpal", "lewton", @@ -4693,6 +4809,23 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "roxmltree" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97" + +[[package]] +name = "rstar" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "421400d13ccfd26dfa5858199c30a5d76f9c54e0dba7575273025b43c5175dbb" +dependencies = [ + "heapless", + "num-traits", + "smallvec", +] + [[package]] name = "rustc-hash" version = "1.1.0" @@ -4724,6 +4857,23 @@ version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" +[[package]] +name = "rustybuzz" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfb9cf8877777222e4a3bc7eb247e398b56baba500c38c1c46842431adc8b55c" +dependencies = [ + "bitflags 2.6.0", + "bytemuck", + "libm", + "smallvec", + "ttf-parser 0.21.1", + "unicode-bidi-mirroring", + "unicode-ccc", + "unicode-properties", + "unicode-script", +] + [[package]] name = "ruzstd" version = "0.7.0" @@ -4783,6 +4933,12 @@ dependencies = [ "tiny-skia", ] +[[package]] +name = "self_cell" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2fdfc24bc566f839a2da4c4295b82db7d25a24253867d5c64355abb5799bdbe" + [[package]] name = "semver" version = "1.0.23" @@ -4810,9 +4966,9 @@ version = "1.0.204" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -4887,6 +5043,16 @@ dependencies = [ "quote 1.0.36", ] +[[package]] +name = "skrifa" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1c44ad1f6c5bdd4eefed8326711b7dbda9ea45dfd36068c427d332aa382cbe" +dependencies = [ + "bytemuck", + "read-fonts", +] + [[package]] name = "slab" version = "0.4.9" @@ -4951,7 +5117,7 @@ version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f4ec45f91925e2c9ab3b6a857ee9ed36916990df76a1c475d783a328e247cc8" dependencies = [ - "hashbrown", + "hashbrown 0.14.5", "num-traits", "robust", "smallvec", @@ -4975,6 +5141,18 @@ dependencies = [ "bitflags 2.6.0", ] +[[package]] +name = "stable_deref_trait" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" + +[[package]] +name = "stackfuture" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eae92052b72ef70dafa16eddbabffc77e5ca3574be2f7bc1127b36f0a7ad7f2" + [[package]] name = "static_assertions" version = "1.1.0" @@ -4999,6 +5177,17 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20e16a0f46cf5fd675563ef54f26e83e20f2366bcf027bcb3cc3ed2b98aaf2ca" +[[package]] +name = "swash" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbd59f3f359ddd2c95af4758c18270eddd9c730dde98598023cdabff472c2ca2" +dependencies = [ + "skrifa", + "yazi", + "zeno", +] + [[package]] name = "syn" version = "0.15.44" @@ -5012,38 +5201,35 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.109" +version = "2.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +checksum = "d5d0adab1ae378d7f53bdebc67a39f1f151407ef230f0ce2883572f5d8985c80" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", "unicode-ident", ] [[package]] -name = "syn" -version = "2.0.70" +name = "sys-locale" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f0209b68b3613b093e0ec905354eccaedcfe83b8cb37cbdeae64026c3064c16" +checksum = "8eab9a99a024a169fe8a903cf9d4a3b3601109bcc13bd9e3c6fff259138626c4" dependencies = [ - "proc-macro2 1.0.86", - "quote 1.0.36", - "unicode-ident", + "libc", ] [[package]] name = "sysinfo" -version = "0.30.13" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3" +checksum = "4c33cd241af0f2e9e3b5c32163b873b29956890b5342e6745b917ce9d490f4af" dependencies = [ - "cfg-if", "core-foundation-sys", "libc", + "memchr", "ntapi", - "once_cell", - "windows 0.52.0", + "windows 0.54.0", ] [[package]] @@ -5089,22 +5275,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.61" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.61" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -5128,6 +5314,15 @@ dependencies = [ "weezl", ] +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + [[package]] name = "tiny-skia" version = "0.11.4" @@ -5155,9 +5350,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" +checksum = "022db8904dfa342efe721985167e9fcd16c29b226db4397ed752a761cfce81e8" dependencies = [ "tinyvec_macros", ] @@ -5230,9 +5425,9 @@ version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -5266,6 +5461,21 @@ dependencies = [ "tracing-core", ] +[[package]] +name = "tracing-oslog" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "528bdd1f0e27b5dd9a4ededf154e824b0532731e4af73bb531de46276e0aab1e" +dependencies = [ + "bindgen 0.70.1", + "cc", + "cfg-if", + "once_cell", + "parking_lot", + "tracing-core", + "tracing-subscriber", +] + [[package]] name = "tracing-subscriber" version = "0.3.18" @@ -5326,6 +5536,18 @@ dependencies = [ "cc", ] +[[package]] +name = "ttf-parser" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17f77d76d837a7830fe1d4f12b7b4ba4192c1888001c7164257e4bc6d21d96b4" + +[[package]] +name = "ttf-parser" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c591d83f69777866b9126b24c6dd9a18351f177e49d625920d19f989fd31cf8" + [[package]] name = "ttf-parser" version = "0.24.0" @@ -5360,6 +5582,18 @@ version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" +[[package]] +name = "unicode-bidi-mirroring" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23cb788ffebc92c5948d0e997106233eeb1d8b9512f93f41651f52b6c5f5af86" + +[[package]] +name = "unicode-ccc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1df77b101bcc4ea3d78dafc5ad7e4f58ceffe0b2b16bf446aeb50b6cb4157656" + [[package]] name = "unicode-ident" version = "1.0.12" @@ -5367,13 +5601,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] -name = "unicode-normalization" -version = "0.1.23" +name = "unicode-linebreak" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" -dependencies = [ - "tinyvec", -] +checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f" + +[[package]] +name = "unicode-properties" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0" + +[[package]] +name = "unicode-script" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb421b350c9aff471779e262955939f565ec18b86c15364e6bdf0d662ca7c1f" [[package]] name = "unicode-segmentation" @@ -5395,9 +5638,9 @@ checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" [[package]] name = "unicode-xid" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "units" @@ -5417,17 +5660,6 @@ dependencies = [ "world_generation", ] -[[package]] -name = "url" -version = "2.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - [[package]] name = "uuid" version = "1.10.0" @@ -5497,46 +5729,48 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.92" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" dependencies = [ "cfg-if", + "once_cell", + "rustversion", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.92" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" dependencies = [ "bumpalo", "log", - "once_cell", - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.42" +version = "0.4.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" dependencies = [ "cfg-if", "js-sys", + "once_cell", "wasm-bindgen", "web-sys", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.92" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" dependencies = [ "quote 1.0.36", "wasm-bindgen-macro-support", @@ -5544,22 +5778,25 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.92" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.92" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" +dependencies = [ + "unicode-ident", +] [[package]] name = "wayland-backend" @@ -5653,7 +5890,7 @@ version = "0.31.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edf466fc49a4feb65a511ca403fec3601494d0dee85dbf37fff6fa0dd4eec3b6" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quick-xml", "quote 1.0.36", ] @@ -5672,9 +5909,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.69" +version = "0.3.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" dependencies = [ "js-sys", "wasm-bindgen", @@ -5690,24 +5927,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "webbrowser" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "425ba64c1e13b1c6e8c5d2541c8fac10022ca584f33da781db01b5756aef1f4e" -dependencies = [ - "block2", - "core-foundation", - "home", - "jni", - "log", - "ndk-context", - "objc2", - "objc2-foundation", - "url", - "web-sys", -] - [[package]] name = "weezl" version = "0.1.8" @@ -5716,12 +5935,11 @@ checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" [[package]] name = "wgpu" -version = "0.20.1" +version = "23.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90e37c7b9921b75dfd26dd973fdcbce36f13dfa6e2dc82aece584e0ed48c355c" +checksum = "80f70000db37c469ea9d67defdc13024ddf9a5f1b89cb2941b812ad7cde1735a" dependencies = [ "arrayvec", - "cfg-if", "cfg_aliases 0.1.1", "document-features", "js-sys", @@ -5742,15 +5960,14 @@ dependencies = [ [[package]] name = "wgpu-core" -version = "0.21.1" +version = "23.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d50819ab545b867d8a454d1d756b90cd5f15da1f2943334ca314af10583c9d39" +checksum = "d63c3c478de8e7e01786479919c8769f62a22eec16788d8c2ac77ce2c132778a" dependencies = [ "arrayvec", - "bit-vec", + "bit-vec 0.8.0", "bitflags 2.6.0", "cfg_aliases 0.1.1", - "codespan-reporting", "document-features", "indexmap", "log", @@ -5762,36 +5979,34 @@ dependencies = [ "rustc-hash 1.1.0", "smallvec", "thiserror", - "web-sys", "wgpu-hal", "wgpu-types", ] [[package]] name = "wgpu-hal" -version = "0.21.1" +version = "23.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "172e490a87295564f3fcc0f165798d87386f6231b04d4548bca458cbbfd63222" +checksum = "89364b8a0b211adc7b16aeaf1bd5ad4a919c1154b44c9ce27838213ba05fd821" dependencies = [ "android_system_properties", "arrayvec", "ash", - "bit-set", + "bit-set 0.8.0", "bitflags 2.6.0", "block", + "bytemuck", "cfg_aliases 0.1.1", "core-graphics-types", - "d3d12", "glow", "glutin_wgl_sys", "gpu-alloc", "gpu-allocator", "gpu-descriptor", - "hassle-rs", "js-sys", "khronos-egl", "libc", - "libloading 0.8.4", + "libloading", "log", "metal", "naga", @@ -5809,14 +6024,15 @@ dependencies = [ "wasm-bindgen", "web-sys", "wgpu-types", - "winapi", + "windows 0.58.0", + "windows-core 0.58.0", ] [[package]] name = "wgpu-types" -version = "0.20.0" +version = "23.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1353d9a46bff7f955a680577f34c69122628cc2076e1d6f3a9be6ef00ae793ef" +checksum = "610f6ff27778148c31093f3b03abc4840f9636d58d597ca2f5977433acfe0068" dependencies = [ "bitflags 2.6.0", "js-sys", @@ -5833,12 +6049,6 @@ dependencies = [ "safe_arch", ] -[[package]] -name = "widestring" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" - [[package]] name = "winapi" version = "0.3.9" @@ -5870,16 +6080,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" -dependencies = [ - "windows-core 0.52.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.54.0" @@ -5887,8 +6087,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9252e5725dbed82865af151df558e754e4a3c2c30818359eb17465f1346a1b49" dependencies = [ "windows-core 0.54.0", - "windows-implement 0.53.0", - "windows-interface 0.53.0", "windows-targets 0.52.6", ] @@ -5902,15 +6100,6 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "windows-core" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" -dependencies = [ - "windows-targets 0.52.6", -] - [[package]] name = "windows-core" version = "0.54.0" @@ -5927,44 +6116,22 @@ version = "0.58.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99" dependencies = [ - "windows-implement 0.58.0", - "windows-interface 0.58.0", + "windows-implement", + "windows-interface", "windows-result 0.2.0", "windows-strings", "windows-targets 0.52.6", ] -[[package]] -name = "windows-implement" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942ac266be9249c84ca862f0a164a39533dc2f6f33dc98ec89c8da99b82ea0bd" -dependencies = [ - "proc-macro2 1.0.86", - "quote 1.0.36", - "syn 2.0.70", -] - [[package]] name = "windows-implement" version = "0.58.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", -] - -[[package]] -name = "windows-interface" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da33557140a288fae4e1d5f8873aaf9eb6613a9cf82c3e070223ff177f598b60" -dependencies = [ - "proc-macro2 1.0.86", - "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -5973,9 +6140,9 @@ version = "0.58.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] @@ -6235,7 +6402,7 @@ dependencies = [ "calloop", "cfg_aliases 0.2.1", "concurrent-queue", - "core-foundation", + "core-foundation 0.9.4", "core-graphics", "cursor-icon", "dpi", @@ -6298,7 +6465,7 @@ dependencies = [ "bevy", "bevy-inspector-egui", "bevy_asset_loader", - "image 0.25.2", + "image", "noise 0.9.0", "num 0.4.3", "rayon", @@ -6327,7 +6494,7 @@ dependencies = [ "as-raw-xcb-connection", "gethostname", "libc", - "libloading 0.8.4", + "libloading", "once_cell", "rustix", "x11rb-protocol", @@ -6345,12 +6512,6 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a0ccd7b4a5345edfcd0c3535718a4e9ff7798ffc536bb5b5a0e26ff84732911" -[[package]] -name = "xi-unicode" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a67300977d3dc3f8034dae89778f502b6ba20b269527b3223ba59c0cf393bb8a" - [[package]] name = "xkbcommon-dl" version = "0.4.2" @@ -6376,6 +6537,18 @@ version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "791978798f0597cfc70478424c2b4fdc2b7a8024aaff78497ef00f24ef674193" +[[package]] +name = "yazi" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c94451ac9513335b5e23d7a8a2b61a7102398b8cca5160829d313e84c9d98be1" + +[[package]] +name = "zeno" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd15f8e0dbb966fd9245e7498c7e9e5055d9e5c8b676b95bd67091cd11a1e697" + [[package]] name = "zerocopy" version = "0.7.35" @@ -6391,9 +6564,9 @@ version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.93", "quote 1.0.36", - "syn 2.0.70", + "syn 2.0.96", ] [[package]] diff --git a/engine/asset_loader/Cargo.toml b/engine/asset_loader/Cargo.toml index 8febc77..073d39f 100644 --- a/engine/asset_loader/Cargo.toml +++ b/engine/asset_loader/Cargo.toml @@ -9,5 +9,5 @@ edition = "2021" [dependencies] serde = "1.0.204" serde_json = "1.0.120" -bevy = "0.14.2" +bevy = "0.15.1" ron = "0.8.1" diff --git a/engine/asset_loader/src/macros.rs b/engine/asset_loader/src/macros.rs index 741c6b5..e96d2fd 100644 --- a/engine/asset_loader/src/macros.rs +++ b/engine/asset_loader/src/macros.rs @@ -29,12 +29,12 @@ macro_rules! create_asset_loader { type Error = String; - async fn load<'a>( - &'a self, - reader: &'a mut Reader<'_>, - _settings: &'a Self::Settings, - load_context: &'a mut LoadContext<'_>, - ) -> Result { + async fn load( + &self, + reader: & mut dyn bevy::asset::io::Reader, + _: &Self::Settings, + load_context: &mut LoadContext<'_>, + ) -> Result { let mut bytes = Vec::new(); let read_result = reader.read_to_end(&mut bytes).await; if read_result.is_err() { diff --git a/engine/asset_loader_proc/Cargo.toml b/engine/asset_loader_proc/Cargo.toml index 6579daa..718e8c2 100644 --- a/engine/asset_loader_proc/Cargo.toml +++ b/engine/asset_loader_proc/Cargo.toml @@ -9,5 +9,5 @@ proc-macro = true [dependencies] serde = "1.0.204" serde_json = "1.0.120" -bevy = "0.14.2" +bevy = "0.15.1" ron = "0.8.1" diff --git a/engine/world_generation/Cargo.toml b/engine/world_generation/Cargo.toml index 3e8e93d..d16b478 100644 --- a/engine/world_generation/Cargo.toml +++ b/engine/world_generation/Cargo.toml @@ -6,14 +6,14 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bevy = "0.14.2" +bevy = "0.15.1" noise = "0.9.0" serde = { version = "1.0.203", features = ["derive"] } serde_json = "1.0.115" asset_loader = { path = "../asset_loader" } rayon = "1.10.0" -bevy-inspector-egui = "0.25.0" -bevy_asset_loader = { version = "0.21.0", features = [ +bevy-inspector-egui = "0.28.1" +bevy_asset_loader = { version = "0.22.0", features = [ "standard_dynamic_assets", "3d", ] } diff --git a/engine/world_generation/src/map/map_utils.rs b/engine/world_generation/src/map/map_utils.rs index 5f85cc9..fefaeed 100644 --- a/engine/world_generation/src/map/map_utils.rs +++ b/engine/world_generation/src/map/map_utils.rs @@ -1,16 +1,12 @@ use std::ops::Add; -use bevy::{math::VectorSpace, prelude::*}; +use bevy::{asset::AssetLoader, math::VectorSpace, prelude::*}; use image::ImageBuffer; use rayon::prelude::*; use crate::hex_utils::HexCoord; -use super::{ - biome_map::BiomeMap, - chunk::Chunk, - map::Map, -}; +use super::{biome_map::BiomeMap, chunk::Chunk, map::Map}; pub fn render_image( size: UVec2, @@ -40,7 +36,7 @@ pub fn update_image( let idx = (y * w + x) as usize; let v = data[idx]; let t = v.remap(min, max, 0.0, 1.0); - let col = LinearRgba::lerp(&color1, color2, t); + let col = LinearRgba::lerp(color1, color2, t); *pixel = to_pixel(&col); }); } @@ -95,10 +91,10 @@ fn get_height_color_blend(base_color: Hsla, height: f32, height2: f32, smooth: f d /= smooth; if d > 0.0 { let c2: LinearRgba = color.with_lightness(color.lightness + 0.1).into(); - color = LinearRgba::lerp(&color.into(), c2, d).into(); + color = LinearRgba::lerp(color.into(), c2, d).into(); } else { let c2: LinearRgba = color.with_lightness(color.lightness - 0.1).into(); - color = LinearRgba::lerp(&color.into(), c2, d.abs()).into(); + color = LinearRgba::lerp(color.into(), c2, d.abs()).into(); } } } diff --git a/game/buildings/Cargo.toml b/game/buildings/Cargo.toml index 92db7c5..ee0d32b 100644 --- a/game/buildings/Cargo.toml +++ b/game/buildings/Cargo.toml @@ -6,15 +6,15 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bevy = "0.14.2" +bevy = "0.15.1" world_generation = { path = "../../engine/world_generation" } shared = { path = "../shared" } -bevy_rapier3d = "0.27.0" +bevy_rapier3d = "0.28.0" serde = { version = "1.0.204", features = ["derive"] } asset_loader = { path = "../../engine/asset_loader" } serde_json = "1.0.120" ron = "0.8.1" -bevy_asset_loader = { version = "0.21.0", features = [ +bevy_asset_loader = { version = "0.22.0", features = [ "standard_dynamic_assets", "3d", ] } diff --git a/game/buildings/src/assets/building_asset.rs b/game/buildings/src/assets/building_asset.rs index cebebfe..d317f8c 100644 --- a/game/buildings/src/assets/building_asset.rs +++ b/game/buildings/src/assets/building_asset.rs @@ -51,17 +51,18 @@ impl BuildingAsset { if let Some(gltf_mesh) = meshes.get(mesh_handle.id()) { let (mesh, mat) = gltf_mesh.unpack(); let mut entity = commands.spawn(( - PbrBundle { - mesh, - material: mat, - transform: Transform::from_translation(pos).with_rotation(rot), - ..Default::default() - }, + Mesh3d(mesh), + MeshMaterial3d(mat), + Transform::from_translation(pos).with_rotation(rot), Building, )); entity.with_children(|b| { for child in &node.children { - self.process_node(child, meshes, b, &node.name); + let child_node = nodes.get(child.id()); + if child_node.is_none() { + continue; + } + self.process_node(child_node.unwrap(), meshes, nodes, b, &node.name); } }); if let Some(component) = self.get_component_def(&format!("/{0}", &node.name)) { @@ -78,6 +79,7 @@ impl BuildingAsset { &self, node: &GltfNode, meshes: &Assets, + nodes: &Assets, commands: &mut ChildBuilder, parent: &String, ) -> Option { @@ -85,18 +87,14 @@ impl BuildingAsset { if let Some(mesh) = &node.mesh { if let Some(gltf_mesh) = meshes.get(mesh.id()) { let (mesh, mat) = gltf_mesh.unpack(); - let mut entity = commands.spawn(( - PbrBundle { - mesh, - material: mat, - transform: node.transform, - ..Default::default() - }, - Building, - )); + let mut entity = commands.spawn((Mesh3d(mesh), MeshMaterial3d(mat), node.transform, Building)); entity.with_children(|b| { for child in &node.children { - self.process_node(child, meshes, b, &path); + let child_node = nodes.get(child.id()); + if child_node.is_none() { + continue; + } + self.process_node(child_node.unwrap(), meshes, nodes, b, &path); } }); if let Some(component) = self.get_component_def(&path) { diff --git a/game/buildings/src/building_plugin.rs b/game/buildings/src/building_plugin.rs index 40719fd..723b7a8 100644 --- a/game/buildings/src/building_plugin.rs +++ b/game/buildings/src/building_plugin.rs @@ -110,12 +110,9 @@ fn hq_placement( fn show_indicators(positions: Vec, commands: &mut Commands, indicator: &IndicatorCube) { for p in positions { commands.spawn(( - PbrBundle { - mesh: indicator.0.clone(), - material: indicator.1.clone(), - transform: Transform::from_translation(p), - ..default() - }, + Mesh3d(indicator.0.clone()), + MeshMaterial3d(indicator.1.clone()), + Transform::from_translation(p), Despawn, )); } diff --git a/game/main/Cargo.toml b/game/main/Cargo.toml index 9164367..8dfe98b 100644 --- a/game/main/Cargo.toml +++ b/game/main/Cargo.toml @@ -7,12 +7,12 @@ build = "build.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bevy = { version = "0.14.2", features = ["file_watcher"] } -bevy-inspector-egui = "0.25.0" -iyes_perf_ui = "0.3.0" +bevy = { version = "0.15.1", features = ["file_watcher"] } +bevy-inspector-egui = "0.28.1" +# iyes_perf_ui = "0.3.0" noise = "0.8.2" world_generation = { path = "../../engine/world_generation" } -bevy_rapier3d = { version = "0.27.0", features = [ +bevy_rapier3d = { version = "0.28.0", features = [ "simd-stable", "parallel", "debug-render-3d", @@ -21,13 +21,13 @@ rayon = "1.10.0" buildings = { path = "../buildings" } units = { path = "../units" } shared = { path = "../shared" } -bevy_asset_loader = { version = "0.21.0", features = [ +bevy_asset_loader = { version = "0.22.0", features = [ "standard_dynamic_assets", "3d", ] } ron = "0.8.1" image = "0.25.2" -bevy_lunex = "0.2.4" +# bevy_lunex = "0.2.4" [features] tracing = [ diff --git a/game/main/src/camera_system/camera_plugin.rs b/game/main/src/camera_system/camera_plugin.rs index f245ce4..31d2cef 100644 --- a/game/main/src/camera_system/camera_plugin.rs +++ b/game/main/src/camera_system/camera_plugin.rs @@ -1,4 +1,4 @@ -use bevy::core_pipeline::experimental::taa::{TemporalAntiAliasBundle, TemporalAntiAliasPlugin}; +use bevy::core_pipeline::experimental::taa::{TemporalAntiAliasBundle, TemporalAntiAliasPlugin, TemporalAntiAliasing}; use bevy::core_pipeline::prepass::DepthPrepass; use bevy::input::mouse::{MouseMotion, MouseScrollUnit, MouseWheel}; use bevy::prelude::*; @@ -44,22 +44,21 @@ fn init_bounds( }); } -fn setup(mut commands: Commands, mut msaa: ResMut) { +fn setup(mut commands: Commands) { commands .spawn(( - Camera3dBundle { - transform: Transform::from_xyz(0., 30., 0.).looking_to(Vec3::NEG_Z, Vec3::Y), - ..default() - }, + Camera3d::default(), + Transform::from_xyz(0., 30., 0.).looking_to(Vec3::NEG_Z, Vec3::Y), PhosCamera::default(), MainCamera, DepthPrepass, PhosOrbitCamera::default(), + TemporalAntiAliasing::default(), )) - // .insert(RenderLayers::layer(0)) - .insert(TemporalAntiAliasBundle::default()); + .insert(Msaa::Off); + // .insert(RenderLayers::layer(0)) - *msaa = Msaa::Off; + // *msaa = Msaa::Off; } fn orbit_camera_upate( @@ -87,24 +86,24 @@ fn orbit_camera_upate( for e in mouse_motion.read() { orbit_move += e.delta; } - orbit_move *= config.pan_speed * time.delta_seconds() * -1.0; + orbit_move *= config.pan_speed * time.delta_secs() * -1.0; let rot_y = Quat::from_axis_angle(Vec3::Y, orbit_move.x); let right = orbit.forward.cross(Vec3::Y).normalize(); let rot_x = Quat::from_axis_angle(right, orbit_move.y); orbit.forward = rot_x * rot_y * orbit.forward; // orbit.forward.y = orbit.forward.y.clamp(-0.9, 0.0); orbit.forward = orbit.forward.normalize(); - window.cursor.grab_mode = CursorGrabMode::Locked; - window.cursor.visible = false; + window.cursor_options.grab_mode = CursorGrabMode::Locked; + window.cursor_options.visible = false; } else { - window.cursor.grab_mode = CursorGrabMode::None; - window.cursor.visible = true; + window.cursor_options.grab_mode = CursorGrabMode::None; + window.cursor_options.visible = true; } if key.pressed(KeyCode::KeyE) { - let rot = Quat::from_axis_angle(Vec3::Y, f32::to_radians(config.speed) * time.delta_seconds()); + let rot = Quat::from_axis_angle(Vec3::Y, f32::to_radians(config.speed) * time.delta_secs()); orbit.forward = rot * orbit.forward; } else if key.pressed(KeyCode::KeyQ) { - let rot = Quat::from_axis_angle(Vec3::Y, f32::to_radians(-config.speed) * time.delta_seconds()); + let rot = Quat::from_axis_angle(Vec3::Y, f32::to_radians(-config.speed) * time.delta_secs()); orbit.forward = rot * orbit.forward; } @@ -137,7 +136,7 @@ fn orbit_camera_upate( gizmos.arrow(orbit.target, orbit.target + move_fwd, LinearRgba::WHITE.with_alpha(0.5)); gizmos.arrow(orbit.target, orbit.target - (move_rot * cam_move), LinearRgba::BLUE); } - orbit.target -= (move_rot * cam_move) * move_speed * time.delta_seconds(); + orbit.target -= (move_rot * cam_move) * move_speed * time.delta_secs(); orbit.target.y = sample_ground(orbit.target, &map); orbit.target.x = orbit.target.x.clamp(bounds.min.x, bounds.max.x); @@ -152,7 +151,7 @@ fn orbit_camera_upate( } } - orbit.distance -= scroll * time.delta_seconds() * config.zoom_speed; + orbit.distance -= scroll * time.delta_secs() * config.zoom_speed; orbit.distance = orbit.distance.clamp(config.min_height, config.max_height); // let ground_below_cam = sample_ground(cam_pos, &map) + config.min_height; diff --git a/game/main/src/main.rs b/game/main/src/main.rs index d758662..4b42203 100644 --- a/game/main/src/main.rs +++ b/game/main/src/main.rs @@ -1,8 +1,8 @@ use std::env; +use bevy::image::{ImageAddressMode, ImageFilterMode, ImageSamplerDescriptor}; use bevy::pbr::wireframe::WireframePlugin; use bevy::prelude::*; -use bevy::render::texture::{ImageAddressMode, ImageFilterMode, ImageSamplerDescriptor}; use bevy::window::PresentMode; use bevy_inspector_egui::quick::WorldInspectorPlugin; use phos::PhosGamePlugin; diff --git a/game/main/src/map_rendering/chunk_rebuild.rs b/game/main/src/map_rendering/chunk_rebuild.rs index a6b0971..b1dddf8 100644 --- a/game/main/src/map_rendering/chunk_rebuild.rs +++ b/game/main/src/map_rendering/chunk_rebuild.rs @@ -73,14 +73,14 @@ fn chunk_rebuilder( } fn collider_task_resolver( - mut chunks: Query<(&mut ChunkRebuildTask, &Handle), With>, + mut chunks: Query<(&mut ChunkRebuildTask, &Mesh3d), With>, mut commands: Commands, mut meshes: ResMut>, ) { for (mut task, mesh_handle) in &mut chunks { if let Some((mut c, mesh)) = futures::check_ready(&mut task.task) { commands.append(&mut c); - meshes.insert(mesh_handle, mesh); + meshes.insert(mesh_handle.id(), mesh); } } } diff --git a/game/main/src/map_rendering/map_init.rs b/game/main/src/map_rendering/map_init.rs index 63c1049..6cf82b7 100644 --- a/game/main/src/map_rendering/map_init.rs +++ b/game/main/src/map_rendering/map_init.rs @@ -252,12 +252,9 @@ fn spawn_map( // let mesh_handle = meshes.a let chunk = commands .spawn(( - MaterialMeshBundle { - mesh: meshes.add(chunk_mesh), - material: atlas.chunk_material_handle.clone(), - transform: Transform::from_translation(pos), - ..default() - }, + Mesh3d(meshes.add(chunk_mesh)), + MeshMaterial3d(atlas.chunk_material_handle.clone()), + Transform::from_translation(pos), PhosChunk::new(index), RenderDistanceVisibility::default().with_offset(visibility_offset), collider, @@ -265,12 +262,9 @@ fn spawn_map( .id(); let water = commands .spawn(( - MaterialMeshBundle { - mesh: meshes.add(water_mesh), - material: atlas.water_material.clone(), - transform: Transform::from_translation(pos), - ..default() - }, + Mesh3d(meshes.add(water_mesh)), + MeshMaterial3d(atlas.water_material.clone()), + Transform::from_translation(pos), PhosChunk::new(index), NotShadowCaster, RenderDistanceVisibility::default().with_offset(visibility_offset), diff --git a/game/main/src/phos.rs b/game/main/src/phos.rs index 1b1db98..9fbfd3c 100644 --- a/game/main/src/phos.rs +++ b/game/main/src/phos.rs @@ -1,8 +1,6 @@ use crate::camera_system::components::PhosCamera; use crate::map_rendering::map_init::MapInitPlugin; use crate::map_rendering::render_distance_system::RenderDistancePlugin; -use crate::ui::game::build_ui::BuildUiPlugin; -use crate::ui::lunex_setup_plugin::LunexSetupPlugin; use crate::utlis::editor_plugin::EditorPlugin; use crate::utlis::tile_selection_plugin::TileSelectionPlugin; use crate::{camera_system::camera_plugin::PhosCameraPlugin, utlis::debug_plugin::DebugPlugin}; @@ -15,7 +13,7 @@ use bevy_rapier3d::dynamics::{Ccd, RigidBody, Velocity}; use bevy_rapier3d::geometry::Collider; use bevy_rapier3d::plugin::{NoUserData, RapierPhysicsPlugin}; use buildings::BuildingPugin; -use iyes_perf_ui::prelude::*; +// use iyes_perf_ui::prelude::*; use shared::animation_plugin::SimpleAnimationPlugin; use shared::sets::GameplaySet; use shared::states::{GameplayState, MenuState}; @@ -41,8 +39,6 @@ impl Plugin for PhosGamePlugin { RenderDistancePlugin, BuildingPugin, SimpleAnimationPlugin, - LunexSetupPlugin, - BuildUiPlugin, UnitsPlugin, DespawnPuglin, TileSelectionPlugin, @@ -63,8 +59,8 @@ impl Plugin for PhosGamePlugin { //Perf UI app.add_plugins(bevy::diagnostic::FrameTimeDiagnosticsPlugin) .add_plugins(bevy::diagnostic::EntityCountDiagnosticsPlugin) - .add_plugins(bevy::diagnostic::SystemInformationDiagnosticsPlugin) - .add_plugins(PerfUiPlugin); + .add_plugins(bevy::diagnostic::SystemInformationDiagnosticsPlugin); + // .add_plugins(PerfUiPlugin); //Physics app.add_plugins(RapierPhysicsPlugin::::default()); @@ -80,52 +76,51 @@ impl Plugin for PhosGamePlugin { fn configure_gameplay_set(app: &mut App) { app.configure_sets( Update, - GameplaySet.run_if(in_state(GeneratorState::Idle).and_then(in_state(MenuState::InGame))), + GameplaySet.run_if(in_state(GeneratorState::Idle).and(in_state(MenuState::InGame))), ); app.configure_sets( PreUpdate, - GameplaySet.run_if(in_state(GeneratorState::Idle).and_then(in_state(MenuState::InGame))), + GameplaySet.run_if(in_state(GeneratorState::Idle).and(in_state(MenuState::InGame))), ); app.configure_sets( PostUpdate, - GameplaySet.run_if(in_state(GeneratorState::Idle).and_then(in_state(MenuState::InGame))), + GameplaySet.run_if(in_state(GeneratorState::Idle).and(in_state(MenuState::InGame))), ); app.configure_sets( FixedUpdate, - GameplaySet.run_if(in_state(GeneratorState::Idle).and_then(in_state(MenuState::InGame))), + GameplaySet.run_if(in_state(GeneratorState::Idle).and(in_state(MenuState::InGame))), ); app.configure_sets( FixedPreUpdate, - GameplaySet.run_if(in_state(GeneratorState::Idle).and_then(in_state(MenuState::InGame))), + GameplaySet.run_if(in_state(GeneratorState::Idle).and(in_state(MenuState::InGame))), ); app.configure_sets( FixedPostUpdate, - GameplaySet.run_if(in_state(GeneratorState::Idle).and_then(in_state(MenuState::InGame))), + GameplaySet.run_if(in_state(GeneratorState::Idle).and(in_state(MenuState::InGame))), ); } fn init_game(mut commands: Commands, mut materials: ResMut>) { - commands.spawn(( - PerfUiRoot::default(), - PerfUiEntryFPS::default(), - PerfUiEntryFPSWorst::default(), - PerfUiEntryFrameTime::default(), - PerfUiEntryFrameTimeWorst::default(), - )); + // commands.spawn(( + // PerfUiRoot::default(), + // PerfUiEntryFPS::default(), + // PerfUiEntryFPSWorst::default(), + // PerfUiEntryFrameTime::default(), + // PerfUiEntryFrameTimeWorst::default(), + // )); - commands.spawn(DirectionalLightBundle { - directional_light: DirectionalLight { + commands.spawn(( + DirectionalLight { shadows_enabled: true, ..default() }, - cascade_shadow_config: CascadeShadowConfig { + CascadeShadowConfig { bounds: vec![200., 400., 600., 800.], ..default() }, - transform: Transform::from_xyz(500., 260.0, 500.).looking_at(Vec3::ZERO, Vec3::Y), - ..default() - }); + Transform::from_xyz(500., 260.0, 500.).looking_at(Vec3::ZERO, Vec3::Y), + )); let sphere_mat = StandardMaterial { base_color: Color::srgb(1., 1., 0.), @@ -148,12 +143,9 @@ fn spawn_sphere( if keyboard_input.just_pressed(KeyCode::KeyF) { let cam_transform = cam.single(); commands.spawn(( - MaterialMeshBundle { - mesh: meshes.add(Sphere::new(0.3)), - material: mat.0.clone(), - transform: Transform::from_translation(cam_transform.translation), - ..default() - }, + Mesh3d(meshes.add(Sphere::new(0.3))), + MeshMaterial3d(mat.0.clone()), + Transform::from_translation(cam_transform.translation), Collider::ball(0.3), RigidBody::Dynamic, Ccd::enabled(), diff --git a/game/main/src/shader_extensions/chunk_material.rs b/game/main/src/shader_extensions/chunk_material.rs index 4733ad9..e9a217d 100644 --- a/game/main/src/shader_extensions/chunk_material.rs +++ b/game/main/src/shader_extensions/chunk_material.rs @@ -1,9 +1,9 @@ use bevy::asset::{Asset, Handle}; +use bevy::image::Image; use bevy::pbr::{Material, MaterialExtension}; use bevy::reflect::TypePath; use bevy::render::mesh::{MeshVertexAttribute, MeshVertexBufferLayoutRef}; use bevy::render::render_resource::{AsBindGroup, ShaderRef}; -use bevy::render::texture::Image; use world_generation::consts::{ATTRIBUTE_PACKED_VERTEX_DATA, ATTRIBUTE_VERTEX_HEIGHT}; #[derive(Asset, TypePath, AsBindGroup, Debug, Clone)] diff --git a/game/main/src/ui/game/build_ui.rs b/game/main/src/ui/game/build_ui.rs index 2d423ba..444ff60 100644 --- a/game/main/src/ui/game/build_ui.rs +++ b/game/main/src/ui/game/build_ui.rs @@ -1,74 +1,74 @@ -use bevy::{prelude::*, render::view::RenderLayers, sprite::Anchor}; -use bevy_lunex::prelude::*; +// use bevy::{prelude::*, render::view::RenderLayers, sprite::Anchor}; +// use bevy_lunex::prelude::*; -pub struct BuildUiPlugin; +// pub struct BuildUiPlugin; -impl Plugin for BuildUiPlugin { - fn build(&self, app: &mut App) { - app.add_systems(PostStartup, setup_ui); - } -} +// impl Plugin for BuildUiPlugin { +// fn build(&self, app: &mut App) { +// app.add_systems(PostStartup, setup_ui); +// } +// } -fn setup_ui(mut commands: Commands, assets: Res, mut material: ResMut>) { - commands - .spawn(( - UiTreeBundle:: { - tree: UiTree::new2d("BuildUi"), - ..default() - }, - Name::new("Build UI"), - SourceFromCamera, - RenderLayers::layer(1), - )) - .with_children(|ui| { - ui.spawn(( - UiLink::::path("Root"), - UiLayout::boundary() - .pos1((Rl(0.), Rl(0.))) - .pos2((Rl(100.), Rl(100.))) - .pack::(), - RenderLayers::layer(1), - )); +// fn setup_ui(mut commands: Commands, assets: Res, mut material: ResMut>) { +// commands +// .spawn(( +// UiTreeBundle:: { +// tree: UiTree::new2d("BuildUi"), +// ..default() +// }, +// Name::new("Build UI"), +// SourceFromCamera, +// RenderLayers::layer(1), +// )) +// .with_children(|ui| { +// ui.spawn(( +// UiLink::::path("Root"), +// UiLayout::boundary() +// .pos1((Rl(0.), Rl(0.))) +// .pos2((Rl(100.), Rl(100.))) +// .pack::(), +// RenderLayers::layer(1), +// )); - ui.spawn(( - UiLink::::path("Root/MainRect"), - UiLayout::window() - .anchor(Anchor::BottomCenter) - .size((Ab(800.), Rl(100.))) - .pos((Rl(50.), Rl(100.))) - .pack::(), - RenderLayers::layer(1), - )); +// ui.spawn(( +// UiLink::::path("Root/MainRect"), +// UiLayout::window() +// .anchor(Anchor::BottomCenter) +// .size((Ab(800.), Rl(100.))) +// .pos((Rl(50.), Rl(100.))) +// .pack::(), +// RenderLayers::layer(1), +// )); - ui.spawn(( - UiLink::::path("Root/MainRect/Categories"), - UiLayout::solid() - .align_y(Align::END) - .size((Rl(100.), Ab(30.))) - .pack::(), - RenderLayers::layer(1), - )); +// ui.spawn(( +// UiLink::::path("Root/MainRect/Categories"), +// UiLayout::solid() +// .align_y(Align::END) +// .size((Rl(100.), Ab(30.))) +// .pack::(), +// RenderLayers::layer(1), +// )); - for i in 0..5 { - let path = format!("Root/MainRect/Categories/Button{}", i); - ui.spawn(( - UiLink::::path(path), - UiLayout::window() - .size((Rl(100. / 5.), Ab(30.))) - .x(Rl((100. / 5.) * i as f32)) - .pack::(), - UiLayout::window() - .size((Rl(100. / 5.), Ab(20.))) - .x(Rl((100. / 5.) * i as f32)) - .pack::(), - UiImage2dBundle::from(assets.load("textures/world/test2.png")), - RenderLayers::layer(1), - )); - // ui.spawn(( - // UiLink::::path(format!("{}/img", path)), - // UiLayout::solid().size((Ab(30.), Ab(100.))).pack::(), - // UiImage2dBundle::from(assets.load("textures/world/test2.png")), - // )); - } - }); -} +// for i in 0..5 { +// let path = format!("Root/MainRect/Categories/Button{}", i); +// ui.spawn(( +// UiLink::::path(path), +// UiLayout::window() +// .size((Rl(100. / 5.), Ab(30.))) +// .x(Rl((100. / 5.) * i as f32)) +// .pack::(), +// UiLayout::window() +// .size((Rl(100. / 5.), Ab(20.))) +// .x(Rl((100. / 5.) * i as f32)) +// .pack::(), +// UiImage2dBundle::from(assets.load("textures/world/test2.png")), +// RenderLayers::layer(1), +// )); +// // ui.spawn(( +// // UiLink::::path(format!("{}/img", path)), +// // UiLayout::solid().size((Ab(30.), Ab(100.))).pack::(), +// // UiImage2dBundle::from(assets.load("textures/world/test2.png")), +// // )); +// } +// }); +// } diff --git a/game/main/src/ui/lunex_setup_plugin.rs b/game/main/src/ui/lunex_setup_plugin.rs index 1bceb67..5a46bb2 100644 --- a/game/main/src/ui/lunex_setup_plugin.rs +++ b/game/main/src/ui/lunex_setup_plugin.rs @@ -1,94 +1,94 @@ -use bevy::{ - prelude::*, - render::{ - render_resource::{Extent3d, TextureDescriptor, TextureDimension, TextureFormat, TextureUsages}, - view::RenderLayers, - }, - window::PrimaryWindow, -}; -use bevy_lunex::prelude::*; -use shared::tags::MainCamera; +// use bevy::{ +// prelude::*, +// render::{ +// render_resource::{Extent3d, TextureDescriptor, TextureDimension, TextureFormat, TextureUsages}, +// view::RenderLayers, +// }, +// window::PrimaryWindow, +// }; +// use bevy_lunex::prelude::*; +// use shared::tags::MainCamera; -pub struct LunexSetupPlugin; +// pub struct LunexSetupPlugin; -impl Plugin for LunexSetupPlugin { - fn build(&self, app: &mut App) { - app.add_plugins(UiDefaultPlugins); +// impl Plugin for LunexSetupPlugin { +// fn build(&self, app: &mut App) { +// app.add_plugins(UiDefaultPlugins); - #[cfg(debug_assertions)] - app.add_plugins(UiDebugPlugin::::new()); - app.add_systems(PostStartup, setup_cameras); - } -} +// #[cfg(debug_assertions)] +// app.add_plugins(UiDebugPlugin::::new()); +// app.add_systems(PostStartup, setup_cameras); +// } +// } -fn setup_cameras( - mut commands: Commands, - assets: Res, - mut main_3d_camera_q: Query<&mut Camera, With>, - window_query: Query<&Window, With>, -) { - //Prepare Render Texture - let win = window_query.single(); - let size = Extent3d { - width: win.physical_width(), - height: win.physical_height(), - ..default() - }; +// fn setup_cameras( +// mut commands: Commands, +// assets: Res, +// mut main_3d_camera_q: Query<&mut Camera, With>, +// window_query: Query<&Window, With>, +// ) { +// //Prepare Render Texture +// let win = window_query.single(); +// let size = Extent3d { +// width: win.physical_width(), +// height: win.physical_height(), +// ..default() +// }; - let mut image = Image { - texture_descriptor: TextureDescriptor { - label: None, - size, - dimension: TextureDimension::D2, - format: TextureFormat::Bgra8UnormSrgb, - mip_level_count: 1, - sample_count: 1, - usage: TextureUsages::TEXTURE_BINDING | TextureUsages::COPY_DST | TextureUsages::RENDER_ATTACHMENT, - view_formats: &[], - }, - ..default() - }; - image.resize(size); +// let mut image = Image { +// texture_descriptor: TextureDescriptor { +// label: None, +// size, +// dimension: TextureDimension::D2, +// format: TextureFormat::Bgra8UnormSrgb, +// mip_level_count: 1, +// sample_count: 1, +// usage: TextureUsages::TEXTURE_BINDING | TextureUsages::COPY_DST | TextureUsages::RENDER_ATTACHMENT, +// view_formats: &[], +// }, +// ..default() +// }; +// image.resize(size); - //Configure 3D Camera - let mut cam = main_3d_camera_q.single_mut(); - let render_image = assets.add(image); - cam.target = render_image.clone().into(); - cam.order = -1; - cam.clear_color = ClearColorConfig::Custom(LinearRgba::NONE.into()); +// //Configure 3D Camera +// let mut cam = main_3d_camera_q.single_mut(); +// let render_image = assets.add(image); +// cam.target = render_image.clone().into(); +// cam.order = -1; +// cam.clear_color = ClearColorConfig::Custom(LinearRgba::NONE.into()); - //Add Render Texture image - commands - .spawn(( - UiTreeBundle::::from(UiTree::new2d("Main UI")), - SourceFromCamera, - RenderLayers::layer(1), - )) - .with_children(|ui| { - ui.spawn(( - UiLink::::path("Root"), - UiLayout::window_full().size((Rl(100.), Rl(100.))).pack::(), - RenderLayers::layer(1), - )); - ui.spawn(( - UiLink::::path("Root/Camera3D"), - UiLayout::solid() - .size((Rl(100.), Rl(100.))) - .scaling(Scaling::Fill) - .pack::(), - UiImage2dBundle::from(render_image), - PickingPortal, - RenderLayers::layer(1), - )); - }); +// //Add Render Texture image +// commands +// .spawn(( +// UiTreeBundle::::from(UiTree::new2d("Main UI")), +// SourceFromCamera, +// RenderLayers::layer(1), +// )) +// .with_children(|ui| { +// ui.spawn(( +// UiLink::::path("Root"), +// UiLayout::window_full().size((Rl(100.), Rl(100.))).pack::(), +// RenderLayers::layer(1), +// )); +// ui.spawn(( +// UiLink::::path("Root/Camera3D"), +// UiLayout::solid() +// .size((Rl(100.), Rl(100.))) +// .scaling(Scaling::Fill) +// .pack::(), +// UiImage2dBundle::from(render_image), +// PickingPortal, +// RenderLayers::layer(1), +// )); +// }); - //Spawn 2d UI Camera - commands.spawn(( - MainUi, - Camera2dBundle { - transform: Transform::from_xyz(0.0, 0.0, 1000.0), - ..default() - }, - RenderLayers::from_layers(&[1]), - )); -} +// //Spawn 2d UI Camera +// commands.spawn(( +// MainUi, +// Camera2dBundle { +// transform: Transform::from_xyz(0.0, 0.0, 1000.0), +// ..default() +// }, +// RenderLayers::from_layers(&[1]), +// )); +// } diff --git a/game/main/src/utlis/debug_plugin.rs b/game/main/src/utlis/debug_plugin.rs index ca2740d..704be76 100644 --- a/game/main/src/utlis/debug_plugin.rs +++ b/game/main/src/utlis/debug_plugin.rs @@ -68,12 +68,7 @@ fn regenerate_map( fn show_tile_heights(map: Res, mut gizmos: Gizmos, shape: Res, tile_under_cursor: Res) { if let Some(contact) = tile_under_cursor.0 { let height = map.sample_height(&contact.tile); - gizmos.primitive_3d( - &shape.0, - contact.tile.to_world(height + 0.01), - Quat::IDENTITY, - Color::WHITE, - ); + gizmos.primitive_3d(&shape.0, contact.tile.to_world(height + 0.01), Color::WHITE); gizmos.line(contact.point, contact.point + Vec3::X, LinearRgba::RED); gizmos.line(contact.point, contact.point + Vec3::Y, LinearRgba::GREEN); @@ -95,11 +90,11 @@ fn show_water_corners(pos: Vec3, gizmos: &mut Gizmos) { fn camera_debug(mut cam_query: Query<(&PhosCamera, &PhosOrbitCamera)>, mut gizmos: Gizmos) { let (config, orbit) = cam_query.single(); - gizmos.sphere(orbit.target, Quat::IDENTITY, 0.3, LinearRgba::RED); + gizmos.sphere(orbit.target, 0.3, LinearRgba::RED); let cam_proxy = orbit.target - (orbit.forward * 10.0); gizmos.ray(orbit.target, orbit.forward * 10.0, LinearRgba::rgb(1.0, 0.0, 1.0)); - gizmos.circle(cam_proxy, Dir3::Y, 0.3, LinearRgba::rgb(1.0, 1.0, 0.0)); + gizmos.circle(cam_proxy, 0.3, LinearRgba::rgb(1.0, 1.0, 0.0)); } fn verbose_data() {} diff --git a/game/main/src/utlis/tile_selection_plugin.rs b/game/main/src/utlis/tile_selection_plugin.rs index 47a7aaa..a9181b8 100644 --- a/game/main/src/utlis/tile_selection_plugin.rs +++ b/game/main/src/utlis/tile_selection_plugin.rs @@ -1,5 +1,8 @@ use bevy::{prelude::*, window::PrimaryWindow}; -use bevy_rapier3d::{plugin::RapierContext, prelude::QueryFilter}; +use bevy_rapier3d::{ + plugin::{RapierContext, ReadDefaultRapierContext}, + prelude::QueryFilter, +}; use shared::{ resources::{TileContact, TileUnderCursor}, tags::MainCamera, @@ -20,7 +23,7 @@ impl Plugin for TileSelectionPlugin { fn update_tile_under_cursor( cam_query: Query<(&GlobalTransform, &Camera), With>, window: Query<&Window, With>, - rapier_context: Res, + rapier_context: ReadDefaultRapierContext, map: Res, mut tile_under_cursor: ResMut, ) { @@ -35,7 +38,7 @@ fn update_tile_under_cursor( return; }; - let Some(cam_ray) = camera.viewport_to_world(cam_transform, cursor_pos) else { + let Ok(cam_ray) = camera.viewport_to_world(cam_transform, cursor_pos) else { return; }; diff --git a/game/resources/Cargo.toml b/game/resources/Cargo.toml index 2343b16..e3741e3 100644 --- a/game/resources/Cargo.toml +++ b/game/resources/Cargo.toml @@ -4,14 +4,14 @@ version = "0.1.0" edition = "2021" [dependencies] -bevy = "0.14.2" +bevy = "0.15.1" world_generation = { path = "../../engine/world_generation" } shared = { path = "../shared" } serde = { version = "1.0.204", features = ["derive"] } asset_loader = { path = "../../engine/asset_loader" } serde_json = "1.0.120" ron = "0.8.1" -bevy_asset_loader = { version = "0.21.0", features = [ +bevy_asset_loader = { version = "0.22.0", features = [ "standard_dynamic_assets", "3d", ] } diff --git a/game/shared/Cargo.toml b/game/shared/Cargo.toml index e8a9e2d..b3635ff 100644 --- a/game/shared/Cargo.toml +++ b/game/shared/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bevy = "0.14.2" +bevy = "0.15.1" serde = { version = "1.0.204", features = ["derive"] } world_generation = { path = "../../engine/world_generation" } diff --git a/game/shared/src/animation_plugin.rs b/game/shared/src/animation_plugin.rs index b0b2f6a..566dc25 100644 --- a/game/shared/src/animation_plugin.rs +++ b/game/shared/src/animation_plugin.rs @@ -13,6 +13,6 @@ impl Plugin for SimpleAnimationPlugin { fn rotate(mut query: Query<(&mut Transform, &RotationAnimation)>, time: Res