diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..53ed0d7 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,4509 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "ab_glyph" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01c0457472c38ea5bd1c3b5ada5e368271cb550be7a4ca4a0b4634e9913f6cc2" +dependencies = [ + "ab_glyph_rasterizer", + "owned_ttf_parser", +] + +[[package]] +name = "ab_glyph_rasterizer" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618" + +[[package]] +name = "accesskit" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99b76d84ee70e30a4a7e39ab9018e2b17a6a09e31084176cc7c0b2dec036ba45" + +[[package]] +name = "accesskit_atspi_common" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5393c75d4666f580f4cac0a968bc97c36076bb536a129f28210dac54ee127ed" +dependencies = [ + "accesskit", + "accesskit_consumer", + "atspi-common", + "serde", + "thiserror 1.0.69", + "zvariant", +] + +[[package]] +name = "accesskit_consumer" +version = "0.24.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a12dc159d52233c43d9fe5415969433cbdd52c3d6e0df51bda7d447427b9986" +dependencies = [ + "accesskit", + "immutable-chunkmap", +] + +[[package]] +name = "accesskit_macos" +version = "0.17.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfc6c1ecd82053d127961ad80a8beaa6004fb851a3a5b96506d7a6bd462403f6" +dependencies = [ + "accesskit", + "accesskit_consumer", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", + "once_cell", +] + +[[package]] +name = "accesskit_unix" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be7f5cf6165be10a54b2655fa2e0e12b2509f38ed6fc43e11c31fdb7ee6230bb" +dependencies = [ + "accesskit", + "accesskit_atspi_common", + "async-channel", + "async-executor", + "async-task", + "atspi", + "futures-lite", + "futures-util", + "serde", + "zbus", +] + +[[package]] +name = "accesskit_windows" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "974e96c347384d9133427167fb8a58c340cb0496988dacceebdc1ed27071023b" +dependencies = [ + "accesskit", + "accesskit_consumer", + "paste", + "static_assertions", + "windows 0.58.0", + "windows-core 0.58.0", +] + +[[package]] +name = "accesskit_winit" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aea3522719f1c44564d03e9469a8e2f3a98b3a8a880bd66d0789c6b9c4a669dd" +dependencies = [ + "accesskit", + "accesskit_macos", + "accesskit_unix", + "accesskit_windows", + "raw-window-handle", + "winit", +] + +[[package]] +name = "adler2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + +[[package]] +name = "ahash" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" +dependencies = [ + "cfg-if", + "getrandom 0.3.4", + "once_cell", + "version_check", + "zerocopy", +] + +[[package]] +name = "android-activity" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f2a1bb052857d5dd49572219344a7332b31b76405648eabac5bc68978251bcd" +dependencies = [ + "android-properties", + "bitflags 2.11.1", + "cc", + "jni", + "libc", + "log", + "ndk", + "ndk-context", + "ndk-sys 0.6.0+11769913", + "num_enum", + "thiserror 2.0.18", +] + +[[package]] +name = "android-properties" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04" + +[[package]] +name = "android_system_properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +dependencies = [ + "libc", +] + +[[package]] +name = "anstream" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" + +[[package]] +name = "anstyle-parse" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" +dependencies = [ + "anstyle", + "once_cell_polyfill", + "windows-sys 0.61.2", +] + +[[package]] +name = "anyhow" +version = "1.0.102" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" + +[[package]] +name = "arboard" +version = "3.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0348a1c054491f4bfe6ab86a7b6ab1e44e45d899005de92f58b3df180b36ddaf" +dependencies = [ + "clipboard-win", + "log", + "objc2 0.6.4", + "objc2-app-kit 0.3.2", + "objc2-foundation 0.3.2", + "parking_lot", + "percent-encoding", + "windows-sys 0.60.2", + "x11rb", +] + +[[package]] +name = "arrayref" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" + +[[package]] +name = "arrayvec" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" + +[[package]] +name = "as-raw-xcb-connection" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "175571dd1d178ced59193a6fc02dde1b972eb0bc56c892cde9beeceac5bf0f6b" + +[[package]] +name = "ash" +version = "0.38.0+1.3.281" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f" +dependencies = [ + "libloading", +] + +[[package]] +name = "async-broadcast" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532" +dependencies = [ + "event-listener", + "event-listener-strategy", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-channel" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" +dependencies = [ + "concurrent-queue", + "event-listener-strategy", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-executor" +version = "1.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c96bf972d85afc50bf5ab8fe2d54d1586b4e0b46c97c50a0c9e71e2f7bcd812a" +dependencies = [ + "async-task", + "concurrent-queue", + "fastrand", + "futures-lite", + "pin-project-lite", + "slab", +] + +[[package]] +name = "async-fs" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8034a681df4aed8b8edbd7fbe472401ecf009251c8b40556b304567052e294c5" +dependencies = [ + "async-lock", + "blocking", + "futures-lite", +] + +[[package]] +name = "async-io" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" +dependencies = [ + "autocfg", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite", + "parking", + "polling", + "rustix 1.1.4", + "slab", + "windows-sys 0.61.2", +] + +[[package]] +name = "async-lock" +version = "3.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311" +dependencies = [ + "event-listener", + "event-listener-strategy", + "pin-project-lite", +] + +[[package]] +name = "async-process" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75" +dependencies = [ + "async-channel", + "async-io", + "async-lock", + "async-signal", + "async-task", + "blocking", + "cfg-if", + "event-listener", + "futures-lite", + "rustix 1.1.4", +] + +[[package]] +name = "async-recursion" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "async-signal" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52b5aaafa020cf5053a01f2a60e8ff5dccf550f0f77ec54a4e47285ac2bab485" +dependencies = [ + "async-io", + "async-lock", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix 1.1.4", + "signal-hook-registry", + "slab", + "windows-sys 0.61.2", +] + +[[package]] +name = "async-task" +version = "4.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" + +[[package]] +name = "async-trait" +version = "0.1.89" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "atspi" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be534b16650e35237bb1ed189ba2aab86ce65e88cc84c66f4935ba38575cecbf" +dependencies = [ + "atspi-common", + "atspi-connection", + "atspi-proxies", +] + +[[package]] +name = "atspi-common" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1909ed2dc01d0a17505d89311d192518507e8a056a48148e3598fef5e7bb6ba7" +dependencies = [ + "enumflags2", + "serde", + "static_assertions", + "zbus", + "zbus-lockstep", + "zbus-lockstep-macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "atspi-connection" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "430c5960624a4baaa511c9c0fcc2218e3b58f5dbcc47e6190cafee344b873333" +dependencies = [ + "atspi-common", + "atspi-proxies", + "futures-lite", + "zbus", +] + +[[package]] +name = "atspi-proxies" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5e6c5de3e524cf967569722446bcd458d5032348554d9a17d7d72b041ab7496" +dependencies = [ + "atspi-common", + "serde", + "zbus", + "zvariant", +] + +[[package]] +name = "autocfg" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" + +[[package]] +name = "bit-set" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0481a0e032742109b1133a095184ee93d88f3dc9e0d28a5d033dc77a073f44f" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2c54ff287cfc0a34f38a6b832ea1bd8e448a330b3e40a50859e6488bee07f22" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" + +[[package]] +name = "block" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block2" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f" +dependencies = [ + "objc2 0.5.2", +] + +[[package]] +name = "blocking" +version = "1.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e83f8d02be6967315521be875afa792a316e28d57b5a2d401897e2a7921b7f21" +dependencies = [ + "async-channel", + "async-task", + "futures-io", + "futures-lite", + "piper", +] + +[[package]] +name = "bumpalo" +version = "3.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb" + +[[package]] +name = "bytemuck" +version = "1.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec" +dependencies = [ + "bytemuck_derive", +] + +[[package]] +name = "bytemuck_derive" +version = "1.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9abbd1bc6865053c427f7198e6af43bfdedc55ab791faed4fbd361d789575ff" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "byteorder-lite" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" + +[[package]] +name = "bytes" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" + +[[package]] +name = "calloop" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b99da2f8558ca23c71f4fd15dc57c906239752dd27ff3c00a1d56b685b7cbfec" +dependencies = [ + "bitflags 2.11.1", + "log", + "polling", + "rustix 0.38.44", + "slab", + "thiserror 1.0.69", +] + +[[package]] +name = "calloop" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dbf9978365bac10f54d1d4b04f7ce4427e51f71d61f2fe15e3fed5166474df7" +dependencies = [ + "bitflags 2.11.1", + "polling", + "rustix 1.1.4", + "slab", + "tracing", +] + +[[package]] +name = "calloop-wayland-source" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95a66a987056935f7efce4ab5668920b5d0dac4a7c99991a67395f13702ddd20" +dependencies = [ + "calloop 0.13.0", + "rustix 0.38.44", + "wayland-backend", + "wayland-client", +] + +[[package]] +name = "calloop-wayland-source" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138efcf0940a02ebf0cc8d1eff41a1682a46b431630f4c52450d6265876021fa" +dependencies = [ + "calloop 0.14.4", + "rustix 1.1.4", + "wayland-backend", + "wayland-client", +] + +[[package]] +name = "cc" +version = "1.2.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43c5703da9466b66a946814e1adf53ea2c90f10063b86290cc9eb67ce3478a20" +dependencies = [ + "find-msvc-tools", + "jobserver", + "libc", + "shlex", +] + +[[package]] +name = "cfg-if" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" + +[[package]] +name = "cfg_aliases" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" + +[[package]] +name = "cfg_aliases" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" + +[[package]] +name = "cgl" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ced0551234e87afee12411d535648dd89d2e7f34c78b753395567aff3d447ff" +dependencies = [ + "libc", +] + +[[package]] +name = "clap" +version = "4.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", +] + +[[package]] +name = "clap_derive" +version = "4.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "clap_lex" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" + +[[package]] +name = "clipboard-win" +version = "5.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bde03770d3df201d4fb868f2c9c59e66a3e4e2bd06692a0fe701e7103c7e84d4" +dependencies = [ + "error-code", +] + +[[package]] +name = "codespan-reporting" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" +dependencies = [ + "termcolor", + "unicode-width", +] + +[[package]] +name = "colorchoice" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" + +[[package]] +name = "com" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e17887fd17353b65b1b2ef1c526c83e26cd72e74f598a8dc1bee13a48f3d9f6" +dependencies = [ + "com_macros", +] + +[[package]] +name = "com_macros" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d375883580a668c7481ea6631fc1a8863e33cc335bf56bfad8d7e6d4b04b13a5" +dependencies = [ + "com_macros_support", + "proc-macro2", + "syn 1.0.109", +] + +[[package]] +name = "com_macros_support" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad899a1087a9296d5644792d7cb72b8e34c1bec8e7d4fbc002230169a6e8710c" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "combine" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "concurrent-queue" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "core-graphics" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081" +dependencies = [ + "bitflags 1.3.2", + "core-foundation 0.9.4", + "core-graphics-types", + "foreign-types", + "libc", +] + +[[package]] +name = "core-graphics-types" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf" +dependencies = [ + "bitflags 1.3.2", + "core-foundation 0.9.4", + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "crc32fast" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "cursor-icon" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f27ae1dd37df86211c42e150270f82743308803d90a6f6e6651cd730d5e1732f" + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", +] + +[[package]] +name = "dispatch" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" + +[[package]] +name = "dispatch2" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" +dependencies = [ + "bitflags 2.11.1", + "objc2 0.6.4", +] + +[[package]] +name = "displaydoc" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "dlib" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab8ecd87370524b461f8557c119c405552c396ed91fc0a8eec68679eab26f94a" +dependencies = [ + "libloading", +] + +[[package]] +name = "document-features" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" +dependencies = [ + "litrs", +] + +[[package]] +name = "downcast-rs" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" + +[[package]] +name = "dpi" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" + +[[package]] +name = "ecolor" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "775cfde491852059e386c4e1deb4aef381c617dc364184c6f6afee99b87c402b" +dependencies = [ + "bytemuck", + "emath", +] + +[[package]] +name = "eframe" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ac2645a9bf4826eb4e91488b1f17b8eaddeef09396706b2f14066461338e24f" +dependencies = [ + "ahash", + "bytemuck", + "document-features", + "egui", + "egui-wgpu", + "egui-winit", + "egui_glow", + "glow 0.14.2", + "glutin", + "glutin-winit", + "image", + "js-sys", + "log", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", + "parking_lot", + "percent-encoding", + "raw-window-handle", + "static_assertions", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "web-time", + "winapi", + "windows-sys 0.52.0", + "winit", +] + +[[package]] +name = "egui" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53eafabcce0cb2325a59a98736efe0bf060585b437763f8c476957fb274bb974" +dependencies = [ + "accesskit", + "ahash", + "emath", + "epaint", + "log", + "nohash-hasher", +] + +[[package]] +name = "egui-wgpu" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d00fd5d06d8405397e64a928fa0ef3934b3c30273ea7603e3dc4627b1f7a1a82" +dependencies = [ + "ahash", + "bytemuck", + "document-features", + "egui", + "epaint", + "log", + "thiserror 1.0.69", + "type-map", + "web-time", + "wgpu", + "winit", +] + +[[package]] +name = "egui-winit" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a9c430f4f816340e8e8c1b20eec274186b1be6bc4c7dfc467ed50d57abc36c6" +dependencies = [ + "accesskit_winit", + "ahash", + "arboard", + "egui", + "log", + "raw-window-handle", + "smithay-clipboard", + "web-time", + "webbrowser", + "winit", +] + +[[package]] +name = "egui_glow" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e39bccc683cd43adab530d8f21a13eb91e80de10bcc38c3f1c16601b6f62b26" +dependencies = [ + "ahash", + "bytemuck", + "egui", + "glow 0.14.2", + "log", + "memoffset", + "wasm-bindgen", + "web-sys", + "winit", +] + +[[package]] +name = "emath" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1fe0049ce51d0fb414d029e668dd72eb30bc2b739bf34296ed97bd33df544f3" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "endi" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099" + +[[package]] +name = "enumflags2" +version = "0.7.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1027f7680c853e056ebcec683615fb6fbbc07dbaa13b4d5d9442b146ded4ecef" +dependencies = [ + "enumflags2_derive", + "serde", +] + +[[package]] +name = "enumflags2_derive" +version = "0.7.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "epaint" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a32af8da821bd4f43f2c137e295459ee2e1661d87ca8779dfa0eaf45d870e20f" +dependencies = [ + "ab_glyph", + "ahash", + "bytemuck", + "ecolor", + "emath", + "epaint_default_fonts", + "log", + "nohash-hasher", + "parking_lot", +] + +[[package]] +name = "epaint_default_fonts" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "483440db0b7993cf77a20314f08311dbe95675092405518c0677aa08c151a3ea" + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "error-code" +version = "3.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dea2df4cf52843e0452895c455a1a2cfbb842a1e7329671acf418fdc53ed4c59" + +[[package]] +name = "event-listener" +version = "5.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" +dependencies = [ + "event-listener", + "pin-project-lite", +] + +[[package]] +name = "fastrand" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" + +[[package]] +name = "fdeflate" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c" +dependencies = [ + "simd-adler32", +] + +[[package]] +name = "find-msvc-tools" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" + +[[package]] +name = "flate2" +version = "1.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + +[[package]] +name = "foreign-types" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" +dependencies = [ + "foreign-types-macros", + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-macros" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "foreign-types-shared" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures-core" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" + +[[package]] +name = "futures-io" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718" + +[[package]] +name = "futures-lite" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "futures-sink" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" + +[[package]] +name = "futures-task" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" + +[[package]] +name = "futures-util" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" +dependencies = [ + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "gethostname" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8" +dependencies = [ + "rustix 1.1.4", + "windows-link", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi 5.3.0", + "wasip2", +] + +[[package]] +name = "getrandom" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555" +dependencies = [ + "cfg-if", + "libc", + "r-efi 6.0.0", + "wasip2", + "wasip3", +] + +[[package]] +name = "gl_generator" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" +dependencies = [ + "khronos_api", + "log", + "xml-rs", +] + +[[package]] +name = "glow" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd348e04c43b32574f2de31c8bb397d96c9fcfa1371bd4ca6d8bdc464ab121b1" +dependencies = [ + "js-sys", + "slotmap", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "glow" +version = "0.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d51fa363f025f5c111e03f13eda21162faeacb6911fe8caa0c0349f9cf0c4483" +dependencies = [ + "js-sys", + "slotmap", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "glutin" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12124de845cacfebedff80e877bb37b5b75c34c5a4c89e47e1cdd67fb6041325" +dependencies = [ + "bitflags 2.11.1", + "cfg_aliases 0.2.1", + "cgl", + "dispatch2", + "glutin_egl_sys", + "glutin_glx_sys", + "glutin_wgl_sys", + "libloading", + "objc2 0.6.4", + "objc2-app-kit 0.3.2", + "objc2-core-foundation", + "objc2-foundation 0.3.2", + "once_cell", + "raw-window-handle", + "wayland-sys", + "windows-sys 0.52.0", + "x11-dl", +] + +[[package]] +name = "glutin-winit" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85edca7075f8fc728f28cb8fbb111a96c3b89e930574369e3e9c27eb75d3788f" +dependencies = [ + "cfg_aliases 0.2.1", + "glutin", + "raw-window-handle", + "winit", +] + +[[package]] +name = "glutin_egl_sys" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c4680ba6195f424febdc3ba46e7a42a0e58743f2edb115297b86d7f8ecc02d2" +dependencies = [ + "gl_generator", + "windows-sys 0.52.0", +] + +[[package]] +name = "glutin_glx_sys" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7bb2938045a88b612499fbcba375a77198e01306f52272e692f8c1f3751185" +dependencies = [ + "gl_generator", + "x11-dl", +] + +[[package]] +name = "glutin_wgl_sys" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c4ee00b289aba7a9e5306d57c2d05499b2e5dc427f84ac708bd2c090212cf3e" +dependencies = [ + "gl_generator", +] + +[[package]] +name = "gpu-alloc" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbcd2dba93594b227a1f57ee09b8b9da8892c34d55aa332e034a228d0fe6a171" +dependencies = [ + "bitflags 2.11.1", + "gpu-alloc-types", +] + +[[package]] +name = "gpu-alloc-types" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98ff03b468aa837d70984d55f5d3f846f6ec31fe34bbb97c4f85219caeee1ca4" +dependencies = [ + "bitflags 2.11.1", +] + +[[package]] +name = "gpu-allocator" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdd4240fc91d3433d5e5b0fc5b67672d771850dc19bbee03c1381e19322803d7" +dependencies = [ + "log", + "presser", + "thiserror 1.0.69", + "winapi", + "windows 0.52.0", +] + +[[package]] +name = "gpu-descriptor" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b89c83349105e3732062a895becfc71a8f921bb71ecbbdd8ff99263e3b53a0ca" +dependencies = [ + "bitflags 2.11.1", + "gpu-descriptor-types", + "hashbrown 0.15.5", +] + +[[package]] +name = "gpu-descriptor-types" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdf242682df893b86f33a73828fb09ca4b2d3bb6cc95249707fc684d27484b91" +dependencies = [ + "bitflags 2.11.1", +] + +[[package]] +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "foldhash", +] + +[[package]] +name = "hashbrown" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51" + +[[package]] +name = "hassle-rs" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af2a7e73e1f34c48da31fb668a907f250794837e08faa144fd24f0b8b741e890" +dependencies = [ + "bitflags 2.11.1", + "com", + "libc", + "libloading", + "thiserror 1.0.69", + "widestring", + "winapi", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hermit-abi" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hexf-parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" + +[[package]] +name = "icu_collections" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38" + +[[package]] +name = "icu_properties" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de" +dependencies = [ + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14" + +[[package]] +name = "icu_provider" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "id-arena" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "image" +version = "0.25.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85ab80394333c02fe689eaf900ab500fbd0c2213da414687ebf995a65d5a6104" +dependencies = [ + "bytemuck", + "byteorder-lite", + "moxcms", + "num-traits", + "png", +] + +[[package]] +name = "immutable-chunkmap" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a3e98b1520e49e252237edc238a39869da9f3241f2ec19dc788c1d24694d1e4" +dependencies = [ + "arrayvec", +] + +[[package]] +name = "indexmap" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" +dependencies = [ + "equivalent", + "hashbrown 0.17.0", + "serde", + "serde_core", +] + +[[package]] +name = "infinity_config" +version = "0.1.0" +dependencies = [ + "serde", + "thiserror 1.0.69", + "toml", +] + +[[package]] +name = "infinity_host" +version = "0.1.0" +dependencies = [ + "clap", + "infinity_config", + "infinity_protocol", + "serde", + "serde_json", +] + +[[package]] +name = "infinity_host_ui" +version = "0.1.0" +dependencies = [ + "clap", + "eframe", + "infinity_config", + "infinity_host", +] + +[[package]] +name = "infinity_protocol" +version = "0.1.0" +dependencies = [ + "serde", +] + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "jni" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" +dependencies = [ + "cfg-if", + "combine", + "jni-macros", + "jni-sys 0.4.1", + "log", + "simd_cesu8", + "thiserror 2.0.18", + "walkdir", + "windows-link", +] + +[[package]] +name = "jni-macros" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "simd_cesu8", + "syn 2.0.117", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.117", +] + +[[package]] +name = "jobserver" +version = "0.1.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" +dependencies = [ + "getrandom 0.3.4", + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.95" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2964e92d1d9dc3364cae4d718d93f227e3abb088e747d92e0395bfdedf1c12ca" +dependencies = [ + "cfg-if", + "futures-util", + "once_cell", + "wasm-bindgen", +] + +[[package]] +name = "khronos-egl" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76" +dependencies = [ + "libc", + "libloading", + "pkg-config", +] + +[[package]] +name = "khronos_api" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" + +[[package]] +name = "leb128fmt" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" + +[[package]] +name = "libc" +version = "0.2.185" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ff2c0fe9bc6cb6b14a0592c2ff4fa9ceb83eea9db979b0487cd054946a2b8f" + +[[package]] +name = "libloading" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" +dependencies = [ + "cfg-if", + "windows-link", +] + +[[package]] +name = "libredox" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e02f3bb43d335493c96bf3fd3a321600bf6bd07ed34bc64118e9293bdffea46c" +dependencies = [ + "bitflags 2.11.1", + "libc", + "plain", + "redox_syscall 0.7.4", +] + +[[package]] +name = "linux-raw-sys" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "litemap" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0" + +[[package]] +name = "litrs" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" + +[[package]] +name = "malloc_buf" +version = "0.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" +dependencies = [ + "libc", +] + +[[package]] +name = "memchr" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" + +[[package]] +name = "memmap2" +version = "0.9.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "714098028fe011992e1c3962653c96b2d578c4b4bce9036e15ff220319b1e0e3" +dependencies = [ + "libc", +] + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "metal" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ecfd3296f8c56b7c1f6fbac3c71cefa9d78ce009850c45000015f206dc7fa21" +dependencies = [ + "bitflags 2.11.1", + "block", + "core-graphics-types", + "foreign-types", + "log", + "objc", + "paste", +] + +[[package]] +name = "miniz_oxide" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" +dependencies = [ + "adler2", + "simd-adler32", +] + +[[package]] +name = "moxcms" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb85c154ba489f01b25c0d36ae69a87e4a1c73a72631fc6c0eb6dde34a73e44b" +dependencies = [ + "num-traits", + "pxfm", +] + +[[package]] +name = "naga" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bd5a652b6faf21496f2cfd88fc49989c8db0825d1f6746b1a71a6ede24a63ad" +dependencies = [ + "arrayvec", + "bit-set", + "bitflags 2.11.1", + "cfg_aliases 0.1.1", + "codespan-reporting", + "hexf-parse", + "indexmap", + "log", + "rustc-hash 1.1.0", + "spirv", + "termcolor", + "thiserror 1.0.69", + "unicode-xid", +] + +[[package]] +name = "ndk" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" +dependencies = [ + "bitflags 2.11.1", + "jni-sys 0.3.1", + "log", + "ndk-sys 0.6.0+11769913", + "num_enum", + "raw-window-handle", + "thiserror 1.0.69", +] + +[[package]] +name = "ndk-context" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" + +[[package]] +name = "ndk-sys" +version = "0.5.0+25.2.9519653" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c196769dd60fd4f363e11d948139556a344e79d451aeb2fa2fd040738ef7691" +dependencies = [ + "jni-sys 0.3.1", +] + +[[package]] +name = "ndk-sys" +version = "0.6.0+11769913" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873" +dependencies = [ + "jni-sys 0.3.1", +] + +[[package]] +name = "nix" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" +dependencies = [ + "bitflags 2.11.1", + "cfg-if", + "cfg_aliases 0.2.1", + "libc", + "memoffset", +] + +[[package]] +name = "nohash-hasher" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_enum" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "objc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" +dependencies = [ + "malloc_buf", +] + +[[package]] +name = "objc-sys" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310" + +[[package]] +name = "objc2" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804" +dependencies = [ + "objc-sys", + "objc2-encode", +] + +[[package]] +name = "objc2" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a12a8ed07aefc768292f076dc3ac8c48f3781c8f2d5851dd3d98950e8c5a89f" +dependencies = [ + "objc2-encode", +] + +[[package]] +name = "objc2-app-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff" +dependencies = [ + "bitflags 2.11.1", + "block2", + "libc", + "objc2 0.5.2", + "objc2-core-data", + "objc2-core-image", + "objc2-foundation 0.2.2", + "objc2-quartz-core", +] + +[[package]] +name = "objc2-app-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" +dependencies = [ + "bitflags 2.11.1", + "objc2 0.6.4", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-cloud-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74dd3b56391c7a0596a295029734d3c1c5e7e510a4cb30245f8221ccea96b009" +dependencies = [ + "bitflags 2.11.1", + "block2", + "objc2 0.5.2", + "objc2-core-location", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-contacts" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5ff520e9c33812fd374d8deecef01d4a840e7b41862d849513de77e44aa4889" +dependencies = [ + "block2", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-core-data" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef" +dependencies = [ + "bitflags 2.11.1", + "block2", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags 2.11.1", + "dispatch2", + "objc2 0.6.4", +] + +[[package]] +name = "objc2-core-graphics" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" +dependencies = [ + "bitflags 2.11.1", + "dispatch2", + "objc2 0.6.4", + "objc2-core-foundation", + "objc2-io-surface", +] + +[[package]] +name = "objc2-core-image" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80" +dependencies = [ + "block2", + "objc2 0.5.2", + "objc2-foundation 0.2.2", + "objc2-metal", +] + +[[package]] +name = "objc2-core-location" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "000cfee34e683244f284252ee206a27953279d370e309649dc3ee317b37e5781" +dependencies = [ + "block2", + "objc2 0.5.2", + "objc2-contacts", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-foundation" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8" +dependencies = [ + "bitflags 2.11.1", + "block2", + "dispatch", + "libc", + "objc2 0.5.2", +] + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags 2.11.1", + "objc2 0.6.4", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-io-surface" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d" +dependencies = [ + "bitflags 2.11.1", + "objc2 0.6.4", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-link-presentation" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1a1ae721c5e35be65f01a03b6d2ac13a54cb4fa70d8a5da293d7b0020261398" +dependencies = [ + "block2", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-metal" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6" +dependencies = [ + "bitflags 2.11.1", + "block2", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-quartz-core" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a" +dependencies = [ + "bitflags 2.11.1", + "block2", + "objc2 0.5.2", + "objc2-foundation 0.2.2", + "objc2-metal", +] + +[[package]] +name = "objc2-symbols" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a684efe3dec1b305badae1a28f6555f6ddd3bb2c2267896782858d5a78404dc" +dependencies = [ + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-ui-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8bb46798b20cd6b91cbd113524c490f1686f4c4e8f49502431415f3512e2b6f" +dependencies = [ + "bitflags 2.11.1", + "block2", + "objc2 0.5.2", + "objc2-cloud-kit", + "objc2-core-data", + "objc2-core-image", + "objc2-core-location", + "objc2-foundation 0.2.2", + "objc2-link-presentation", + "objc2-quartz-core", + "objc2-symbols", + "objc2-uniform-type-identifiers", + "objc2-user-notifications", +] + +[[package]] +name = "objc2-uniform-type-identifiers" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44fa5f9748dbfe1ca6c0b79ad20725a11eca7c2218bceb4b005cb1be26273bfe" +dependencies = [ + "block2", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-user-notifications" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76cfcbf642358e8689af64cee815d139339f3ed8ad05103ed5eaf73db8d84cb3" +dependencies = [ + "bitflags 2.11.1", + "block2", + "objc2 0.5.2", + "objc2-core-location", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" + +[[package]] +name = "orbclient" +version = "0.3.51" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59aed3b33578edcfa1bc96a321d590d31832b6ad55a26f0313362ce687e9abd6" +dependencies = [ + "libc", + "libredox", +] + +[[package]] +name = "ordered-stream" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aa2b01e1d916879f73a53d01d1d6cee68adbb31d6d9177a8cfce093cced1d50" +dependencies = [ + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "owned_ttf_parser" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36820e9051aca1014ddc75770aab4d68bc1e9e632f0f5627c4086bc216fb583b" +dependencies = [ + "ttf-parser", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall 0.5.18", + "smallvec", + "windows-link", +] + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pin-project" +version = "1.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1749c7ed4bcaf4c3d0a3efc28538844fb29bcdd7d2b67b2be7e20ba861ff517" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b20ed30f105399776b9c883e68e536ef602a16ae6f596d2c473591d6ad64c6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "piper" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c835479a4443ded371d6c535cbfd8d31ad92c5d23ae9770a61bc155e4992a3c1" +dependencies = [ + "atomic-waker", + "fastrand", + "futures-io", +] + +[[package]] +name = "pkg-config" +version = "0.3.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e" + +[[package]] +name = "plain" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" + +[[package]] +name = "png" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61" +dependencies = [ + "bitflags 2.11.1", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide", +] + +[[package]] +name = "polling" +version = "3.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" +dependencies = [ + "cfg-if", + "concurrent-queue", + "hermit-abi", + "pin-project-lite", + "rustix 1.1.4", + "windows-sys 0.61.2", +] + +[[package]] +name = "potential_utf" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564" +dependencies = [ + "zerovec", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "presser" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa" + +[[package]] +name = "prettyplease" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" +dependencies = [ + "proc-macro2", + "syn 2.0.117", +] + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit 0.25.11+spec-1.1.0", +] + +[[package]] +name = "proc-macro2" +version = "1.0.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "profiling" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eb8486b569e12e2c32ad3e204dbaba5e4b5b216e9367044f25f1dba42341773" + +[[package]] +name = "pxfm" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0c5ccf5294c6ccd63a74f1565028353830a9c2f5eb0c682c355c471726a6e3f" + +[[package]] +name = "quick-xml" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eff6510e86862b57b210fd8cbe8ed3f0d7d600b9c2863cd4549a2e033c66e956" +dependencies = [ + "memchr", + "serde", +] + +[[package]] +name = "quick-xml" +version = "0.39.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "958f21e8e7ceb5a1aa7fa87fab28e7c75976e0bfe7e23ff069e0a260f894067d" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "raw-window-handle" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" + +[[package]] +name = "redox_syscall" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags 2.11.1", +] + +[[package]] +name = "redox_syscall" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f450ad9c3b1da563fb6948a8e0fb0fb9269711c9c73d9ea1de5058c79c8d643a" +dependencies = [ + "bitflags 2.11.1", +] + +[[package]] +name = "renderdoc-sys" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "rustc-hash" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustix" +version = "0.38.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" +dependencies = [ + "bitflags 2.11.1", + "errno", + "libc", + "linux-raw-sys 0.4.15", + "windows-sys 0.59.0", +] + +[[package]] +name = "rustix" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +dependencies = [ + "bitflags 2.11.1", + "errno", + "libc", + "linux-raw-sys 0.12.1", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustversion" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "sctk-adwaita" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6277f0217056f77f1d8f49f2950ac6c278c0d607c45f5ee99328d792ede24ec" +dependencies = [ + "ab_glyph", + "log", + "memmap2", + "smithay-client-toolkit 0.19.2", + "tiny-skia", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "serde_json" +version = "1.0.149" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_repr" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "serde_spanned" +version = "0.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3" +dependencies = [ + "serde", +] + +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "simd-adler32" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214" + +[[package]] +name = "simd_cesu8" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94f90157bb87cddf702797c5dadfa0be7d266cdf49e22da2fcaa32eff75b2c33" +dependencies = [ + "rustc_version", + "simdutf8", +] + +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "slotmap" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038" +dependencies = [ + "version_check", +] + +[[package]] +name = "smallvec" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" + +[[package]] +name = "smithay-client-toolkit" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3457dea1f0eb631b4034d61d4d8c32074caa6cd1ab2d59f2327bd8461e2c0016" +dependencies = [ + "bitflags 2.11.1", + "calloop 0.13.0", + "calloop-wayland-source 0.3.0", + "cursor-icon", + "libc", + "log", + "memmap2", + "rustix 0.38.44", + "thiserror 1.0.69", + "wayland-backend", + "wayland-client", + "wayland-csd-frame", + "wayland-cursor", + "wayland-protocols", + "wayland-protocols-wlr", + "wayland-scanner", + "xkeysym", +] + +[[package]] +name = "smithay-client-toolkit" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0512da38f5e2b31201a93524adb8d3136276fa4fe4aafab4e1f727a82b534cc0" +dependencies = [ + "bitflags 2.11.1", + "calloop 0.14.4", + "calloop-wayland-source 0.4.1", + "cursor-icon", + "libc", + "log", + "memmap2", + "rustix 1.1.4", + "thiserror 2.0.18", + "wayland-backend", + "wayland-client", + "wayland-csd-frame", + "wayland-cursor", + "wayland-protocols", + "wayland-protocols-experimental", + "wayland-protocols-misc", + "wayland-protocols-wlr", + "wayland-scanner", + "xkeysym", +] + +[[package]] +name = "smithay-clipboard" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71704c03f739f7745053bde45fa203a46c58d25bc5c4efba1d9a60e9dba81226" +dependencies = [ + "libc", + "smithay-client-toolkit 0.20.0", + "wayland-backend", +] + +[[package]] +name = "smol_str" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd538fb6910ac1099850255cf94a94df6551fbdd602454387d0adb2d1ca6dead" +dependencies = [ + "serde", +] + +[[package]] +name = "spirv" +version = "0.3.0+sdk-1.3.268.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eda41003dc44290527a59b13432d4a0379379fa074b70174882adfbdfd917844" +dependencies = [ + "bitflags 2.11.1", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "strict-num" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6637bab7722d379c8b41ba849228d680cc12d0a45ba1fa2b48f2a30577a06731" + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.117" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "synstructure" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom 0.4.2", + "once_cell", + "rustix 1.1.4", + "windows-sys 0.61.2", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" +dependencies = [ + "thiserror-impl 2.0.18", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "tiny-skia" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83d13394d44dae3207b52a326c0c85a8bf87f1541f23b0d143811088497b09ab" +dependencies = [ + "arrayref", + "arrayvec", + "bytemuck", + "cfg-if", + "log", + "tiny-skia-path", +] + +[[package]] +name = "tiny-skia-path" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c9e7fc0c2e86a30b117d0462aa261b72b7a99b7ebd7deb3a14ceda95c5bdc93" +dependencies = [ + "arrayref", + "bytemuck", + "strict-num", +] + +[[package]] +name = "tinystr" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "toml" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime 0.6.11", + "toml_edit 0.22.27", +] + +[[package]] +name = "toml_datetime" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_datetime" +version = "1.1.1+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.22.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a" +dependencies = [ + "indexmap", + "serde", + "serde_spanned", + "toml_datetime 0.6.11", + "toml_write", + "winnow 0.7.15", +] + +[[package]] +name = "toml_edit" +version = "0.25.11+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b59c4d22ed448339746c59b905d24568fcbb3ab65a500494f7b8c3e97739f2b" +dependencies = [ + "indexmap", + "toml_datetime 1.1.1+spec-1.1.0", + "toml_parser", + "winnow 1.0.1", +] + +[[package]] +name = "toml_parser" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526" +dependencies = [ + "winnow 1.0.1", +] + +[[package]] +name = "toml_write" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", +] + +[[package]] +name = "ttf-parser" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2df906b07856748fa3f6e0ad0cbaa047052d4a7dd609e231c4f72cee8c36f31" + +[[package]] +name = "type-map" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90" +dependencies = [ + "rustc-hash 2.1.2", +] + +[[package]] +name = "typenum" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" + +[[package]] +name = "uds_windows" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f6fb2847f6742cd76af783a2a2c49e9375d0a111c7bef6f71cd9e738c72d6e" +dependencies = [ + "memoffset", + "tempfile", + "windows-sys 0.61.2", +] + +[[package]] +name = "unicode-ident" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" + +[[package]] +name = "unicode-segmentation" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c" + +[[package]] +name = "unicode-width" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.2+wasi-0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasip3" +version = "0.4.0+wasi-0.3.0-rc-2026-01-06" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf938a0bacb0469e83c1e148908bd7d5a6010354cf4fb73279b7447422e3a89" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f371d383f2fb139252e0bfac3b81b265689bf45b6874af544ffa4c975ac1ebf8" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eeff24f84126c0ec2db7a449f0c2ec963c6a49efe0698c4242929da037ca28ed" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d08065faf983b2b80a79fd87d8254c409281cf7de75fc4b773019824196c904" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 2.0.117", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fd04d9e306f1907bd13c6361b5c6bfc7b3b3c095ed3f8a9246390f8dbdee129" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-encoder" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" +dependencies = [ + "leb128fmt", + "wasmparser", +] + +[[package]] +name = "wasm-metadata" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" +dependencies = [ + "anyhow", + "indexmap", + "wasm-encoder", + "wasmparser", +] + +[[package]] +name = "wasmparser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" +dependencies = [ + "bitflags 2.11.1", + "hashbrown 0.15.5", + "indexmap", + "semver", +] + +[[package]] +name = "wayland-backend" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2857dd20b54e916ec7253b3d6b4d5c4d7d4ca2c33c2e11c6c76a99bd8744755d" +dependencies = [ + "cc", + "downcast-rs", + "rustix 1.1.4", + "scoped-tls", + "smallvec", + "wayland-sys", +] + +[[package]] +name = "wayland-client" +version = "0.31.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645c7c96bb74690c3189b5c9cb4ca1627062bb23693a4fad9d8c3de958260144" +dependencies = [ + "bitflags 2.11.1", + "rustix 1.1.4", + "wayland-backend", + "wayland-scanner", +] + +[[package]] +name = "wayland-csd-frame" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625c5029dbd43d25e6aa9615e88b829a5cad13b2819c4ae129fdbb7c31ab4c7e" +dependencies = [ + "bitflags 2.11.1", + "cursor-icon", + "wayland-backend", +] + +[[package]] +name = "wayland-cursor" +version = "0.31.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a52d18780be9b1314328a3de5f930b73d2200112e3849ca6cb11822793fb34d" +dependencies = [ + "rustix 1.1.4", + "wayland-client", + "xcursor", +] + +[[package]] +name = "wayland-protocols" +version = "0.32.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "563a85523cade2429938e790815fd7319062103b9f4a2dc806e9b53b95982d8f" +dependencies = [ + "bitflags 2.11.1", + "wayland-backend", + "wayland-client", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-experimental" +version = "20250721.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40a1f863128dcaaec790d7b4b396cc9b9a7a079e878e18c47e6c2d2c5a8dcbb1" +dependencies = [ + "bitflags 2.11.1", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-misc" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e9567599ef23e09b8dad6e429e5738d4509dfc46b3b21f32841a304d16b29c8" +dependencies = [ + "bitflags 2.11.1", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-plasma" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b6d8cf1eb2c1c31ed1f5643c88a6e53538129d4af80030c8cabd1f9fa884d91" +dependencies = [ + "bitflags 2.11.1", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-wlr" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb04e52f7836d7c7976c78ca0250d61e33873c34156a2a1fc9474828ec268234" +dependencies = [ + "bitflags 2.11.1", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-scanner" +version = "0.31.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c324a910fd86ebdc364a3e61ec1f11737d3b1d6c273c0239ee8ff4bc0d24b4a" +dependencies = [ + "proc-macro2", + "quick-xml 0.39.2", + "quote", +] + +[[package]] +name = "wayland-sys" +version = "0.31.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8eab23fefc9e41f8e841df4a9c707e8a8c4ed26e944ef69297184de2785e3be" +dependencies = [ + "dlib", + "log", + "once_cell", + "pkg-config", +] + +[[package]] +name = "web-sys" +version = "0.3.95" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f2dfbb17949fa2088e5d39408c48368947b86f7834484e87b73de55bc14d97d" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webbrowser" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fc95580916af1e68ff6a7be07446fc5db73ebf71cf092de939bbf5f7e189f72" +dependencies = [ + "core-foundation 0.10.1", + "jni", + "log", + "ndk-context", + "objc2 0.6.4", + "objc2-foundation 0.3.2", + "url", + "web-sys", +] + +[[package]] +name = "wgpu" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d1c4ba43f80542cf63a0a6ed3134629ae73e8ab51e4b765a67f3aa062eb433" +dependencies = [ + "arrayvec", + "cfg_aliases 0.1.1", + "document-features", + "js-sys", + "log", + "parking_lot", + "profiling", + "raw-window-handle", + "smallvec", + "static_assertions", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "wgpu-core", + "wgpu-hal", + "wgpu-types", +] + +[[package]] +name = "wgpu-core" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0348c840d1051b8e86c3bcd31206080c5e71e5933dabd79be1ce732b0b2f089a" +dependencies = [ + "arrayvec", + "bit-vec", + "bitflags 2.11.1", + "cfg_aliases 0.1.1", + "document-features", + "indexmap", + "log", + "naga", + "once_cell", + "parking_lot", + "profiling", + "raw-window-handle", + "rustc-hash 1.1.0", + "smallvec", + "thiserror 1.0.69", + "wgpu-hal", + "wgpu-types", +] + +[[package]] +name = "wgpu-hal" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6bbf4b4de8b2a83c0401d9e5ae0080a2792055f25859a02bf9be97952bbed4f" +dependencies = [ + "android_system_properties", + "arrayvec", + "ash", + "bitflags 2.11.1", + "cfg_aliases 0.1.1", + "core-graphics-types", + "glow 0.13.1", + "glutin_wgl_sys", + "gpu-alloc", + "gpu-allocator", + "gpu-descriptor", + "hassle-rs", + "js-sys", + "khronos-egl", + "libc", + "libloading", + "log", + "metal", + "naga", + "ndk-sys 0.5.0+25.2.9519653", + "objc", + "once_cell", + "parking_lot", + "profiling", + "raw-window-handle", + "renderdoc-sys", + "rustc-hash 1.1.0", + "smallvec", + "thiserror 1.0.69", + "wasm-bindgen", + "web-sys", + "wgpu-types", + "winapi", +] + +[[package]] +name = "wgpu-types" +version = "22.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc9d91f0e2c4b51434dfa6db77846f2793149d8e73f800fa2e41f52b8eac3c5d" +dependencies = [ + "bitflags 2.11.1", + "js-sys", + "web-sys", +] + +[[package]] +name = "widestring" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471" + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +dependencies = [ + "windows-core 0.52.0", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6" +dependencies = [ + "windows-core 0.58.0", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-core" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-result", + "windows-strings", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-implement" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "windows-interface" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-result" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-strings" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +dependencies = [ + "windows-result", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm 0.52.6", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + +[[package]] +name = "winit" +version = "0.30.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6755fa58a9f8350bd1e472d4c3fcc25f824ec358933bba33306d0b63df5978d" +dependencies = [ + "ahash", + "android-activity", + "atomic-waker", + "bitflags 2.11.1", + "block2", + "bytemuck", + "calloop 0.13.0", + "cfg_aliases 0.2.1", + "concurrent-queue", + "core-foundation 0.9.4", + "core-graphics", + "cursor-icon", + "dpi", + "js-sys", + "libc", + "memmap2", + "ndk", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", + "objc2-ui-kit", + "orbclient", + "percent-encoding", + "pin-project", + "raw-window-handle", + "redox_syscall 0.4.1", + "rustix 0.38.44", + "sctk-adwaita", + "smithay-client-toolkit 0.19.2", + "smol_str", + "tracing", + "unicode-segmentation", + "wasm-bindgen", + "wasm-bindgen-futures", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-protocols-plasma", + "web-sys", + "web-time", + "windows-sys 0.52.0", + "x11-dl", + "x11rb", + "xkbcommon-dl", +] + +[[package]] +name = "winnow" +version = "0.7.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09dac053f1cd375980747450bfc7250c264eaae0583872e845c0c7cd578872b5" +dependencies = [ + "memchr", +] + +[[package]] +name = "wit-bindgen" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" +dependencies = [ + "wit-bindgen-rust-macro", +] + +[[package]] +name = "wit-bindgen-core" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" +dependencies = [ + "anyhow", + "heck", + "wit-parser", +] + +[[package]] +name = "wit-bindgen-rust" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" +dependencies = [ + "anyhow", + "heck", + "indexmap", + "prettyplease", + "syn 2.0.117", + "wasm-metadata", + "wit-bindgen-core", + "wit-component", +] + +[[package]] +name = "wit-bindgen-rust-macro" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" +dependencies = [ + "anyhow", + "prettyplease", + "proc-macro2", + "quote", + "syn 2.0.117", + "wit-bindgen-core", + "wit-bindgen-rust", +] + +[[package]] +name = "wit-component" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" +dependencies = [ + "anyhow", + "bitflags 2.11.1", + "indexmap", + "log", + "serde", + "serde_derive", + "serde_json", + "wasm-encoder", + "wasm-metadata", + "wasmparser", + "wit-parser", +] + +[[package]] +name = "wit-parser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" +dependencies = [ + "anyhow", + "id-arena", + "indexmap", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser", +] + +[[package]] +name = "writeable" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4" + +[[package]] +name = "x11-dl" +version = "2.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f" +dependencies = [ + "libc", + "once_cell", + "pkg-config", +] + +[[package]] +name = "x11rb" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9993aa5be5a26815fe2c3eacfc1fde061fc1a1f094bf1ad2a18bf9c495dd7414" +dependencies = [ + "as-raw-xcb-connection", + "gethostname", + "libc", + "libloading", + "once_cell", + "rustix 1.1.4", + "x11rb-protocol", +] + +[[package]] +name = "x11rb-protocol" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea6fc2961e4ef194dcbfe56bb845534d0dc8098940c7e5c012a258bfec6701bd" + +[[package]] +name = "xcursor" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bec9e4a500ca8864c5b47b8b482a73d62e4237670e5b5f1d6b9e3cae50f28f2b" + +[[package]] +name = "xdg-home" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec1cdab258fb55c0da61328dc52c8764709b249011b2cad0454c72f0bf10a1f6" +dependencies = [ + "libc", + "windows-sys 0.59.0", +] + +[[package]] +name = "xkbcommon-dl" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039de8032a9a8856a6be89cea3e5d12fdd82306ab7c94d74e6deab2460651c5" +dependencies = [ + "bitflags 2.11.1", + "dlib", + "log", + "once_cell", + "xkeysym", +] + +[[package]] +name = "xkeysym" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9cc00251562a284751c9973bace760d86c0276c471b4be569fe6b068ee97a56" + +[[package]] +name = "xml-rs" +version = "0.8.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f" + +[[package]] +name = "yoke" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", + "synstructure", +] + +[[package]] +name = "zbus" +version = "4.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb97012beadd29e654708a0fdb4c84bc046f537aecfde2c3ee0a9e4b4d48c725" +dependencies = [ + "async-broadcast", + "async-executor", + "async-fs", + "async-io", + "async-lock", + "async-process", + "async-recursion", + "async-task", + "async-trait", + "blocking", + "enumflags2", + "event-listener", + "futures-core", + "futures-sink", + "futures-util", + "hex", + "nix", + "ordered-stream", + "rand", + "serde", + "serde_repr", + "sha1", + "static_assertions", + "tracing", + "uds_windows", + "windows-sys 0.52.0", + "xdg-home", + "zbus_macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zbus-lockstep" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca2c5dceb099bddaade154055c926bb8ae507a18756ba1d8963fd7b51d8ed1d" +dependencies = [ + "zbus_xml", + "zvariant", +] + +[[package]] +name = "zbus-lockstep-macros" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709ab20fc57cb22af85be7b360239563209258430bccf38d8b979c5a2ae3ecce" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", + "zbus-lockstep", + "zbus_xml", + "zvariant", +] + +[[package]] +name = "zbus_macros" +version = "4.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "267db9407081e90bbfa46d841d3cbc60f59c0351838c4bc65199ecd79ab1983e" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.117", + "zvariant_utils", +] + +[[package]] +name = "zbus_names" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b9b1fef7d021261cc16cba64c351d291b715febe0fa10dc3a443ac5a5022e6c" +dependencies = [ + "serde", + "static_assertions", + "zvariant", +] + +[[package]] +name = "zbus_xml" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab3f374552b954f6abb4bd6ce979e6c9b38fb9d0cd7cc68a7d796e70c9f3a233" +dependencies = [ + "quick-xml 0.30.0", + "serde", + "static_assertions", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zerocopy" +version = "0.8.48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "zerofrom" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69faa1f2a1ea75661980b013019ed6687ed0e83d069bc1114e2cc74c6c04c4df" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", + "synstructure", +] + +[[package]] +name = "zerotrie" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "zmij" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" + +[[package]] +name = "zvariant" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2084290ab9a1c471c38fc524945837734fbf124487e105daec2bb57fd48c81fe" +dependencies = [ + "endi", + "enumflags2", + "serde", + "static_assertions", + "zvariant_derive", +] + +[[package]] +name = "zvariant_derive" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73e2ba546bda683a90652bac4a279bc146adad1386f25379cf73200d2002c449" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.117", + "zvariant_utils", +] + +[[package]] +name = "zvariant_utils" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c51bcff7cc3dbb5055396bcf774748c3dab426b4b8659046963523cee4808340" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] diff --git a/README.md b/README.md index e7b353a..1522888 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,21 @@ The repository is intentionally structured around hard separation of concerns: - `crates/infinity_config`: versioned project configuration and validation - `crates/infinity_protocol`: shared control and realtime protocol model -- `crates/infinity_host`: host-side core library, CLI, mock UI service, and runtime skeleton -- `crates/infinity_host_ui`: native Rust desktop GUI vertical slice +- `crates/infinity_host`: host-side core library, simulation engine, scene/preset API, and CLI +- `crates/infinity_host_ui`: native Rust desktop engineering GUI for mapping, diagnostics, and admin - `firmware/esp32_node`: ESP-IDF firmware skeleton with explicit driver abstraction - `docs/`: architecture, protocol, validation, deployment, testing, and acceptance artifacts - `config/`: example configuration files +Current software priority: + +- stable host-core first +- shared host API for every surface +- simulation and mock-first creative workflow +- engineering GUI for technical operation +- web UI to follow as the primary creative surface +- grandMA planned later as an external show-control adapter, not as the system core + The current baseline is intentionally strict about unresolved hardware facts. `UART 6`, `UART 5`, and `UART 4` are treated as unvalidated labels until the real electrical meaning is confirmed. ## Quick Start @@ -24,12 +33,14 @@ The current baseline is intentionally strict about unresolved hardware facts. `U 1. Install a current Rust toolchain. 2. Review the open validation checklist in [docs/validation_open_points.md](docs/validation_open_points.md). 3. Start from [config/project.example.toml](config/project.example.toml). -4. Start the desktop GUI with `cargo run -p infinity_host_ui`. -5. Use the host CLI to validate the project config before attempting activation. +4. Inspect the software-first host snapshot with `cargo run -p infinity_host -- snapshot --config config/project.example.toml`. +5. Start the engineering GUI with `cargo run -p infinity_host_ui`. +6. Use the host CLI to validate the project config before attempting activation. ## Docs - [Architecture](docs/architecture.md) +- [Host API](docs/host_api.md) - [Protocol](docs/protocol.md) - [Config Schema](docs/config_schema.md) - [Build and Deploy](docs/build_and_deploy.md) diff --git a/config/project.example.toml b/config/project.example.toml index c81f034..9c32f3e 100644 --- a/config/project.example.toml +++ b/config/project.example.toml @@ -285,6 +285,30 @@ members = [ { node_id = "node-06", panel_position = "top" }, ] +[[topology.groups]] +group_id = "middle_panels" +tags = ["row_like", "hardware_safe"] +members = [ + { node_id = "node-01", panel_position = "middle" }, + { node_id = "node-02", panel_position = "middle" }, + { node_id = "node-03", panel_position = "middle" }, + { node_id = "node-04", panel_position = "middle" }, + { node_id = "node-05", panel_position = "middle" }, + { node_id = "node-06", panel_position = "middle" }, +] + +[[topology.groups]] +group_id = "bottom_panels" +tags = ["row_like", "hardware_safe"] +members = [ + { node_id = "node-01", panel_position = "bottom" }, + { node_id = "node-02", panel_position = "bottom" }, + { node_id = "node-03", panel_position = "bottom" }, + { node_id = "node-04", panel_position = "bottom" }, + { node_id = "node-05", panel_position = "bottom" }, + { node_id = "node-06", panel_position = "bottom" }, +] + [[transport_profiles]] profile_id = "scene_default" mode = "distributed_scene" @@ -335,3 +359,38 @@ speed = 1.0 intensity = 1.0 blackout = false +[[presets]] +preset_id = "ocean_gradient" +target_group = "all_panels" +transition_ms = 500 +[presets.scene] +effect = "gradient" +seed = 1337 +palette = ["#041F4A", "#0F8AA6", "#7FFFD4"] +speed = 0.35 +intensity = 0.82 +blackout = false + +[[presets]] +preset_id = "amber_chase_top" +target_group = "top_panels" +transition_ms = 120 +[presets.scene] +effect = "chase" +seed = 2026 +palette = ["#FF7A00", "#FFD166"] +speed = 1.40 +intensity = 1.0 +blackout = false + +[[presets]] +preset_id = "deep_pulse_bottom" +target_group = "bottom_panels" +transition_ms = 380 +[presets.scene] +effect = "pulse" +seed = 404 +palette = ["#240046", "#5A189A", "#9D4EDD"] +speed = 0.80 +intensity = 0.88 +blackout = false diff --git a/crates/infinity_config/src/validation.rs b/crates/infinity_config/src/validation.rs index 5bc4349..efefe65 100644 --- a/crates/infinity_config/src/validation.rs +++ b/crates/infinity_config/src/validation.rs @@ -506,9 +506,9 @@ fn display_panel_position(position: &PanelPosition) -> &'static str { mod tests { use super::*; use crate::{ - ColorOrder, DriverChannelRef, LedDirection, NodeConfig, NodeNetworkConfig, PanelOutputConfig, - PanelPosition, PresetConfig, ProjectMetadata, SceneConfig, TopologyConfig, TransportMode, - TransportProfileConfig, + ColorOrder, DriverChannelRef, LedDirection, NodeConfig, NodeNetworkConfig, + PanelOutputConfig, PanelPosition, PresetConfig, ProjectMetadata, SafetyProfileConfig, + SceneConfig, TopologyConfig, TransportMode, TransportProfileConfig, }; fn build_output(position: PanelPosition, label: &str, driver_kind: DriverKind) -> PanelOutputConfig { diff --git a/crates/infinity_host/src/control.rs b/crates/infinity_host/src/control.rs index dc94be8..13249d5 100644 --- a/crates/infinity_host/src/control.rs +++ b/crates/infinity_host/src/control.rs @@ -1,24 +1,172 @@ use infinity_config::{ColorOrder, LedDirection, PanelPosition, ValidationState}; +use serde::{Deserialize, Serialize}; -#[derive(Debug, Clone, PartialEq)] +pub const HOST_API_VERSION: u16 = 1; + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] pub struct HostSnapshot { + pub api_version: u16, pub backend_label: String, pub generated_at_millis: u64, + pub system: SystemSnapshot, pub global: GlobalControlSnapshot, + pub engine: EngineSnapshot, + pub catalog: CatalogSnapshot, + pub active_scene: ActiveSceneSnapshot, + pub preview: PreviewSnapshot, pub available_patterns: Vec, pub nodes: Vec, pub panels: Vec, pub recent_events: Vec, } -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] +pub struct SystemSnapshot { + pub project_name: String, + pub schema_version: u32, + pub topology_label: String, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] pub struct GlobalControlSnapshot { pub blackout: bool, pub master_brightness: f32, pub selected_pattern: String, + pub selected_group: Option, + pub transition_duration_ms: u32, } -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +pub struct EngineSnapshot { + pub logic_hz: u16, + pub frame_hz: u16, + pub preview_hz: u16, + pub uptime_ms: u64, + pub frame_index: u64, + pub dropped_frames: u64, + pub active_transition: Option, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +pub struct CatalogSnapshot { + pub patterns: Vec, + pub presets: Vec, + pub groups: Vec, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +pub struct PatternDefinition { + pub pattern_id: String, + pub display_name: String, + pub description: String, + pub parameters: Vec, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] +pub struct PresetSummary { + pub preset_id: String, + pub pattern_id: String, + pub target_group: Option, + pub transition_duration_ms: u32, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] +pub struct GroupSummary { + pub group_id: String, + pub member_count: usize, + pub tags: Vec, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +pub struct ActiveSceneSnapshot { + pub preset_id: Option, + pub pattern_id: String, + pub seed: u64, + pub palette: Vec, + pub parameters: Vec, + pub target_group: Option, + pub blackout: bool, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +pub struct SceneParameterState { + pub key: String, + pub label: String, + pub kind: SceneParameterKind, + pub value: SceneParameterValue, + pub min_scalar: Option, + pub max_scalar: Option, + pub step: Option, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +pub struct SceneParameterSpec { + pub key: String, + pub label: String, + pub kind: SceneParameterKind, + pub min_scalar: Option, + pub max_scalar: Option, + pub step: Option, + pub default_value: SceneParameterValue, +} + +#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq)] +#[serde(rename_all = "snake_case")] +pub enum SceneParameterKind { + Scalar, + Toggle, + Text, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +#[serde(rename_all = "snake_case", tag = "kind", content = "value")] +pub enum SceneParameterValue { + Scalar(f32), + Toggle(bool), + Text(String), +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +pub struct PreviewSnapshot { + pub panels: Vec, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] +pub struct PreviewPanelSnapshot { + pub target: PanelTarget, + pub representative_color_hex: String, + pub sample_led_hex: Vec, + pub energy_percent: u8, + pub preview_source: PreviewSource, +} + +#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq)] +#[serde(rename_all = "snake_case")] +pub enum PreviewSource { + Scene, + Transition, + PanelTest, + Blackout, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +pub struct TransitionSnapshot { + pub style: SceneTransitionStyle, + pub from_pattern_id: String, + pub to_pattern_id: String, + pub duration_ms: u32, + pub progress: f32, +} + +#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq)] +#[serde(rename_all = "snake_case")] +pub enum SceneTransitionStyle { + Snap, + Crossfade, + Chase, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] pub struct NodeSnapshot { pub node_id: String, pub display_name: String, @@ -29,7 +177,7 @@ pub struct NodeSnapshot { pub panel_count: usize, } -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] pub struct PanelSnapshot { pub target: PanelTarget, pub physical_output_name: String, @@ -44,46 +192,64 @@ pub struct PanelSnapshot { pub error_status: Option, } -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] pub struct StatusEvent { pub at_millis: u64, pub message: String, } -#[derive(Debug, Clone, Copy, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq)] +#[serde(rename_all = "snake_case")] pub enum NodeConnectionState { Online, Degraded, Offline, } -#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord)] pub struct PanelTarget { pub node_id: String, pub panel_position: PanelPosition, } -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +#[serde(rename_all = "snake_case", tag = "command", content = "payload")] pub enum HostCommand { SetBlackout(bool), SetMasterBrightness(f32), SelectPattern(String), + RecallPreset { + preset_id: String, + }, + SelectGroup { + group_id: Option, + }, + SetSceneParameter { + key: String, + value: SceneParameterValue, + }, + SetTransitionDurationMs(u32), TriggerPanelTest { target: PanelTarget, pattern: TestPatternKind, }, } -#[derive(Debug, Clone, Copy, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq)] +#[serde(rename_all = "snake_case")] pub enum TestPatternKind { WalkingPixel106, } -pub trait HostUiPort: Send + Sync { +pub trait HostApiPort: Send + Sync { fn snapshot(&self) -> HostSnapshot; fn send_command(&self, command: HostCommand); } +pub trait HostUiPort: HostApiPort {} + +impl HostUiPort for T {} + impl NodeConnectionState { pub fn label(self) -> &'static str { match self { @@ -102,3 +268,22 @@ impl TestPatternKind { } } +impl SceneParameterValue { + pub fn as_scalar(&self) -> Option { + match self { + Self::Scalar(value) => Some(*value), + _ => None, + } + } + + pub fn as_toggle(&self) -> Option { + match self { + Self::Toggle(value) => Some(*value), + _ => None, + } + } + + pub fn text(value: impl Into) -> Self { + Self::Text(value.into()) + } +} diff --git a/crates/infinity_host/src/lib.rs b/crates/infinity_host/src/lib.rs index f9ee9e4..4d18d1d 100644 --- a/crates/infinity_host/src/lib.rs +++ b/crates/infinity_host/src/lib.rs @@ -1,8 +1,9 @@ pub mod control; -pub mod mock; pub mod runtime; +pub mod scene; +pub mod simulation; pub use control::*; -pub use mock::*; pub use runtime::*; - +pub use scene::*; +pub use simulation::*; diff --git a/crates/infinity_host/src/main.rs b/crates/infinity_host/src/main.rs index aa5950e..65f37f6 100644 --- a/crates/infinity_host/src/main.rs +++ b/crates/infinity_host/src/main.rs @@ -1,6 +1,6 @@ use clap::{Parser, Subcommand, ValueEnum}; use infinity_config::{load_project_from_path, ValidationMode, ValidationSeverity}; -use infinity_host::RealtimeEngine; +use infinity_host::{HostApiPort, RealtimeEngine, SimulationHostService}; use std::{path::PathBuf, process::ExitCode}; #[derive(Debug, Parser)] @@ -24,6 +24,10 @@ enum Command { #[arg(long)] preset_id: String, }, + Snapshot { + #[arg(long)] + config: PathBuf, + }, OpenValidationPoints, } @@ -47,6 +51,7 @@ fn main() -> ExitCode { match cli.command { Command::Validate { config, mode } => validate_command(config, mode), Command::PlanBootScene { config, preset_id } => plan_boot_scene_command(config, &preset_id), + Command::Snapshot { config } => snapshot_command(config), Command::OpenValidationPoints => { print_open_validation_points(); ExitCode::SUCCESS @@ -113,6 +118,28 @@ fn plan_boot_scene_command(config: PathBuf, preset_id: &str) -> ExitCode { } } +fn snapshot_command(config: PathBuf) -> ExitCode { + let project = match load_project_from_path(&config) { + Ok(project) => project, + Err(error) => { + eprintln!("Failed to load config '{}': {error}", config.display()); + return ExitCode::FAILURE; + } + }; + + let service = SimulationHostService::new(project); + match serde_json::to_string_pretty(&service.snapshot()) { + Ok(output) => { + println!("{output}"); + ExitCode::SUCCESS + } + Err(error) => { + eprintln!("Failed to serialize snapshot: {error}"); + ExitCode::FAILURE + } + } +} + fn print_open_validation_points() { for line in [ "Pending hardware validation gates:", diff --git a/crates/infinity_host/src/mock.rs b/crates/infinity_host/src/mock.rs deleted file mode 100644 index ca41b4d..0000000 --- a/crates/infinity_host/src/mock.rs +++ /dev/null @@ -1,351 +0,0 @@ -use crate::control::{ - GlobalControlSnapshot, HostCommand, HostSnapshot, HostUiPort, NodeConnectionState, - NodeSnapshot, PanelSnapshot, PanelTarget, StatusEvent, TestPatternKind, -}; -use infinity_config::{PanelPosition, ProjectConfig}; -use std::{ - collections::{BTreeMap, BTreeSet}, - sync::{Arc, Mutex}, - thread, - time::{Duration, Instant}, -}; - -const MAX_RECENT_EVENTS: usize = 10; - -#[derive(Debug)] -pub struct MockHostService { - inner: Arc>, -} - -#[derive(Debug)] -struct MockHostState { - started_at: Instant, - tick_count: u64, - snapshot: HostSnapshot, -} - -impl MockHostService { - pub fn spawn(project: ProjectConfig) -> Arc { - let service = Arc::new(Self { - inner: Arc::new(Mutex::new(MockHostState::new(project))), - }); - Self::spawn_simulation_loop(Arc::clone(&service)); - service - } - - fn spawn_simulation_loop(service: Arc) { - thread::spawn(move || loop { - thread::sleep(Duration::from_millis(250)); - if let Ok(mut state) = service.inner.lock() { - state.simulate_tick(); - } - }); - } -} - -impl HostUiPort for MockHostService { - fn snapshot(&self) -> HostSnapshot { - self.inner - .lock() - .map(|state| state.snapshot.clone()) - .unwrap_or_else(|_| HostSnapshot { - backend_label: "mock-simulation".to_string(), - generated_at_millis: 0, - global: GlobalControlSnapshot { - blackout: true, - master_brightness: 0.0, - selected_pattern: "unavailable".to_string(), - }, - available_patterns: vec!["unavailable".to_string()], - nodes: Vec::new(), - panels: Vec::new(), - recent_events: vec![StatusEvent { - at_millis: 0, - message: "snapshot unavailable because the simulation lock was poisoned" - .to_string(), - }], - }) - } - - fn send_command(&self, command: HostCommand) { - if let Ok(mut state) = self.inner.lock() { - state.apply_command(command); - } - } -} - -impl MockHostState { - fn new(project: ProjectConfig) -> Self { - let patterns = pattern_list_from_project(&project); - let selected_pattern = patterns - .first() - .cloned() - .unwrap_or_else(|| "solid_color".to_string()); - - let mut nodes = Vec::new(); - let mut panels = Vec::new(); - for node in &project.topology.nodes { - nodes.push(NodeSnapshot { - node_id: node.node_id.clone(), - display_name: node.display_name.clone(), - reserved_ip: node.network.reserved_ip.clone(), - connection: NodeConnectionState::Online, - last_contact_ms: 14, - error_status: None, - panel_count: node.outputs.len(), - }); - - for output in &node.outputs { - panels.push(PanelSnapshot { - target: PanelTarget { - node_id: node.node_id.clone(), - panel_position: output.panel_position.clone(), - }, - physical_output_name: output.physical_output_name.clone(), - driver_reference: output.driver_channel.reference.clone(), - led_count: output.led_count, - direction: output.direction.clone(), - color_order: output.color_order.clone(), - enabled: output.enabled, - validation_state: output.validation_state.clone(), - connection: NodeConnectionState::Online, - last_test_trigger_ms: None, - error_status: None, - }); - } - } - - let mut state = Self { - started_at: Instant::now(), - tick_count: 0, - snapshot: HostSnapshot { - backend_label: "mock-simulation".to_string(), - generated_at_millis: 0, - global: GlobalControlSnapshot { - blackout: false, - master_brightness: 0.20, - selected_pattern, - }, - available_patterns: patterns, - nodes, - panels, - recent_events: Vec::new(), - }, - }; - state.push_event("mock backend started".to_string()); - state.simulate_tick(); - state - } - - fn simulate_tick(&mut self) { - self.tick_count += 1; - self.snapshot.generated_at_millis = self.elapsed_millis(); - - let previous_states: BTreeMap<_, _> = self - .snapshot - .nodes - .iter() - .map(|node| (node.node_id.clone(), node.connection)) - .collect(); - let mut transition_messages = Vec::new(); - - for (index, node) in self.snapshot.nodes.iter_mut().enumerate() { - let connection = simulated_connection_state(index, self.tick_count); - node.connection = connection; - node.last_contact_ms = simulated_last_contact_ms(index, self.tick_count, connection); - node.error_status = simulated_error_status(connection); - - if previous_states - .get(&node.node_id) - .copied() - .unwrap_or(NodeConnectionState::Offline) - != connection - { - transition_messages.push(format!( - "{} is now {}", - node.display_name, - connection.label() - )); - } - } - - for message in transition_messages { - self.push_event(message); - } - - let node_states: BTreeMap<_, _> = self - .snapshot - .nodes - .iter() - .map(|node| (node.node_id.clone(), (node.connection, node.error_status.clone()))) - .collect(); - - for panel in &mut self.snapshot.panels { - if let Some((connection, node_error)) = node_states.get(&panel.target.node_id) { - panel.connection = *connection; - panel.error_status = match (node_error, panel.enabled) { - (_, false) => Some("output disabled".to_string()), - (Some(error), _) => Some(error.clone()), - (None, true) => None, - }; - } - } - } - - fn apply_command(&mut self, command: HostCommand) { - match command { - HostCommand::SetBlackout(enabled) => { - self.snapshot.global.blackout = enabled; - self.push_event(if enabled { - "global blackout enabled".to_string() - } else { - "global blackout cleared".to_string() - }); - } - HostCommand::SetMasterBrightness(value) => { - self.snapshot.global.master_brightness = value.clamp(0.0, 1.0); - self.push_event(format!( - "master brightness set to {:.0}%", - self.snapshot.global.master_brightness * 100.0 - )); - } - HostCommand::SelectPattern(pattern) => { - if self.snapshot.available_patterns.iter().any(|entry| entry == &pattern) { - self.snapshot.global.selected_pattern = pattern.clone(); - self.push_event(format!("pattern selected: {pattern}")); - } else { - self.push_event(format!("ignored unknown pattern request: {pattern}")); - } - } - HostCommand::TriggerPanelTest { target, pattern } => { - let now = self.elapsed_millis(); - let event_message = if let Some(panel) = self - .snapshot - .panels - .iter_mut() - .find(|panel| panel.target == target) - { - panel.last_test_trigger_ms = Some(now); - format!( - "test '{}' triggered for {}:{}", - pattern.label(), - panel.target.node_id, - panel_position_label(&panel.target.panel_position) - ) - } else { - format!( - "test '{}' requested for unknown panel {}:{}", - pattern.label(), - target.node_id, - panel_position_label(&target.panel_position) - ) - }; - - self.push_event(event_message); - } - } - } - - fn push_event(&mut self, message: String) { - self.snapshot.recent_events.insert( - 0, - StatusEvent { - at_millis: self.elapsed_millis(), - message, - }, - ); - self.snapshot.recent_events.truncate(MAX_RECENT_EVENTS); - } - - fn elapsed_millis(&self) -> u64 { - self.started_at.elapsed().as_millis() as u64 - } -} - -fn pattern_list_from_project(project: &ProjectConfig) -> Vec { - let mut patterns = BTreeSet::new(); - for preset in &project.presets { - patterns.insert(preset.scene.effect.clone()); - } - for fallback in ["solid_color", "gradient", "chase", "noise", "walking_pixel"] { - patterns.insert(fallback.to_string()); - } - patterns.into_iter().collect() -} - -fn simulated_connection_state(index: usize, tick_count: u64) -> NodeConnectionState { - match index { - 4 => { - if tick_count % 24 < 8 { - NodeConnectionState::Degraded - } else { - NodeConnectionState::Online - } - } - 5 => { - if tick_count % 32 < 7 { - NodeConnectionState::Offline - } else { - NodeConnectionState::Online - } - } - _ => NodeConnectionState::Online, - } -} - -fn simulated_last_contact_ms( - index: usize, - tick_count: u64, - connection: NodeConnectionState, -) -> u64 { - match connection { - NodeConnectionState::Online => 10 + (index as u64 * 4) + (tick_count % 6), - NodeConnectionState::Degraded => 180 + (tick_count % 90), - NodeConnectionState::Offline => 2_500 + (tick_count % 700), - } -} - -fn simulated_error_status(connection: NodeConnectionState) -> Option { - match connection { - NodeConnectionState::Online => None, - NodeConnectionState::Degraded => Some("heartbeat jitter above target".to_string()), - NodeConnectionState::Offline => Some("awaiting reconnect".to_string()), - } -} - -fn panel_position_label(position: &PanelPosition) -> &'static str { - match position { - PanelPosition::Top => "top", - PanelPosition::Middle => "middle", - PanelPosition::Bottom => "bottom", - } -} - -#[cfg(test)] -mod tests { - use super::*; - use infinity_config::ProjectConfig; - - fn sample_project() -> ProjectConfig { - ProjectConfig::from_toml_str(include_str!("../../../config/project.example.toml")) - .expect("embedded project config must parse") - } - - #[test] - fn mock_service_starts_with_six_nodes_and_eighteen_panels() { - let service = MockHostService::spawn(sample_project()); - let snapshot = service.snapshot(); - assert_eq!(snapshot.nodes.len(), 6); - assert_eq!(snapshot.panels.len(), 18); - } - - #[test] - fn commands_update_global_state() { - let service = MockHostService::spawn(sample_project()); - service.send_command(HostCommand::SetBlackout(true)); - service.send_command(HostCommand::SelectPattern("walking_pixel".to_string())); - let snapshot = service.snapshot(); - assert!(snapshot.global.blackout); - assert_eq!(snapshot.global.selected_pattern, "walking_pixel"); - } -} diff --git a/crates/infinity_host/src/scene.rs b/crates/infinity_host/src/scene.rs new file mode 100644 index 0000000..6c61300 --- /dev/null +++ b/crates/infinity_host/src/scene.rs @@ -0,0 +1,717 @@ +use crate::control::{ + ActiveSceneSnapshot, CatalogSnapshot, GroupSummary, PatternDefinition, PresetSummary, + SceneParameterKind, SceneParameterSpec, SceneParameterState, SceneParameterValue, + SceneTransitionStyle, TransitionSnapshot, +}; +use infinity_config::{PanelPosition, PresetConfig, ProjectConfig}; +use std::{ + collections::{BTreeMap, BTreeSet}, + hash::{Hash, Hasher}, + time::Instant, +}; + +const DEFAULT_SAMPLE_LED_COUNT: usize = 6; + +#[derive(Debug, Clone)] +pub struct SceneRuntime { + pub preset_id: Option, + pub pattern_id: String, + pub seed: u64, + pub palette: Vec, + pub parameters: BTreeMap, + pub target_group: Option, + pub blackout: bool, +} + +#[derive(Debug, Clone)] +pub struct TransitionRuntime { + pub style: SceneTransitionStyle, + pub duration_ms: u32, + pub started_at: Instant, + pub from_scene: SceneRuntime, +} + +#[derive(Debug, Clone)] +pub struct RenderedPreview { + pub representative_color_hex: String, + pub sample_led_hex: Vec, + pub energy_percent: u8, +} + +#[derive(Debug, Clone)] +pub struct PatternRegistry { + definitions: BTreeMap, +} + +#[derive(Debug, Clone, Copy)] +struct RgbColor { + r: u8, + g: u8, + b: u8, +} + +impl PatternRegistry { + pub fn new() -> Self { + let definitions = default_pattern_definitions() + .into_iter() + .map(|definition| (definition.pattern_id.clone(), definition)) + .collect(); + Self { definitions } + } + + pub fn catalog(&self, project: &ProjectConfig) -> CatalogSnapshot { + CatalogSnapshot { + patterns: self.definitions.values().cloned().collect(), + presets: project + .presets + .iter() + .map(|preset| PresetSummary { + preset_id: preset.preset_id.clone(), + pattern_id: preset.scene.effect.clone(), + target_group: preset.target_group.clone(), + transition_duration_ms: preset.transition_ms, + }) + .collect(), + groups: project + .topology + .groups + .iter() + .map(|group| GroupSummary { + group_id: group.group_id.clone(), + member_count: group.members.len(), + tags: group.tags.clone(), + }) + .collect(), + } + } + + pub fn initial_scene(&self, project: &ProjectConfig) -> SceneRuntime { + project + .presets + .first() + .map(|preset| self.scene_from_preset(preset)) + .unwrap_or_else(|| { + self.scene_for_pattern( + "solid_color", + Some("bootstrap-solid-color".to_string()), + None, + 1, + vec!["#ffffff".to_string()], + false, + ) + }) + } + + pub fn scene_from_preset_id(&self, project: &ProjectConfig, preset_id: &str) -> Option { + project + .presets + .iter() + .find(|preset| preset.preset_id == preset_id) + .map(|preset| self.scene_from_preset(preset)) + } + + pub fn transition_style_for_preset(&self, project: &ProjectConfig, preset_id: &str) -> SceneTransitionStyle { + project + .presets + .iter() + .find(|preset| preset.preset_id == preset_id) + .map(|preset| transition_style_from_duration(preset.transition_ms)) + .unwrap_or(SceneTransitionStyle::Crossfade) + } + + pub fn scene_for_pattern( + &self, + pattern_id: &str, + preset_id: Option, + target_group: Option, + seed: u64, + palette: Vec, + blackout: bool, + ) -> SceneRuntime { + let definition = self.definition_or_default(pattern_id); + let mut parameters = BTreeMap::new(); + for spec in &definition.parameters { + parameters.insert(spec.key.clone(), spec.default_value.clone()); + } + + SceneRuntime { + preset_id, + pattern_id: definition.pattern_id.clone(), + seed, + palette: if palette.is_empty() { + vec!["#ffffff".to_string()] + } else { + palette + }, + parameters, + target_group, + blackout, + } + } + + pub fn set_scene_parameter( + &self, + scene: &mut SceneRuntime, + key: &str, + value: SceneParameterValue, + ) { + scene.parameters.insert(key.to_string(), value); + } + + pub fn active_scene_snapshot(&self, scene: &SceneRuntime) -> ActiveSceneSnapshot { + let definition = self.definition_or_default(&scene.pattern_id); + let parameters = definition + .parameters + .iter() + .map(|spec| SceneParameterState { + key: spec.key.clone(), + label: spec.label.clone(), + kind: spec.kind, + value: scene + .parameters + .get(&spec.key) + .cloned() + .unwrap_or_else(|| spec.default_value.clone()), + min_scalar: spec.min_scalar, + max_scalar: spec.max_scalar, + step: spec.step, + }) + .collect(); + + ActiveSceneSnapshot { + preset_id: scene.preset_id.clone(), + pattern_id: scene.pattern_id.clone(), + seed: scene.seed, + palette: scene.palette.clone(), + parameters, + target_group: scene.target_group.clone(), + blackout: scene.blackout, + } + } + + pub fn transition_snapshot(&self, scene: &SceneRuntime, transition: &TransitionRuntime) -> TransitionSnapshot { + let elapsed_ms = transition.started_at.elapsed().as_millis() as u64; + let progress = if transition.duration_ms == 0 { + 1.0 + } else { + (elapsed_ms as f32 / transition.duration_ms as f32).clamp(0.0, 1.0) + }; + + TransitionSnapshot { + style: transition.style, + from_pattern_id: transition.from_scene.pattern_id.clone(), + to_pattern_id: scene.pattern_id.clone(), + duration_ms: transition.duration_ms, + progress, + } + } + + pub fn transition_finished(&self, transition: &TransitionRuntime) -> bool { + transition.started_at.elapsed().as_millis() as u32 >= transition.duration_ms + } + + pub fn render_preview( + &self, + scene: &SceneRuntime, + panel_index: usize, + panel_count: usize, + elapsed_ms: u64, + ) -> RenderedPreview { + let colors = palette_from_scene(scene); + let sample_leds = (0..DEFAULT_SAMPLE_LED_COUNT) + .map(|sample_index| { + self.render_led_color( + scene, + &colors, + panel_index, + panel_count, + sample_index, + DEFAULT_SAMPLE_LED_COUNT, + elapsed_ms, + ) + }) + .collect::>(); + + let representative = RgbColor::average(&sample_leds); + let energy_percent = sample_leds + .iter() + .map(|color| color.energy_percent() as u32) + .sum::() + / sample_leds.len().max(1) as u32; + + RenderedPreview { + representative_color_hex: representative.to_hex(), + sample_led_hex: sample_leds.into_iter().map(|color| color.to_hex()).collect(), + energy_percent: energy_percent.min(100) as u8, + } + } + + fn scene_from_preset(&self, preset: &PresetConfig) -> SceneRuntime { + let mut scene = self.scene_for_pattern( + &preset.scene.effect, + Some(preset.preset_id.clone()), + preset.target_group.clone(), + preset.scene.seed, + preset.scene.palette.clone(), + preset.scene.blackout, + ); + self.set_scene_parameter(&mut scene, "speed", SceneParameterValue::Scalar(preset.scene.speed)); + self.set_scene_parameter( + &mut scene, + "intensity", + SceneParameterValue::Scalar(preset.scene.intensity), + ); + scene + } + + fn definition_or_default(&self, pattern_id: &str) -> &PatternDefinition { + self.definitions + .get(pattern_id) + .or_else(|| self.definitions.get("solid_color")) + .expect("pattern registry must contain a solid_color definition") + } + + fn render_led_color( + &self, + scene: &SceneRuntime, + palette: &[RgbColor], + panel_index: usize, + panel_count: usize, + sample_index: usize, + sample_count: usize, + elapsed_ms: u64, + ) -> RgbColor { + let speed = scene + .parameters + .get("speed") + .and_then(SceneParameterValue::as_scalar) + .unwrap_or(1.0); + let intensity = scene + .parameters + .get("intensity") + .and_then(SceneParameterValue::as_scalar) + .unwrap_or(1.0) + .clamp(0.0, 1.0); + let spread = scene + .parameters + .get("spread") + .and_then(SceneParameterValue::as_scalar) + .unwrap_or(0.55); + let width = scene + .parameters + .get("width") + .and_then(SceneParameterValue::as_scalar) + .unwrap_or(0.25) + .clamp(0.05, 1.0); + let grain = scene + .parameters + .get("grain") + .and_then(SceneParameterValue::as_scalar) + .unwrap_or(0.65) + .clamp(0.0, 1.0); + let trail = scene + .parameters + .get("trail") + .and_then(SceneParameterValue::as_scalar) + .unwrap_or(0.45) + .clamp(0.05, 1.0); + + let panel_phase = if panel_count == 0 { + 0.0 + } else { + panel_index as f32 / panel_count as f32 + }; + let led_phase = if sample_count == 0 { + 0.0 + } else { + sample_index as f32 / sample_count as f32 + }; + let time_phase = elapsed_ms as f32 / 1000.0 * speed.max(0.01); + + let raw = match scene.pattern_id.as_str() { + "solid_color" => palette.first().copied().unwrap_or(RgbColor::WHITE), + "gradient" => { + let from = palette.first().copied().unwrap_or(RgbColor::BLACK); + let to = palette.get(1).copied().unwrap_or(from); + let blend = (panel_phase + led_phase * spread + time_phase * 0.12).fract(); + from.blend(to, blend) + } + "chase" => { + let position = (time_phase * 0.65 + panel_phase + led_phase).fract(); + let highlight = distance_wrap(position, 0.0); + let strength = smooth_peak(highlight, width); + palette.first().copied().unwrap_or(RgbColor::WHITE).scale(strength) + } + "pulse" => { + let wave = ((time_phase * 2.8 + panel_phase * 0.6).sin() + 1.0) * 0.5; + palette.first().copied().unwrap_or(RgbColor::WHITE).scale(wave) + } + "noise" => { + let noise = hashed_noise(scene.seed, panel_index, sample_index, elapsed_ms); + let color_index = ((noise * palette.len().max(1) as f32).floor() as usize) + .min(palette.len().saturating_sub(1)); + palette + .get(color_index) + .copied() + .unwrap_or(RgbColor::WHITE) + .scale((0.3 + noise * grain).clamp(0.0, 1.0)) + } + "walking_pixel" => { + let head = (time_phase * 0.8 + panel_phase * 0.4).fract(); + let sample = led_phase; + let distance = distance_wrap(sample, head); + let strength = smooth_peak(distance, trail); + let base = palette.first().copied().unwrap_or(RgbColor::WHITE); + base.scale(strength.max(0.08)) + } + _ => palette.first().copied().unwrap_or(RgbColor::WHITE), + }; + + raw.scale(intensity) + } +} + +pub fn transition_style_from_duration(duration_ms: u32) -> SceneTransitionStyle { + if duration_ms == 0 { + SceneTransitionStyle::Snap + } else if duration_ms <= 120 { + SceneTransitionStyle::Chase + } else { + SceneTransitionStyle::Crossfade + } +} + +pub fn apply_group_gate( + preview: &RenderedPreview, + active_in_group: bool, +) -> RenderedPreview { + if active_in_group { + return preview.clone(); + } + + let dimmed = preview + .sample_led_hex + .iter() + .map(|hex| parse_color(hex).scale(0.18).to_hex()) + .collect::>(); + let representative = parse_color(&preview.representative_color_hex).scale(0.18); + RenderedPreview { + representative_color_hex: representative.to_hex(), + sample_led_hex: dimmed, + energy_percent: ((preview.energy_percent as f32) * 0.18) as u8, + } +} + +pub fn blend_previews( + from: &RenderedPreview, + to: &RenderedPreview, + progress: f32, +) -> RenderedPreview { + let blend = progress.clamp(0.0, 1.0); + let from_color = parse_color(&from.representative_color_hex); + let to_color = parse_color(&to.representative_color_hex); + let sample_count = from.sample_led_hex.len().min(to.sample_led_hex.len()); + let mut sample_led_hex = Vec::with_capacity(sample_count); + + for index in 0..sample_count { + let left = parse_color(&from.sample_led_hex[index]); + let right = parse_color(&to.sample_led_hex[index]); + sample_led_hex.push(left.blend(right, blend).to_hex()); + } + + RenderedPreview { + representative_color_hex: from_color.blend(to_color, blend).to_hex(), + sample_led_hex, + energy_percent: ((from.energy_percent as f32) + + (to.energy_percent as f32 - from.energy_percent as f32) * blend) as u8, + } +} + +pub fn panel_test_preview(elapsed_since_trigger_ms: u64) -> RenderedPreview { + let phase = ((elapsed_since_trigger_ms / 120) % DEFAULT_SAMPLE_LED_COUNT as u64) as usize; + let mut sample_led_hex = Vec::with_capacity(DEFAULT_SAMPLE_LED_COUNT); + for index in 0..DEFAULT_SAMPLE_LED_COUNT { + let strength = if index == phase { + 1.0 + } else if distance_wrap(index as f32 / DEFAULT_SAMPLE_LED_COUNT as f32, phase as f32 / DEFAULT_SAMPLE_LED_COUNT as f32) < 0.20 { + 0.35 + } else { + 0.06 + }; + sample_led_hex.push(RgbColor::WHITE.scale(strength).to_hex()); + } + + RenderedPreview { + representative_color_hex: RgbColor::WHITE.scale(0.42).to_hex(), + sample_led_hex, + energy_percent: 42, + } +} + +pub fn blackout_preview() -> RenderedPreview { + RenderedPreview { + representative_color_hex: "#000000".to_string(), + sample_led_hex: vec!["#000000".to_string(); DEFAULT_SAMPLE_LED_COUNT], + energy_percent: 0, + } +} + +pub fn build_group_members(project: &ProjectConfig) -> BTreeMap> { + project + .topology + .groups + .iter() + .map(|group| { + let members = group + .members + .iter() + .map(|member| { + format!( + "{}:{}", + member.node_id, + panel_position_key(&member.panel_position) + ) + }) + .collect(); + (group.group_id.clone(), members) + }) + .collect() +} + +pub fn panel_membership_key(node_id: &str, panel_position: &str) -> String { + format!("{node_id}:{panel_position}") +} + +fn panel_position_key(position: &PanelPosition) -> &'static str { + match position { + PanelPosition::Top => "top", + PanelPosition::Middle => "middle", + PanelPosition::Bottom => "bottom", + } +} + +fn default_pattern_definitions() -> Vec { + vec![ + PatternDefinition { + pattern_id: "solid_color".to_string(), + display_name: "Solid Color".to_string(), + description: "Static palette color for calm base looks and blackout recovery scenes." + .to_string(), + parameters: vec![scalar_spec("speed", "Speed", 0.0, 4.0, 0.05, 0.0), scalar_spec("intensity", "Intensity", 0.0, 1.0, 0.01, 1.0)], + }, + PatternDefinition { + pattern_id: "gradient".to_string(), + display_name: "Gradient Drift".to_string(), + description: "Spatial gradient with slow temporal drift for mood development." + .to_string(), + parameters: vec![ + scalar_spec("speed", "Speed", 0.0, 4.0, 0.05, 0.35), + scalar_spec("intensity", "Intensity", 0.0, 1.0, 0.01, 0.85), + scalar_spec("spread", "Spread", 0.1, 1.5, 0.05, 0.55), + ], + }, + PatternDefinition { + pattern_id: "chase".to_string(), + display_name: "Chase".to_string(), + description: "Directional chase motion that is easy to time and group." + .to_string(), + parameters: vec![ + scalar_spec("speed", "Speed", 0.1, 6.0, 0.05, 1.0), + scalar_spec("intensity", "Intensity", 0.0, 1.0, 0.01, 1.0), + scalar_spec("width", "Width", 0.05, 0.8, 0.01, 0.25), + ], + }, + PatternDefinition { + pattern_id: "pulse".to_string(), + display_name: "Pulse".to_string(), + description: "Breathing pulse for soft transitions and level checks.".to_string(), + parameters: vec![ + scalar_spec("speed", "Speed", 0.1, 6.0, 0.05, 0.75), + scalar_spec("intensity", "Intensity", 0.0, 1.0, 0.01, 0.9), + ], + }, + PatternDefinition { + pattern_id: "noise".to_string(), + display_name: "Noise".to_string(), + description: "Organic shimmer driven by deterministic pseudo noise.".to_string(), + parameters: vec![ + scalar_spec("speed", "Speed", 0.1, 4.0, 0.05, 0.7), + scalar_spec("intensity", "Intensity", 0.0, 1.0, 0.01, 0.8), + scalar_spec("grain", "Grain", 0.0, 1.0, 0.01, 0.65), + ], + }, + PatternDefinition { + pattern_id: "walking_pixel".to_string(), + display_name: "Walking Pixel".to_string(), + description: "Single-pixel scan for mapping tests and alignment checks." + .to_string(), + parameters: vec![ + scalar_spec("speed", "Speed", 0.1, 8.0, 0.05, 1.0), + scalar_spec("intensity", "Intensity", 0.0, 1.0, 0.01, 1.0), + scalar_spec("trail", "Trail", 0.05, 0.8, 0.01, 0.45), + ], + }, + ] +} + +fn scalar_spec( + key: &str, + label: &str, + min_scalar: f32, + max_scalar: f32, + step: f32, + default_value: f32, +) -> SceneParameterSpec { + SceneParameterSpec { + key: key.to_string(), + label: label.to_string(), + kind: SceneParameterKind::Scalar, + min_scalar: Some(min_scalar), + max_scalar: Some(max_scalar), + step: Some(step), + default_value: SceneParameterValue::Scalar(default_value), + } +} + +fn palette_from_scene(scene: &SceneRuntime) -> Vec { + if scene.palette.is_empty() { + vec![RgbColor::WHITE] + } else { + scene.palette.iter().map(|entry| parse_color(entry)).collect() + } +} + +fn parse_color(hex: &str) -> RgbColor { + let raw = hex.trim().trim_start_matches('#'); + if raw.len() == 6 { + if let Ok(value) = u32::from_str_radix(raw, 16) { + return RgbColor { + r: ((value >> 16) & 0xff) as u8, + g: ((value >> 8) & 0xff) as u8, + b: (value & 0xff) as u8, + }; + } + } + RgbColor::WHITE +} + +fn hashed_noise(seed: u64, panel_index: usize, sample_index: usize, elapsed_ms: u64) -> f32 { + let mut hasher = std::collections::hash_map::DefaultHasher::new(); + seed.hash(&mut hasher); + panel_index.hash(&mut hasher); + sample_index.hash(&mut hasher); + (elapsed_ms / 110).hash(&mut hasher); + let value = hasher.finish(); + (value % 10_000) as f32 / 10_000.0 +} + +fn distance_wrap(a: f32, b: f32) -> f32 { + let diff = (a - b).abs(); + diff.min(1.0 - diff) +} + +fn smooth_peak(distance: f32, width: f32) -> f32 { + let normalized = (1.0 - distance / width.max(0.0001)).clamp(0.0, 1.0); + normalized * normalized +} + +impl RgbColor { + const BLACK: Self = Self { r: 0, g: 0, b: 0 }; + const WHITE: Self = Self { + r: 255, + g: 255, + b: 255, + }; + + fn blend(self, other: Self, t: f32) -> Self { + let t = t.clamp(0.0, 1.0); + Self { + r: (self.r as f32 + (other.r as f32 - self.r as f32) * t) as u8, + g: (self.g as f32 + (other.g as f32 - self.g as f32) * t) as u8, + b: (self.b as f32 + (other.b as f32 - self.b as f32) * t) as u8, + } + } + + fn scale(self, amount: f32) -> Self { + let amount = amount.clamp(0.0, 1.0); + Self { + r: (self.r as f32 * amount) as u8, + g: (self.g as f32 * amount) as u8, + b: (self.b as f32 * amount) as u8, + } + } + + fn average(colors: &[Self]) -> Self { + if colors.is_empty() { + return Self::BLACK; + } + + let mut r = 0u32; + let mut g = 0u32; + let mut b = 0u32; + for color in colors { + r += color.r as u32; + g += color.g as u32; + b += color.b as u32; + } + let count = colors.len() as u32; + Self { + r: (r / count) as u8, + g: (g / count) as u8, + b: (b / count) as u8, + } + } + + fn energy_percent(self) -> u8 { + (((self.r as u32 + self.g as u32 + self.b as u32) as f32 / (255.0 * 3.0)) * 100.0) + as u8 + } + + fn to_hex(self) -> String { + format!("#{:02X}{:02X}{:02X}", self.r, self.g, self.b) + } +} + +#[cfg(test)] +mod tests { + use super::*; + use infinity_config::ProjectConfig; + + fn sample_project() -> ProjectConfig { + ProjectConfig::from_toml_str(include_str!("../../../config/project.example.toml")) + .expect("project config must parse") + } + + #[test] + fn registry_builds_catalog_for_project() { + let registry = PatternRegistry::new(); + let catalog = registry.catalog(&sample_project()); + assert!(catalog.patterns.iter().any(|pattern| pattern.pattern_id == "solid_color")); + assert!(catalog.presets.iter().any(|preset| preset.preset_id == "ocean_gradient")); + assert!(catalog.groups.iter().any(|group| group.group_id == "bottom_panels")); + } + + #[test] + fn preset_scene_uses_speed_and_intensity() { + let registry = PatternRegistry::new(); + let project = sample_project(); + let scene = registry + .scene_from_preset_id(&project, "mapping_walk_test") + .expect("preset must exist"); + assert_eq!(scene.pattern_id, "walking_pixel"); + assert_eq!( + scene.parameters.get("speed"), + Some(&SceneParameterValue::Scalar(1.0)) + ); + } + + #[test] + fn preview_render_produces_hex_output() { + let registry = PatternRegistry::new(); + let project = sample_project(); + let scene = registry.initial_scene(&project); + let preview = registry.render_preview(&scene, 0, 18, 450); + assert_eq!(preview.sample_led_hex.len(), 6); + assert!(preview.representative_color_hex.starts_with('#')); + } +} diff --git a/crates/infinity_host/src/simulation.rs b/crates/infinity_host/src/simulation.rs new file mode 100644 index 0000000..ae19b1e --- /dev/null +++ b/crates/infinity_host/src/simulation.rs @@ -0,0 +1,691 @@ +use crate::{ + control::{ + EngineSnapshot, GlobalControlSnapshot, HostApiPort, HostCommand, HostSnapshot, + HOST_API_VERSION, NodeConnectionState, NodeSnapshot, PanelSnapshot, PanelTarget, + PreviewPanelSnapshot, PreviewSource, StatusEvent, SystemSnapshot, + }, + runtime::TickSchedule, + scene::{ + apply_group_gate, blackout_preview, blend_previews, build_group_members, + panel_membership_key, panel_test_preview, transition_style_from_duration, PatternRegistry, + RenderedPreview, SceneRuntime, TransitionRuntime, + }, +}; +use infinity_config::{PanelPosition, ProjectConfig}; +use std::{ + collections::BTreeMap, + sync::{Arc, Mutex}, + thread, + time::{Duration, Instant}, +}; + +const MAX_RECENT_EVENTS: usize = 16; +const PANEL_TEST_HOLD_MS: u64 = 1_400; + +#[derive(Debug)] +pub struct SimulationHostService { + inner: Arc>, +} + +#[derive(Debug)] +struct SimulationState { + project: ProjectConfig, + registry: PatternRegistry, + group_members: BTreeMap>, + started_at: Instant, + next_seed: u64, + tick_count: u64, + frame_index: u64, + dropped_frames: u64, + schedule: TickSchedule, + current_scene: SceneRuntime, + active_transition: Option, + snapshot: HostSnapshot, +} + +impl SimulationHostService { + pub fn new(project: ProjectConfig) -> Self { + Self { + inner: Arc::new(Mutex::new(SimulationState::new(project))), + } + } + + pub fn spawn_shared(project: ProjectConfig) -> Arc { + let service = Arc::new(Self::new(project)); + Self::spawn_simulation_loop(Arc::clone(&service)); + service + } + + fn spawn_simulation_loop(service: Arc) { + thread::spawn(move || loop { + thread::sleep(Duration::from_millis(80)); + if let Ok(mut state) = service.inner.lock() { + state.simulate_tick(); + } + }); + } +} + +impl HostApiPort for SimulationHostService { + fn snapshot(&self) -> HostSnapshot { + self.inner + .lock() + .map(|state| state.snapshot.clone()) + .unwrap_or_else(|_| unavailable_snapshot()) + } + + fn send_command(&self, command: HostCommand) { + if let Ok(mut state) = self.inner.lock() { + state.apply_command(command); + } + } +} + +impl SimulationState { + fn new(project: ProjectConfig) -> Self { + let registry = PatternRegistry::new(); + let group_members = build_group_members(&project); + let schedule = TickSchedule::default(); + let current_scene = registry.initial_scene(&project); + let catalog = registry.catalog(&project); + let available_patterns = catalog + .patterns + .iter() + .map(|pattern| pattern.pattern_id.clone()) + .collect::>(); + let nodes = project + .topology + .nodes + .iter() + .map(|node| NodeSnapshot { + node_id: node.node_id.clone(), + display_name: node.display_name.clone(), + reserved_ip: node.network.reserved_ip.clone(), + connection: NodeConnectionState::Online, + last_contact_ms: 10, + error_status: None, + panel_count: node.outputs.len(), + }) + .collect::>(); + let panels = project + .topology + .nodes + .iter() + .flat_map(|node| { + node.outputs.iter().map(move |output| PanelSnapshot { + target: PanelTarget { + node_id: node.node_id.clone(), + panel_position: output.panel_position.clone(), + }, + physical_output_name: output.physical_output_name.clone(), + driver_reference: output.driver_channel.reference.clone(), + led_count: output.led_count, + direction: output.direction.clone(), + color_order: output.color_order.clone(), + enabled: output.enabled, + validation_state: output.validation_state.clone(), + connection: NodeConnectionState::Online, + last_test_trigger_ms: None, + error_status: None, + }) + }) + .collect::>(); + + let mut state = Self { + project: project.clone(), + registry, + group_members, + started_at: Instant::now(), + next_seed: 100, + tick_count: 0, + frame_index: 0, + dropped_frames: 0, + schedule: schedule.clone(), + current_scene, + active_transition: None, + snapshot: HostSnapshot { + api_version: HOST_API_VERSION, + backend_label: "simulation-core".to_string(), + generated_at_millis: 0, + system: SystemSnapshot { + project_name: project.metadata.project_name.clone(), + schema_version: project.metadata.schema_version, + topology_label: "6 nodes / 18 outputs / 106 LEDs".to_string(), + }, + global: GlobalControlSnapshot { + blackout: false, + master_brightness: 0.20, + selected_pattern: "solid_color".to_string(), + selected_group: None, + transition_duration_ms: 150, + }, + engine: EngineSnapshot { + logic_hz: schedule.logic_hz, + frame_hz: schedule.frame_synthesis_hz, + preview_hz: schedule.preview_hz, + uptime_ms: 0, + frame_index: 0, + dropped_frames: 0, + active_transition: None, + }, + catalog, + active_scene: crate::control::ActiveSceneSnapshot { + preset_id: None, + pattern_id: "solid_color".to_string(), + seed: 0, + palette: vec!["#ffffff".to_string()], + parameters: Vec::new(), + target_group: None, + blackout: false, + }, + preview: crate::control::PreviewSnapshot { panels: Vec::new() }, + available_patterns, + nodes, + panels, + recent_events: Vec::new(), + }, + }; + state.snapshot.global.selected_pattern = state.current_scene.pattern_id.clone(); + state.snapshot.global.selected_group = state.current_scene.target_group.clone(); + state.snapshot.active_scene = state.registry.active_scene_snapshot(&state.current_scene); + state.push_event("simulation host service started".to_string()); + state.simulate_tick(); + state + } + + fn simulate_tick(&mut self) { + self.tick_count += 1; + let elapsed_ms = self.elapsed_millis(); + self.frame_index = elapsed_ms * self.schedule.frame_synthesis_hz as u64 / 1_000; + self.snapshot.generated_at_millis = elapsed_ms; + self.snapshot.engine.uptime_ms = elapsed_ms; + self.snapshot.engine.frame_index = self.frame_index; + self.snapshot.engine.dropped_frames = self.dropped_frames; + self.snapshot.engine.logic_hz = self.schedule.logic_hz; + self.snapshot.engine.frame_hz = self.schedule.frame_synthesis_hz; + self.snapshot.engine.preview_hz = self.schedule.preview_hz; + + self.update_node_states(); + self.update_panel_states(); + self.resolve_transition_if_complete(); + self.snapshot.engine.active_transition = self + .active_transition + .as_ref() + .map(|transition| self.registry.transition_snapshot(&self.current_scene, transition)); + self.snapshot.active_scene = self.registry.active_scene_snapshot(&self.current_scene); + self.snapshot.global.selected_pattern = self.current_scene.pattern_id.clone(); + self.snapshot.global.selected_group = self.current_scene.target_group.clone(); + self.snapshot.preview.panels = self.render_preview_panels(elapsed_ms); + } + + fn apply_command(&mut self, command: HostCommand) { + match command { + HostCommand::SetBlackout(enabled) => { + self.snapshot.global.blackout = enabled; + self.push_event(if enabled { + "global blackout enabled".to_string() + } else { + "global blackout released".to_string() + }); + } + HostCommand::SetMasterBrightness(value) => { + self.snapshot.global.master_brightness = value.clamp(0.0, 1.0); + self.push_event(format!( + "master brightness set to {:.0}%", + self.snapshot.global.master_brightness * 100.0 + )); + } + HostCommand::SelectPattern(pattern_id) => { + let mut new_scene = self.registry.scene_for_pattern( + &pattern_id, + None, + self.current_scene.target_group.clone(), + self.next_seed, + self.current_scene.palette.clone(), + false, + ); + self.next_seed += 1; + + if let Some(speed) = self.current_scene.parameters.get("speed").cloned() { + self.registry.set_scene_parameter(&mut new_scene, "speed", speed); + } + if let Some(intensity) = self.current_scene.parameters.get("intensity").cloned() { + self.registry + .set_scene_parameter(&mut new_scene, "intensity", intensity); + } + + let duration_ms = self.snapshot.global.transition_duration_ms; + self.start_scene_transition( + new_scene, + duration_ms, + transition_style_from_duration(duration_ms), + format!("pattern selected: {pattern_id}"), + ); + } + HostCommand::RecallPreset { preset_id } => { + if let Some(scene) = self.registry.scene_from_preset_id(&self.project, &preset_id) { + let duration_ms = self + .project + .presets + .iter() + .find(|preset| preset.preset_id == preset_id) + .map(|preset| preset.transition_ms) + .unwrap_or(self.snapshot.global.transition_duration_ms); + self.snapshot.global.transition_duration_ms = duration_ms; + self.start_scene_transition( + scene, + duration_ms, + self.registry + .transition_style_for_preset(&self.project, &preset_id), + format!("preset recalled: {preset_id}"), + ); + } else { + self.push_event(format!("ignored unknown preset request: {preset_id}")); + } + } + HostCommand::SelectGroup { group_id } => { + self.current_scene.target_group = group_id.clone(); + self.snapshot.global.selected_group = group_id.clone(); + self.current_scene.preset_id = None; + self.push_event(format!( + "target group set to {}", + group_id.as_deref().unwrap_or("all_panels") + )); + } + HostCommand::SetSceneParameter { key, value } => { + self.registry + .set_scene_parameter(&mut self.current_scene, &key, value.clone()); + self.current_scene.preset_id = None; + self.push_event(format!("scene parameter updated: {key} = {value:?}")); + } + HostCommand::SetTransitionDurationMs(duration_ms) => { + self.snapshot.global.transition_duration_ms = duration_ms; + self.push_event(format!( + "default transition duration set to {} ms", + duration_ms + )); + } + HostCommand::TriggerPanelTest { target, pattern } => { + let now = self.elapsed_millis(); + let mut message = format!( + "test '{}' requested for unknown panel {}:{}", + pattern.label(), + target.node_id, + panel_position_label(&target.panel_position) + ); + + if let Some(panel) = self + .snapshot + .panels + .iter_mut() + .find(|panel| panel.target == target) + { + panel.last_test_trigger_ms = Some(now); + message = format!( + "test '{}' triggered for {}:{}", + pattern.label(), + target.node_id, + panel_position_label(&target.panel_position) + ); + } + + self.push_event(message); + } + } + + self.simulate_tick(); + } + + fn start_scene_transition( + &mut self, + new_scene: SceneRuntime, + duration_ms: u32, + style: crate::control::SceneTransitionStyle, + event_message: String, + ) { + let previous_scene = self.current_scene.clone(); + self.current_scene = new_scene; + self.active_transition = if duration_ms == 0 { + None + } else { + Some(TransitionRuntime { + style, + duration_ms, + started_at: Instant::now(), + from_scene: previous_scene, + }) + }; + self.push_event(event_message); + } + + fn resolve_transition_if_complete(&mut self) { + let finished = self + .active_transition + .as_ref() + .map(|transition| self.registry.transition_finished(transition)) + .unwrap_or(false); + + if finished { + self.active_transition = None; + self.push_event(format!( + "transition completed to {}", + self.current_scene.pattern_id + )); + } + } + + fn update_node_states(&mut self) { + let previous_states: BTreeMap<_, _> = self + .snapshot + .nodes + .iter() + .map(|node| (node.node_id.clone(), node.connection)) + .collect(); + let mut transition_messages = Vec::new(); + + for (index, node) in self.snapshot.nodes.iter_mut().enumerate() { + let connection = simulated_connection_state(index, self.tick_count); + node.connection = connection; + node.last_contact_ms = simulated_last_contact_ms(index, self.tick_count, connection); + node.error_status = simulated_error_status(connection); + if previous_states + .get(&node.node_id) + .copied() + .unwrap_or(NodeConnectionState::Offline) + != connection + { + transition_messages.push(format!( + "{} is now {}", + node.display_name, + connection.label() + )); + } + } + + for message in transition_messages { + self.push_event(message); + } + } + + fn update_panel_states(&mut self) { + let node_states: BTreeMap<_, _> = self + .snapshot + .nodes + .iter() + .map(|node| (node.node_id.clone(), (node.connection, node.error_status.clone()))) + .collect(); + + for panel in &mut self.snapshot.panels { + if let Some((connection, node_error)) = node_states.get(&panel.target.node_id) { + panel.connection = *connection; + panel.error_status = match (node_error, panel.enabled) { + (_, false) => Some("output disabled".to_string()), + (Some(error), _) => Some(error.clone()), + (None, true) => None, + }; + } + } + } + + fn render_preview_panels(&self, elapsed_ms: u64) -> Vec { + self.snapshot + .panels + .iter() + .enumerate() + .map(|(panel_index, panel)| { + let preview = self.render_preview_for_panel(panel, panel_index, elapsed_ms); + PreviewPanelSnapshot { + target: panel.target.clone(), + representative_color_hex: preview.0.representative_color_hex, + sample_led_hex: preview.0.sample_led_hex, + energy_percent: preview.0.energy_percent, + preview_source: preview.1, + } + }) + .collect() + } + + fn render_preview_for_panel( + &self, + panel: &PanelSnapshot, + panel_index: usize, + elapsed_ms: u64, + ) -> (RenderedPreview, PreviewSource) { + if self.snapshot.global.blackout || self.current_scene.blackout || !panel.enabled { + return (blackout_preview(), PreviewSource::Blackout); + } + + if let Some(last_trigger_ms) = panel.last_test_trigger_ms { + let age = elapsed_ms.saturating_sub(last_trigger_ms); + if age <= PANEL_TEST_HOLD_MS { + let preview = scale_preview( + panel_test_preview(age), + self.snapshot.global.master_brightness, + ); + return (preview, PreviewSource::PanelTest); + } + } + + let panel_count = self.snapshot.panels.len(); + let current = self + .registry + .render_preview(&self.current_scene, panel_index, panel_count, elapsed_ms); + let mut source = PreviewSource::Scene; + let mut preview = if let Some(transition) = &self.active_transition { + let from = self + .registry + .render_preview(&transition.from_scene, panel_index, panel_count, elapsed_ms); + let progress = self + .registry + .transition_snapshot(&self.current_scene, transition) + .progress; + source = PreviewSource::Transition; + blend_previews(&from, ¤t, progress) + } else { + current + }; + + if let Some(group_id) = &self.current_scene.target_group { + let membership_key = panel_membership_key( + &panel.target.node_id, + panel_position_label(&panel.target.panel_position), + ); + let active_in_group = self + .group_members + .get(group_id) + .map(|members| members.contains(&membership_key)) + .unwrap_or(false); + preview = apply_group_gate(&preview, active_in_group); + } + + (scale_preview(preview, self.snapshot.global.master_brightness), source) + } + + fn push_event(&mut self, message: String) { + self.snapshot.recent_events.insert( + 0, + StatusEvent { + at_millis: self.elapsed_millis(), + message, + }, + ); + self.snapshot.recent_events.truncate(MAX_RECENT_EVENTS); + } + + fn elapsed_millis(&self) -> u64 { + self.started_at.elapsed().as_millis() as u64 + } +} + +fn unavailable_snapshot() -> HostSnapshot { + HostSnapshot { + api_version: HOST_API_VERSION, + backend_label: "simulation-unavailable".to_string(), + generated_at_millis: 0, + system: SystemSnapshot { + project_name: "Unavailable".to_string(), + schema_version: 0, + topology_label: "unknown".to_string(), + }, + global: GlobalControlSnapshot { + blackout: true, + master_brightness: 0.0, + selected_pattern: "unavailable".to_string(), + selected_group: None, + transition_duration_ms: 0, + }, + engine: EngineSnapshot { + logic_hz: 0, + frame_hz: 0, + preview_hz: 0, + uptime_ms: 0, + frame_index: 0, + dropped_frames: 0, + active_transition: None, + }, + catalog: crate::control::CatalogSnapshot { + patterns: Vec::new(), + presets: Vec::new(), + groups: Vec::new(), + }, + active_scene: crate::control::ActiveSceneSnapshot { + preset_id: None, + pattern_id: "unavailable".to_string(), + seed: 0, + palette: Vec::new(), + parameters: Vec::new(), + target_group: None, + blackout: true, + }, + preview: crate::control::PreviewSnapshot { panels: Vec::new() }, + available_patterns: Vec::new(), + nodes: Vec::new(), + panels: Vec::new(), + recent_events: vec![StatusEvent { + at_millis: 0, + message: "simulation service lock was unavailable".to_string(), + }], + } +} + +fn simulated_connection_state(index: usize, tick_count: u64) -> NodeConnectionState { + match index { + 4 => { + if tick_count % 24 < 8 { + NodeConnectionState::Degraded + } else { + NodeConnectionState::Online + } + } + 5 => { + if tick_count % 32 < 7 { + NodeConnectionState::Offline + } else { + NodeConnectionState::Online + } + } + _ => NodeConnectionState::Online, + } +} + +fn simulated_last_contact_ms( + index: usize, + tick_count: u64, + connection: NodeConnectionState, +) -> u64 { + match connection { + NodeConnectionState::Online => 10 + (index as u64 * 4) + (tick_count % 6), + NodeConnectionState::Degraded => 180 + (tick_count % 90), + NodeConnectionState::Offline => 2_500 + (tick_count % 700), + } +} + +fn simulated_error_status(connection: NodeConnectionState) -> Option { + match connection { + NodeConnectionState::Online => None, + NodeConnectionState::Degraded => Some("heartbeat jitter above target".to_string()), + NodeConnectionState::Offline => Some("awaiting reconnect".to_string()), + } +} + +fn panel_position_label(position: &PanelPosition) -> &'static str { + match position { + PanelPosition::Top => "top", + PanelPosition::Middle => "middle", + PanelPosition::Bottom => "bottom", + } +} + +fn scale_preview(mut preview: RenderedPreview, factor: f32) -> RenderedPreview { + let factor = factor.clamp(0.0, 1.0); + preview.representative_color_hex = scale_hex_color(&preview.representative_color_hex, factor); + preview.sample_led_hex = preview + .sample_led_hex + .into_iter() + .map(|hex| scale_hex_color(&hex, factor)) + .collect(); + preview.energy_percent = ((preview.energy_percent as f32) * factor).round() as u8; + preview +} + +fn scale_hex_color(hex: &str, factor: f32) -> String { + let raw = hex.trim().trim_start_matches('#'); + if raw.len() == 6 { + if let Ok(value) = u32::from_str_radix(raw, 16) { + let r = (((value >> 16) & 0xff) as f32 * factor).round() as u8; + let g = (((value >> 8) & 0xff) as f32 * factor).round() as u8; + let b = ((value & 0xff) as f32 * factor).round() as u8; + return format!("#{:02X}{:02X}{:02X}", r, g, b); + } + } + "#000000".to_string() +} + +#[cfg(test)] +mod tests { + use super::*; + use crate::SceneParameterValue; + use infinity_config::ProjectConfig; + + fn sample_project() -> ProjectConfig { + ProjectConfig::from_toml_str(include_str!("../../../config/project.example.toml")) + .expect("project config must parse") + } + + #[test] + fn simulation_service_exposes_catalog_and_preview() { + let service = SimulationHostService::new(sample_project()); + let snapshot = service.snapshot(); + assert!(snapshot + .catalog + .presets + .iter() + .any(|preset| preset.preset_id == "amber_chase_top")); + assert_eq!(snapshot.preview.panels.len(), 18); + assert_eq!(snapshot.nodes.len(), 6); + } + + #[test] + fn commands_update_scene_and_group() { + let service = SimulationHostService::new(sample_project()); + service.send_command(HostCommand::SelectGroup { + group_id: Some("top_panels".to_string()), + }); + service.send_command(HostCommand::RecallPreset { + preset_id: "mapping_walk_test".to_string(), + }); + service.send_command(HostCommand::SetSceneParameter { + key: "speed".to_string(), + value: SceneParameterValue::Scalar(2.0), + }); + + let snapshot = service.snapshot(); + assert_eq!(snapshot.active_scene.pattern_id, "walking_pixel"); + assert_eq!(snapshot.global.selected_group.as_deref(), Some("all_panels")); + assert!(snapshot + .active_scene + .parameters + .iter() + .any(|parameter| parameter.key == "speed")); + } +} diff --git a/crates/infinity_host_ui/src/app.rs b/crates/infinity_host_ui/src/app.rs index 5073a57..c1af658 100644 --- a/crates/infinity_host_ui/src/app.rs +++ b/crates/infinity_host_ui/src/app.rs @@ -84,7 +84,7 @@ fn draw_global_controls(ui: &mut egui::Ui, snapshot: &HostSnapshot, service: &Ar } let selected_pattern = snapshot.global.selected_pattern.clone(); - egui::ComboBox::from_id_source("pattern_selector") + egui::ComboBox::from_id_salt("pattern_selector") .width(180.0) .selected_text(selected_pattern.clone()) .show_ui(ui, |ui| { @@ -202,6 +202,41 @@ fn draw_status_panel(ui: &mut egui::Ui, snapshot: &HostSnapshot) { ui.label("Node connectivity, last contact, and recent control activity."); ui.add_space(8.0); + ui.group(|ui| { + ui.label(RichText::new("Engine").strong()); + ui.label(format!("Pattern: {}", snapshot.active_scene.pattern_id)); + ui.label(format!( + "Preset: {}", + snapshot + .active_scene + .preset_id + .as_deref() + .unwrap_or("custom") + )); + ui.label(format!( + "Group: {}", + snapshot + .active_scene + .target_group + .as_deref() + .unwrap_or("all_panels") + )); + ui.label(format!( + "Frames: {} at {} Hz", + snapshot.engine.frame_index, snapshot.engine.frame_hz + )); + if let Some(transition) = &snapshot.engine.active_transition { + ui.label(format!( + "Transition: {:?} {:.0}%", + transition.style, + transition.progress * 100.0 + )); + } else { + ui.label("Transition: idle"); + } + }); + ui.add_space(8.0); + for node in &snapshot.nodes { ui.group(|ui| { ui.horizontal(|ui| { diff --git a/crates/infinity_host_ui/src/main.rs b/crates/infinity_host_ui/src/main.rs index f94641d..dfd0ec0 100644 --- a/crates/infinity_host_ui/src/main.rs +++ b/crates/infinity_host_ui/src/main.rs @@ -4,7 +4,7 @@ use app::HostUiApp; use clap::Parser; use eframe::egui; use infinity_config::{load_project_from_path, ProjectConfig}; -use infinity_host::MockHostService; +use infinity_host::SimulationHostService; use std::path::PathBuf; #[derive(Debug, Parser)] @@ -17,7 +17,7 @@ struct Cli { fn main() -> eframe::Result<()> { let cli = Cli::parse(); let project = load_project(cli.config.as_deref()); - let service = MockHostService::spawn(project); + let service = SimulationHostService::spawn_shared(project); let options = eframe::NativeOptions { viewport: egui::ViewportBuilder::default() diff --git a/docs/architecture.md b/docs/architecture.md index 142d5bc..9bab649 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -4,14 +4,25 @@ Build a live-capable LED control platform that keeps realtime output deterministic while letting operators change scenes, brightness, tests, and presets without UI jitter leaking into the hot path. +## Current Priority + +The current delivery order is intentionally software-first: + +1. host-core and shared API +2. scene, preset, group, parameter, transition, and simulation model +3. web UI as the primary creative surface +4. engineering GUI as the technical surface +5. external show-control adapters such as grandMA +6. hardware validation and real node activation later + ## Layer Split 1. Control layer - - Operator workflow - - Presets and topology editing - - Monitoring and diagnostics + - Shared host API first + - Creative web UI later + - Engineering GUI already implemented in `crates/infinity_host_ui` + - Monitoring, mapping, diagnostics, and admin - Never the timing master for LED output - - First vertical slice is implemented as `crates/infinity_host_ui` 2. Realtime engine - Owns the monotonic clock - Computes scene state, transitions, and dirty regions @@ -35,6 +46,17 @@ Build a live-capable LED control platform that keeps realtime output determinist Preview and telemetry are explicitly degradable. Realtime output is not. +## Shared Surface Model + +Every surface must talk to the same host API: + +- engineering GUI +- future creative web UI +- CLI inspection +- future grandMA adapter + +The current software-first implementation uses a simulation-backed host API so looks, presets, parameters, and grouping can be developed before real node activation. + ## Modes ### Distributed Scene Mode @@ -79,7 +101,7 @@ The codebase deliberately blocks activation when these remain unresolved: ## Planned Next Steps -1. Expand the new UI slice from mock service to real host transport adapters -2. Implement UDP transport with separate control and realtime sockets -3. Connect firmware driver backends after hardware validation -4. Add deterministic effect registry shared between host planning and firmware capability negotiation +1. Add a network-facing adapter for the shared host API and start the web UI +2. Expand scene authoring and preset editing on top of the existing simulation core +3. Implement transport adapters without coupling them to any single frontend +4. Keep hardware activation behind explicit later validation gates diff --git a/docs/build_and_deploy.md b/docs/build_and_deploy.md index 1b22157..126ddbc 100644 --- a/docs/build_and_deploy.md +++ b/docs/build_and_deploy.md @@ -11,12 +11,13 @@ Suggested commands: ```powershell cargo test +cargo run -p infinity_host -- snapshot --config config/project.example.toml cargo run -p infinity_host_ui cargo run -p infinity_host -- validate --config config/project.example.toml --mode structural cargo run -p infinity_host -- plan-boot-scene --config config/project.example.toml --preset-id safe_static_blue ``` -The native UI currently runs against the host-core mock service so the operator workflow can be exercised before transport and firmware integration are complete. +The native engineering UI and the CLI snapshot currently run against the simulation-backed host API so looks, presets, grouping, and parameter flow can be exercised before transport and firmware integration are complete. Before any live activation, run: diff --git a/docs/host_api.md b/docs/host_api.md new file mode 100644 index 0000000..da6340d --- /dev/null +++ b/docs/host_api.md @@ -0,0 +1,80 @@ +# Host API + +## Purpose + +The host API is the stable boundary that all operator surfaces and later external show-control adapters must use. + +Current rule: + +- no UI is allowed to become the realtime clock +- no frontend-specific assumptions are allowed to leak into scene simulation or transport planning +- future grandMA support must land as an adapter on this API, not as a special-case core path + +## Current Implementation + +The API lives in: + +- `crates/infinity_host/src/control.rs` +- `crates/infinity_host/src/scene.rs` +- `crates/infinity_host/src/simulation.rs` + +The engineering GUI already consumes this API through the `HostApiPort` / `HostUiPort` trait boundary. + +## Snapshot Model + +`HostSnapshot` currently exposes: + +- system metadata +- global controls +- engine timing and transition state +- catalog of patterns, presets, and groups +- active scene with parameter values +- simulated preview panels +- node and panel status +- recent event log + +This makes it suitable as the shared read model for: + +- engineering GUI +- upcoming web UI +- CLI inspection +- later external control bridges + +## Command Model + +`HostCommand` currently supports: + +- blackout +- master brightness +- pattern selection +- preset recall +- group selection +- scene parameter changes +- transition duration changes +- per-panel test triggers + +## Simulation Layer + +The current `SimulationHostService` is not a throwaway mock. It is the software-first runtime for: + +- look exploration +- preset development +- parameter tuning +- future web UI integration +- API contract testing before hardware activation + +It simulates: + +- active scene state +- pattern rendering previews +- group gating +- transitions +- node connectivity status +- per-panel mapping tests + +## Near-Term Direction + +1. Keep extending this API instead of adding surface-specific data paths. +2. Add a network-facing adapter for the same API when the web UI starts. +3. Keep engineering GUI focused on topology, mapping, diagnostics, and admin. +4. Add grandMA later as an external show-control adapter against this API.