diff --git a/Cargo.lock b/Cargo.lock index 2e1f1406..0845172e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,9 +14,9 @@ dependencies = [ [[package]] name = "ab_glyph" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04a9283dace1c41c265496614998d5b9c4a97b3eb770e804f007c5144bf03f2b" +checksum = "4dcdbc68024b653943864d436fe8a24b028095bc1cf91a8926f8241e4aaffe59" dependencies = [ "ab_glyph_rasterizer", "owned_ttf_parser", @@ -51,11 +51,22 @@ dependencies = [ "version_check", ] +[[package]] +name = "ahash" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf6ccdb167abbf410dcb915cabd428929d7f6a04980b54a11f26a39f1c7f7107" +dependencies = [ + "cfg-if", + "once_cell", + "version_check", +] + [[package]] name = "aho-corasick" -version = "0.7.19" +version = "0.7.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e" +checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" dependencies = [ "memchr", ] @@ -69,7 +80,7 @@ dependencies = [ "alsa-sys", "bitflags", "libc", - "nix 0.23.1", + "nix 0.23.2", ] [[package]] @@ -90,14 +101,14 @@ checksum = "85965b6739a430150bdd138e2374a98af0c3ee0d030b3bb7fc3bddff58d0102e" [[package]] name = "android_logger" -version = "0.10.1" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9ed09b18365ed295d722d0b5ed59c01b79a826ff2d2a8f73d5ecca8e6fb2f66" +checksum = "8619b80c242aa7bd638b5c7ddd952addeecb71f69c75e33f1d47b2804f8f883a" dependencies = [ "android_log-sys", "env_logger", - "lazy_static", "log", + "once_cell", ] [[package]] @@ -120,9 +131,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.65" +version = "1.0.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98161a4e3e2184da77bb14f02184cdd111e83bbbcc9979dfee3c44b9a85f5602" +checksum = "2cb2f989d18dd141ab8ae82f64d1a8cdd37e0840f73a406896cf5e99502fab61" [[package]] name = "approx" @@ -140,13 +151,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc120354d1b5ec6d7aaf4876b602def75595937b5e15d356eb554ab5177e08bb" dependencies = [ "clipboard-win", - "core-graphics 0.22.3", + "core-graphics", "image 0.23.14", "log", "objc", "objc-foundation", "objc_id", - "parking_lot 0.12.1", + "parking_lot", "thiserror", "winapi", "x11rb", @@ -160,9 +171,9 @@ checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" [[package]] name = "ash" -version = "0.37.0+1.3.209" +version = "0.37.1+1.3.235" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "006ca68e0f2b03f22d6fa9f2860f85aed430d257fec20f8879b2145e7c7ae1a6" +checksum = "911015c962d56e2e4052f40182ca5462ba60a3d2ff04e827c365a0ab3d65726d" dependencies = [ "libloading", ] @@ -183,29 +194,39 @@ dependencies = [ [[package]] name = "async-channel" -version = "1.7.1" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14485364214912d3b19cc3435dde4df66065127f05fa0d75c712f36f12c2f28" +checksum = "cf46fee83e5ccffc220104713af3292ff9bc7c64c7de289f66dae8e38d826833" dependencies = [ - "concurrent-queue", + "concurrent-queue 2.0.0", "event-listener", "futures-core", ] [[package]] name = "async-executor" -version = "1.4.1" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "871f9bb5e0a22eeb7e8cf16641feb87c9dc67032ccf8ff49e772eb9941d3a965" +checksum = "17adb73da160dfb475c183343c8cccd80721ea5a605d3eb57125f0a7b7a92d0b" dependencies = [ + "async-lock", "async-task", - "concurrent-queue", + "concurrent-queue 2.0.0", "fastrand", "futures-lite", - "once_cell", "slab", ] +[[package]] +name = "async-lock" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8101efe8695a6c17e02911402145357e718ac92d3ff88ae8419e84b1707b685" +dependencies = [ + "event-listener", + "futures-lite", +] + [[package]] name = "async-task" version = "4.3.0" @@ -230,7 +251,7 @@ version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" dependencies = [ - "hermit-abi", + "hermit-abi 0.1.19", "libc", "winapi", ] @@ -241,6 +262,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +[[package]] +name = "base-x" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" + [[package]] name = "base64" version = "0.11.0" @@ -249,9 +276,9 @@ checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" [[package]] name = "base64" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" +checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "better_scoped_tls" @@ -264,32 +291,32 @@ dependencies = [ [[package]] name = "bevy" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea147ef1ebb92d41294cfad804c40de151b174c711ce6e0a4a40eba23eae1a4" +checksum = "dae99b246505811f5bc19d2de1e406ec5d2816b421d58fa223779eb576f472c9" dependencies = [ "bevy_internal", ] [[package]] name = "bevy-inspector-egui" -version = "0.12.1" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c53ed1cad011e33ea145d2c1f649a966e7457453f3768ddff39bc5064bd525" +checksum = "cd4c06a380d02588eac43f8a56d2d370614fe6b2e7467041e57b064e93ec7620" dependencies = [ "bevy", "bevy-inspector-egui-derive", "bevy_egui", - "image 0.23.14", + "image 0.24.5", "nalgebra", "pretty-type-name", ] [[package]] name = "bevy-inspector-egui-derive" -version = "0.12.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48ef6260a46924d40781bcb9da157c110d5166bbd573795e4a16f2505913d0d0" +checksum = "2c6a0ceb52115321ef304a5a875e975bba5bbf2ceb802e1dfa07221e8bbc8178" dependencies = [ "proc-macro2", "quote", @@ -298,9 +325,9 @@ dependencies = [ [[package]] name = "bevy-inspector-egui-rapier" -version = "0.5.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef372e6960033ec7a04b259c9a08b6a9fb5e3f6b4698091dc58aad4a4d6bc5d" +checksum = "61093d6ab0ae326c80ddc12c13a540f3bee247b2e214f2f39a8147124f5a09c0" dependencies = [ "bevy", "bevy-inspector-egui", @@ -309,9 +336,9 @@ dependencies = [ [[package]] name = "bevy-parallax" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "848290b802a0315343b65eba37dc258194689b5df40fbd808aa2dec75bf812a3" +checksum = "f43fff43976f20c3bd9d92280c7976b5afcda5359e711e01a8e4842317e200e0" dependencies = [ "bevy", "serde", @@ -319,24 +346,24 @@ dependencies = [ [[package]] name = "bevy_app" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e4ae0a6ed2adf3b153511b4645241660a93f747c05ecd1e5a909dafc803cad4" +checksum = "536e4d0018347478545ed8b6cb6e57b9279ee984868e81b7c0e78e0fb3222e42" dependencies = [ "bevy_derive", "bevy_ecs", "bevy_reflect", - "bevy_tasks", "bevy_utils", + "downcast-rs", "wasm-bindgen", "web-sys", ] [[package]] name = "bevy_asset" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ec773c861a7e9d9978771f59f385500ec6da3a1ab5487705cddb054393d3d19" +checksum = "6db1bb550168304df69c867c09125e1aae7ff51cf21575396e1598bf293442c4" dependencies = [ "anyhow", "bevy_app", @@ -350,9 +377,9 @@ dependencies = [ "downcast-rs", "fastrand", "js-sys", - "ndk-glue 0.5.2", + "ndk-glue", "notify", - "parking_lot 0.12.1", + "parking_lot", "serde", "thiserror", "wasm-bindgen", @@ -362,9 +389,9 @@ dependencies = [ [[package]] name = "bevy_core" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c53172003d5cde7780870b5403c66c8ede3581faf3e510e916d8b4baa5b538d2" +checksum = "96299aceb3c8362cb4aa39ff81c7ef758a5f4e768d16b5046a91628eff114ac0" dependencies = [ "bevy_app", "bevy_ecs", @@ -373,31 +400,34 @@ dependencies = [ "bevy_tasks", "bevy_utils", "bytemuck", + "serde", ] [[package]] name = "bevy_core_pipeline" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e60efd10d593f6d122f2687f74c09ad55835a8f999c35bed6380ddd8e6ff7f2" +checksum = "dc128a9860aadf16fb343ae427f2768986fd91dce64d945455acda9759c48014" dependencies = [ "bevy_app", "bevy_asset", "bevy_derive", "bevy_ecs", + "bevy_math", "bevy_reflect", "bevy_render", "bevy_transform", "bevy_utils", + "bitflags", "radsort", "serde", ] [[package]] name = "bevy_derive" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e6345431bbe6d7b6c165cd860ecd0b35da929779571259c5df970ac256d45f9" +checksum = "7baf73c58d41c353c6fd08e6764a2e7420c9f19e8227b391c50981db6d0282a6" dependencies = [ "bevy_macro_utils", "quote", @@ -406,11 +436,12 @@ dependencies = [ [[package]] name = "bevy_diagnostic" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58ac9f4c2815f412be4b6e21e4b299cdafa710f651d064f6d40b2a8377a0d17c" +checksum = "63bf96ec7980fa25b77ff6c72dfafada477936c0dab76c1edf6c028c0e5fe0e4" dependencies = [ "bevy_app", + "bevy_core", "bevy_ecs", "bevy_log", "bevy_time", @@ -419,9 +450,9 @@ dependencies = [ [[package]] name = "bevy_ecs" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c174066a24ed8a14d15ea58b0aea1c1f5c763f4bb36ebdc2b1dc78026007d0f5" +checksum = "d4c071d7c6bc9801253485e05d0c257284150de755391902746837ba21c0cf74" dependencies = [ "async-channel", "bevy_ecs_macros", @@ -430,6 +461,7 @@ dependencies = [ "bevy_tasks", "bevy_utils", "downcast-rs", + "event-listener", "fixedbitset", "fxhash", "serde", @@ -439,8 +471,9 @@ dependencies = [ [[package]] name = "bevy_ecs_dynamic" version = "0.1.0" -source = "git+https://github.com/jakobhellermann/bevy_ecs_dynamic#aa7a051a49bd134cfd8c169542e16526bf2b36b3" +source = "git+https://github.com/jakobhellermann/bevy_ecs_dynamic?rev=dc68a95#dc68a95ad94ec69570c19c734ba5710913cb6465" dependencies = [ + "bevy_app", "bevy_ecs", "bevy_reflect", "fixedbitset", @@ -448,9 +481,9 @@ dependencies = [ [[package]] name = "bevy_ecs_macros" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc50c39e49e8febccc74e8e731680adb0cb4aef1f53275740cbaa95c6da71f4f" +checksum = "c15bd45438eeb681ad74f2d205bb07a5699f98f9524462a30ec764afab2742ce" dependencies = [ "bevy_macro_utils", "proc-macro2", @@ -460,9 +493,9 @@ dependencies = [ [[package]] name = "bevy_egui" -version = "0.15.1" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf44ff770566dca66b805a6829df783f64700bd01d35aec1034dff31b531a4" +checksum = "f93fab81b00d664b7fd09c74eadcc8ab4a608649af1fb355647cd43f95f38ec6" dependencies = [ "arboard", "bevy", @@ -473,9 +506,9 @@ dependencies = [ [[package]] name = "bevy_encase_derive" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68bc194009c5e9b97da64a08142dd183c264885d99c985cf849868103018adf1" +checksum = "962b6bb0d30e92ec2e6c29837acce9e55b920733a634e7c3c5fd5a514bea7a24" dependencies = [ "bevy_macro_utils", "encase_derive_impl", @@ -483,14 +516,15 @@ dependencies = [ [[package]] name = "bevy_fluent" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97073140587e1d731a583695c64b3a4410ba5edf9b3f79aae56ab63d0aab0384" +checksum = "b76fd2fd9c24ecf87bdf6c41bef009825d380c6e260016dac1e6d428d9e0dc69" dependencies = [ "anyhow", "bevy", "fluent", "fluent-langneg", + "fluent_content", "globset", "indexmap", "intl-memoizer", @@ -505,9 +539,9 @@ dependencies = [ [[package]] name = "bevy_gilrs" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb15a3427d9707be92b457e5d66900b02d853b475c21dd8662bdda387ba9f24e" +checksum = "4af552dad82f854b2fae24f36a389fd8ee99d65fe86ae876e854e70d53ff16d9" dependencies = [ "bevy_app", "bevy_ecs", @@ -518,12 +552,14 @@ dependencies = [ [[package]] name = "bevy_hierarchy" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5eb1ec76099ea5a716de08ea42ff41f036ebe2502df1d569168b58f16458a85e" +checksum = "8dd6d50c48c6e1bcb5e08a768b765323292bb3bf3a439b992754c57ffb85b23a" dependencies = [ "bevy_app", + "bevy_core", "bevy_ecs", + "bevy_log", "bevy_reflect", "bevy_utils", "smallvec", @@ -531,22 +567,24 @@ dependencies = [ [[package]] name = "bevy_input" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1821c4b760ba6ddb4fe61806e9cc33f40b09a884557aca4553a29b8c7d73c6b4" +checksum = "3378b5171284f4c4c0e8307081718a9fe458f846444616bd82d69110dcabca51" dependencies = [ "bevy_app", "bevy_ecs", "bevy_math", + "bevy_reflect", "bevy_utils", "serde", + "thiserror", ] [[package]] name = "bevy_internal" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee63ad1e3f95a26ff2c227fadb1534a7bfe3a098e0e45c347f2f2575a573d9bc" +checksum = "4c46014b7e885b1311de06b6039e448454a4db55b8d35464798ba88faa186e11" dependencies = [ "bevy_app", "bevy_asset", @@ -574,29 +612,31 @@ dependencies = [ "bevy_utils", "bevy_window", "bevy_winit", - "ndk-glue 0.5.2", + "ndk-glue", ] [[package]] name = "bevy_kira_audio" -version = "0.11.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7d902ab6a15bd45af04d47b208a24f95205d8d2fd1fa15dd4e86a570fad813b" +checksum = "b310ffe1c870e6ca5f0db228953f68af5a861302ec759edae43450f5835a0ece" dependencies = [ "anyhow", "bevy", "kira", - "parking_lot 0.12.1", + "parking_lot", + "thiserror", ] [[package]] name = "bevy_log" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "092daf498887814a064331dfcd1cf487a5ddab01fd38629b84a35b8b664462a1" +checksum = "6c480bac54cf4ae76edc3ae9ae3fa7c5e1b385e7f2111ef5ec3fd00cf3a7998b" dependencies = [ "android_log-sys", "bevy_app", + "bevy_ecs", "bevy_utils", "console_error_panic_hook", "tracing-log", @@ -606,9 +646,9 @@ dependencies = [ [[package]] name = "bevy_macro_utils" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43fb5137e5198302d7c6c33d1e454cf48a586e7c6fd12f4860f12863951e16b9" +checksum = "022bb69196deeea691b6997414af85bbd7f2b34a8914c4aa7a7ff4dfa44f7677" dependencies = [ "quote", "syn", @@ -617,27 +657,28 @@ dependencies = [ [[package]] name = "bevy_math" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "531f2b90c7e861a96f418b3d560131b3354c5e67a67eba3953a45a56ea0114d2" +checksum = "d434c77ab766c806ed9062ef8a7285b3b02b47df51f188d4496199c3ac062eaf" dependencies = [ "glam", + "serde", ] [[package]] name = "bevy_mikktspace" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "941e7d3d4e1dbb735f040e4cdc1558be1d3c38d43f1d9fdbb039c39a7849a00b" +checksum = "bbfb5908d33fd613069be516180b8f138aaaf6e41c36b1fd98c6c29c00c24a13" dependencies = [ "glam", ] [[package]] name = "bevy_mod_debugdump" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f22cfad8fab6ca053d81c1c8795e325fe2174fa47f7455f7be7a959ef9bbaf3" +checksum = "ab7bd2b3324588ed47c8514081866e5d9a9d5d3aede8062f922502c4d6133ecf" dependencies = [ "bevy_app", "bevy_ecs", @@ -648,7 +689,7 @@ dependencies = [ [[package]] name = "bevy_mod_js_scripting" version = "0.1.0" -source = "git+https://github.com/jakobhellermann/bevy_mod_js_scripting.git#ea7548453cc68b9c8d3388dce1e837c8232eb567" +source = "git+https://github.com/jakobhellermann/bevy_mod_js_scripting.git#538274e871c0e1cd7b697b6230bf98a0e5e3d3c8" dependencies = [ "anyhow", "bevy", @@ -657,6 +698,7 @@ dependencies = [ "bevy_reflect_fns", "deno_core", "fixedbitset", + "indexmap", "js-sys", "pollster", "serde", @@ -677,13 +719,14 @@ dependencies = [ [[package]] name = "bevy_pbr" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "176073021a4caeb8b448f24ce790fb57fde74b114f345064a8b102d2f7bed905" +checksum = "310b1f260a475d81445623e138e1b7245759a42310bc1f84b550a3f4ff8763bf" dependencies = [ "bevy_app", "bevy_asset", "bevy_core_pipeline", + "bevy_derive", "bevy_ecs", "bevy_math", "bevy_reflect", @@ -698,15 +741,15 @@ dependencies = [ [[package]] name = "bevy_ptr" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9960c19e582b43cebe1894b6679520a4f50802d1cc5b6fa432f8d685ed232f09" +checksum = "8ec44f7655039546bc5d34d98de877083473f3e9b2b81d560c528d6d74d3eff4" [[package]] name = "bevy_rapier2d" -version = "0.16.2" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94ea9324a836efedf4b3673a3c5e2011490fa440478d244fe6b1783557ab4fd" +checksum = "5fe53a4fefd2d8bade79f2e5260bd206643bfcc951a3c5f86b3b7a0273eb19e0" dependencies = [ "bevy", "bitflags", @@ -717,10 +760,11 @@ dependencies = [ [[package]] name = "bevy_reflect" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fc689dd7a7df3b3768884a4754711d406aa302ea48da483c03b52715fa95045" +checksum = "6deae303a7f69dc243b2fa35b5e193cc920229f448942080c8eb2dbd9de6d37a" dependencies = [ + "bevy_math", "bevy_ptr", "bevy_reflect_derive", "bevy_utils", @@ -728,7 +772,7 @@ dependencies = [ "erased-serde", "glam", "once_cell", - "parking_lot 0.12.1", + "parking_lot", "serde", "smallvec", "thiserror", @@ -736,11 +780,12 @@ dependencies = [ [[package]] name = "bevy_reflect_derive" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c36fa5100832c787c10558d31632ddc454c221e8dfacbbef836938f59614754" +checksum = "a2bf4cb9cd5acb4193f890f36cb63679f1502e2de025e66a63b194b8b133d018" dependencies = [ "bevy_macro_utils", + "bit-set", "proc-macro2", "quote", "syn", @@ -750,7 +795,7 @@ dependencies = [ [[package]] name = "bevy_reflect_fns" version = "0.1.0" -source = "git+https://github.com/jakobhellermann/bevy_reflect_fns#22e85021851e0cfe27b87e428f6313dd8c26abde" +source = "git+https://github.com/jakobhellermann/bevy_reflect_fns?rev=bb28740#bb287401a59e851dc04bdea90ddce8285c112417" dependencies = [ "bevy_reflect", "thiserror", @@ -758,9 +803,9 @@ dependencies = [ [[package]] name = "bevy_render" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "600bcef85c7efac6e38ed725707f0e5b7c59b510430034ba2f743f472493f845" +checksum = "2e3282a8f8779d2aced93207fbed73f740937c6c2bd27bd84f0799b081c7fca5" dependencies = [ "anyhow", "bevy_app", @@ -781,16 +826,15 @@ dependencies = [ "bevy_window", "bitflags", "codespan-reporting", - "copyless", "downcast-rs", "encase", "futures-lite", "hex", "hexasphere", - "image 0.24.3", + "image 0.24.5", "naga", "once_cell", - "parking_lot 0.12.1", + "parking_lot", "regex", "serde", "smallvec", @@ -801,9 +845,9 @@ dependencies = [ [[package]] name = "bevy_render_macros" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1be90adc9e5d5808833e363670818da5fe68ccafd7ca983a457f90957d2a430b" +checksum = "b7acae697776ac05bea523e1725cf2660c91c53abe72c66782ea1e1b9eedb572" dependencies = [ "bevy_macro_utils", "proc-macro2", @@ -813,9 +857,9 @@ dependencies = [ [[package]] name = "bevy_scene" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a045d575d2c8f776d8ea965363c81660243fefbfc3712ead938b00dfd6797216" +checksum = "ea9c66a628c833d53bae54fe94cbc0d3f12c29e9d2e6c3f2356d45ad57db0c8c" dependencies = [ "anyhow", "bevy_app", @@ -835,13 +879,14 @@ dependencies = [ [[package]] name = "bevy_sprite" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69c419f3db09d7ac1f4d45e0874d349d5d6f47f48bc10d55cd0da36413e2331e" +checksum = "5ec01c7db7f698d95bcb70708527c3ae6bcdc78fc247abe74f935cae8f0a1145" dependencies = [ "bevy_app", "bevy_asset", "bevy_core_pipeline", + "bevy_derive", "bevy_ecs", "bevy_log", "bevy_math", @@ -851,34 +896,32 @@ dependencies = [ "bevy_utils", "bitflags", "bytemuck", - "copyless", "fixedbitset", "guillotiere", "rectangle-pack", - "serde", "thiserror", ] [[package]] name = "bevy_tasks" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b753acb3d5b9dbfd77038560fe1893c17d4ee0a4242c2ee70da9d59430537" +checksum = "680b16b53df9c9f24681dd95f4d772d83760bd19adf8bca00f358a3aad997853" dependencies = [ "async-channel", "async-executor", - "event-listener", + "async-task", + "concurrent-queue 1.2.4", "futures-lite", - "num_cpus", "once_cell", "wasm-bindgen-futures", ] [[package]] name = "bevy_text" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c265b7515faf55a3b92fd6ce0ab65dd246f247e11d737d6f5cdaf49c2be42c63" +checksum = "60c74c1bdaabde7db28f6728aa13bc7b1d744a2201b2bbfd83d2224404c57f5c" dependencies = [ "ab_glyph", "anyhow", @@ -899,35 +942,37 @@ dependencies = [ [[package]] name = "bevy_time" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22830665b8476292b861216383fd79922aef2b540f9fd09d49144e3e5e94550e" +checksum = "1a5c38a6d3ea929c7f81e6adf5a6c62cf7e8c40f5106c2174d6057e9d8ea624d" dependencies = [ "bevy_app", "bevy_ecs", "bevy_reflect", "bevy_utils", "crossbeam-channel", + "serde", ] [[package]] name = "bevy_transform" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4bb8760f03e9667e7499a5ceec1f7630fc3e45702781ac0df56cb969e8ae668" +checksum = "ba13c57a040b89767191a6f6d720a635b7792793628bfa41a9e38b7026484aec" dependencies = [ "bevy_app", "bevy_ecs", "bevy_hierarchy", "bevy_math", "bevy_reflect", + "serde", ] [[package]] name = "bevy_ui" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "062ce086de1a4a470e5df48cb5c16a1dc97ab610e635cafabdef26c4a1ef5756" +checksum = "60e82ace6156f11fcdf2319102ff8fb8367b82d1e32b7d05d387a1963602f965" dependencies = [ "bevy_app", "bevy_asset", @@ -949,15 +994,16 @@ dependencies = [ "serde", "smallvec", "taffy", + "thiserror", ] [[package]] name = "bevy_utils" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6e9aa1866c1cf7ee000f281ce9e90d02d701f5c7380a107252017e58e2f5246" +checksum = "16750aae52cd35bd7b60eb61cee883420b250e11b4a290b8d44b2b2941795739" dependencies = [ - "ahash", + "ahash 0.7.6", "getrandom", "hashbrown", "instant", @@ -967,24 +1013,25 @@ dependencies = [ [[package]] name = "bevy_window" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707dbbebfac72b1e63e874e7a11a345feab8c440355c0bd71e6dff26709fba9a" +checksum = "0a44d3f3bd54a2261f4f57f614bf7bccc8d2832761493c0cd7dab81d98cc151e" dependencies = [ "bevy_app", "bevy_ecs", "bevy_input", "bevy_math", + "bevy_reflect", "bevy_utils", - "raw-window-handle", - "web-sys", + "raw-window-handle 0.5.0", + "serde", ] [[package]] name = "bevy_winit" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98b15fee4b75472e3441b0c7221467303e4ce59b342a94a328e447e7cdb5a43c" +checksum = "c7b7e647ecd0b3577468da37767dcdd7c26ca9f80da0060b2ec4c77336b6d2e1" dependencies = [ "approx", "bevy_app", @@ -994,7 +1041,7 @@ dependencies = [ "bevy_utils", "bevy_window", "crossbeam-channel", - "raw-window-handle", + "raw-window-handle 0.5.0", "wasm-bindgen", "web-sys", "winit", @@ -1002,9 +1049,9 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.59.2" +version = "0.61.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bd2a9a458e8f4304c52c43ebb0cfbd520289f8379a52e329a38afda99bf8eb8" +checksum = "8a022e58a142a46fea340d68012b9201c094e93ec3d033a944a24f8fd4a4f09a" dependencies = [ "bitflags", "cexpr", @@ -1017,6 +1064,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", + "syn", ] [[package]] @@ -1066,24 +1114,24 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.11.0" +version = "3.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1ad822118d20d2c234f427000d5acc36eabe1e29a348c89b63dd60b13f28e5d" +checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba" [[package]] name = "bytemuck" -version = "1.12.1" +version = "1.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f5715e491b5a1598fc2bef5a606847b5dc1d48ea625bd3c02c00de8285591da" +checksum = "aaa3a8d9a1ca92e282c96a32d6511b695d7d994d1d102ba85d279f9b2756947f" dependencies = [ "bytemuck_derive", ] [[package]] name = "bytemuck_derive" -version = "1.2.1" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9e1f5fa78f69496407a27ae9ed989e3c3b072310286f5ef385525e4cbc24a9" +checksum = "5fe233b960f12f8007e3db2d136e3cb1c291bfd7396e384ee76025fc1a3932b4" dependencies = [ "proc-macro2", "quote", @@ -1098,9 +1146,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" -version = "1.2.1" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db" +checksum = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c" [[package]] name = "cache-padded" @@ -1110,9 +1158,9 @@ checksum = "c1db59621ec70f09c5e9b597b220c7a2b43611f4710dc03ceb8748637775692c" [[package]] name = "cc" -version = "1.0.73" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" +checksum = "a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d" dependencies = [ "jobserver", ] @@ -1132,12 +1180,6 @@ dependencies = [ "nom", ] -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - [[package]] name = "cfg-if" version = "1.0.0" @@ -1189,15 +1231,15 @@ dependencies = [ [[package]] name = "cocoa" -version = "0.24.0" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f63902e9223530efb4e26ccd0cf55ec30d592d3b42e21a28defc42a9586e832" +checksum = "f425db7937052c684daec3bd6375c8abe2d146dca4b8b143d6db777c39138f3a" dependencies = [ "bitflags", "block", "cocoa-foundation", - "core-foundation 0.9.3", - "core-graphics 0.22.3", + "core-foundation", + "core-graphics", "foreign-types", "libc", "objc", @@ -1211,7 +1253,7 @@ checksum = "7ade49b65d560ca58c403a479bb396592b155c0185eada742ee323d1d68d6318" dependencies = [ "bitflags", "block", - "core-foundation 0.9.3", + "core-foundation", "core-graphics-types", "foreign-types", "libc", @@ -1253,21 +1295,30 @@ dependencies = [ "cache-padded", ] +[[package]] +name = "concurrent-queue" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd7bef69dc86e3c610e4e7aed41035e2a7ed12e72dd7530f61327a6579a4390b" +dependencies = [ + "crossbeam-utils", +] + [[package]] name = "console_error_panic_hook" version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "wasm-bindgen", ] [[package]] name = "const_panic" -version = "0.2.4" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c0358e41e90e443c69b2b2811f6ec9892c228b93620634cf4344fe89967fa9f" +checksum = "58baae561b85ca19b3122a9ddd35c8ec40c3bcd14fe89921824eae73f7baffbf" [[package]] name = "convert_case" @@ -1275,56 +1326,22 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" -[[package]] -name = "copyless" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2df960f5d869b2dd8532793fde43eb5427cceb126c929747a26823ab0eeb536" - -[[package]] -name = "core-foundation" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d24c7a13c43e870e37c1556b74555437870a04514f7685f5b354e090567171" -dependencies = [ - "core-foundation-sys 0.7.0", - "libc", -] - [[package]] name = "core-foundation" version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" dependencies = [ - "core-foundation-sys 0.8.3", + "core-foundation-sys", "libc", ] -[[package]] -name = "core-foundation-sys" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac" - [[package]] name = "core-foundation-sys" version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" -[[package]] -name = "core-graphics" -version = "0.19.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3889374e6ea6ab25dba90bb5d96202f61108058361f6dc72e8b03e6f8bbe923" -dependencies = [ - "bitflags", - "core-foundation 0.7.0", - "foreign-types", - "libc", -] - [[package]] name = "core-graphics" version = "0.22.3" @@ -1332,7 +1349,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2581bbab3b8ffc6fcbd550bf46c355135d16e9ff2a6ea032ad6b9bf1d7efe4fb" dependencies = [ "bitflags", - "core-foundation 0.9.3", + "core-foundation", "core-graphics-types", "foreign-types", "libc", @@ -1345,24 +1362,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a68b68b3446082644c91ac778bf50cd4104bfb002b5a6a7c44cca5a2c70788b" dependencies = [ "bitflags", - "core-foundation 0.9.3", + "core-foundation", "foreign-types", "libc", ] -[[package]] -name = "core-video-sys" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34ecad23610ad9757664d644e369246edde1803fcb43ed72876565098a5d3828" -dependencies = [ - "cfg-if 0.1.10", - "core-foundation-sys 0.7.0", - "core-graphics 0.19.2", - "libc", - "objc", -] - [[package]] name = "coreaudio-rs" version = "0.10.0" @@ -1375,37 +1379,36 @@ dependencies = [ [[package]] name = "coreaudio-sys" -version = "0.2.10" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dff444d80630d7073077d38d40b4501fd518bd2b922c2a55edcc8b0f7be57e6" +checksum = "1a9444b94b8024feecc29e01a9706c69c1e26bfee480221c90764200cfd778fb" dependencies = [ "bindgen", ] [[package]] name = "cpal" -version = "0.13.5" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74117836a5124f3629e4b474eed03e479abaf98988b4bb317e29f08cfe0e4116" +checksum = "f342c1b63e185e9953584ff2199726bf53850d96610a310e3aca09e9405a2d0b" dependencies = [ "alsa", - "core-foundation-sys 0.8.3", + "core-foundation-sys", "coreaudio-rs", - "jni", + "jni 0.19.0", "js-sys", - "lazy_static", "libc", "mach", - "ndk 0.6.0", - "ndk-glue 0.6.2", - "nix 0.23.1", + "ndk 0.7.0", + "ndk-context", "oboe", - "parking_lot 0.11.2", + "once_cell", + "parking_lot", "stdweb", "thiserror", "wasm-bindgen", "web-sys", - "winapi", + "windows 0.37.0", ] [[package]] @@ -1423,7 +1426,7 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -1432,7 +1435,7 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2801af0d36612ae591caa9568261fddce32ce6e08a7275ea334a06a4ad021a2c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crossbeam-channel", "crossbeam-deque", "crossbeam-epoch", @@ -1446,7 +1449,7 @@ version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crossbeam-utils", ] @@ -1456,43 +1459,41 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crossbeam-epoch", "crossbeam-utils", ] [[package]] name = "crossbeam-epoch" -version = "0.9.10" +version = "0.9.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "045ebe27666471bb549370b4b0b3e51b07f56325befa4284db65fc89c02511b1" +checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a" dependencies = [ "autocfg", - "cfg-if 1.0.0", + "cfg-if", "crossbeam-utils", - "memoffset", - "once_cell", + "memoffset 0.7.1", "scopeguard", ] [[package]] name = "crossbeam-queue" -version = "0.3.6" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd42583b04998a5363558e5f9291ee5a5ff6b49944332103f251e7479a82aa7" +checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.11" +version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc" +checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f" dependencies = [ - "cfg-if 1.0.0", - "once_cell", + "cfg-if", ] [[package]] @@ -1505,16 +1506,6 @@ dependencies = [ "typenum", ] -[[package]] -name = "cstr_core" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd98742e4fdca832d40cab219dc2e3048de17d873248f83f17df47c1bea70956" -dependencies = [ - "cty", - "memchr", -] - [[package]] name = "cty" version = "0.2.2" @@ -1573,11 +1564,11 @@ version = "5.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "hashbrown", "lock_api", "once_cell", - "parking_lot_core 0.9.3", + "parking_lot_core", ] [[package]] @@ -1612,7 +1603,7 @@ dependencies = [ "libc", "log", "once_cell", - "parking_lot 0.12.1", + "parking_lot", "pin-project", "serde", "serde_json", @@ -1651,9 +1642,9 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.5" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adfbc57365a37acbd2ebf2b64d7e69bb766e2fea813521ed536f5d0520dcf86c" +checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" dependencies = [ "block-buffer", "crypto-common", @@ -1668,6 +1659,15 @@ dependencies = [ "dirs-sys", ] +[[package]] +name = "dirs" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059" +dependencies = [ + "dirs-sys", +] + [[package]] name = "dirs-sys" version = "0.3.7" @@ -1679,36 +1679,63 @@ dependencies = [ "winapi", ] +[[package]] +name = "discard" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" + [[package]] name = "dispatch" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" +[[package]] +name = "displaydoc" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bf95dc3f046b9da4f2d51833c0d3547d8564ef6910f5c1ed130306a75b92886" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "downcast-rs" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" +[[package]] +name = "ecolor" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b601108bca3af7650440ace4ca55b2daf52c36f2635be3587d77b16efd8d0691" +dependencies = [ + "bytemuck", +] + [[package]] name = "egui" -version = "0.18.1" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb095a8b9feb9b7ff8f00b6776dffcef059538a3f4a91238e03c900e9c9ad9a2" +checksum = "65a5e883a316e53866977450eecfbcac9c48109c2ab3394af29feb83fcde4ea9" dependencies = [ - "ahash", + "ahash 0.8.2", "epaint", "nohash-hasher", ] [[package]] name = "egui_extras" -version = "0.18.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877bfcce06463cdbcfd7f4efd57608b1384d6d9ae03b33e503fbba1d1a899a52" +checksum = "1975cd88ff7430f93b29e6b9868b648a8ff6a43b08b9ff8474ee0a648bd8f9a6" dependencies = [ "egui", + "serde", ] [[package]] @@ -1719,18 +1746,18 @@ checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" [[package]] name = "emath" -version = "0.18.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c223f58c7e38abe1770f367b969f1b3fbd4704b67666bcb65dbb1adb0980ba72" +checksum = "5277249c8c3430e7127e4f2c40a77485e7baf11ae132ce9b3253a8ed710df0a0" dependencies = [ "bytemuck", ] [[package]] name = "encase" -version = "0.3.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a516181e9a36e8982cb37933c5e7dba638c42938cacde46ee4e5b4156f881b9" +checksum = "48ec50086547d597b5c871a78399ec04a14828a6a5c445a61ed4687c540edec6" dependencies = [ "const_panic", "encase_derive", @@ -1740,18 +1767,18 @@ dependencies = [ [[package]] name = "encase_derive" -version = "0.3.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5b802412eea315f29f2bb2da3a5963cd6121f56eaa06aebcdc0c54eea578f22" +checksum = "dda93e9714c7683c474f49a461a2ae329471d2bda43c4302d41c6d8339579e92" dependencies = [ "encase_derive_impl", ] [[package]] name = "encase_derive_impl" -version = "0.3.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f2f4de457d974f548d2c2a16f709ebd81013579e543bd1a9b19ced88132c2cf" +checksum = "ec27b639e942eb0297513b81cc6d87c50f6c77dc8c37af00a39ed5db3b9657ee" dependencies = [ "proc-macro2", "quote", @@ -1764,7 +1791,7 @@ version = "0.8.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9852635589dc9f9ea1b6fe9f05b50ef208c85c834a562f0c6abb1c475736ec2b" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -1781,9 +1808,9 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.8.4" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" +checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" dependencies = [ "log", "regex", @@ -1791,24 +1818,25 @@ dependencies = [ [[package]] name = "epaint" -version = "0.18.1" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c29567088888e8ac3e8f61bbb2ddc820207ebb8d69eefde5bcefa06d65e4e89" +checksum = "de14b65fe5e423e0058f77a8beb2c863b056d0566d6c4ce0d097aa5814cb705a" dependencies = [ "ab_glyph", - "ahash", + "ahash 0.8.2", "atomic_refcell", "bytemuck", + "ecolor", "emath", "nohash-hasher", - "parking_lot 0.12.1", + "parking_lot", ] [[package]] name = "erased-serde" -version = "0.3.23" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54558e0ba96fbe24280072642eceb9d7d442e32c7ec0ea9e7ecd7b4ea2cf4e11" +checksum = "e4ca605381c017ec7a5fef5e548f1cfaa419ed0f6df6367339300db74c92aa7d" dependencies = [ "serde", ] @@ -1849,14 +1877,14 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.17" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94a7bbaa59354bc20dd75b67f23e2797b4490e9d6928203fb105c79e448c86c" +checksum = "4e884668cd0c7480504233e951174ddc3b382f7c2666e3b7310b5c4e7b0c37f9" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "redox_syscall", - "windows-sys", + "windows-sys 0.42.0", ] [[package]] @@ -1867,12 +1895,12 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f82b0f4c27ad9f8bfd1f3208d882da2b09c301bc1c828fd3a00d0216d2fbbff6" +checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841" dependencies = [ "crc32fast", - "miniz_oxide 0.5.4", + "miniz_oxide 0.6.2", ] [[package]] @@ -1919,6 +1947,20 @@ dependencies = [ "thiserror", ] +[[package]] +name = "fluent_content" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a582c297515a2fb08cbaa1166498dd18b11ba0e4d7c9cad5b10386a6a2208c8a" +dependencies = [ + "fluent", + "fluent-langneg", + "intl-memoizer", + "thiserror", + "tracing", + "unic-langid", +] + [[package]] name = "fnv" version = "1.0.7" @@ -1982,9 +2024,9 @@ dependencies = [ [[package]] name = "futures" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f21eda599937fba36daeb58a22e8f5cee2d14c4a17b5b7739c7c8e5e3b8230c" +checksum = "38390104763dc37a5145a53c29c63c1290b5d316d6086ec32c293f6736051bb0" dependencies = [ "futures-channel", "futures-core", @@ -1997,9 +2039,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30bdd20c28fadd505d0fd6712cdfcb0d4b5648baf45faef7f852afb2399bb050" +checksum = "52ba265a92256105f45b719605a571ffe2d1f0fea3807304b522c1d778f79eed" dependencies = [ "futures-core", "futures-sink", @@ -2007,15 +2049,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e5aa3de05362c3fb88de6531e6296e85cde7739cccad4b9dfeeb7f6ebce56bf" +checksum = "04909a7a7e4633ae6c4a9ab280aeb86da1236243a77b694a49eacd659a4bd3ac" [[package]] name = "futures-executor" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ff63c23854bee61b6e9cd331d523909f238fc7636290b96826e9cfa5faa00ab" +checksum = "7acc85df6714c176ab5edf386123fafe217be88c0840ec11f199441134a074e2" dependencies = [ "futures-core", "futures-task", @@ -2024,9 +2066,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbf4d2a7a308fd4578637c0b17c7e1c7ba127b8f6ba00b29f717e9655d85eb68" +checksum = "00f5fb52a06bdcadeb54e8d3671f8888a39697dcb0b81b23b55174030427f4eb" [[package]] name = "futures-lite" @@ -2045,9 +2087,9 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42cd15d1c7456c04dbdf7e88bcd69760d74f3a798d6444e16974b505b0e62f17" +checksum = "bdfb8ce053d86b91919aad980c220b1fb8401a9394410e1c289ed7e66b61835d" dependencies = [ "proc-macro2", "quote", @@ -2056,21 +2098,21 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b20ba5a92e727ba30e72834706623d94ac93a725410b6a6b6fbc1b07f7ba56" +checksum = "39c15cf1a4aa79df40f1bb462fb39676d0ad9e366c2a33b590d7c66f4f81fcf9" [[package]] name = "futures-task" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6508c467c73851293f390476d4491cf4d227dbabcd4170f3bb6044959b294f1" +checksum = "2ffb393ac5d9a6eaa9d3fdf37ae2776656b706e200c8e16b1bdb227f5198e6ea" [[package]] name = "futures-util" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44fb6cb1be61cc1d2e43b262516aafcf63b241cffdb1d3fa115f91d9c7b09c90" +checksum = "197676987abd2f9cadff84926f410af1c183608d36641465df73ae8211dc65d6" dependencies = [ "futures-channel", "futures-core", @@ -2115,11 +2157,11 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6" +checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "js-sys", "libc", "wasi", @@ -2128,9 +2170,9 @@ dependencies = [ [[package]] name = "gilrs" -version = "0.9.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6ba7c37bf8ea7ba0c3e3795dfa1a7771b1e47c4bb417c4d27c7b338d79685f" +checksum = "7d0342acdc7b591d171212e17c9350ca02383b86d5f9af33c6e3598e03a6c57e" dependencies = [ "fnv", "gilrs-core", @@ -2141,30 +2183,29 @@ dependencies = [ [[package]] name = "gilrs-core" -version = "0.4.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96a8d94a7fc5afd27e894e08a4cfe5a49237f85bcc7140e90721bad3399c7d02" +checksum = "6789d356476c3280a4e15365d23f62b4b4f1bcdac81fdd552f65807bce4666dd" dependencies = [ - "core-foundation 0.9.3", + "core-foundation", "io-kit-sys", "js-sys", "libc", "libudev-sys", "log", - "nix 0.24.2", - "rusty-xinput", + "nix 0.25.1", "uuid", "vec_map", "wasm-bindgen", "web-sys", - "winapi", + "windows 0.43.0", ] [[package]] name = "glam" -version = "0.21.3" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "518faa5064866338b013ff9b2350dc318e14cc4fcd6cb8206d7e7c9886c98815" +checksum = "12f597d56c1bd55a811a1be189459e8fad2bbc272616375602443bdfb37fa774" dependencies = [ "bytemuck", "serde", @@ -2287,7 +2328,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash", + "ahash 0.7.6", "serde", ] @@ -2309,6 +2350,15 @@ dependencies = [ "libc", ] +[[package]] +name = "hermit-abi" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" +dependencies = [ + "libc", +] + [[package]] name = "hex" version = "0.4.3" @@ -2317,9 +2367,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hexasphere" -version = "7.2.1" +version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaadafd1beb6ad34cff5521987017ece5848f9ad5401fdb039bff896a643add4" +checksum = "619ce654558681d7d0a7809e1b20249c7032ff13ee6baa7bb7ff64f7f28a906a" dependencies = [ "glam", "once_cell", @@ -2371,23 +2421,23 @@ dependencies = [ [[package]] name = "image" -version = "0.24.3" +version = "0.24.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e30ca2ecf7666107ff827a8e481de6a132a9b687ed3bb20bb1c144a36c00964" +checksum = "69b7ea949b537b0fd0af141fff8c77690f2ce96f4f41f042ccb6c69c6c965945" dependencies = [ "bytemuck", "byteorder", "color_quant", "num-rational 0.4.1", "num-traits", - "png 0.17.6", + "png 0.17.7", ] [[package]] name = "indexmap" -version = "1.9.1" +version = "1.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" +checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" dependencies = [ "autocfg", "hashbrown", @@ -2414,19 +2464,13 @@ dependencies = [ "libc", ] -[[package]] -name = "inplace_it" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e567468c50f3d4bc7397702e09b380139f9b9288b4e909b070571007f8b5bf78" - [[package]] name = "instant" version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "js-sys", "wasm-bindgen", "web-sys", @@ -2444,11 +2488,10 @@ dependencies = [ [[package]] name = "intl_pluralrules" -version = "7.0.1" +version = "7.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b18f988384267d7066cc2be425e6faf352900652c046b6971d2e228d3b1c5ecf" +checksum = "078ea7b7c29a2b4df841a7f6ac8775ff6074020c6776d48491ce2268e068f972" dependencies = [ - "tinystr", "unic-langid", ] @@ -2458,7 +2501,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7789f7f3c9686f96164f5109d69152de759e76e284f736bd57661c6df5091919" dependencies = [ - "core-foundation-sys 0.8.3", + "core-foundation-sys", "mach", ] @@ -2486,15 +2529,15 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.3" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754" +checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" [[package]] name = "iyes_loopless" -version = "0.8.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20f42b3a59033b3372129b84850a6d39e02c25f3f170c4f8b84232b775602bb0" +checksum = "c47fd2cbdb1d7f295c25e6bfccfd78a84b6eef3055bc9f01b34ae861721b01ee" dependencies = [ "bevy_app", "bevy_ecs", @@ -2516,6 +2559,20 @@ dependencies = [ "walkdir", ] +[[package]] +name = "jni" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "039022cdf4d7b1cf548d31f60ae783138e5fd42013f6271049d7df7afadef96c" +dependencies = [ + "cesu8", + "combine", + "jni-sys", + "log", + "thiserror", + "walkdir", +] + [[package]] name = "jni-sys" version = "0.3.0" @@ -2559,9 +2616,9 @@ dependencies = [ [[package]] name = "kira" -version = "0.6.1" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "556d90f602ffc4996630769a645035b041786d1b927a17cfbc6a9c3000e62de9" +checksum = "cec4348608a23d372acceb18871ed6be4aa2036f135d48eabffe59258368e1fd" dependencies = [ "atomic-arena", "cpal", @@ -2571,9 +2628,9 @@ dependencies = [ [[package]] name = "kqueue" -version = "1.0.6" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d6112e8f37b59803ac47a42d14f1f3a59bbf72fc6857ffc5be455e28a691f8e" +checksum = "2c8fc60ba15bf51257aa9807a48a61013db043fcf3a78cb0d916e8e396dcad98" dependencies = [ "kqueue-sys", "libc", @@ -2603,9 +2660,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "leafwing-input-manager" -version = "0.6.1" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32953f440c0c48698cf354a78ccdb4fda4cb6ca1846f326e1280021fa333e158" +checksum = "4cbad9c683a5a2527e8cb3abc57d03af52e22ab9be1cc9b51e780c73e4a244be" dependencies = [ "bevy", "derive_more", @@ -2617,9 +2674,9 @@ dependencies = [ [[package]] name = "leafwing_input_manager_macros" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d98664cb644020e9c60d50c49a4630eb0a44aa15008d859208c538d75a4216b9" +checksum = "5ec3d0a4b25f0e6a66547cc3a1eb98b8477814db58de8035063f3db42353a7de" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2702,25 +2759,25 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.133" +version = "0.2.139" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0f80d65747a3e43d1596c7c5492d95d5edddaabd45a7fcdb02b95f644164966" +checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" [[package]] name = "libloading" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd" +checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "winapi", ] [[package]] name = "libm" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "292a948cd991e376cf75541fe5b97a1081d713c618b4f1b9500f8844e49eb565" +checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb" [[package]] name = "libudev-sys" @@ -2748,7 +2805,7 @@ version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -2802,6 +2859,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memoffset" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" +dependencies = [ + "autocfg", +] + [[package]] name = "metal" version = "0.24.0" @@ -2843,30 +2909,30 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.5.4" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96590ba8f175222643a85693f33d26e9c8a015f599c216509b1a6894af675d34" +checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" dependencies = [ "adler", ] [[package]] name = "mio" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57ee1c23c7c63b0c9250c339ffdc69255f110b298b901b9f6c82547b7b87caaf" +checksum = "e5d732bc30207a6423068df043e3d02e0735b155ad7ce1a6f76fe2baa5b158de" dependencies = [ "libc", "log", "wasi", - "windows-sys", + "windows-sys 0.42.0", ] [[package]] name = "naga" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f50357e1167a3ab92d6b3c7f4bf5f7fd13fde3f4b28bf0d5ea07b5100fdb6c0" +checksum = "262d2840e72dbe250e8cf2f522d080988dfca624c4112c096238a4845f591707" dependencies = [ "bit-set", "bitflags", @@ -2886,9 +2952,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.31.1" +version = "0.31.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9e0a04ce089f9401aac565c740ed30c46291260f27d4911fdbaa6ca65fa3044" +checksum = "20bd243ab3dbb395b39ee730402d2e5405e448c75133ec49cc977762c4cba3d1" dependencies = [ "approx", "glam", @@ -2914,27 +2980,28 @@ dependencies = [ [[package]] name = "ndk" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d868f654c72e75f8687572699cdabe755f03effbb62542768e995d5b8d699d" +checksum = "2032c77e030ddee34a6787a64166008da93f6a352b629261d0fee232b8742dd4" dependencies = [ "bitflags", "jni-sys", - "ndk-sys 0.2.2", + "ndk-sys 0.3.0", "num_enum", "thiserror", ] [[package]] name = "ndk" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2032c77e030ddee34a6787a64166008da93f6a352b629261d0fee232b8742dd4" +checksum = "451422b7e4718271c8b5b3aadf5adedba43dc76312454b387e98fae0fc951aa0" dependencies = [ "bitflags", "jni-sys", - "ndk-sys 0.3.0", + "ndk-sys 0.4.1+23.1.7779620", "num_enum", + "raw-window-handle 0.5.0", "thiserror", ] @@ -2946,33 +3013,19 @@ checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" [[package]] name = "ndk-glue" -version = "0.5.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c71bee8ea72d685477e28bd004cfe1bf99c754d688cd78cad139eae4089484d4" +checksum = "0434fabdd2c15e0aab768ca31d5b7b333717f03cf02037d5a0a3ff3c278ed67f" dependencies = [ "android_logger", - "lazy_static", "libc", "log", - "ndk 0.5.0", + "ndk 0.7.0", "ndk-context", "ndk-macro", - "ndk-sys 0.2.2", -] - -[[package]] -name = "ndk-glue" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d0c4a7b83860226e6b4183edac21851f05d5a51756e97a1144b7f5a6b63e65f" -dependencies = [ - "lazy_static", - "libc", - "log", - "ndk 0.6.0", - "ndk-context", - "ndk-macro", - "ndk-sys 0.3.0", + "ndk-sys 0.4.1+23.1.7779620", + "once_cell", + "parking_lot", ] [[package]] @@ -2990,15 +3043,18 @@ dependencies = [ [[package]] name = "ndk-sys" -version = "0.2.2" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1bcdd74c20ad5d95aacd60ef9ba40fdf77f767051040541df557b7a9b2a2121" +checksum = "6e5a6ae77c8ee183dcbbba6150e2e6b9f3f4196a7666c02a715a95692ec1fa97" +dependencies = [ + "jni-sys", +] [[package]] name = "ndk-sys" -version = "0.3.0" +version = "0.4.1+23.1.7779620" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e5a6ae77c8ee183dcbbba6150e2e6b9f3f4196a7666c02a715a95692ec1fa97" +checksum = "3cf2aae958bd232cac5069850591667ad422d263686d75b52a065f9badeee5a3" dependencies = [ "jni-sys", ] @@ -3017,32 +3073,33 @@ checksum = "e4916f159ed8e5de0082076562152a76b7a1f64a01fd9d1e0fea002c37624faf" dependencies = [ "bitflags", "cc", - "cfg-if 1.0.0", + "cfg-if", "libc", - "memoffset", + "memoffset 0.6.5", ] [[package]] name = "nix" -version = "0.23.1" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f866317acbd3a240710c63f065ffb1e4fd466259045ccb504130b7f668f35c6" +checksum = "8f3790c00a0150112de0f4cd161e3d7fc4b2d8a5542ffc35f099a2562aecb35c" dependencies = [ "bitflags", "cc", - "cfg-if 1.0.0", + "cfg-if", "libc", - "memoffset", + "memoffset 0.6.5", ] [[package]] name = "nix" -version = "0.24.2" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "195cdbc1741b8134346d515b3a56a1c94b0912758009cfd53f99ea0f57b065fc" +checksum = "f346ff70e7dbfd675fe90590b92d59ef2de15a8779ae305ebcbfd3f0caf59be4" dependencies = [ + "autocfg", "bitflags", - "cfg-if 1.0.0", + "cfg-if", "libc", ] @@ -3054,9 +3111,9 @@ checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" [[package]] name = "nom" -version = "7.1.1" +version = "7.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36" +checksum = "e5507769c4919c998e69e49c839d9dc6e693ede4cc4290d6ad8b41d4f09c548c" dependencies = [ "memchr", "minimal-lexical", @@ -3064,9 +3121,9 @@ dependencies = [ [[package]] name = "notify" -version = "5.0.0-pre.15" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "553f9844ad0b0824605c20fb55a661679782680410abfb1a8144c2e7e437e7a7" +checksum = "ed2c66da08abae1c024c01d635253e402341b4060a12e99b31c7594063bf490a" dependencies = [ "bitflags", "crossbeam-channel", @@ -3080,6 +3137,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "nu-ansi-term" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +dependencies = [ + "overload", + "winapi", +] + [[package]] name = "num-bigint" version = "0.4.3" @@ -3167,11 +3234,11 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.13.1" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" +checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" dependencies = [ - "hermit-abi", + "hermit-abi 0.2.6", "libc", ] @@ -3241,7 +3308,7 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "27f63c358b4fa0fbcfefd7c8be5cfc39c08ce2389f5325687e7762a48d30a5c1" dependencies = [ - "jni", + "jni 0.19.0", "ndk 0.6.0", "ndk-context", "num-derive", @@ -3260,9 +3327,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.15.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e82dad04139b71a90c080c8463fe0dc7902db5192d939bd0950f074d014339e1" +checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" [[package]] name = "optional" @@ -3270,11 +3337,17 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978aa494585d3ca4ad74929863093e87cac9790d81fe7aba2b3dc2890643a0fc" +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + [[package]] name = "owned_ttf_parser" -version = "0.15.2" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05e6affeb1632d6ff6a23d2cd40ffed138e82f1532571a26f527c8a284bb2fbb" +checksum = "18904d3c65493a9f0d7542293d1a7f69bfdc309a6b9ef4f46dc3e58b0577edc5" dependencies = [ "ttf-parser", ] @@ -3285,17 +3358,6 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72" -[[package]] -name = "parking_lot" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" -dependencies = [ - "instant", - "lock_api", - "parking_lot_core 0.8.5", -] - [[package]] name = "parking_lot" version = "0.12.1" @@ -3303,41 +3365,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", - "parking_lot_core 0.9.3", + "parking_lot_core", ] [[package]] name = "parking_lot_core" -version = "0.8.5" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216" +checksum = "7ff9f3fef3968a3ec5945535ed654cb38ff72d7495a25619e2247fb15a2ed9ba" dependencies = [ - "cfg-if 1.0.0", - "instant", + "cfg-if", "libc", "redox_syscall", "smallvec", - "winapi", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall", - "smallvec", - "windows-sys", + "windows-sys 0.42.0", ] [[package]] name = "parry2d" -version = "0.9.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2841cebc29aaf7c69058b242742853d9b106c5245ed946090a75d941d23a6f5e" +checksum = "f2451e4bf2c6ba705bf584f94bb51772e22977e37c82575ce2445dd797eb35a9" dependencies = [ "approx", "arrayvec", @@ -3356,9 +3404,9 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.9" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1" +checksum = "d01a5bd0424d00070b0098dd17ebca6f961a959dead1dbcbbbc1d1cd8d3deeba" [[package]] name = "peeking_take_while" @@ -3469,9 +3517,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae" +checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" [[package]] name = "pmutil" @@ -3498,14 +3546,14 @@ dependencies = [ [[package]] name = "png" -version = "0.17.6" +version = "0.17.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f0e7f4c94ec26ff209cee506314212639d6c91b80afb82984819fafce9df01c" +checksum = "5d708eaf860a19b19ce538740d2b4bdeeb8337fa53f7738455e706623ad5c638" dependencies = [ "bitflags", "crc32fast", "flate2", - "miniz_oxide 0.5.4", + "miniz_oxide 0.6.2", ] [[package]] @@ -3525,9 +3573,9 @@ dependencies = [ [[package]] name = "ppv-lite86" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precomputed-hash" @@ -3578,24 +3626,24 @@ dependencies = [ [[package]] name = "proc-macro-hack" -version = "0.5.19" +version = "0.5.20+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" +checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.43" +version = "1.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" +checksum = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5" dependencies = [ "unicode-ident", ] [[package]] name = "profiling" -version = "1.0.6" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f61dcf0b917cd75d4521d7343d1ffff3d1583054133c9b5cbea3375c703c40d" +checksum = "74605f360ce573babfe43964cbe520294dcb081afbf8c108fc6e23036b4da2df" [[package]] name = "punchy" @@ -3616,6 +3664,7 @@ dependencies = [ "directories", "egui_extras", "fluent", + "fluent_content", "getrandom", "iyes_loopless", "leafwing-input-manager", @@ -3642,9 +3691,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.21" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" +checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" dependencies = [ "proc-macro2", ] @@ -3693,9 +3742,9 @@ checksum = "63e935c45e09cc6dcf00d2f0b2d630a58f4095320223d47fc68918722f0538b6" [[package]] name = "rapier2d" -version = "0.14.0" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84d7e798266018ec9194a6ca931ae6520c0bf5f7dbdbcb5f1d8bb0d9c075ea24" +checksum = "32b1c1ed75065adaf01adb8c46a1dad3922fb28de8225dc981481e3584f3af07" dependencies = [ "approx", "arrayvec", @@ -3720,6 +3769,15 @@ dependencies = [ "cty", ] +[[package]] +name = "raw-window-handle" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed7e3d950b66e19e0c372f3fa3fbbcf85b1746b571f74e0c2af6042a5c93420a" +dependencies = [ + "cty", +] + [[package]] name = "rawpointer" version = "0.2.1" @@ -3754,9 +3812,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" +checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a" dependencies = [ "aho-corasick", "memchr", @@ -3774,9 +3832,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.27" +version = "0.6.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" +checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" [[package]] name = "renderdoc-sys" @@ -3786,11 +3844,11 @@ checksum = "f1382d1f0a252c4bf97dc20d979a2fdd05b024acd7c2ed0f7595d7817666a157" [[package]] name = "ringbuf" -version = "0.2.8" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f65af18d50f789e74aaf23bbb3f65dcd22a3cb6e029b5bced149f6bd57c5c2a2" +checksum = "89e68dd9c1d8f7bb0c664e1556b1521809bc6fa62d92bb3b813adf8611caa0eb" dependencies = [ - "cache-padded", + "crossbeam-utils", ] [[package]] @@ -3801,11 +3859,11 @@ checksum = "e5864e7ef1a6b7bcf1d6ca3f655e65e724ed3b52546a0d0a663c991522f552ea" [[package]] name = "ron" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88073939a61e5b7680558e6be56b419e208420c2adb92be54921fa6b72283f1a" +checksum = "300a51053b1cb55c80b7a9fde4120726ddf25ca241a1cbb926626f62fb136bff" dependencies = [ - "base64 0.13.0", + "base64 0.13.1", "bitflags", "serde", ] @@ -3831,25 +3889,14 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.14", -] - -[[package]] -name = "rusty-xinput" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2aa654bc32eb9ca14cce1a084abc9dfe43949a4547c35269a094c39272db3bb" -dependencies = [ - "lazy_static", - "log", - "winapi", + "semver 1.0.16", ] [[package]] name = "ryu" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" +checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde" [[package]] name = "safe_arch" @@ -3871,9 +3918,9 @@ dependencies = [ [[package]] name = "scoped-tls" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" [[package]] name = "scopeguard" @@ -3898,9 +3945,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.14" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e25dfac463d778e353db5be2449d1cce89bd6fd23c9f1ea21310ce6e5a1b29c4" +checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a" [[package]] name = "semver-parser" @@ -3910,18 +3957,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.145" +version = "1.0.152" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "728eb6351430bccb993660dfffc5a72f91ccc1295abaa8ce19b27ebe4f75568b" +checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb" dependencies = [ "serde_derive", ] [[package]] name = "serde-wasm-bindgen" -version = "0.4.3" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cfc62771e7b829b517cb213419236475f434fb480eddd76112ae182d274434a" +checksum = "e3b4c031cd0d9014307d82b8abf653c0290fbdaeb4c02d00c63cf52f728628bf" dependencies = [ "js-sys", "serde", @@ -3930,18 +3977,18 @@ dependencies = [ [[package]] name = "serde_bytes" -version = "0.11.7" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfc50e8183eeeb6178dcb167ae34a8051d63535023ae38b5d8d12beae193d37b" +checksum = "718dc5fff5b36f99093fc49b280cfc96ce6fc824317783bff5a1fed0c7a64819" dependencies = [ "serde", ] [[package]] name = "serde_derive" -version = "1.0.145" +version = "1.0.152" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fa1584d3d1bcacd84c277a0dfe21f5b0f6accf4a23d04d4c6d61f1af522b4c" +checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e" dependencies = [ "proc-macro2", "quote", @@ -3950,9 +3997,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.85" +version = "1.0.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e55a28e3aaef9d5ce0506d0a14dbba8054ddc7e499ef522dd8b26859ec9d4a44" +checksum = "877c235533714907a8c2464236f5c4b2a17262ef1bd71f38f35ea592c8da6883" dependencies = [ "indexmap", "itoa", @@ -3976,9 +4023,9 @@ dependencies = [ [[package]] name = "serde_yaml" -version = "0.9.13" +version = "0.9.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8613d593412a0deb7bbd8de9d908efff5a0cb9ccd8f62c641e7b2ed2f57291d1" +checksum = "92b5b431e8907b50339b51223b97d102db8d987ced36f6e4d03621db9316c834" dependencies = [ "indexmap", "itoa", @@ -3989,15 +4036,24 @@ dependencies = [ [[package]] name = "sha-1" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" +checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "cpufeatures", "digest", ] +[[package]] +name = "sha1" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1da05c97445caa12d05e848c4a4fcbbea29e748ac28f7e80e9b010392063770" +dependencies = [ + "sha1_smol", +] + [[package]] name = "sha1_smol" version = "1.0.0" @@ -4021,9 +4077,9 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "simba" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c48e45e5961033db030b56ad67aef22e9c908c493a6e8348c0a0f6b93433cd77" +checksum = "2f3fd720c48c53cace224ae62bef1bbff363a70c68c4802a78b5cc6159618176" dependencies = [ "approx", "num-complex", @@ -4059,9 +4115,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1" +checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" dependencies = [ "serde", ] @@ -4084,9 +4140,9 @@ dependencies = [ [[package]] name = "spade" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "333b8c21ebd9a45c5e955f3d7a1f0c4a2214847dd7e8e1abb69f34ec9b88882d" +checksum = "1190e0e8f4eb17fc3dbb2d20e1142676e56aaac3daede39f64a3302d687b80f3" dependencies = [ "num-traits", "optional", @@ -4118,9 +4174,52 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "stdweb" -version = "0.1.3" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5" +dependencies = [ + "discard", + "rustc_version 0.2.3", + "stdweb-derive", + "stdweb-internal-macros", + "stdweb-internal-runtime", + "wasm-bindgen", +] + +[[package]] +name = "stdweb-derive" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "serde_derive", + "syn", +] + +[[package]] +name = "stdweb-internal-macros" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef5430c8e36b713e13b48a9f709cc21e046723fe44ce34587b73a830203b533e" +checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" +dependencies = [ + "base-x", + "proc-macro2", + "quote", + "serde", + "serde_derive", + "serde_json", + "sha1", + "syn", +] + +[[package]] +name = "stdweb-internal-runtime" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0" [[package]] name = "str-buf" @@ -4136,7 +4235,7 @@ checksum = "213494b7a2b503146286049378ce02b482200519accc31872ee8be91fa820a08" dependencies = [ "new_debug_unreachable", "once_cell", - "parking_lot 0.12.1", + "parking_lot", "phf_shared", "precomputed-hash", "serde", @@ -4156,9 +4255,9 @@ dependencies = [ [[package]] name = "string_enum" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f584cc881e9e5f1fd6bf827b0444aa94c30d8fe6378cf241071b5f5700b2871f" +checksum = "994453cd270ad0265796eb24abf5540091ed03e681c5f3c12bc33e4db33253e1" dependencies = [ "pmutil", "proc-macro2", @@ -4211,9 +4310,9 @@ checksum = "8fb1df15f412ee2e9dfc1c504260fa695c1c3f10fe9f4a6ee2d2184d7d6450e2" [[package]] name = "swc_atoms" -version = "0.4.17" +version = "0.4.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c4672abeb1ab4f174fae3928945c3f42776f21f636e0b118b3497c4cd2d6b6e" +checksum = "9ad59af21529fcd3f4f8fa6b1ae399c2b183ec42c68347d76d68d6e5b657956e" dependencies = [ "once_cell", "rustc-hash", @@ -4229,10 +4328,10 @@ version = "0.27.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49b0b6107e44797d0549bdb5b47a97682c3b914140269c01d2acdb16a1b885f6" dependencies = [ - "ahash", + "ahash 0.7.6", "ast_node", "better_scoped_tls", - "cfg-if 1.0.0", + "cfg-if", "debug_unreachable", "either", "from_variant", @@ -4252,11 +4351,10 @@ dependencies = [ [[package]] name = "swc_config" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc17721410f3f12aeb42dcb99528350adf122681ab4796e48c2cfc0bda0c752c" +checksum = "b4de36224eb9498fccd4e68971f0b83326ccf8592c2d424f257f3a1c76b2b211" dependencies = [ - "anyhow", "indexmap", "serde", "serde_json", @@ -4386,8 +4484,8 @@ version = "0.141.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b57461fea819904faf5aeac39e49229995701a31fa5041929b7909885a69cc0a" dependencies = [ - "ahash", - "base64 0.13.0", + "ahash 0.7.6", + "base64 0.13.1", "dashmap", "indexmap", "once_cell", @@ -4587,9 +4685,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.100" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52205623b1b0f064a4e71182c3b18ae902267282930c6d5462c91b859668426e" +checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" dependencies = [ "proc-macro2", "quote", @@ -4598,12 +4696,10 @@ dependencies = [ [[package]] name = "sys-locale" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658ee915b6c7b73ec4c1ffcd838506b5c5a4087eadc1ec8f862f1066cf2c8132" +checksum = "3358acbb4acd4146138b9bda219e904a6bb5aaaa237f8eed06f4d6bc1580ecee" dependencies = [ - "cc", - "cstr_core", "js-sys", "libc", "wasm-bindgen", @@ -4644,18 +4740,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.35" +version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c53f98874615aea268107765aa1ed8f6116782501d18e53d08b471733bea6c85" +checksum = "6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.35" +version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8b463991b4eab2d801e724172285ec4195c650e8ec79b149e6c2a8e6dd3f783" +checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f" dependencies = [ "proc-macro2", "quote", @@ -4684,9 +4780,12 @@ dependencies = [ [[package]] name = "tinystr" -version = "0.3.4" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29738eedb4388d9ea620eeab9384884fc3f06f586a2eddb56bedc5885126c7c1" +checksum = "f8aeafdfd935e4a7fe16a91ab711fa52d54df84f9c8f7ca5837a9d1d902ef4c2" +dependencies = [ + "displaydoc", +] [[package]] name = "tinyvec" @@ -4705,20 +4804,20 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "toml" -version = "0.5.9" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7" +checksum = "1333c76748e868a4d9d1017b5ab53171dfd095f70c712fdb4653a406547f598f" dependencies = [ "serde", ] [[package]] name = "tracing" -version = "0.1.36" +version = "0.1.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fce9567bd60a67d08a16488756721ba392f24f29006402881e43b19aac64307" +checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "pin-project-lite", "tracing-attributes", "tracing-core", @@ -4726,9 +4825,9 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11c75893af559bc8e10716548bdef5cb2b983f8e637db9d0e15126b61b484ee2" +checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" dependencies = [ "proc-macro2", "quote", @@ -4737,9 +4836,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.29" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aeea4303076558a00714b823f9ad67d58a3bbda1df83d8827d21193156e22f7" +checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" dependencies = [ "once_cell", "valuable", @@ -4758,12 +4857,12 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.15" +version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60db860322da191b40952ad9affe65ea23e7dd6a5c442c2c42865810c6ab8e6b" +checksum = "a6176eae26dd70d0c919749377897b54a9276bd7061339665dd68777926b5a70" dependencies = [ - "ansi_term", "matchers", + "nu-ansi-term", "once_cell", "regex", "sharded-slab", @@ -4797,9 +4896,9 @@ dependencies = [ [[package]] name = "ttf-parser" -version = "0.15.2" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b3e06c9b9d80ed6b745c7159c40b311ad2916abb34a49e9be2653b90db0d8dd" +checksum = "375812fa44dab6df41c195cd2f7fecb488f6c09fbaafb62807488cefab642bff" [[package]] name = "type-map" @@ -4827,24 +4926,24 @@ checksum = "0685c84d5d54d1c26f7d3eb96cd41550adb97baed141a761cf335d3d33bcd0ae" [[package]] name = "typenum" -version = "1.15.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" +checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" [[package]] name = "unic-langid" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73328fcd730a030bdb19ddf23e192187a6b01cd98be6d3140622a89129459ce5" +checksum = "398f9ad7239db44fd0f80fe068d12ff22d78354080332a5077dc6f52f14dcf2f" dependencies = [ "unic-langid-impl", ] [[package]] name = "unic-langid-impl" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a4a8eeaf0494862c1404c95ec2f4c33a2acff5076f64314b465e3ddae1b934d" +checksum = "e35bfd2f2b8796545b55d7d3fd3e89a0613f68a0d1c8bc28cb7ff96b411a35ff" dependencies = [ "serde", "tinystr", @@ -4864,9 +4963,9 @@ checksum = "d70b6494226b36008c8366c288d77190b3fad2eb4c10533139c1c1f461127f1a" [[package]] name = "unicode-ident" -version = "1.0.4" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcc811dc4066ac62f84f11307873c4850cb653bfa9b1719cee2bd2204a4bc5dd" +checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" [[package]] name = "unicode-normalization" @@ -4906,9 +5005,9 @@ dependencies = [ [[package]] name = "unsafe-libyaml" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1e5fa573d8ac5f1a856f8d7be41d390ee973daf97c806b2c1a465e4e1406e68" +checksum = "bc7ed8ba44ca06be78ea1ad2c3682a43349126c8818054231ee6f4748012aed2" [[package]] name = "url" @@ -4924,9 +5023,9 @@ dependencies = [ [[package]] name = "uuid" -version = "1.1.2" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd6469f4314d5f1ffec476e05f17cc9a78bc7a27a6a857842170bdf8d6f98d2f" +checksum = "422ee0de9031b5b948b97a8fc04e3aa35230001a722ddd27943e0be31564ce4c" dependencies = [ "getrandom", "serde", @@ -4999,7 +5098,7 @@ version = "0.2.83" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "wasm-bindgen-macro", ] @@ -5024,7 +5123,7 @@ version = "0.4.33" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23639446165ca5a5de86ae1d8896b737ae80319560fbaa4c2887b7da6e7ebd7d" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "js-sys", "wasm-bindgen", "web-sys", @@ -5061,9 +5160,9 @@ checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f" [[package]] name = "wasm_mutex" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efbdddc3b163fc2d639800b3411a5428d1e151ba2a400a560b1545e39f1e68cd" +checksum = "cd58278a2d9b33ae3e134252dc229751f2bdf9e5792f2288af3873b699240a1b" dependencies = [ "serde", ] @@ -5080,16 +5179,20 @@ dependencies = [ [[package]] name = "webbrowser" -version = "0.7.1" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc6a3cffdb686fbb24d9fb8f03a213803277ed2300f11026a3afe1f108dc021b" +checksum = "e74f5ff7786c4c21f61ba8e30ea29c9745f06fca0a4a02d083b3c662583399e8" dependencies = [ - "jni", - "ndk-glue 0.6.2", + "core-foundation", + "dirs", + "jni 0.20.0", + "log", + "ndk-context", + "objc", + "raw-window-handle 0.5.0", "url", "web-sys", - "widestring", - "winapi", + "windows 0.43.0", ] [[package]] @@ -5100,17 +5203,18 @@ checksum = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb" [[package]] name = "wgpu" -version = "0.13.1" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "277e967bf8b7820a76852645a6bce8bbd31c32fda2042e82d8e3ea75fda8892d" +checksum = "81f643110d228fd62a60c5ed2ab56c4d5b3704520bd50561174ec4ec74932937" dependencies = [ "arrayvec", "js-sys", "log", "naga", - "parking_lot 0.12.1", - "raw-window-handle", + "parking_lot", + "raw-window-handle 0.5.0", "smallvec", + "static_assertions", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -5121,22 +5225,21 @@ dependencies = [ [[package]] name = "wgpu-core" -version = "0.13.2" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b92788dec9d0c1bed849a1b83f01b2ee12819bf04a79c90f68e4173f7b5ba2" +checksum = "6000d1284ef8eec6076fd5544a73125fd7eb9b635f18dceeb829d826f41724ca" dependencies = [ "arrayvec", "bit-vec", "bitflags", "cfg_aliases", "codespan-reporting", - "copyless", "fxhash", "log", "naga", - "parking_lot 0.12.1", + "parking_lot", "profiling", - "raw-window-handle", + "raw-window-handle 0.5.0", "smallvec", "thiserror", "web-sys", @@ -5146,9 +5249,9 @@ dependencies = [ [[package]] name = "wgpu-hal" -version = "0.13.2" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cbdfc3d0637dba3d5536b93adef3d26023a0b96f0e1ee5ee9560a401d9f646" +checksum = "3cc320a61acb26be4f549c9b1b53405c10a223fbfea363ec39474c32c348d12f" dependencies = [ "android_system_properties", "arrayvec", @@ -5163,7 +5266,6 @@ dependencies = [ "glow", "gpu-alloc", "gpu-descriptor", - "inplace_it", "js-sys", "khronos-egl", "libloading", @@ -5171,11 +5273,12 @@ dependencies = [ "metal", "naga", "objc", - "parking_lot 0.12.1", + "parking_lot", "profiling", "range-alloc", - "raw-window-handle", + "raw-window-handle 0.5.0", "renderdoc-sys", + "smallvec", "thiserror", "wasm-bindgen", "web-sys", @@ -5185,9 +5288,9 @@ dependencies = [ [[package]] name = "wgpu-types" -version = "0.13.2" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f762cbc08e1a51389859cf9c199c7aef544789cf3510889aab12c607f701604" +checksum = "fb6b28ef22cac17b9109b25b3bf8c9a103eeb293d7c5f78653979b09140375f6" dependencies = [ "bitflags", ] @@ -5205,20 +5308,14 @@ dependencies = [ [[package]] name = "wide" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3aba2d1dac31ac7cae82847ac5b8be822aee8f99a4e100f279605016b185c5f" +checksum = "ae41ecad2489a1655c8ef8489444b0b113c0a0c795944a3572a0931cf7d2525c" dependencies = [ "bytemuck", "safe_arch", ] -[[package]] -name = "widestring" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983" - [[package]] name = "winapi" version = "0.3.9" @@ -5259,84 +5356,198 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57b543186b344cc61c85b5aab0d2e3adf4e0f99bc076eff9aa5927bcc0b8a647" +dependencies = [ + "windows_aarch64_msvc 0.37.0", + "windows_i686_gnu 0.37.0", + "windows_i686_msvc 0.37.0", + "windows_x86_64_gnu 0.37.0", + "windows_x86_64_msvc 0.37.0", +] + +[[package]] +name = "windows" +version = "0.43.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04662ed0e3e5630dfa9b26e4cb823b817f1a9addda855d973a9458c236556244" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc 0.42.0", + "windows_i686_gnu 0.42.0", + "windows_i686_msvc 0.42.0", + "windows_x86_64_gnu 0.42.0", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc 0.42.0", +] + [[package]] name = "windows-sys" version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" dependencies = [ - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_msvc", + "windows_aarch64_msvc 0.36.1", + "windows_i686_gnu 0.36.1", + "windows_i686_msvc 0.36.1", + "windows_x86_64_gnu 0.36.1", + "windows_x86_64_msvc 0.36.1", +] + +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc 0.42.0", + "windows_i686_gnu 0.42.0", + "windows_i686_msvc 0.42.0", + "windows_x86_64_gnu 0.42.0", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc 0.42.0", ] +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e" + [[package]] name = "windows_aarch64_msvc" version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" +[[package]] +name = "windows_aarch64_msvc" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2623277cb2d1c216ba3b578c0f3cf9cdebeddb6e66b1b218bb33596ea7769c3a" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4" + [[package]] name = "windows_i686_gnu" version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" +[[package]] +name = "windows_i686_gnu" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3925fd0b0b804730d44d4b6278c50f9699703ec49bcd628020f46f4ba07d9e1" + +[[package]] +name = "windows_i686_gnu" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7" + [[package]] name = "windows_i686_msvc" version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" +[[package]] +name = "windows_i686_msvc" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce907ac74fe331b524c1298683efbf598bb031bc84d5e274db2083696d07c57c" + +[[package]] +name = "windows_i686_msvc" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246" + [[package]] name = "windows_x86_64_gnu" version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" +[[package]] +name = "windows_x86_64_gnu" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2babfba0828f2e6b32457d5341427dcbb577ceef556273229959ac23a10af33d" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028" + [[package]] name = "windows_x86_64_msvc" version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" +[[package]] +name = "windows_x86_64_msvc" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4dd6dc7df2d84cf7b33822ed5b86318fb1781948e9663bacd047fc9dd52259d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5" + [[package]] name = "winit" -version = "0.26.1" +version = "0.27.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b43cc931d58b99461188607efd7acb2a093e65fc621f54cad78517a6063e73a" +checksum = "bb796d6fbd86b2fd896c9471e6f04d39d750076ebe5680a3958f00f5ab97657c" dependencies = [ "bitflags", "cocoa", - "core-foundation 0.9.3", - "core-graphics 0.22.3", - "core-video-sys", + "core-foundation", + "core-graphics", "dispatch", "instant", - "lazy_static", "libc", "log", "mio", - "ndk 0.5.0", - "ndk-glue 0.5.2", - "ndk-sys 0.2.2", + "ndk 0.7.0", + "ndk-glue", "objc", - "parking_lot 0.11.2", + "once_cell", + "parking_lot", "percent-encoding", - "raw-window-handle", + "raw-window-handle 0.4.3", + "raw-window-handle 0.5.0", "wasm-bindgen", "web-sys", - "winapi", + "windows-sys 0.36.1", "x11-dl", ] [[package]] name = "x11-dl" -version = "2.20.0" +version = "2.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c83627bc137605acc00bb399c7b908ef460b621fc37c953db2b09f88c449ea6" +checksum = "b1536d6965a5d4e573c7ef73a2c15ebcd0b2de3347bdf526c34c297c00ac40f0" dependencies = [ "lazy_static", "libc", diff --git a/Cargo.toml b/Cargo.toml index 2138f3a8..b8780e08 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,70 +1,63 @@ [package] -name = "punchy" -version = "0.1.0" +authors = ["The Fish Folk Game & Spicy Lobster Developers"] description = "A 2.5D side-scroller beatemup" -authors = ["The Fish Folk Game & Spicy Lobster Developers"] -license = "MIT OR Apache-2.0" -edition = "2021" +edition = "2021" +license = "MIT OR Apache-2.0" +name = "punchy" +version = "0.1.0" [workspace] -members = [ - ".", - "macros" -] +members = [".", "macros"] [dependencies.bevy] -version = "0.8" default-features = false -features = [ - "x11", - "png", - "filesystem_watcher", - "bevy_gilrs" -] +features = ["x11", "png", "filesystem_watcher", "bevy_gilrs"] +version = "0.9" [dependencies] punchy_macros = { path = "./macros" } -anyhow = "1.0.58" -bevy-parallax = "0.2.0" -bevy_egui = "0.15.0" -egui_extras = "0.18.0" -bevy_kira_audio = { version = "0.11.0", features = ["mp3"] } -bevy_rapier2d = { version = "0.16.0", features = ["debug-render"] } -iyes_loopless = { version = "0.8.0", features = ["states"] } -serde = { version = "1.0.137", features = ["derive"] } -serde_yaml = "0.9.2" -thiserror = "1.0.31" -structopt = "0.3.26" -rand = "0.8.5" -getrandom = { version = "0.2", features = ["js"] } +anyhow = "1.0.58" +bevy-parallax = "0.3.0" +bevy_egui = "0.18.0" +bevy_kira_audio = { version = "0.13.0", features = ["mp3"] } +bevy_rapier2d = { version = "0.19.0", features = ["debug-render"] } +egui_extras = "0.20.0" +getrandom = { version = "0.2", features = ["js"] } +iyes_loopless = { version = "0.9.0", features = ["states"] } +rand = "0.8.5" +serde = { version = "1.0.137", features = ["derive"] } +serde_yaml = "0.9.2" +structopt = "0.3.26" +thiserror = "1.0.31" -leafwing-input-manager = { version = "0.6", default-features = false } -unic-langid = "0.9.0" -bevy_fluent = "0.4.0" -sys-locale = "0.2.1" -fluent = "0.16.0" -directories = "4.0.1" -async-channel = "1.6.1" -once_cell = "1.13.0" -bevy_mod_js_scripting = { git = "https://github.com/jakobhellermann/bevy_mod_js_scripting.git" } +async-channel = "1.6.1" +bevy_fluent = "0.5.0" +bevy_mod_js_scripting = { git = "https://github.com/jakobhellermann/bevy_mod_js_scripting.git" } +directories = "4.0.1" +fluent = "0.16.0" +fluent_content = "0.0.3" +leafwing-input-manager = { version = "0.7", default-features = false } +once_cell = "1.13.0" +sys-locale = "0.2.1" +unic-langid = "0.9.0" # Debug tools -bevy-inspector-egui = { version = "0.12.1" } -bevy-inspector-egui-rapier = { version = "0.5.0", features = ["rapier2d"] } -bevy_mod_debugdump = { version = "0.5.0", optional = true } +bevy-inspector-egui = { version = "0.15.0" } +bevy-inspector-egui-rapier = { version = "0.9.0", features = ["rapier2d"] } +bevy_mod_debugdump = { version = "0.6.0", optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] -web-sys = { version = "0.3", features = ["Window","Location","Storage"] } +web-sys = { version = "0.3", features = ["Window", "Location", "Storage"] } [features] -default = [] +default = [] schedule_graph = ["bevy_mod_debugdump"] # Enable optimizations for dependencies but not for our code [profile.dev.package."*"] +debug = false opt-level = 3 -debug = false [profile.dev] # As of Jul/2022, opt-level=1 takes a considerable compilation time; with such configuration, @@ -76,5 +69,5 @@ debug = false # slower than opt-level=0. [profile.release] -lto = true -codegen-units = 1 # Improves physics performance for release builds +codegen-units = 1 # Improves physics performance for release builds +lto = true diff --git a/src/animation.rs b/src/animation.rs index 692cd22b..d52f1546 100644 --- a/src/animation.rs +++ b/src/animation.rs @@ -121,7 +121,7 @@ impl Animation { animations, current_frame: 0, current_animation: None, - timer: Timer::from_seconds(fps, false), + timer: Timer::from_seconds(fps, TimerMode::Once), played_once: false, } } @@ -132,7 +132,11 @@ impl Animation { self.current_frame = 0; self.timer.reset(); self.timer.unpause(); - self.timer.set_repeating(repeating); + self.timer.set_mode(if repeating { + TimerMode::Repeating + } else { + TimerMode::Once + }); self.played_once = false; } diff --git a/src/assets.rs b/src/assets.rs index 62d7cdeb..4e61857e 100644 --- a/src/assets.rs +++ b/src/assets.rs @@ -311,6 +311,8 @@ impl AssetLoader for FighterLoader { meta.spritesheet.tile_size.as_vec2(), meta.spritesheet.columns, meta.spritesheet.rows, + None, + None, )) .with_dependency(texture_path), ); @@ -331,6 +333,8 @@ impl AssetLoader for FighterLoader { attachment.tile_size.as_vec2(), attachment.columns, attachment.rows, + None, + None, )) .with_dependency(texture_path), ); @@ -420,6 +424,8 @@ impl AssetLoader for ItemLoader { spritesheet.tile_size.as_vec2(), spritesheet.columns, spritesheet.rows, + None, + None, )) .with_dependency(texture_path), ); @@ -447,6 +453,8 @@ impl AssetLoader for ItemLoader { spritesheet.tile_size.as_vec2(), spritesheet.columns, spritesheet.rows, + None, + None, )) .with_dependency(texture_path), ); @@ -494,3 +502,12 @@ impl AssetLoader for EguiFontLoader { &["ttf"] } } + +#[derive(Debug, Clone, Resource, Deref, DerefMut)] +pub struct EguiFontDefinitions(pub egui::FontDefinitions); + +impl EguiFontDefinitions { + pub fn get_fonts(&self) -> &egui::FontDefinitions { + &self.0 + } +} diff --git a/src/attack.rs b/src/attack.rs index 5315daf2..071a4b92 100644 --- a/src/attack.rs +++ b/src/attack.rs @@ -216,7 +216,7 @@ fn attack_damage_system( commands .entity(hurtbox_parent_entity) .insert(FlashingTimer { - timer: Timer::new(Duration::from_millis(100), true), + timer: Timer::new(Duration::from_millis(100), TimerMode::Repeating), }); event_writer.send(DamageEvent { diff --git a/src/audio.rs b/src/audio.rs index 7c86a631..e8b4ad5b 100644 --- a/src/audio.rs +++ b/src/audio.rs @@ -4,21 +4,23 @@ use rand::{prelude::SliceRandom, thread_rng}; use bevy::{prelude::*, utils::HashMap}; use bevy_egui::{egui::output::OutputEvent, EguiContext}; -use bevy_kira_audio::{AudioApp, AudioChannel, AudioSource}; +use bevy_kira_audio::{AudioApp, AudioChannel, AudioControl, AudioSource}; use iyes_loopless::prelude::*; use crate::{ animation::Animation, config::ENGINE_CONFIG, - metadata::{GameMeta, LevelMeta}, + metadata::{GameMeta, LevelHandle, LevelMeta}, GameState, }; /// For readability. const IMPOSSIBLE_ANIMATION_I: usize = usize::MAX; +#[derive(Resource)] pub struct MusicChannel; +#[derive(Resource)] pub struct EffectsChannel; pub fn set_audio_channels_volume( @@ -137,7 +139,7 @@ pub fn stop_menu_music(music_channel: Res>) { } pub fn play_level_music( - level_handle: Res>, + level_handle: Res, assets: Res>, music_channel: Res>, ) { diff --git a/src/collision.rs b/src/collision.rs index 0bc58aee..fa6ea466 100644 --- a/src/collision.rs +++ b/src/collision.rs @@ -13,13 +13,13 @@ impl BodyLayers { // The layer is represented by 1 shifted 0 places to the left: 0b0001. // The second layer is represented by 1 shifted one place to the left: 0b0010. // And so on for the rest of the layers. - pub const ENEMY: u32 = 1 << 0; - pub const PLAYER: u32 = 1 << 1; - pub const PLAYER_ATTACK: u32 = 1 << 2; - pub const ENEMY_ATTACK: u32 = 1 << 3; - pub const BREAKABLE_ITEM: u32 = 1 << 4; + pub const ENEMY: Group = Group::GROUP_1; + pub const PLAYER: Group = Group::GROUP_2; + pub const PLAYER_ATTACK: Group = Group::GROUP_3; + pub const ENEMY_ATTACK: Group = Group::GROUP_4; + pub const BREAKABLE_ITEM: Group = Group::GROUP_5; // u32::MAX is a u32 with all of it's bits set to 1, so this will contain all of the layers. - pub const ALL: u32 = u32::MAX; + pub const ALL: Group = Group::ALL; } #[derive(Bundle)] @@ -32,7 +32,7 @@ pub struct PhysicsBundle { } impl PhysicsBundle { - pub fn new(meta: &ColliderMeta, body_layers: u32) -> Self { + pub fn new(meta: &ColliderMeta, body_layers: Group) -> Self { PhysicsBundle { collider: (Collider::cuboid(meta.size.x / 2., meta.size.y / 2.)), sensor: Sensor, diff --git a/src/fighter.rs b/src/fighter.rs index f5b45c5a..3b2fed91 100644 --- a/src/fighter.rs +++ b/src/fighter.rs @@ -142,20 +142,22 @@ impl ActiveFighterBundle { }, }; let hurtbox = commands - .spawn_bundle(PhysicsBundle::new(&fighter.hurtbox, body_layers)) - .insert_bundle(TransformBundle::from_transform(Transform::from_xyz( - 0.0, - fighter.collision_offset, - 0.0, - ))) - .insert(Hurtbox) + .spawn(( + PhysicsBundle::new(&fighter.hurtbox, body_layers), + TransformBundle::from_transform(Transform::from_xyz( + 0.0, + fighter.collision_offset, + 0.0, + )), + Hurtbox, + )) .id(); let animated_spritesheet_bundle = active_fighter_bundle.animated_spritesheet_bundle.clone(); commands .entity(entity) - .insert_bundle(active_fighter_bundle) + .insert(active_fighter_bundle) .push_children(&[hurtbox]); if let Some(attachment) = &fighter.attachment { @@ -179,7 +181,7 @@ impl ActiveFighterBundle { attachment_spritesheet.sprite_sheet.sprite.anchor = bevy::sprite::Anchor::Center; let attachment_ent = commands - .spawn_bundle(attachment_spritesheet) + .spawn(attachment_spritesheet) .insert(Attached { position_face: false, sync_animation: true, diff --git a/src/fighter_state.rs b/src/fighter_state.rs index f109953d..d03bfa15 100644 --- a/src/fighter_state.rs +++ b/src/fighter_state.rs @@ -49,7 +49,7 @@ impl Plugin for FighterStatePlugin { .with_system(collect_hitstuns) .with_system(collect_player_actions) .with_system( - enemy_ai::set_target_near_player.chain(enemy_ai::emit_enemy_intents), + enemy_ai::set_target_near_player.pipe(enemy_ai::emit_enemy_intents), ) .into(), ) @@ -477,7 +477,7 @@ fn collect_hitstuns( HitStun { //Hit stun velocity feels strange right now velocity: event.damage_velocity, - timer: Timer::from_seconds(event.hitstun_duration, false), + timer: Timer::from_seconds(event.hitstun_duration, TimerMode::Once), }, HitStun::PRIORITY, false, @@ -820,7 +820,7 @@ fn flopping( // Spawn the attack entity let attack_entity = commands - .spawn_bundle(TransformBundle::from_transform( + .spawn(TransformBundle::from_transform( Transform::from_translation(offset.extend(0.0)), )) .insert(CollisionGroups::new( @@ -976,7 +976,7 @@ fn chaining( offset.y += fighter.collision_offset; // Spawn the attack entity let attack_entity = commands - .spawn_bundle(TransformBundle::from_transform( + .spawn(TransformBundle::from_transform( Transform::from_translation(offset.extend(0.0)), )) .insert(CollisionGroups::new( @@ -1073,7 +1073,7 @@ fn punching( let attack_frames = attack.frames; // Spawn the attack entity let attack_entity = commands - .spawn_bundle(TransformBundle::from_transform( + .spawn(TransformBundle::from_transform( Transform::from_translation(offset.extend(0.0)), )) .insert(CollisionGroups::new( @@ -1168,7 +1168,7 @@ fn ground_slam( // Spawn the attack entity let attack_entity = commands - .spawn_bundle(TransformBundle::from_transform( + .spawn(TransformBundle::from_transform( Transform::from_translation(offset.extend(0.0)), )) .insert(CollisionGroups::new( @@ -1332,10 +1332,13 @@ fn bomb_throw( { // Spawn bomb commands - .spawn_bundle(AnimatedProjectile::new(0, facing, animated_sprite.clone())) + .spawn(AnimatedProjectile::new(0, facing, animated_sprite.clone())) .insert(Explodable { attack: attack.clone(), - timer: Timer::from_seconds(consts::THROW_ITEM_LIFETIME, false), + timer: Timer::from_seconds( + consts::THROW_ITEM_LIFETIME, + TimerMode::Once, + ), fusing: false, animated_sprite, explosion_frames: *attack_frames, @@ -1467,7 +1470,7 @@ fn throwing( match &item_meta.kind { ItemKind::Throwable { .. } => { // Throw the item! - commands.spawn_bundle(Projectile::from_thrown_item( + commands.spawn(Projectile::from_thrown_item( fighter_transform.translation + consts::THROW_ITEM_OFFSET.extend(0.0), &item_meta, facing, @@ -1483,7 +1486,7 @@ fn throwing( ref item_handle, .. } => { commands - .spawn_bundle(Projectile::from_thrown_item( + .spawn(Projectile::from_thrown_item( fighter_transform.translation + consts::THROW_ITEM_OFFSET.extend(0.0), &item_meta, facing, @@ -1512,7 +1515,7 @@ fn throwing( item: String::new(), item_handle: items_assets.add(item_meta.clone()), }; - let item_commands = commands.spawn_bundle(ItemBundle::new(&item_spawn_meta)); + let item_commands = commands.spawn(ItemBundle::new(&item_spawn_meta)); ItemBundle::spawn( item_commands, &item_spawn_meta, @@ -1540,7 +1543,7 @@ fn throwing( item: String::new(), item_handle: items_assets.add(item_meta.clone()), }; - let item_commands = commands.spawn_bundle(ItemBundle::new(&item_spawn_meta)); + let item_commands = commands.spawn(ItemBundle::new(&item_spawn_meta)); ItemBundle::spawn( item_commands, &item_spawn_meta, @@ -1676,23 +1679,24 @@ fn grabbing( Some("idle".to_string()); let weapon = commands - .spawn() - .insert(MeleeWeapon { - audio: audio.clone(), - attack: attack.clone(), - }) - //need this because of hierarchy check in hitbox activation system, - //consider rearchitecting - .insert(AvailableAttacks { - attacks: vec![attack.clone()], - }) - .insert_bundle(animated_sprite) - .insert(Attached { - position_face: true, - sync_facing: true, - sync_animation: false, - }) - .insert(Facing::default()) + .spawn(( + MeleeWeapon { + audio: audio.clone(), + attack: attack.clone(), + }, + //need this because of hierarchy check in hitbox activation system, + //consider rearchitecting + AvailableAttacks { + attacks: vec![attack.clone()], + }, + animated_sprite, + Attached { + position_face: true, + sync_facing: true, + sync_animation: false, + }, + Facing::default(), + )) .id(); commands.entity(fighter_ent).add_child(weapon); } @@ -1735,27 +1739,29 @@ fn grabbing( animated_sprite.animation.current_animation = Some("idle".to_string()); - let mut shoot_timer = Timer::from_seconds(*shoot_delay, false); + let mut shoot_timer = + Timer::from_seconds(*shoot_delay, TimerMode::Once); shoot_timer.set_elapsed(Duration::from_secs_f32(*shoot_delay)); let weapon = commands - .spawn() - .insert(ProjectileWeapon { - attack: attack.clone(), - animated_sprite: animated_sprite.clone(), - audio: audio.clone(), - bullet_velocity: *bullet_velocity, - bullet_lifetime: *bullet_lifetime, - ammo: *ammo, - shoot_delay: shoot_timer, - }) - .insert_bundle(animated_sprite) - .insert(Attached { - position_face: true, - sync_facing: true, - sync_animation: false, - }) - .insert(Facing::default()) + .spawn(( + ProjectileWeapon { + attack: attack.clone(), + animated_sprite: animated_sprite.clone(), + audio: audio.clone(), + bullet_velocity: *bullet_velocity, + bullet_lifetime: *bullet_lifetime, + ammo: *ammo, + shoot_delay: shoot_timer, + }, + animated_sprite, + Attached { + position_face: true, + sync_facing: true, + sync_animation: false, + }, + Facing::default(), + )) .id(); commands.entity(fighter_ent).add_child(weapon); } @@ -1798,17 +1804,18 @@ fn holding( .image; let child = commands - .spawn() - .insert_bundle(SpriteBundle { - texture: image.image_handle.clone(), - transform: Transform::from_xyz( - 0., - consts::THROW_ITEM_OFFSET.y + image.image_size.y, - consts::PROJECTILE_Z, - ), - ..default() - }) - .insert(BeingHeld) + .spawn(( + SpriteBundle { + texture: image.image_handle.clone(), + transform: Transform::from_xyz( + 0., + consts::THROW_ITEM_OFFSET.y + image.image_size.y, + consts::PROJECTILE_Z, + ), + ..default() + }, + BeingHeld, + )) .id(); commands.entity(entity).add_child(child); } @@ -1860,7 +1867,7 @@ fn melee_attacking( let attack_frames = attack.frames; // Spawn the attack entity let attack_entity = commands - .spawn_bundle(TransformBundle::from_transform( + .spawn(TransformBundle::from_transform( Transform::from_translation(offset.extend(0.0)), )) .insert(CollisionGroups::new( @@ -1967,11 +1974,7 @@ fn shooting( animated_sprite.sprite_sheet.sprite.flip_x = facing.is_left(); animated_sprite.animation.play("shooting_particles", false); - let weapon_particles = commands - .spawn() - .insert_bundle(animated_sprite.clone()) - .insert(Particle) - .id(); + let weapon_particles = commands.spawn((animated_sprite.clone(), Particle)).id(); commands.entity(weapon_ent).add_child(weapon_particles); //Sound @@ -2007,7 +2010,7 @@ fn shooting( ); let bullet_attack = commands - .spawn_bundle(TransformBundle::from_transform( + .spawn(TransformBundle::from_transform( Transform::from_translation( (attack.hitbox.offset * direction_mul).extend(0.0), ), @@ -2030,8 +2033,11 @@ fn shooting( .id(); commands - .spawn_bundle(animated_sprite) - .insert(Lifetime(Timer::from_seconds(weapon.bullet_lifetime, false))) + .spawn(animated_sprite) + .insert(Lifetime(Timer::from_seconds( + weapon.bullet_lifetime, + TimerMode::Once, + ))) .insert(LinearVelocity( Vec2::new(weapon.bullet_velocity, 0.) * direction_mul, )) diff --git a/src/item.rs b/src/item.rs index d55a9f40..b8285173 100644 --- a/src/item.rs +++ b/src/item.rs @@ -67,7 +67,7 @@ impl ItemBundle { item_spawn_meta.location + ground_offset, )); - commands.insert_bundle(transform_bundle); + commands.insert(transform_bundle); let mut item = None; let item_meta = items_assets @@ -85,9 +85,7 @@ impl ItemBundle { let mut physics_bundle = PhysicsBundle::new(hurtbox, BodyLayers::BREAKABLE_ITEM); physics_bundle.collision_groups.filters = BodyLayers::PLAYER_ATTACK; - commands - .insert_bundle(physics_bundle) - .insert(Breakable::new(*hits, false)); + commands.insert((physics_bundle, Breakable::new(*hits, false))); } ItemKind::Script { script_handle, .. } => { active_scripts.insert(script_handle.clone()); @@ -167,7 +165,10 @@ impl Projectile { BodyLayers::PLAYER_ATTACK, BodyLayers::ENEMY | BodyLayers::BREAKABLE_ITEM, ), - lifetime: Lifetime(Timer::from_seconds(consts::THROW_ITEM_LIFETIME, false)), + lifetime: Lifetime(Timer::from_seconds( + consts::THROW_ITEM_LIFETIME, + TimerMode::Once, + )), breakable: Breakable::new(0, false), } } @@ -207,7 +208,7 @@ fn drop_system( item: String::new(), item_handle: items_assets.add(drop.item.clone()), }; - let item_commands = commands.spawn_bundle(ItemBundle::new(&item_spawn_meta)); + let item_commands = commands.spawn(ItemBundle::new(&item_spawn_meta)); ItemBundle::spawn( item_commands, &item_spawn_meta, @@ -293,27 +294,25 @@ fn explodable_system( * animated_sprite.animation.timer.duration().as_secs_f32(); let attack_ent = commands - .spawn() - .insert(Sensor) - .insert(ActiveEvents::COLLISION_EVENTS) - .insert(ActiveCollisionTypes::default() | ActiveCollisionTypes::STATIC_STATIC) - .insert(CollisionGroups::new( - BodyLayers::ENEMY_ATTACK, - BodyLayers::PLAYER, + .spawn(( + Sensor, + ActiveEvents::COLLISION_EVENTS, + ActiveCollisionTypes::default() | ActiveCollisionTypes::STATIC_STATIC, + CollisionGroups::new(BodyLayers::ENEMY_ATTACK, BodyLayers::PLAYER), + Attack { + damage: attack.damage, + velocity: attack.velocity.unwrap_or(Vec2::ZERO), + hitstun_duration: attack.hitstun_duration, + hitbox_meta: Some(explodable.attack.hitbox), + }, + explodable.explosion_frames, + transform, )) - .insert(Attack { - damage: attack.damage, - velocity: attack.velocity.unwrap_or(Vec2::ZERO), - hitstun_duration: attack.hitstun_duration, - hitbox_meta: Some(explodable.attack.hitbox), - }) - .insert(explodable.explosion_frames) - .insert(transform) .id(); commands - .spawn_bundle(animated_sprite) - .insert(Lifetime(Timer::from_seconds(seconds, false))) + .spawn(animated_sprite) + .insert(Lifetime(Timer::from_seconds(seconds, TimerMode::Once))) .insert(explodable) .push_children(&[attack_ent]); } diff --git a/src/loading.rs b/src/loading.rs index cfb4dce2..b349c52b 100644 --- a/src/loading.rs +++ b/src/loading.rs @@ -7,12 +7,16 @@ use rand::seq::SliceRandom; use crate::{ animation::Animation, + assets::EguiFontDefinitions, config::ENGINE_CONFIG, enemy::{Boss, Enemy, EnemyBundle}, fighter::ActiveFighterBundle, input::MenuAction, item::ItemBundle, - metadata::{BorderImageMeta, FighterMeta, GameMeta, ItemMeta, LevelMeta, Settings}, + metadata::{ + BorderImageMeta, FighterMeta, GameHandle, GameMeta, ItemMeta, LevelHandle, LevelMeta, + Settings, + }, platform::Storage, player::{Player, PlayerBundle}, GameState, Stats, @@ -67,7 +71,7 @@ impl Plugin for LoadingPlugin { // Condition system used to make sure game assets have loaded fn game_assets_loaded( - game_handle: Res>, + game_handle: Res, loading_resources: LoadingResources, game_assets: Res>, ) -> bool { @@ -93,7 +97,7 @@ pub struct GameLoader<'w, 's> { skip_next_asset_update_event: Local<'s, bool>, camera: Query<'w, 's, Entity, With>, commands: Commands<'w, 's>, - game_handle: Res<'w, Handle>, + game_handle: Res<'w, GameHandle>, assets: ResMut<'w, Assets>, egui_ctx: ResMut<'w, EguiContext>, events: EventReader<'w, 's, AssetEvent>, @@ -150,7 +154,7 @@ impl<'w, 's> GameLoader<'w, 's> { egui_fonts.families.insert(font_family, vec![]); } egui_ctx.ctx_mut().set_fonts(egui_fonts.clone()); - commands.insert_resource(egui_fonts); + commands.insert_resource(EguiFontDefinitions(egui_fonts)); // Transition to the main menu when we are done commands.insert_resource(NextState(GameState::MainMenu)); @@ -168,14 +172,14 @@ impl<'w, 's> GameLoader<'w, 's> { // camera_bundle.orthographic_projection.depth_calculation = DepthCalculation::Distance; camera_bundle.projection.scaling_mode = ScalingMode::FixedVertical(game.camera_height as f32); - commands - .spawn_bundle(camera_bundle) - .insert(ParallaxCameraComponent) - // We also add another input manager bundle for `MenuAction`s - .insert_bundle(InputManagerBundle { + commands.spawn(( + camera_bundle, + ParallaxCameraComponent, + InputManagerBundle { input_map: menu_input_map(), ..default() - }); + }, + )); // Helper to load border images let mut load_border_image = |border: &mut BorderImageMeta| { @@ -204,7 +208,6 @@ impl<'w, 's> GameLoader<'w, 's> { // Insert the game resource commands.insert_resource(game.clone()); - commands.insert_resource(game.start_level.clone()); // If the game asset isn't loaded yet } else { @@ -320,7 +323,7 @@ fn hot_reload_game(loader: GameLoader) { /// A [`Handle`] resource must be inserted before running this system, to indicate which /// level to load. fn load_level( - level_handle: Res>, + level_handle: Res, mut commands: Commands, assets: Res>, mut items_assets: ResMut>, @@ -359,7 +362,7 @@ fn load_level( // Spawn the players for (i, player) in level.players.iter().enumerate() { - commands.spawn_bundle(PlayerBundle::new( + commands.spawn(PlayerBundle::new( player, i, &game, @@ -369,7 +372,7 @@ fn load_level( // Spawn the enemies for enemy in &level.enemies { - let mut ec = commands.spawn_bundle(EnemyBundle::new(enemy)); + let mut ec = commands.spawn(EnemyBundle::new(enemy)); if enemy.boss { ec.insert(Boss); @@ -378,7 +381,7 @@ fn load_level( // Spawn the items for item_spawn_meta in &level.items { - let item_commands = commands.spawn_bundle(ItemBundle::new(item_spawn_meta)); + let item_commands = commands.spawn(ItemBundle::new(item_spawn_meta)); ItemBundle::spawn( item_commands, item_spawn_meta, @@ -400,7 +403,7 @@ fn hot_reload_level( mut parallax: ResMut, mut events: EventReader>, mut texture_atlases: ResMut>, - level_handle: Res>, + level_handle: Res, assets: Res>, asset_server: Res, windows: Res, @@ -408,7 +411,7 @@ fn hot_reload_level( for event in events.iter() { if let AssetEvent::Modified { handle } = event { let level = assets.get(handle).unwrap(); - if handle == &*level_handle { + if handle == &**level_handle { // Update the level background let window = windows.primary(); parallax.despawn_layers(&mut commands); @@ -429,7 +432,7 @@ fn load_items( ) { for (entity, transform, item_handle) in item_spawns.iter() { if let Some(item_meta) = item_assets.get(item_handle) { - commands.entity(entity).insert_bundle(SpriteBundle { + commands.entity(entity).insert(SpriteBundle { texture: item_meta.image.image_handle.clone(), transform: *transform, ..default() diff --git a/src/localization.rs b/src/localization.rs index de1994b1..59f4bc7a 100644 --- a/src/localization.rs +++ b/src/localization.rs @@ -1,10 +1,9 @@ use std::borrow::Borrow; use bevy::{prelude::*, utils::HashMap}; -use bevy_fluent::{ - exts::fluent::content::Request, BundleAsset, Content, FluentPlugin, Locale, Localization, -}; +use bevy_fluent::{BundleAsset, FluentPlugin, Locale, Localization}; use fluent::FluentArgs; +use fluent_content::{Content, Request}; /// Plugin for initializing and loading the [`Localization`] resource. pub struct LocalizationPlugin; diff --git a/src/main.rs b/src/main.rs index 01c7ae13..e220159f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,9 +2,7 @@ #![allow(clippy::forget_non_drop)] #![allow(clippy::too_many_arguments)] -use bevy::{ - asset::AssetServerSettings, log::LogSettings, prelude::*, render::texture::ImageSettings, -}; +use bevy::prelude::*; use bevy_parallax::{ParallaxPlugin, ParallaxResource}; use bevy_rapier2d::prelude::*; use fighter::Stats; @@ -16,9 +14,6 @@ use player::*; use bevy_inspector_egui::{WorldInspectorParams, WorldInspectorPlugin}; use bevy_inspector_egui_rapier::InspectableRapierPlugin; -#[cfg(feature = "schedule_graph")] -use bevy::log::LogPlugin; - mod animation; mod assets; mod attack; @@ -57,8 +52,8 @@ use utils::ResetController; use crate::{ damage::DamagePlugin, fighter::FighterPlugin, fighter_state::FighterStatePlugin, input::PlayerAction, item::ItemPlugin, lifetime::LifetimePlugin, loading::LoadingPlugin, - localization::LocalizationPlugin, movement::MovementPlugin, platform::PlatformPlugin, - scripting::ScriptingPlugin, ui::debug_tools::YSortDebugPlugin, + localization::LocalizationPlugin, metadata::GameHandle, movement::MovementPlugin, + platform::PlatformPlugin, scripting::ScriptingPlugin, ui::debug_tools::YSortDebugPlugin, }; #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] @@ -78,35 +73,46 @@ fn main() { let engine_config = &*config::ENGINE_CONFIG; let mut app = App::new(); - app.insert_resource(WindowDescriptor { - title: "Fish Folk Punchy".to_string(), - scale_factor_override: Some(1.0), - ..default() - }) - .insert_resource(ImageSettings::default_nearest()); - - // Configure log level - app.insert_resource(LogSettings { - filter: engine_config.log_level.clone(), - ..default() - }); - // Configure asset server - let mut asset_server_settings = AssetServerSettings { - watch_for_changes: engine_config.hot_reload, - ..default() - }; - if let Some(asset_dir) = &engine_config.asset_dir { - asset_server_settings.asset_folder = asset_dir.clone(); - } - app.insert_resource(asset_server_settings); - // Add default plugins - #[cfg(feature = "schedule_graph")] - app.add_plugins_with(DefaultPlugins, |plugins| { - plugins.disable::() + app.add_plugins({ + let mut builder = DefaultPlugins.build(); + + // Configure Window + builder = builder + .set(WindowPlugin { + window: WindowDescriptor { + title: "Fish Folk Punchy".to_string(), + scale_factor_override: Some(1.0), + ..default() + }, + ..default() + }) + .set(ImagePlugin::default_nearest()); + + // Configure asset server + let mut asset_plugin = AssetPlugin { + watch_for_changes: engine_config.hot_reload, + ..default() + }; + if let Some(asset_folder) = &engine_config.asset_dir { + asset_plugin.asset_folder = asset_folder.clone(); + } + builder = builder.set(asset_plugin); + + // Configure log level + builder = builder.set(bevy::log::LogPlugin { + filter: engine_config.log_level.clone(), + ..default() + }); + + #[cfg(feature = "schedule_graph")] + { + builder.disable::() + } + + #[cfg(not(feature = "schedule_graph"))] + builder }); - #[cfg(not(feature = "schedule_graph"))] - app.add_plugins(DefaultPlugins); // Add other systems and resources app.insert_resource(ClearColor(Color::BLACK)) @@ -176,7 +182,7 @@ fn main() { let game_handle: Handle = asset_server.load(game_asset); // Insert game handle resource - app.world.insert_resource(game_handle); + app.world.insert_resource(GameHandle(game_handle)); // Print the graphviz schedule graph #[cfg(feature = "schedule_graph")] diff --git a/src/metadata.rs b/src/metadata.rs index b207d318..d3724b34 100644 --- a/src/metadata.rs +++ b/src/metadata.rs @@ -1,6 +1,6 @@ use bevy::{ math::{UVec2, Vec2, Vec3}, - prelude::{Color, Component, Handle, Image}, + prelude::{Color, Component, Deref, DerefMut, Handle, Image, Resource}, reflect::{FromReflect, Reflect, TypeUuid}, sprite::TextureAtlas, utils::HashMap, @@ -23,7 +23,10 @@ pub mod ui; pub mod localization; pub use localization::TranslationsMeta; -#[derive(HasLoadProgress, TypeUuid, Deserialize, Clone, Debug)] +#[derive(Resource, Deref, DerefMut)] +pub struct GameHandle(pub Handle); + +#[derive(Resource, HasLoadProgress, TypeUuid, Deserialize, Clone, Debug)] #[serde(deny_unknown_fields)] #[uuid = "eb28180f-ef68-44a0-8479-a299a3cef66e"] pub struct GameMeta { @@ -68,7 +71,10 @@ pub struct ImageMeta { pub image_handle: Handle, } -#[derive(HasLoadProgress, TypeUuid, Deserialize, Clone, Debug)] +#[derive(Resource, Deref, DerefMut)] +pub struct LevelHandle(pub Handle); + +#[derive(Resource, HasLoadProgress, TypeUuid, Deserialize, Clone, Debug)] #[serde(deny_unknown_fields)] #[uuid = "32111f6e-bb9a-4ea7-8988-1220b923a059"] pub struct LevelMeta { diff --git a/src/movement.rs b/src/movement.rs index 0206111b..728dfd7f 100644 --- a/src/movement.rs +++ b/src/movement.rs @@ -53,8 +53,8 @@ impl Plugin for MovementPlugin { // the chain with the velocity system itself which applies the velocities to the // entities. update_left_movement_boundary - .chain(constrain_player_movement) - .chain(velocity_system), + .pipe(constrain_player_movement) + .pipe(velocity_system), ) .with_system(angular_velocity_system) .into(), @@ -126,7 +126,7 @@ pub fn torque_system(mut query: Query<(&mut AngularVelocity, &Torque)>, time: Re } // (Moving) bondary before which, the players can't go back. -#[derive(Component)] +#[derive(Resource)] pub struct LeftMovementBoundary(f32); impl Default for LeftMovementBoundary { diff --git a/src/platform.rs b/src/platform.rs index a6a78c87..45be2eef 100644 --- a/src/platform.rs +++ b/src/platform.rs @@ -55,6 +55,7 @@ pub fn load_storage( type StorageData = HashMap; /// Resource for accessing platform specific persistent storage apis through a simple interface. +#[derive(Resource)] pub struct Storage { /// The in-memory storage data that we operate on when getting and setting values. data: Option, diff --git a/src/scripting.rs b/src/scripting.rs index fd5744ea..99250a87 100644 --- a/src/scripting.rs +++ b/src/scripting.rs @@ -10,6 +10,6 @@ impl Plugin for ScriptingPlugin { let custom_ops = ops::get_ops(); app.insert_non_send_resource(JsRuntimeConfig { custom_ops }) - .add_plugin(JsScriptingPlugin); + .add_plugin(JsScriptingPlugin::default()); } } diff --git a/src/scripting/ops.rs b/src/scripting/ops.rs index e86704c1..8760e0fa 100644 --- a/src/scripting/ops.rs +++ b/src/scripting/ops.rs @@ -120,7 +120,7 @@ impl JsRuntimeOp for ItemGetGrabEvents { .collect::>(); // Return the list of events to JS - Ok(serde_json::to_value(&events)?) + Ok(serde_json::to_value(events)?) } ) } diff --git a/src/ui.rs b/src/ui.rs index 7dcd8c14..f74d29a6 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -1,10 +1,14 @@ use bevy::{prelude::*, utils::HashMap, window::WindowId}; -use bevy_egui::{egui, EguiContext, EguiInput, EguiPlugin, EguiSettings}; +use bevy_egui::{egui, EguiContext, EguiPlugin, EguiRenderInputContainer, EguiSettings}; use iyes_loopless::prelude::*; use leafwing_input_manager::prelude::ActionState; use crate::{ - assets::EguiFont, audio, config::ENGINE_CONFIG, input::MenuAction, metadata::GameMeta, + assets::{EguiFont, EguiFontDefinitions}, + audio, + config::ENGINE_CONFIG, + input::MenuAction, + metadata::GameMeta, GameState, }; @@ -79,7 +83,7 @@ fn unpause(mut commands: Commands, input: Query<&ActionState>) { /// /// This is used to figure out which widget to focus on next when you press a direction on the /// gamepad, for instance. -#[derive(Debug, Clone, Default)] +#[derive(Debug, Clone, Default, Resource)] pub struct WidgetAdjacencies(HashMap); impl std::ops::Deref for WidgetAdjacencies { @@ -149,11 +153,10 @@ impl<'a> WidgetAdjacencyEntry<'a> { fn handle_menu_input( mut windows: ResMut, input: Query<&ActionState>, - mut egui_inputs: ResMut>, + mut egui_inputs: ResMut, adjacencies: Res, mut egui_ctx: ResMut, ) { - use bevy::window::WindowMode; let input = input.single(); // Handle fullscreen toggling @@ -166,11 +169,7 @@ fn handle_menu_input( } } - let events = &mut egui_inputs - .get_mut(&WindowId::primary()) - .unwrap() - .raw_input - .events; + let events = &mut egui_inputs.get_mut(&WindowId::primary()).unwrap().0.events; if input.just_pressed(MenuAction::Confirm) { events.push(egui::Event::Key { @@ -235,7 +234,7 @@ fn handle_menu_input( fn update_egui_fonts( mut font_queue: Local>>, mut egui_ctx: ResMut, - egui_font_definitions: Option>, + egui_font_definitions: Option>, game: Option>, mut events: EventReader>, assets: Res>, @@ -279,7 +278,7 @@ fn update_egui_fonts( .unwrap() .push(font_name); - ctx.set_fonts(egui_font_definitions.clone()); + ctx.set_fonts(egui_font_definitions.get_fonts().clone()); } } } diff --git a/src/ui/debug_tools.rs b/src/ui/debug_tools.rs index 1afbb2f5..8599ede7 100644 --- a/src/ui/debug_tools.rs +++ b/src/ui/debug_tools.rs @@ -192,6 +192,7 @@ impl Plugin for YSortDebugPlugin { } } +#[derive(Resource)] pub struct YSortDebug { enabled: bool, stroke: egui::Stroke, diff --git a/src/ui/main_menu.rs b/src/ui/main_menu.rs index 7f54228d..2379109b 100644 --- a/src/ui/main_menu.rs +++ b/src/ui/main_menu.rs @@ -1,6 +1,7 @@ use bevy::{app::AppExit, ecs::system::SystemParam, prelude::*}; use bevy_egui::{egui::style::Margin, *}; use bevy_fluent::Localization; +use egui_extras::Column; use iyes_loopless::state::NextState; use leafwing_input_manager::{ axislike::SingleAxis, prelude::ActionState, user_input::InputKind, Actionlike, @@ -10,7 +11,7 @@ use crate::{ config::ENGINE_CONFIG, input::MenuAction, localization::LocalizationExt, - metadata::{ButtonStyle, FontStyle, GameMeta, Settings}, + metadata::{ButtonStyle, FontStyle, GameMeta, LevelHandle, Settings}, platform::Storage, GameState, }; @@ -36,7 +37,7 @@ pub fn spawn_main_menu_background( let height = window.height(); let width = height * ratio; commands - .spawn_bundle(SpriteBundle { + .spawn(SpriteBundle { texture: bg_handle, sprite: Sprite { custom_size: Some(Vec2::new(width, height)), @@ -187,7 +188,7 @@ fn main_menu_ui(params: &mut MenuSystemParams, ui: &mut egui::Ui) { .focus_by_default(ui); if start_button.clicked() || ENGINE_CONFIG.auto_start { - commands.insert_resource(game.start_level_handle.clone()); + commands.insert_resource(LevelHandle(game.start_level_handle.clone())); commands.insert_resource(NextState(GameState::LoadingLevel)); } @@ -376,8 +377,6 @@ fn controls_settings_ui( settings_tabs: &[egui::Response], bottom_buttons: &[egui::Response], ) { - use egui_extras::Size; - let ui_theme = ¶ms.game.ui_theme; // Reset the settings when reset button is clicked @@ -477,10 +476,10 @@ fn controls_settings_ui( .cell_layout(egui::Layout::centered_and_justified( egui::Direction::LeftToRight, )) - .column(Size::exact(label_font.size * 7.0)) - .column(Size::remainder()) - .column(Size::remainder()) - .column(Size::remainder()) + .column(Column::exact(label_font.size * 7.0)) + .column(Column::remainder()) + .column(Column::remainder()) + .column(Column::remainder()) .header(bigger_font.size * 1.5, |mut row| { row.col(|ui| { ui.themed_label(&bigger_font, ¶ms.localization.get("action"));