diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml index d9ada2b..22f4387 100644 --- a/.github/ISSUE_TEMPLATE/bug.yaml +++ b/.github/ISSUE_TEMPLATE/bug.yaml @@ -28,6 +28,9 @@ body: options: - label: api - label: web + - label: packages + - label: client + - label: docker - label: Other validations: required: true diff --git a/.github/ISSUE_TEMPLATE/request.yaml b/.github/ISSUE_TEMPLATE/request.yaml index 139ff5e..9bf14fe 100644 --- a/.github/ISSUE_TEMPLATE/request.yaml +++ b/.github/ISSUE_TEMPLATE/request.yaml @@ -25,6 +25,9 @@ body: options: - label: api - label: web + - label: packages + - label: client + - label: docker - label: Other validations: required: true diff --git a/.github/labeler.yml b/.github/labeler.yml index d71c1c9..e91cd3b 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -6,6 +6,10 @@ - changed-files: - any-glob-to-any-file: ["apps/api/**"] +"Area: Client": + - changed-files: + - any-glob-to-any-file: ["apps/client/**"] + "Area: Web": - changed-files: - any-glob-to-any-file: ["apps/web/**"] diff --git a/.gitignore b/.gitignore index 5fd0e8a..4e4cb58 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ bundle-analysis.html dist .turbo .alchemy +target # envs .env @@ -25,4 +26,29 @@ __generated__ generated # Bun -*.bun-build \ No newline at end of file +*.bun-build + +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 8b0915b..09f6090 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,3 +1,4 @@ { - "recommendations": ["biomejs.biome", "vstirbu.vscode-mermaid-preview", "usernamehw.errorlens", "oven.bun-vscode"] + "recommendations": ["biomejs.biome", "vstirbu.vscode-mermaid-preview", "usernamehw.errorlens", "oven.bun-vscode", "tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"] + } \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 44891a0..2f0dfd9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -39,8 +39,10 @@ "boostname", "bosstiary", "bullmq", + "cipsoft", "clienttype", "clientversion", + "clsx", "cmdk", "commitlint", "conninfo", @@ -70,6 +72,7 @@ "externalportunprotected", "fastly", "Ferumbra", + "firstspriteid", "Focusable", "fondamento", "fpstracking", @@ -81,6 +84,7 @@ "healthmax", "highscores", "ibfk", + "imageops", "inboxitems", "initdb", "ishidden", @@ -102,6 +106,7 @@ "lastlogin", "lastlogintime", "lastlogout", + "lastspriteid", "legscolor", "lifeleech", "linux", @@ -119,6 +124,7 @@ "lookmounthead", "lookmountlegs", "looktype", + "lzma", "maglevel", "manaleech", "manamax", @@ -155,6 +161,7 @@ "ownerid", "permissioned", "Permissioned", + "pkcs", "playdata", "poppins", "posx", @@ -162,24 +169,31 @@ "premdays", "premiumuntil", "previewstate", + "prost", + "protobuf", + "protoc", "pvptype", "qrcode", "quickloot", "quintenary", "raceid", + "recv", "remainingdailytournamentplaytime", "Repliable", "requirepass", "restrictedstore", "retrohardcore", "returnernotification", + "rngs", "roboto", "safelist", + "serde", "serverinfo", "sessionkey", "showrewardnews", "SKRS", "skulltime", + "spritetype", "stayloggedin", "synchronisation", "tailwindcss", @@ -199,7 +213,9 @@ "tsqp", "tsyringe", "undelete", + "unlisten", "unserialize", + "unsubs", "usecase", "usecases", "usehooks", @@ -208,10 +224,12 @@ "vipgrouplist", "vipgroups", "viplist", + "vitejs", "walkspeed", "warid", "wheeldata", "worldid", - "xpboost" + "xpboost", + "xtea" ], } \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..b97a30e --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,5638 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "adler2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + +[[package]] +name = "aho-corasick" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" +dependencies = [ + "memchr", +] + +[[package]] +name = "alloc-no-stdlib" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" + +[[package]] +name = "alloc-stdlib" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" +dependencies = [ + "alloc-no-stdlib", +] + +[[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 = "anyhow" +version = "1.0.100" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" + +[[package]] +name = "assets" +version = "0.1.0" +dependencies = [ + "anyhow", + "hex", + "image", + "log", + "lzma-rs", + "prost", + "prost-build", + "protoc-bin-vendored", + "serde", + "serde_json", + "xz2", +] + +[[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.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "497c00e0fd83a72a79a39fcbd8e3e2f055d6f6c7e025f3b3d91f4f8e76527fb8" +dependencies = [ + "async-task", + "concurrent-queue", + "fastrand", + "futures-lite", + "pin-project-lite", + "slab", +] + +[[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", + "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", +] + +[[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.111", +] + +[[package]] +name = "async-signal" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43c070bbf59cd3570b6b2dd54cd772527c7c3620fce8be898406dd3ed6adc64c" +dependencies = [ + "async-io", + "async-lock", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix", + "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.111", +] + +[[package]] +name = "atk" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "241b621213072e993be4f6f3a9e4b45f65b7e6faad43001be957184b7bb1824b" +dependencies = [ + "atk-sys", + "glib", + "libc", +] + +[[package]] +name = "atk-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5e48b684b0ca77d2bbadeef17424c2ea3c897d44d566a1617e7e8f30614d086" +dependencies = [ + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "autocfg" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" + +[[package]] +name = "base64" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64ct" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e050f626429857a27ddccb31e0aca21356bfa709c04041aefddac081a8f068a" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" +dependencies = [ + "serde_core", +] + +[[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.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2", +] + +[[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 = "brotli" +version = "8.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bd8b9603c7aa97359dbd97ecf258968c95f3adddd6db2f7e7a5bef101c84560" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", + "brotli-decompressor", +] + +[[package]] +name = "brotli-decompressor" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", +] + +[[package]] +name = "bumpalo" +version = "3.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510" + +[[package]] +name = "bytemuck" +version = "1.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[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.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" +dependencies = [ + "serde", +] + +[[package]] +name = "cairo-rs" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ca26ef0159422fb77631dc9d17b102f253b876fe1586b03b803e63a309b4ee2" +dependencies = [ + "bitflags 2.10.0", + "cairo-sys-rs", + "glib", + "libc", + "once_cell", + "thiserror 1.0.69", +] + +[[package]] +name = "cairo-sys-rs" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "685c9fa8e590b8b3d678873528d83411db17242a73fccaed827770ea0fedda51" +dependencies = [ + "glib-sys", + "libc", + "system-deps", +] + +[[package]] +name = "camino" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48" +dependencies = [ + "serde_core", +] + +[[package]] +name = "cargo-platform" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo_metadata" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" +dependencies = [ + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror 2.0.17", +] + +[[package]] +name = "cargo_toml" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "374b7c592d9c00c1f4972ea58390ac6b18cbb6ab79011f3bdc90a0b82ca06b77" +dependencies = [ + "serde", + "toml 0.9.10+spec-1.1.0", +] + +[[package]] +name = "cc" +version = "1.2.51" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a0aeaff4ff1a90589618835a598e545176939b97874f7abc7851caa0618f203" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + +[[package]] +name = "cfb" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d38f2da7a0a2c4ccf0065be06397cc26a81f4e528be095826eee9d4adbb8c60f" +dependencies = [ + "byteorder", + "fnv", + "uuid", +] + +[[package]] +name = "cfg-expr" +version = "0.15.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" +dependencies = [ + "smallvec", + "target-lexicon", +] + +[[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.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" + +[[package]] +name = "chrono" +version = "0.4.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" +dependencies = [ + "iana-time-zone", + "num-traits", + "serde", + "windows-link 0.2.1", +] + +[[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 = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "convert_case" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" + +[[package]] +name = "cookie" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747" +dependencies = [ + "time", + "version_check", +] + +[[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.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa95a34622365fa5bbf40b20b75dba8dfa8c94c734aea8ac9a5ca38af14316f1" +dependencies = [ + "bitflags 2.10.0", + "core-foundation", + "core-graphics-types", + "foreign-types", + "libc", +] + +[[package]] +name = "core-graphics-types" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb" +dependencies = [ + "bitflags 2.10.0", + "core-foundation", + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "crc" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" + +[[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-channel" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" +dependencies = [ + "crossbeam-utils", +] + +[[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 = "cssparser" +version = "0.29.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f93d03419cb5950ccfd3daf3ff1c7a36ace64609a1a8746d493df1ca0afde0fa" +dependencies = [ + "cssparser-macros", + "dtoa-short", + "itoa", + "matches", + "phf 0.10.1", + "proc-macro2", + "quote", + "smallvec", + "syn 1.0.109", +] + +[[package]] +name = "cssparser-macros" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331" +dependencies = [ + "quote", + "syn 2.0.111", +] + +[[package]] +name = "ctor" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501" +dependencies = [ + "quote", + "syn 2.0.111", +] + +[[package]] +name = "darling" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.111", +] + +[[package]] +name = "darling_macro" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" +dependencies = [ + "darling_core", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid", + "pem-rfc7468", + "zeroize", +] + +[[package]] +name = "deranged" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" +dependencies = [ + "powerfmt", + "serde_core", +] + +[[package]] +name = "derive_more" +version = "0.99.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6edb4b64a43d977b8e99788fe3a04d483834fba1215a7e02caa415b626497f7f" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.111", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "const-oid", + "crypto-common", +] + +[[package]] +name = "dirs" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" +dependencies = [ + "dirs-sys", +] + +[[package]] +name = "dirs-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" +dependencies = [ + "libc", + "option-ext", + "redox_users", + "windows-sys 0.61.2", +] + +[[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.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89a09f22a6c6069a18470eb92d2298acf25463f14256d24778e1230d789a2aec" +dependencies = [ + "bitflags 2.10.0", + "objc2", +] + +[[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.111", +] + +[[package]] +name = "dlopen2" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4" +dependencies = [ + "dlopen2_derive", + "libc", + "once_cell", + "winapi", +] + +[[package]] +name = "dlopen2_derive" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fbbb781877580993a8707ec48672673ec7b81eeba04cfd2310bd28c08e47c8f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "dpi" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" +dependencies = [ + "serde", +] + +[[package]] +name = "dtoa" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590" + +[[package]] +name = "dtoa-short" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87" +dependencies = [ + "dtoa", +] + +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + +[[package]] +name = "dyn-clone" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" + +[[package]] +name = "either" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" + +[[package]] +name = "embed-resource" +version = "3.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55a075fc573c64510038d7ee9abc7990635863992f83ebc52c8b433b8411a02e" +dependencies = [ + "cc", + "memchr", + "rustc_version", + "toml 0.9.10+spec-1.1.0", + "vswhom", + "winreg", +] + +[[package]] +name = "embed_plist" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ef6b89e5b37196644d8796de5268852ff179b44e96276cf4290264843743bb7" + +[[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.111", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "erased-serde" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3" +dependencies = [ + "serde", + "serde_core", + "typeid", +] + +[[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 = "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.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" + +[[package]] +name = "fdeflate" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c" +dependencies = [ + "simd-adler32", +] + +[[package]] +name = "field-offset" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38e2275cc4e4fc009b0669731a1e5ab7ebf11f469eaede2bab9309a5b4d6057f" +dependencies = [ + "memoffset", + "rustc_version", +] + +[[package]] +name = "find-msvc-tools" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645cbb3a84e60b7531617d5ae4e57f7e27308f6445f5abf653209ea76dec8dff" + +[[package]] +name = "fixedbitset" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" + +[[package]] +name = "flate2" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[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.111", +] + +[[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 = "futf" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843" +dependencies = [ + "mac", + "new_debug_unreachable", +] + +[[package]] +name = "futures-channel" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" +dependencies = [ + "futures-core", +] + +[[package]] +name = "futures-core" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" + +[[package]] +name = "futures-executor" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" + +[[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.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "futures-sink" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" + +[[package]] +name = "futures-task" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" + +[[package]] +name = "futures-util" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" +dependencies = [ + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", +] + +[[package]] +name = "fxhash" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" +dependencies = [ + "byteorder", +] + +[[package]] +name = "gdk" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9f245958c627ac99d8e529166f9823fb3b838d1d41fd2b297af3075093c2691" +dependencies = [ + "cairo-rs", + "gdk-pixbuf", + "gdk-sys", + "gio", + "glib", + "libc", + "pango", +] + +[[package]] +name = "gdk-pixbuf" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50e1f5f1b0bfb830d6ccc8066d18db35c487b1b2b1e8589b5dfe9f07e8defaec" +dependencies = [ + "gdk-pixbuf-sys", + "gio", + "glib", + "libc", + "once_cell", +] + +[[package]] +name = "gdk-pixbuf-sys" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9839ea644ed9c97a34d129ad56d38a25e6756f99f3a88e15cd39c20629caf7" +dependencies = [ + "gio-sys", + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "gdk-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c2d13f38594ac1e66619e188c6d5a1adb98d11b2fcf7894fc416ad76aa2f3f7" +dependencies = [ + "cairo-sys-rs", + "gdk-pixbuf-sys", + "gio-sys", + "glib-sys", + "gobject-sys", + "libc", + "pango-sys", + "pkg-config", + "system-deps", +] + +[[package]] +name = "gdkwayland-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "140071d506d223f7572b9f09b5e155afbd77428cd5cc7af8f2694c41d98dfe69" +dependencies = [ + "gdk-sys", + "glib-sys", + "gobject-sys", + "libc", + "pkg-config", + "system-deps", +] + +[[package]] +name = "gdkx11" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3caa00e14351bebbc8183b3c36690327eb77c49abc2268dd4bd36b856db3fbfe" +dependencies = [ + "gdk", + "gdkx11-sys", + "gio", + "glib", + "libc", + "x11", +] + +[[package]] +name = "gdkx11-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e7445fe01ac26f11601db260dd8608fe172514eb63b3b5e261ea6b0f4428d" +dependencies = [ + "gdk-sys", + "glib-sys", + "libc", + "system-deps", + "x11", +] + +[[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 = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + +[[package]] +name = "getrandom" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.11.1+wasi-snapshot-preview1", +] + +[[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", + "wasip2", +] + +[[package]] +name = "gio" +version = "0.18.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4fc8f532f87b79cbc51a79748f16a6828fb784be93145a322fa14d06d354c73" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-util", + "gio-sys", + "glib", + "libc", + "once_cell", + "pin-project-lite", + "smallvec", + "thiserror 1.0.69", +] + +[[package]] +name = "gio-sys" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37566df850baf5e4cb0dfb78af2e4b9898d817ed9263d1090a2df958c64737d2" +dependencies = [ + "glib-sys", + "gobject-sys", + "libc", + "system-deps", + "winapi", +] + +[[package]] +name = "glib" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "233daaf6e83ae6a12a52055f568f9d7cf4671dabb78ff9560ab6da230ce00ee5" +dependencies = [ + "bitflags 2.10.0", + "futures-channel", + "futures-core", + "futures-executor", + "futures-task", + "futures-util", + "gio-sys", + "glib-macros", + "glib-sys", + "gobject-sys", + "libc", + "memchr", + "once_cell", + "smallvec", + "thiserror 1.0.69", +] + +[[package]] +name = "glib-macros" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bb0228f477c0900c880fd78c8759b95c7636dbd7842707f49e132378aa2acdc" +dependencies = [ + "heck 0.4.1", + "proc-macro-crate 2.0.2", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "glib-sys" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "063ce2eb6a8d0ea93d2bf8ba1957e78dbab6be1c2220dd3daca57d5a9d869898" +dependencies = [ + "libc", + "system-deps", +] + +[[package]] +name = "glob" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" + +[[package]] +name = "gobject-sys" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0850127b514d1c4a4654ead6dedadb18198999985908e6ffe4436f53c785ce44" +dependencies = [ + "glib-sys", + "libc", + "system-deps", +] + +[[package]] +name = "gtk" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd56fb197bfc42bd5d2751f4f017d44ff59fbb58140c6b49f9b3b2bdab08506a" +dependencies = [ + "atk", + "cairo-rs", + "field-offset", + "futures-channel", + "gdk", + "gdk-pixbuf", + "gio", + "glib", + "gtk-sys", + "gtk3-macros", + "libc", + "pango", + "pkg-config", +] + +[[package]] +name = "gtk-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f29a1c21c59553eb7dd40e918be54dccd60c52b049b75119d5d96ce6b624414" +dependencies = [ + "atk-sys", + "cairo-sys-rs", + "gdk-pixbuf-sys", + "gdk-sys", + "gio-sys", + "glib-sys", + "gobject-sys", + "libc", + "pango-sys", + "system-deps", +] + +[[package]] +name = "gtk3-macros" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ff3c5b21f14f0736fed6dcfc0bfb4225ebf5725f3c0209edeec181e4d73e9d" +dependencies = [ + "proc-macro-crate 1.3.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" + +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + +[[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 = "html5ever" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b7410cae13cbc75623c98ac4cbfd1f0bedddf3227afc24f370cf0f50a44a11c" +dependencies = [ + "log", + "mac", + "markup5ever", + "match_token", +] + +[[package]] +name = "http" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "hyper" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11" +dependencies = [ + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "http", + "http-body", + "httparse", + "itoa", + "pin-project-lite", + "pin-utils", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-util" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "727805d60e7938b76b826a6ef209eb70eaa1812794f9424d4a4e2d740662df5f" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "http", + "http-body", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.64" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core 0.62.2", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "ico" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc50b891e4acf8fe0e71ef88ec43ad82ee07b3810ad09de10f1d01f072ed4b98" +dependencies = [ + "byteorder", + "png 0.17.16", +] + +[[package]] +name = "icu_collections" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" +dependencies = [ + "displaydoc", + "potential_utf", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" + +[[package]] +name = "icu_properties" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "020bfc02fe870ec3a66d93e677ccca0562506e5872c650f893269e08615d74ec" +dependencies = [ + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "616c294cf8d725c6afcd8f55abc17c56464ef6211f9ed59cccffe534129c77af" + +[[package]] +name = "icu_provider" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[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.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6506c6c10786659413faa717ceebcb8f70731c0a60cbae39795fdf114519c1a" +dependencies = [ + "bytemuck", + "byteorder-lite", + "moxcms", + "num-traits", + "png 0.18.0", +] + +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", + "serde", +] + +[[package]] +name = "indexmap" +version = "2.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" +dependencies = [ + "equivalent", + "hashbrown 0.16.1", + "serde", + "serde_core", +] + +[[package]] +name = "infer" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a588916bfdfd92e71cacef98a63d9b1f0d74d6599980d11894290e7ddefffcf7" +dependencies = [ + "cfb", +] + +[[package]] +name = "ipnet" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" + +[[package]] +name = "iri-string" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397" +dependencies = [ + "memchr", + "serde", +] + +[[package]] +name = "is-docker" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "928bae27f42bc99b60d9ac7334e3a21d10ad8f1835a4e12ec3ec0464765ed1b3" +dependencies = [ + "once_cell", +] + +[[package]] +name = "is-wsl" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "173609498df190136aa7dea1a91db051746d339e18476eed5ca40521f02d7aa5" +dependencies = [ + "is-docker", + "once_cell", +] + +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2" + +[[package]] +name = "javascriptcore-rs" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca5671e9ffce8ffba57afc24070e906da7fc4b1ba66f2cabebf61bf2ea257fcc" +dependencies = [ + "bitflags 1.3.2", + "glib", + "javascriptcore-rs-sys", +] + +[[package]] +name = "javascriptcore-rs-sys" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af1be78d14ffa4b75b66df31840478fef72b51f8c2465d4ca7c194da9f7a5124" +dependencies = [ + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni-sys" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" + +[[package]] +name = "js-sys" +version = "0.3.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" +dependencies = [ + "once_cell", + "wasm-bindgen", +] + +[[package]] +name = "json-patch" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "863726d7afb6bc2590eeff7135d923545e5e964f004c2ccf8716c25e70a86f08" +dependencies = [ + "jsonptr", + "serde", + "serde_json", + "thiserror 1.0.69", +] + +[[package]] +name = "jsonptr" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dea2b27dd239b2556ed7a25ba842fe47fd602e7fc7433c2a8d6106d4d9edd70" +dependencies = [ + "serde", + "serde_json", +] + +[[package]] +name = "keyboard-types" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b750dcadc39a09dbadd74e118f6dd6598df77fa01df0cfcdc52c28dece74528a" +dependencies = [ + "bitflags 2.10.0", + "serde", + "unicode-segmentation", +] + +[[package]] +name = "kuchikiki" +version = "0.8.8-speedreader" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02cb977175687f33fa4afa0c95c112b987ea1443e5a51c8f8ff27dc618270cc2" +dependencies = [ + "cssparser", + "html5ever", + "indexmap 2.12.1", + "selectors", +] + +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +dependencies = [ + "spin", +] + +[[package]] +name = "libappindicator" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03589b9607c868cc7ae54c0b2a22c8dc03dd41692d48f2d7df73615c6a95dc0a" +dependencies = [ + "glib", + "gtk", + "gtk-sys", + "libappindicator-sys", + "log", +] + +[[package]] +name = "libappindicator-sys" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e9ec52138abedcc58dc17a7c6c0c00a2bdb4f3427c7f63fa97fd0d859155caf" +dependencies = [ + "gtk-sys", + "libloading", + "once_cell", +] + +[[package]] +name = "libc" +version = "0.2.178" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" + +[[package]] +name = "libloading" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" +dependencies = [ + "cfg-if", + "winapi", +] + +[[package]] +name = "libm" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" + +[[package]] +name = "libredox" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df15f6eac291ed1cf25865b1ee60399f57e7c227e7f51bdbd4c5270396a9ed50" +dependencies = [ + "bitflags 2.10.0", + "libc", +] + +[[package]] +name = "linux-raw-sys" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" + +[[package]] +name = "litemap" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" + +[[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 = "lzma-rs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e" +dependencies = [ + "byteorder", + "crc", +] + +[[package]] +name = "lzma-sys" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27" +dependencies = [ + "cc", + "libc", + "pkg-config", +] + +[[package]] +name = "mac" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" + +[[package]] +name = "markup5ever" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7a7213d12e1864c0f002f52c2923d4556935a43dec5e71355c2760e0f6e7a18" +dependencies = [ + "log", + "phf 0.11.3", + "phf_codegen 0.11.3", + "string_cache", + "string_cache_codegen", + "tendril", +] + +[[package]] +name = "match_token" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88a9689d8d44bf9964484516275f5cd4c9b59457a6940c1d5d0ecbb94510a36b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "matches" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" + +[[package]] +name = "memchr" +version = "2.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "miclient" +version = "0.1.0" +dependencies = [ + "anyhow", + "assets", + "hex", + "image", + "num-bigint", + "parking_lot", + "rand 0.8.5", + "rand_core 0.6.4", + "rsa", + "serde", + "serde_json", + "tauri", + "tauri-build", + "tauri-plugin-opener", + "tokio", +] + +[[package]] +name = "mime" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" + +[[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 = "mio" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a69bcab0ad47271a0234d9422b131806bf3968021e5dc9328caf2d4cd58557fc" +dependencies = [ + "libc", + "wasi 0.11.1+wasi-snapshot-preview1", + "windows-sys 0.61.2", +] + +[[package]] +name = "moxcms" +version = "0.7.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac9557c559cd6fc9867e122e20d2cbefc9ca29d80d027a8e39310920ed2f0a97" +dependencies = [ + "num-traits", + "pxfm", +] + +[[package]] +name = "muda" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01c1738382f66ed56b3b9c8119e794a2e23148ac8ea214eda86622d4cb9d415a" +dependencies = [ + "crossbeam-channel", + "dpi", + "gtk", + "keyboard-types", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "once_cell", + "png 0.17.16", + "serde", + "thiserror 2.0.17", + "windows-sys 0.60.2", +] + +[[package]] +name = "multimap" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084" + +[[package]] +name = "ndk" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" +dependencies = [ + "bitflags 2.10.0", + "jni-sys", + "log", + "ndk-sys", + "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.6.0+11769913" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873" +dependencies = [ + "jni-sys", +] + +[[package]] +name = "new_debug_unreachable" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" + +[[package]] +name = "nix" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" +dependencies = [ + "bitflags 2.10.0", + "cfg-if", + "cfg_aliases", + "libc", + "memoffset", +] + +[[package]] +name = "nodrop" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" + +[[package]] +name = "num-bigint" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-bigint-dig" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e661dda6640fad38e827a6d4a310ff4763082116fe217f279885c97f511bb0b7" +dependencies = [ + "lazy_static", + "libm", + "num-integer", + "num-iter", + "num-traits", + "rand 0.8.5", + "smallvec", + "zeroize", +] + +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + +[[package]] +name = "num-integer" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-iter" +version = "0.1.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_enum" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1207a7e20ad57b847bbddc6776b968420d38292bbfe2089accff5e19e82454c" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7" +dependencies = [ + "proc-macro-crate 3.4.0", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "objc2" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c2599ce0ec54857b29ce62166b0ed9b4f6f1a70ccc9a71165b6154caca8c05" +dependencies = [ + "objc2-encode", + "objc2-exception-helper", +] + +[[package]] +name = "objc2-app-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" +dependencies = [ + "bitflags 2.10.0", + "block2", + "libc", + "objc2", + "objc2-cloud-kit", + "objc2-core-data", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-image", + "objc2-core-text", + "objc2-core-video", + "objc2-foundation", + "objc2-quartz-core", +] + +[[package]] +name = "objc2-cloud-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-foundation", +] + +[[package]] +name = "objc2-core-data" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b402a653efbb5e82ce4df10683b6b28027616a2715e90009947d50b8dd298fa" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-foundation", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags 2.10.0", + "dispatch2", + "objc2", +] + +[[package]] +name = "objc2-core-graphics" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" +dependencies = [ + "bitflags 2.10.0", + "dispatch2", + "objc2", + "objc2-core-foundation", + "objc2-io-surface", +] + +[[package]] +name = "objc2-core-image" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006" +dependencies = [ + "objc2", + "objc2-foundation", +] + +[[package]] +name = "objc2-core-text" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-core-foundation", + "objc2-core-graphics", +] + +[[package]] +name = "objc2-core-video" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d425caf1df73233f29fd8a5c3e5edbc30d2d4307870f802d18f00d83dc5141a6" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-io-surface", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-exception-helper" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7a1c5fbb72d7735b076bb47b578523aedc40f3c439bea6dfd595c089d79d98a" +dependencies = [ + "cc", +] + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags 2.10.0", + "block2", + "libc", + "objc2", + "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.10.0", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-javascript-core" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a1e6550c4caed348956ce3370c9ffeca70bb1dbed4fa96112e7c6170e074586" +dependencies = [ + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-quartz-core" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-core-foundation", + "objc2-foundation", +] + +[[package]] +name = "objc2-security" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe137109bd1e8b5a99390f77a7d8b2961dafc1a1c5db8f2e60329ad6d895a" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-ui-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-core-foundation", + "objc2-foundation", +] + +[[package]] +name = "objc2-web-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2e5aaab980c433cf470df9d7af96a7b46a9d892d521a2cbbb2f8a4c16751e7f" +dependencies = [ + "bitflags 2.10.0", + "block2", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "objc2-javascript-core", + "objc2-security", +] + +[[package]] +name = "once_cell" +version = "1.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "open" +version = "5.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43bb73a7fa3799b198970490a51174027ba0d4ec504b03cd08caf513d40024bc" +dependencies = [ + "dunce", + "is-wsl", + "libc", + "pathdiff", +] + +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + +[[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 = "pango" +version = "0.18.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ca27ec1eb0457ab26f3036ea52229edbdb74dee1edd29063f5b9b010e7ebee4" +dependencies = [ + "gio", + "glib", + "libc", + "once_cell", + "pango-sys", +] + +[[package]] +name = "pango-sys" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "436737e391a843e5933d6d9aa102cb126d501e815b83601365a948a518555dc5" +dependencies = [ + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[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", + "smallvec", + "windows-link 0.2.1", +] + +[[package]] +name = "pathdiff" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" + +[[package]] +name = "pem-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +dependencies = [ + "base64ct", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "petgraph" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" +dependencies = [ + "fixedbitset", + "indexmap 2.12.1", +] + +[[package]] +name = "phf" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12" +dependencies = [ + "phf_shared 0.8.0", +] + +[[package]] +name = "phf" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" +dependencies = [ + "phf_macros 0.10.0", + "phf_shared 0.10.0", + "proc-macro-hack", +] + +[[package]] +name = "phf" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" +dependencies = [ + "phf_macros 0.11.3", + "phf_shared 0.11.3", +] + +[[package]] +name = "phf_codegen" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815" +dependencies = [ + "phf_generator 0.8.0", + "phf_shared 0.8.0", +] + +[[package]] +name = "phf_codegen" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a" +dependencies = [ + "phf_generator 0.11.3", + "phf_shared 0.11.3", +] + +[[package]] +name = "phf_generator" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526" +dependencies = [ + "phf_shared 0.8.0", + "rand 0.7.3", +] + +[[package]] +name = "phf_generator" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" +dependencies = [ + "phf_shared 0.10.0", + "rand 0.8.5", +] + +[[package]] +name = "phf_generator" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" +dependencies = [ + "phf_shared 0.11.3", + "rand 0.8.5", +] + +[[package]] +name = "phf_macros" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0" +dependencies = [ + "phf_generator 0.10.0", + "phf_shared 0.10.0", + "proc-macro-hack", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "phf_macros" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216" +dependencies = [ + "phf_generator 0.11.3", + "phf_shared 0.11.3", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "phf_shared" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7" +dependencies = [ + "siphasher 0.3.11", +] + +[[package]] +name = "phf_shared" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" +dependencies = [ + "siphasher 0.3.11", +] + +[[package]] +name = "phf_shared" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" +dependencies = [ + "siphasher 1.0.1", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "piper" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" +dependencies = [ + "atomic-waker", + "fastrand", + "futures-io", +] + +[[package]] +name = "pkcs1" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" +dependencies = [ + "der", + "pkcs8", + "spki", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "pkg-config" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" + +[[package]] +name = "plist" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "740ebea15c5d1428f910cd1a5f52cebf8d25006245ed8ade92702f4943d91e07" +dependencies = [ + "base64 0.22.1", + "indexmap 2.12.1", + "quick-xml", + "serde", + "time", +] + +[[package]] +name = "png" +version = "0.17.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526" +dependencies = [ + "bitflags 1.3.2", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide", +] + +[[package]] +name = "png" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97baced388464909d42d89643fe4361939af9b7ce7a31ee32a168f832a70f2a0" +dependencies = [ + "bitflags 2.10.0", + "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", + "windows-sys 0.61.2", +] + +[[package]] +name = "potential_utf" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "precomputed-hash" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" + +[[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.111", +] + +[[package]] +name = "proc-macro-crate" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +dependencies = [ + "once_cell", + "toml_edit 0.19.15", +] + +[[package]] +name = "proc-macro-crate" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b00f26d3400549137f92511a46ac1cd8ce37cb5598a96d382381458b992a5d24" +dependencies = [ + "toml_datetime 0.6.3", + "toml_edit 0.20.2", +] + +[[package]] +name = "proc-macro-crate" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" +dependencies = [ + "toml_edit 0.23.10+spec-1.0.0", +] + +[[package]] +name = "proc-macro-error" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" +dependencies = [ + "proc-macro-error-attr", + "proc-macro2", + "quote", + "syn 1.0.109", + "version_check", +] + +[[package]] +name = "proc-macro-error-attr" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" +dependencies = [ + "proc-macro2", + "quote", + "version_check", +] + +[[package]] +name = "proc-macro-hack" +version = "0.5.20+deprecated" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" + +[[package]] +name = "proc-macro2" +version = "1.0.103" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "prost" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" +dependencies = [ + "bytes", + "prost-derive", +] + +[[package]] +name = "prost-build" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" +dependencies = [ + "bytes", + "heck 0.5.0", + "itertools", + "log", + "multimap", + "once_cell", + "petgraph", + "prettyplease", + "prost", + "prost-types", + "regex", + "syn 2.0.111", + "tempfile", +] + +[[package]] +name = "prost-derive" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "prost-types" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" +dependencies = [ + "prost", +] + +[[package]] +name = "protoc-bin-vendored" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1c381df33c98266b5f08186583660090a4ffa0889e76c7e9a5e175f645a67fa" +dependencies = [ + "protoc-bin-vendored-linux-aarch_64", + "protoc-bin-vendored-linux-ppcle_64", + "protoc-bin-vendored-linux-s390_64", + "protoc-bin-vendored-linux-x86_32", + "protoc-bin-vendored-linux-x86_64", + "protoc-bin-vendored-macos-aarch_64", + "protoc-bin-vendored-macos-x86_64", + "protoc-bin-vendored-win32", +] + +[[package]] +name = "protoc-bin-vendored-linux-aarch_64" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c350df4d49b5b9e3ca79f7e646fde2377b199e13cfa87320308397e1f37e1a4c" + +[[package]] +name = "protoc-bin-vendored-linux-ppcle_64" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a55a63e6c7244f19b5c6393f025017eb5d793fd5467823a099740a7a4222440c" + +[[package]] +name = "protoc-bin-vendored-linux-s390_64" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dba5565db4288e935d5330a07c264a4ee8e4a5b4a4e6f4e83fad824cc32f3b0" + +[[package]] +name = "protoc-bin-vendored-linux-x86_32" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8854774b24ee28b7868cd71dccaae8e02a2365e67a4a87a6cd11ee6cdbdf9cf5" + +[[package]] +name = "protoc-bin-vendored-linux-x86_64" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b38b07546580df720fa464ce124c4b03630a6fb83e05c336fea2a241df7e5d78" + +[[package]] +name = "protoc-bin-vendored-macos-aarch_64" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89278a9926ce312e51f1d999fee8825d324d603213344a9a706daa009f1d8092" + +[[package]] +name = "protoc-bin-vendored-macos-x86_64" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81745feda7ccfb9471d7a4de888f0652e806d5795b61480605d4943176299756" + +[[package]] +name = "protoc-bin-vendored-win32" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95067976aca6421a523e491fce939a3e65249bac4b977adee0ee9771568e8aa3" + +[[package]] +name = "pxfm" +version = "0.1.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7186d3822593aa4393561d186d1393b3923e9d6163d3fbfd6e825e3e6cf3e6a8" +dependencies = [ + "num-traits", +] + +[[package]] +name = "quick-xml" +version = "0.38.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b66c2058c55a409d601666cffe35f04333cf1013010882cec174a7467cd4e21c" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" +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 = "rand" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" +dependencies = [ + "getrandom 0.1.16", + "libc", + "rand_chacha 0.2.2", + "rand_core 0.5.1", + "rand_hc", + "rand_pcg", +] + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" +dependencies = [ + "ppv-lite86", + "rand_core 0.5.1", +] + +[[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 0.6.4", +] + +[[package]] +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom 0.1.16", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.16", +] + +[[package]] +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +dependencies = [ + "rand_core 0.5.1", +] + +[[package]] +name = "rand_pcg" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" +dependencies = [ + "rand_core 0.5.1", +] + +[[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.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags 2.10.0", +] + +[[package]] +name = "redox_users" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" +dependencies = [ + "getrandom 0.2.16", + "libredox", + "thiserror 2.0.17", +] + +[[package]] +name = "ref-cast" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "regex" +version = "1.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" + +[[package]] +name = "reqwest" +version = "0.12.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tokio-util", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", +] + +[[package]] +name = "rsa" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40a0376c50d0358279d9d643e4bf7b7be212f1f4ff1da9070a7b54d22ef75c88" +dependencies = [ + "const-oid", + "digest", + "num-bigint-dig", + "num-integer", + "num-traits", + "pkcs1", + "pkcs8", + "rand_core 0.6.4", + "signature", + "spki", + "subtle", + "zeroize", +] + +[[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 = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34" +dependencies = [ + "bitflags 2.10.0", + "errno", + "libc", + "linux-raw-sys", + "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 = "ryu" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a50f4cf475b65d88e057964e0e9bb1f0aa9bbb2036dc65c64596b42932536984" + +[[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 = "schemars" +version = "0.8.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615" +dependencies = [ + "dyn-clone", + "indexmap 1.9.3", + "schemars_derive", + "serde", + "serde_json", + "url", + "uuid", +] + +[[package]] +name = "schemars" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + +[[package]] +name = "schemars" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54e910108742c57a770f492731f99be216a52fadd361b06c8fb59d74ccc267d2" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + +[[package]] +name = "schemars_derive" +version = "0.8.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d" +dependencies = [ + "proc-macro2", + "quote", + "serde_derive_internals", + "syn 2.0.111", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "selectors" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c37578180969d00692904465fb7f6b3d50b9a2b952b87c23d0e2e5cb5013416" +dependencies = [ + "bitflags 1.3.2", + "cssparser", + "derive_more", + "fxhash", + "log", + "phf 0.8.0", + "phf_codegen 0.8.0", + "precomputed-hash", + "servo_arc", + "smallvec", +] + +[[package]] +name = "semver" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" +dependencies = [ + "serde", + "serde_core", +] + +[[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-untagged" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9faf48a4a2d2693be24c6289dbe26552776eb7737074e6722891fadbe6c5058" +dependencies = [ + "erased-serde", + "serde", + "serde_core", + "typeid", +] + +[[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.111", +] + +[[package]] +name = "serde_derive_internals" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "serde_json" +version = "1.0.148" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3084b546a1dd6289475996f182a22aba973866ea8e8b02c51d9f46b1336a22da" +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.111", +] + +[[package]] +name = "serde_spanned" +version = "0.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_spanned" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8bbf91e5a4d6315eee45e704372590b30e260ee83af6639d64557f51b067776" +dependencies = [ + "serde_core", +] + +[[package]] +name = "serde_urlencoded" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_with" +version = "3.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fa237f2807440d238e0364a218270b98f767a00d3dada77b1c53ae88940e2e7" +dependencies = [ + "base64 0.22.1", + "chrono", + "hex", + "indexmap 1.9.3", + "indexmap 2.12.1", + "schemars 0.9.0", + "schemars 1.2.0", + "serde_core", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52a8e3ca0ca629121f70ab50f95249e5a6f925cc0f6ffe8256c45b728875706c" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "serialize-to-javascript" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04f3666a07a197cdb77cdf306c32be9b7f598d7060d50cfd4d5aa04bfd92f6c5" +dependencies = [ + "serde", + "serde_json", + "serialize-to-javascript-impl", +] + +[[package]] +name = "serialize-to-javascript-impl" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "772ee033c0916d670af7860b6e1ef7d658a4629a6d0b4c8c3e67f09b3765b75d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "servo_arc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52aa42f8fdf0fed91e5ce7f23d8138441002fa31dca008acf47e6fd4721f741" +dependencies = [ + "nodrop", + "stable_deref_trait", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +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 = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "digest", + "rand_core 0.6.4", +] + +[[package]] +name = "simd-adler32" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2" + +[[package]] +name = "siphasher" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" + +[[package]] +name = "siphasher" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" + +[[package]] +name = "slab" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" + +[[package]] +name = "smallvec" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" + +[[package]] +name = "socket2" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" +dependencies = [ + "libc", + "windows-sys 0.60.2", +] + +[[package]] +name = "softbuffer" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aac18da81ebbf05109ab275b157c22a653bb3c12cf884450179942f81bcbf6c3" +dependencies = [ + "bytemuck", + "js-sys", + "ndk", + "objc2", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation", + "objc2-quartz-core", + "raw-window-handle", + "redox_syscall", + "tracing", + "wasm-bindgen", + "web-sys", + "windows-sys 0.61.2", +] + +[[package]] +name = "soup3" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "471f924a40f31251afc77450e781cb26d55c0b650842efafc9c6cbd2f7cc4f9f" +dependencies = [ + "futures-channel", + "gio", + "glib", + "libc", + "soup3-sys", +] + +[[package]] +name = "soup3-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ebe8950a680a12f24f15ebe1bf70db7af98ad242d9db43596ad3108aab86c27" +dependencies = [ + "gio-sys", + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + +[[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 = "string_cache" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf776ba3fa74f83bf4b63c3dcbbf82173db2632ed8452cb2d891d33f459de70f" +dependencies = [ + "new_debug_unreachable", + "parking_lot", + "phf_shared 0.11.3", + "precomputed-hash", + "serde", +] + +[[package]] +name = "string_cache_codegen" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c711928715f1fe0fe509c53b43e993a9a557babc2d0a3567d0a3006f1ac931a0" +dependencies = [ + "phf_generator 0.11.3", + "phf_shared 0.11.3", + "proc-macro2", + "quote", +] + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "swift-rs" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4057c98e2e852d51fdcfca832aac7b571f6b351ad159f9eda5db1655f8d0c4d7" +dependencies = [ + "base64 0.21.7", + "serde", + "serde_json", +] + +[[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.111" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + +[[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.111", +] + +[[package]] +name = "system-deps" +version = "6.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349" +dependencies = [ + "cfg-expr", + "heck 0.5.0", + "pkg-config", + "toml 0.8.2", + "version-compare", +] + +[[package]] +name = "tao" +version = "0.34.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3a753bdc39c07b192151523a3f77cd0394aa75413802c883a0f6f6a0e5ee2e7" +dependencies = [ + "bitflags 2.10.0", + "block2", + "core-foundation", + "core-graphics", + "crossbeam-channel", + "dispatch", + "dlopen2", + "dpi", + "gdkwayland-sys", + "gdkx11-sys", + "gtk", + "jni", + "lazy_static", + "libc", + "log", + "ndk", + "ndk-context", + "ndk-sys", + "objc2", + "objc2-app-kit", + "objc2-foundation", + "once_cell", + "parking_lot", + "raw-window-handle", + "scopeguard", + "tao-macros", + "unicode-segmentation", + "url", + "windows", + "windows-core 0.61.2", + "windows-version", + "x11-dl", +] + +[[package]] +name = "tao-macros" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4e16beb8b2ac17db28eab8bca40e62dbfbb34c0fcdc6d9826b11b7b5d047dfd" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "target-lexicon" +version = "0.12.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" + +[[package]] +name = "tauri" +version = "2.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a3868da5508446a7cd08956d523ac3edf0a8bc20bf7e4038f9a95c2800d2033" +dependencies = [ + "anyhow", + "bytes", + "cookie", + "dirs", + "dunce", + "embed_plist", + "getrandom 0.3.4", + "glob", + "gtk", + "heck 0.5.0", + "http", + "jni", + "libc", + "log", + "mime", + "muda", + "objc2", + "objc2-app-kit", + "objc2-foundation", + "objc2-ui-kit", + "objc2-web-kit", + "percent-encoding", + "plist", + "raw-window-handle", + "reqwest", + "serde", + "serde_json", + "serde_repr", + "serialize-to-javascript", + "swift-rs", + "tauri-build", + "tauri-macros", + "tauri-runtime", + "tauri-runtime-wry", + "tauri-utils", + "thiserror 2.0.17", + "tokio", + "tray-icon", + "url", + "webkit2gtk", + "webview2-com", + "window-vibrancy", + "windows", +] + +[[package]] +name = "tauri-build" +version = "2.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17fcb8819fd16463512a12f531d44826ce566f486d7ccd211c9c8cebdaec4e08" +dependencies = [ + "anyhow", + "cargo_toml", + "dirs", + "glob", + "heck 0.5.0", + "json-patch", + "schemars 0.8.22", + "semver", + "serde", + "serde_json", + "tauri-utils", + "tauri-winres", + "toml 0.9.10+spec-1.1.0", + "walkdir", +] + +[[package]] +name = "tauri-codegen" +version = "2.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fa9844cefcf99554a16e0a278156ae73b0d8680bbc0e2ad1e4287aadd8489cf" +dependencies = [ + "base64 0.22.1", + "brotli", + "ico", + "json-patch", + "plist", + "png 0.17.16", + "proc-macro2", + "quote", + "semver", + "serde", + "serde_json", + "sha2", + "syn 2.0.111", + "tauri-utils", + "thiserror 2.0.17", + "time", + "url", + "uuid", + "walkdir", +] + +[[package]] +name = "tauri-macros" +version = "2.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3764a12f886d8245e66b7ee9b43ccc47883399be2019a61d80cf0f4117446fde" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.111", + "tauri-codegen", + "tauri-utils", +] + +[[package]] +name = "tauri-plugin" +version = "2.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e1d0a4860b7ff570c891e1d2a586bf1ede205ff858fbc305e0b5ae5d14c1377" +dependencies = [ + "anyhow", + "glob", + "plist", + "schemars 0.8.22", + "serde", + "serde_json", + "tauri-utils", + "toml 0.9.10+spec-1.1.0", + "walkdir", +] + +[[package]] +name = "tauri-plugin-opener" +version = "2.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c26b72571d25dee25667940027114e60f569fc3974f8cefbe50c2cbc5fd65e3b" +dependencies = [ + "dunce", + "glob", + "objc2-app-kit", + "objc2-foundation", + "open", + "schemars 0.8.22", + "serde", + "serde_json", + "tauri", + "tauri-plugin", + "thiserror 2.0.17", + "url", + "windows", + "zbus", +] + +[[package]] +name = "tauri-runtime" +version = "2.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f766fe9f3d1efc4b59b17e7a891ad5ed195fa8d23582abb02e6c9a01137892" +dependencies = [ + "cookie", + "dpi", + "gtk", + "http", + "jni", + "objc2", + "objc2-ui-kit", + "objc2-web-kit", + "raw-window-handle", + "serde", + "serde_json", + "tauri-utils", + "thiserror 2.0.17", + "url", + "webkit2gtk", + "webview2-com", + "windows", +] + +[[package]] +name = "tauri-runtime-wry" +version = "2.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "187a3f26f681bdf028f796ccf57cf478c1ee422c50128e5a0a6ebeb3f5910065" +dependencies = [ + "gtk", + "http", + "jni", + "log", + "objc2", + "objc2-app-kit", + "objc2-foundation", + "once_cell", + "percent-encoding", + "raw-window-handle", + "softbuffer", + "tao", + "tauri-runtime", + "tauri-utils", + "url", + "webkit2gtk", + "webview2-com", + "windows", + "wry", +] + +[[package]] +name = "tauri-utils" +version = "2.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76a423c51176eb3616ee9b516a9fa67fed5f0e78baaba680e44eb5dd2cc37490" +dependencies = [ + "anyhow", + "brotli", + "cargo_metadata", + "ctor", + "dunce", + "glob", + "html5ever", + "http", + "infer", + "json-patch", + "kuchikiki", + "log", + "memchr", + "phf 0.11.3", + "proc-macro2", + "quote", + "regex", + "schemars 0.8.22", + "semver", + "serde", + "serde-untagged", + "serde_json", + "serde_with", + "swift-rs", + "thiserror 2.0.17", + "toml 0.9.10+spec-1.1.0", + "url", + "urlpattern", + "uuid", + "walkdir", +] + +[[package]] +name = "tauri-winres" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1087b111fe2b005e42dbdc1990fc18593234238d47453b0c99b7de1c9ab2c1e0" +dependencies = [ + "dunce", + "embed-resource", + "toml 0.9.10+spec-1.1.0", +] + +[[package]] +name = "tempfile" +version = "3.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "655da9c7eb6305c55742045d5a8d2037996d61d8de95806335c7c86ce0f82e9c" +dependencies = [ + "fastrand", + "getrandom 0.3.4", + "once_cell", + "rustix", + "windows-sys 0.61.2", +] + +[[package]] +name = "tendril" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0" +dependencies = [ + "futf", + "mac", + "utf-8", +] + +[[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.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" +dependencies = [ + "thiserror-impl 2.0.17", +] + +[[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.111", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "time" +version = "0.3.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" +dependencies = [ + "deranged", + "itoa", + "num-conv", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" + +[[package]] +name = "time-macros" +version = "0.2.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tinystr" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tokio" +version = "1.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" +dependencies = [ + "bytes", + "libc", + "mio", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "tokio-util" +version = "0.7.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "toml" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d" +dependencies = [ + "serde", + "serde_spanned 0.6.9", + "toml_datetime 0.6.3", + "toml_edit 0.20.2", +] + +[[package]] +name = "toml" +version = "0.9.10+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0825052159284a1a8b4d6c0c86cbc801f2da5afd2b225fa548c72f2e74002f48" +dependencies = [ + "indexmap 2.12.1", + "serde_core", + "serde_spanned 1.0.4", + "toml_datetime 0.7.5+spec-1.1.0", + "toml_parser", + "toml_writer", + "winnow 0.7.14", +] + +[[package]] +name = "toml_datetime" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_datetime" +version = "0.7.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.19.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +dependencies = [ + "indexmap 2.12.1", + "toml_datetime 0.6.3", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" +dependencies = [ + "indexmap 2.12.1", + "serde", + "serde_spanned 0.6.9", + "toml_datetime 0.6.3", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.23.10+spec-1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84c8b9f757e028cee9fa244aea147aab2a9ec09d5325a9b01e0a49730c2b5269" +dependencies = [ + "indexmap 2.12.1", + "toml_datetime 0.7.5+spec-1.1.0", + "toml_parser", + "winnow 0.7.14", +] + +[[package]] +name = "toml_parser" +version = "1.0.6+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3198b4b0a8e11f09dd03e133c0280504d0801269e9afa46362ffde1cbeebf44" +dependencies = [ + "winnow 0.7.14", +] + +[[package]] +name = "toml_writer" +version = "1.0.6+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab16f14aed21ee8bfd8ec22513f7287cd4a91aa92e44edfe2c17ddd004e92607" + +[[package]] +name = "tower" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" +dependencies = [ + "bitflags 2.10.0", + "bytes", + "futures-util", + "http", + "http-body", + "iri-string", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "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.111", +] + +[[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 = "tray-icon" +version = "0.21.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3d5572781bee8e3f994d7467084e1b1fd7a93ce66bd480f8156ba89dee55a2b" +dependencies = [ + "crossbeam-channel", + "dirs", + "libappindicator", + "muda", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation", + "once_cell", + "png 0.17.16", + "serde", + "thiserror 2.0.17", + "windows-sys 0.60.2", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "typeid" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" + +[[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.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89daebc3e6fd160ac4aa9fc8b3bf71e1f74fbf92367ae71fb83a037e8bf164b9" +dependencies = [ + "memoffset", + "tempfile", + "winapi", +] + +[[package]] +name = "unic-char-property" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221" +dependencies = [ + "unic-char-range", +] + +[[package]] +name = "unic-char-range" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc" + +[[package]] +name = "unic-common" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc" + +[[package]] +name = "unic-ucd-ident" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e230a37c0381caa9219d67cf063aa3a375ffed5bf541a452db16e744bdab6987" +dependencies = [ + "unic-char-property", + "unic-char-range", + "unic-ucd-version", +] + +[[package]] +name = "unic-ucd-version" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4" +dependencies = [ + "unic-common", +] + +[[package]] +name = "unicode-ident" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" + +[[package]] +name = "unicode-segmentation" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" + +[[package]] +name = "url" +version = "2.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "urlpattern" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70acd30e3aa1450bc2eece896ce2ad0d178e9c079493819301573dae3c37ba6d" +dependencies = [ + "regex", + "serde", + "unic-ucd-ident", + "url", +] + +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "uuid" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2e054861b4bd027cd373e18e8d8d8e6548085000e41290d95ce0c373a654b4a" +dependencies = [ + "getrandom 0.3.4", + "js-sys", + "serde_core", + "wasm-bindgen", +] + +[[package]] +name = "version-compare" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03c2856837ef78f57382f06b2b8563a2f512f7185d732608fd9176cb3b8edf0e" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "vswhom" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be979b7f07507105799e854203b470ff7c78a1639e330a58f183b5fea574608b" +dependencies = [ + "libc", + "vswhom-sys", +] + +[[package]] +name = "vswhom-sys" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb067e4cbd1ff067d1df46c9194b5de0e98efd2810bbc95c5d5e5f25a3231150" +dependencies = [ + "cc", + "libc", +] + +[[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 = "want" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.9.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" + +[[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.1+wasi-0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.56" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c" +dependencies = [ + "cfg-if", + "js-sys", + "once_cell", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 2.0.111", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-streams" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "web-sys" +version = "0.3.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webkit2gtk" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76b1bc1e54c581da1e9f179d0b38512ba358fb1af2d634a1affe42e37172361a" +dependencies = [ + "bitflags 1.3.2", + "cairo-rs", + "gdk", + "gdk-sys", + "gio", + "gio-sys", + "glib", + "glib-sys", + "gobject-sys", + "gtk", + "gtk-sys", + "javascriptcore-rs", + "libc", + "once_cell", + "soup3", + "webkit2gtk-sys", +] + +[[package]] +name = "webkit2gtk-sys" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62daa38afc514d1f8f12b8693d30d5993ff77ced33ce30cd04deebc267a6d57c" +dependencies = [ + "bitflags 1.3.2", + "cairo-sys-rs", + "gdk-sys", + "gio-sys", + "glib-sys", + "gobject-sys", + "gtk-sys", + "javascriptcore-rs-sys", + "libc", + "pkg-config", + "soup3-sys", + "system-deps", +] + +[[package]] +name = "webview2-com" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4ba622a989277ef3886dd5afb3e280e3dd6d974b766118950a08f8f678ad6a4" +dependencies = [ + "webview2-com-macros", + "webview2-com-sys", + "windows", + "windows-core 0.61.2", + "windows-implement", + "windows-interface", +] + +[[package]] +name = "webview2-com-macros" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d228f15bba3b9d56dde8bddbee66fa24545bd17b48d5128ccf4a8742b18e431" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "webview2-com-sys" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36695906a1b53a3bf5c4289621efedac12b73eeb0b89e7e1a89b517302d5d75c" +dependencies = [ + "thiserror 2.0.17", + "windows", + "windows-core 0.61.2", +] + +[[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 = "window-vibrancy" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9bec5a31f3f9362f2258fd0e9c9dd61a9ca432e7306cc78c444258f0dce9a9c" +dependencies = [ + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "raw-window-handle", + "windows-sys 0.59.0", + "windows-version", +] + +[[package]] +name = "windows" +version = "0.61.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" +dependencies = [ + "windows-collections", + "windows-core 0.61.2", + "windows-future", + "windows-link 0.1.3", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" +dependencies = [ + "windows-core 0.61.2", +] + +[[package]] +name = "windows-core" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.1.3", + "windows-result 0.3.4", + "windows-strings 0.4.2", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", +] + +[[package]] +name = "windows-future" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" +dependencies = [ + "windows-core 0.61.2", + "windows-link 0.1.3", + "windows-threading", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" +dependencies = [ + "windows-core 0.61.2", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows-strings" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[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 0.2.1", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[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 0.2.1", + "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-threading" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-version" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4060a1da109b9d0326b7262c8e12c84df67cc0dbc9e33cf49e01ccc2eb63631" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[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.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[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.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[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.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[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.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[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.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[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.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[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 = "winnow" +version = "0.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "0.7.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829" +dependencies = [ + "memchr", +] + +[[package]] +name = "winreg" +version = "0.55.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb5a765337c50e9ec252c2069be9bf91c7df47afb103b642ba3a53bf8101be97" +dependencies = [ + "cfg-if", + "windows-sys 0.59.0", +] + +[[package]] +name = "wit-bindgen" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" + +[[package]] +name = "writeable" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" + +[[package]] +name = "wry" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "728b7d4c8ec8d81cab295e0b5b8a4c263c0d41a785fb8f8c4df284e5411140a2" +dependencies = [ + "base64 0.22.1", + "block2", + "cookie", + "crossbeam-channel", + "dirs", + "dpi", + "dunce", + "gdkx11", + "gtk", + "html5ever", + "http", + "javascriptcore-rs", + "jni", + "kuchikiki", + "libc", + "ndk", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "objc2-ui-kit", + "objc2-web-kit", + "once_cell", + "percent-encoding", + "raw-window-handle", + "sha2", + "soup3", + "tao-macros", + "thiserror 2.0.17", + "url", + "webkit2gtk", + "webkit2gtk-sys", + "webview2-com", + "windows", + "windows-core 0.61.2", + "windows-version", + "x11-dl", +] + +[[package]] +name = "x11" +version = "2.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "502da5464ccd04011667b11c435cb992822c2c0dbde1770c988480d312a0db2e" +dependencies = [ + "libc", + "pkg-config", +] + +[[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 = "xz2" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "388c44dc09d76f1536602ead6d325eb532f5c122f17782bd57fb47baeeb767e2" +dependencies = [ + "lzma-sys", +] + +[[package]] +name = "yoke" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", + "synstructure", +] + +[[package]] +name = "zbus" +version = "5.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b622b18155f7a93d1cd2dc8c01d2d6a44e08fb9ebb7b3f9e6ed101488bad6c91" +dependencies = [ + "async-broadcast", + "async-executor", + "async-io", + "async-lock", + "async-process", + "async-recursion", + "async-task", + "async-trait", + "blocking", + "enumflags2", + "event-listener", + "futures-core", + "futures-lite", + "hex", + "nix", + "ordered-stream", + "serde", + "serde_repr", + "tracing", + "uds_windows", + "uuid", + "windows-sys 0.61.2", + "winnow 0.7.14", + "zbus_macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zbus_macros" +version = "5.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cdb94821ca8a87ca9c298b5d1cbd80e2a8b67115d99f6e4551ac49e42b6a314" +dependencies = [ + "proc-macro-crate 3.4.0", + "proc-macro2", + "quote", + "syn 2.0.111", + "zbus_names", + "zvariant", + "zvariant_utils", +] + +[[package]] +name = "zbus_names" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7be68e64bf6ce8db94f63e72f0c7eb9a60d733f7e0499e628dfab0f84d6bcb97" +dependencies = [ + "serde", + "static_assertions", + "winnow 0.7.14", + "zvariant", +] + +[[package]] +name = "zerocopy" +version = "0.8.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "zerofrom" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" + +[[package]] +name = "zerotrie" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "zmij" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d6085d62852e35540689d1f97ad663e3971fc19cf5eceab364d62c646ea167" + +[[package]] +name = "zvariant" +version = "5.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2be61892e4f2b1772727be11630a62664a1826b62efa43a6fe7449521cb8744c" +dependencies = [ + "endi", + "enumflags2", + "serde", + "winnow 0.7.14", + "zvariant_derive", + "zvariant_utils", +] + +[[package]] +name = "zvariant_derive" +version = "5.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da58575a1b2b20766513b1ec59d8e2e68db2745379f961f86650655e862d2006" +dependencies = [ + "proc-macro-crate 3.4.0", + "proc-macro2", + "quote", + "syn 2.0.111", + "zvariant_utils", +] + +[[package]] +name = "zvariant_utils" +version = "3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6949d142f89f6916deca2232cf26a8afacf2b9fdc35ce766105e104478be599" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "syn 2.0.111", + "winnow 0.7.14", +] diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..7139ba9 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,24 @@ +[workspace] +resolver = "2" + +members = ["apps/client/src-tauri", "crates/assets"] + +[workspace.dependencies] +rand = "0.8" +rand_core = "0.6" + +anyhow = "1.0.100" +serde = { version = "1", features = ["derive"] } +serde_json = "1" +log = "0.4" +hex = "0.4.3" + +# LZMA +lzma-rs = "0.3" +xz2 = "0.1" + +# BMP decode (e PNG encode se você quiser devolver PNG pro front depois) +image = { version = "0.25", default-features = false, features = [ + "bmp", + "png", +] } diff --git a/apps/client/README.md b/apps/client/README.md new file mode 100644 index 0000000..102e366 --- /dev/null +++ b/apps/client/README.md @@ -0,0 +1,7 @@ +# Tauri + React + Typescript + +This template should help get you started developing with Tauri, React and Typescript in Vite. + +## Recommended IDE Setup + +- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) diff --git a/apps/client/index.html b/apps/client/index.html new file mode 100644 index 0000000..ff93803 --- /dev/null +++ b/apps/client/index.html @@ -0,0 +1,14 @@ + + + + + + + Tauri + React + Typescript + + + +
+ + + diff --git a/apps/client/package.json b/apps/client/package.json new file mode 100644 index 0000000..029898c --- /dev/null +++ b/apps/client/package.json @@ -0,0 +1,35 @@ +{ + "name": "@miforge/client", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "dev": "tauri dev", + "vite:dev": "vite", + "build": "tsc && vite build", + "preview": "vite preview", + "tauri": "tauri" + }, + "dependencies": { + "@pixi/react": "^8.0.5", + "@tailwindcss/vite": "catalog:vite", + "@tauri-apps/api": "^2.9.1", + "@tauri-apps/plugin-opener": "^2.5.2", + "clsx": "catalog:tailwind", + "pixi.js": "^8.14.3", + "react": "catalog:react", + "react-dom": "catalog:react", + "tailwind-merge": "catalog:tailwind", + "tailwindcss": "catalog:tailwind", + "tw-animate-css": "catalog:tailwind", + "zustand": "^5.0.9" + }, + "devDependencies": { + "@tauri-apps/cli": "^2.9.6", + "@types/react": "catalog:react", + "@types/react-dom": "catalog:react", + "@vitejs/plugin-react": "catalog:vite", + "typescript": "catalog:ts", + "vite": "catalog:vite" + } +} diff --git a/apps/client/public/tauri.svg b/apps/client/public/tauri.svg new file mode 100644 index 0000000..31b62c9 --- /dev/null +++ b/apps/client/public/tauri.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/apps/client/public/textures/background.png b/apps/client/public/textures/background.png new file mode 100644 index 0000000..3b8800d Binary files /dev/null and b/apps/client/public/textures/background.png differ diff --git a/apps/client/public/textures/background_dark.png b/apps/client/public/textures/background_dark.png new file mode 100644 index 0000000..38f52dc Binary files /dev/null and b/apps/client/public/textures/background_dark.png differ diff --git a/apps/client/public/vite.svg b/apps/client/public/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/apps/client/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/client/src-tauri/.gitignore b/apps/client/src-tauri/.gitignore new file mode 100644 index 0000000..6c7faf9 --- /dev/null +++ b/apps/client/src-tauri/.gitignore @@ -0,0 +1,11 @@ +# Generated by Cargo +# will have compiled files and executables +/target/ + +# Generated by Tauri +# will have schema files for capabilities auto-completion +/gen/schemas + + +resources/assets/* +!resources/assets/.gitkeep \ No newline at end of file diff --git a/apps/client/src-tauri/Cargo.lock b/apps/client/src-tauri/Cargo.lock new file mode 100644 index 0000000..0337146 --- /dev/null +++ b/apps/client/src-tauri/Cargo.lock @@ -0,0 +1,5345 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "adler2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + +[[package]] +name = "aho-corasick" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" +dependencies = [ + "memchr", +] + +[[package]] +name = "alloc-no-stdlib" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" + +[[package]] +name = "alloc-stdlib" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" +dependencies = [ + "alloc-no-stdlib", +] + +[[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 = "anyhow" +version = "1.0.100" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" + +[[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.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "497c00e0fd83a72a79a39fcbd8e3e2f055d6f6c7e025f3b3d91f4f8e76527fb8" +dependencies = [ + "async-task", + "concurrent-queue", + "fastrand", + "futures-lite", + "pin-project-lite", + "slab", +] + +[[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", + "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", +] + +[[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.111", +] + +[[package]] +name = "async-signal" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43c070bbf59cd3570b6b2dd54cd772527c7c3620fce8be898406dd3ed6adc64c" +dependencies = [ + "async-io", + "async-lock", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix", + "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.111", +] + +[[package]] +name = "atk" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "241b621213072e993be4f6f3a9e4b45f65b7e6faad43001be957184b7bb1824b" +dependencies = [ + "atk-sys", + "glib", + "libc", +] + +[[package]] +name = "atk-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5e48b684b0ca77d2bbadeef17424c2ea3c897d44d566a1617e7e8f30614d086" +dependencies = [ + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "autocfg" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" + +[[package]] +name = "base64" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64ct" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e050f626429857a27ddccb31e0aca21356bfa709c04041aefddac081a8f068a" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" +dependencies = [ + "serde_core", +] + +[[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.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2", +] + +[[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 = "brotli" +version = "8.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bd8b9603c7aa97359dbd97ecf258968c95f3adddd6db2f7e7a5bef101c84560" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", + "brotli-decompressor", +] + +[[package]] +name = "brotli-decompressor" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", +] + +[[package]] +name = "bumpalo" +version = "3.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510" + +[[package]] +name = "bytemuck" +version = "1.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" +dependencies = [ + "serde", +] + +[[package]] +name = "cairo-rs" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ca26ef0159422fb77631dc9d17b102f253b876fe1586b03b803e63a309b4ee2" +dependencies = [ + "bitflags 2.10.0", + "cairo-sys-rs", + "glib", + "libc", + "once_cell", + "thiserror 1.0.69", +] + +[[package]] +name = "cairo-sys-rs" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "685c9fa8e590b8b3d678873528d83411db17242a73fccaed827770ea0fedda51" +dependencies = [ + "glib-sys", + "libc", + "system-deps", +] + +[[package]] +name = "camino" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48" +dependencies = [ + "serde_core", +] + +[[package]] +name = "cargo-platform" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo_metadata" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" +dependencies = [ + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror 2.0.17", +] + +[[package]] +name = "cargo_toml" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "374b7c592d9c00c1f4972ea58390ac6b18cbb6ab79011f3bdc90a0b82ca06b77" +dependencies = [ + "serde", + "toml 0.9.10+spec-1.1.0", +] + +[[package]] +name = "cc" +version = "1.2.50" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f50d563227a1c37cc0a263f64eca3334388c01c5e4c4861a9def205c614383c" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + +[[package]] +name = "cfb" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d38f2da7a0a2c4ccf0065be06397cc26a81f4e528be095826eee9d4adbb8c60f" +dependencies = [ + "byteorder", + "fnv", + "uuid", +] + +[[package]] +name = "cfg-expr" +version = "0.15.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" +dependencies = [ + "smallvec", + "target-lexicon", +] + +[[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.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" + +[[package]] +name = "chrono" +version = "0.4.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" +dependencies = [ + "iana-time-zone", + "num-traits", + "serde", + "windows-link 0.2.1", +] + +[[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 = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "convert_case" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" + +[[package]] +name = "cookie" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747" +dependencies = [ + "time", + "version_check", +] + +[[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.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa95a34622365fa5bbf40b20b75dba8dfa8c94c734aea8ac9a5ca38af14316f1" +dependencies = [ + "bitflags 2.10.0", + "core-foundation", + "core-graphics-types", + "foreign-types", + "libc", +] + +[[package]] +name = "core-graphics-types" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb" +dependencies = [ + "bitflags 2.10.0", + "core-foundation", + "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-channel" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" +dependencies = [ + "crossbeam-utils", +] + +[[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 = "cssparser" +version = "0.29.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f93d03419cb5950ccfd3daf3ff1c7a36ace64609a1a8746d493df1ca0afde0fa" +dependencies = [ + "cssparser-macros", + "dtoa-short", + "itoa", + "matches", + "phf 0.10.1", + "proc-macro2", + "quote", + "smallvec", + "syn 1.0.109", +] + +[[package]] +name = "cssparser-macros" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331" +dependencies = [ + "quote", + "syn 2.0.111", +] + +[[package]] +name = "ctor" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501" +dependencies = [ + "quote", + "syn 2.0.111", +] + +[[package]] +name = "darling" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.111", +] + +[[package]] +name = "darling_macro" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" +dependencies = [ + "darling_core", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid", + "pem-rfc7468", + "zeroize", +] + +[[package]] +name = "deranged" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" +dependencies = [ + "powerfmt", + "serde_core", +] + +[[package]] +name = "derive_more" +version = "0.99.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6edb4b64a43d977b8e99788fe3a04d483834fba1215a7e02caa415b626497f7f" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.111", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "const-oid", + "crypto-common", +] + +[[package]] +name = "dirs" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" +dependencies = [ + "dirs-sys", +] + +[[package]] +name = "dirs-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" +dependencies = [ + "libc", + "option-ext", + "redox_users", + "windows-sys 0.61.2", +] + +[[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.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89a09f22a6c6069a18470eb92d2298acf25463f14256d24778e1230d789a2aec" +dependencies = [ + "bitflags 2.10.0", + "objc2", +] + +[[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.111", +] + +[[package]] +name = "dlopen2" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4" +dependencies = [ + "dlopen2_derive", + "libc", + "once_cell", + "winapi", +] + +[[package]] +name = "dlopen2_derive" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fbbb781877580993a8707ec48672673ec7b81eeba04cfd2310bd28c08e47c8f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "dpi" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" +dependencies = [ + "serde", +] + +[[package]] +name = "dtoa" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6add3b8cff394282be81f3fc1a0605db594ed69890078ca6e2cab1c408bcf04" + +[[package]] +name = "dtoa-short" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87" +dependencies = [ + "dtoa", +] + +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + +[[package]] +name = "dyn-clone" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" + +[[package]] +name = "embed-resource" +version = "3.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55a075fc573c64510038d7ee9abc7990635863992f83ebc52c8b433b8411a02e" +dependencies = [ + "cc", + "memchr", + "rustc_version", + "toml 0.9.10+spec-1.1.0", + "vswhom", + "winreg", +] + +[[package]] +name = "embed_plist" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ef6b89e5b37196644d8796de5268852ff179b44e96276cf4290264843743bb7" + +[[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.111", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "erased-serde" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3" +dependencies = [ + "serde", + "serde_core", + "typeid", +] + +[[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 = "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.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" + +[[package]] +name = "fdeflate" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c" +dependencies = [ + "simd-adler32", +] + +[[package]] +name = "field-offset" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38e2275cc4e4fc009b0669731a1e5ab7ebf11f469eaede2bab9309a5b4d6057f" +dependencies = [ + "memoffset", + "rustc_version", +] + +[[package]] +name = "find-msvc-tools" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" + +[[package]] +name = "flate2" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[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.111", +] + +[[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 = "futf" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843" +dependencies = [ + "mac", + "new_debug_unreachable", +] + +[[package]] +name = "futures-channel" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" +dependencies = [ + "futures-core", +] + +[[package]] +name = "futures-core" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" + +[[package]] +name = "futures-executor" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" + +[[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.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "futures-sink" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" + +[[package]] +name = "futures-task" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" + +[[package]] +name = "futures-util" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" +dependencies = [ + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", +] + +[[package]] +name = "fxhash" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" +dependencies = [ + "byteorder", +] + +[[package]] +name = "gdk" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9f245958c627ac99d8e529166f9823fb3b838d1d41fd2b297af3075093c2691" +dependencies = [ + "cairo-rs", + "gdk-pixbuf", + "gdk-sys", + "gio", + "glib", + "libc", + "pango", +] + +[[package]] +name = "gdk-pixbuf" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50e1f5f1b0bfb830d6ccc8066d18db35c487b1b2b1e8589b5dfe9f07e8defaec" +dependencies = [ + "gdk-pixbuf-sys", + "gio", + "glib", + "libc", + "once_cell", +] + +[[package]] +name = "gdk-pixbuf-sys" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9839ea644ed9c97a34d129ad56d38a25e6756f99f3a88e15cd39c20629caf7" +dependencies = [ + "gio-sys", + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "gdk-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c2d13f38594ac1e66619e188c6d5a1adb98d11b2fcf7894fc416ad76aa2f3f7" +dependencies = [ + "cairo-sys-rs", + "gdk-pixbuf-sys", + "gio-sys", + "glib-sys", + "gobject-sys", + "libc", + "pango-sys", + "pkg-config", + "system-deps", +] + +[[package]] +name = "gdkwayland-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "140071d506d223f7572b9f09b5e155afbd77428cd5cc7af8f2694c41d98dfe69" +dependencies = [ + "gdk-sys", + "glib-sys", + "gobject-sys", + "libc", + "pkg-config", + "system-deps", +] + +[[package]] +name = "gdkx11" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3caa00e14351bebbc8183b3c36690327eb77c49abc2268dd4bd36b856db3fbfe" +dependencies = [ + "gdk", + "gdkx11-sys", + "gio", + "glib", + "libc", + "x11", +] + +[[package]] +name = "gdkx11-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e7445fe01ac26f11601db260dd8608fe172514eb63b3b5e261ea6b0f4428d" +dependencies = [ + "gdk-sys", + "glib-sys", + "libc", + "system-deps", + "x11", +] + +[[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 = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + +[[package]] +name = "getrandom" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.11.1+wasi-snapshot-preview1", +] + +[[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", + "wasip2", +] + +[[package]] +name = "gio" +version = "0.18.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4fc8f532f87b79cbc51a79748f16a6828fb784be93145a322fa14d06d354c73" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-util", + "gio-sys", + "glib", + "libc", + "once_cell", + "pin-project-lite", + "smallvec", + "thiserror 1.0.69", +] + +[[package]] +name = "gio-sys" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37566df850baf5e4cb0dfb78af2e4b9898d817ed9263d1090a2df958c64737d2" +dependencies = [ + "glib-sys", + "gobject-sys", + "libc", + "system-deps", + "winapi", +] + +[[package]] +name = "glib" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "233daaf6e83ae6a12a52055f568f9d7cf4671dabb78ff9560ab6da230ce00ee5" +dependencies = [ + "bitflags 2.10.0", + "futures-channel", + "futures-core", + "futures-executor", + "futures-task", + "futures-util", + "gio-sys", + "glib-macros", + "glib-sys", + "gobject-sys", + "libc", + "memchr", + "once_cell", + "smallvec", + "thiserror 1.0.69", +] + +[[package]] +name = "glib-macros" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bb0228f477c0900c880fd78c8759b95c7636dbd7842707f49e132378aa2acdc" +dependencies = [ + "heck 0.4.1", + "proc-macro-crate 2.0.2", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "glib-sys" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "063ce2eb6a8d0ea93d2bf8ba1957e78dbab6be1c2220dd3daca57d5a9d869898" +dependencies = [ + "libc", + "system-deps", +] + +[[package]] +name = "glob" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" + +[[package]] +name = "gobject-sys" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0850127b514d1c4a4654ead6dedadb18198999985908e6ffe4436f53c785ce44" +dependencies = [ + "glib-sys", + "libc", + "system-deps", +] + +[[package]] +name = "gtk" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd56fb197bfc42bd5d2751f4f017d44ff59fbb58140c6b49f9b3b2bdab08506a" +dependencies = [ + "atk", + "cairo-rs", + "field-offset", + "futures-channel", + "gdk", + "gdk-pixbuf", + "gio", + "glib", + "gtk-sys", + "gtk3-macros", + "libc", + "pango", + "pkg-config", +] + +[[package]] +name = "gtk-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f29a1c21c59553eb7dd40e918be54dccd60c52b049b75119d5d96ce6b624414" +dependencies = [ + "atk-sys", + "cairo-sys-rs", + "gdk-pixbuf-sys", + "gdk-sys", + "gio-sys", + "glib-sys", + "gobject-sys", + "libc", + "pango-sys", + "system-deps", +] + +[[package]] +name = "gtk3-macros" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ff3c5b21f14f0736fed6dcfc0bfb4225ebf5725f3c0209edeec181e4d73e9d" +dependencies = [ + "proc-macro-crate 1.3.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" + +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + +[[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 = "html5ever" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b7410cae13cbc75623c98ac4cbfd1f0bedddf3227afc24f370cf0f50a44a11c" +dependencies = [ + "log", + "mac", + "markup5ever", + "match_token", +] + +[[package]] +name = "http" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "hyper" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11" +dependencies = [ + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "http", + "http-body", + "httparse", + "itoa", + "pin-project-lite", + "pin-utils", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-util" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "727805d60e7938b76b826a6ef209eb70eaa1812794f9424d4a4e2d740662df5f" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "http", + "http-body", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.64" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core 0.62.2", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "ico" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc50b891e4acf8fe0e71ef88ec43ad82ee07b3810ad09de10f1d01f072ed4b98" +dependencies = [ + "byteorder", + "png", +] + +[[package]] +name = "icu_collections" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" +dependencies = [ + "displaydoc", + "potential_utf", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" + +[[package]] +name = "icu_properties" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "020bfc02fe870ec3a66d93e677ccca0562506e5872c650f893269e08615d74ec" +dependencies = [ + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "616c294cf8d725c6afcd8f55abc17c56464ef6211f9ed59cccffe534129c77af" + +[[package]] +name = "icu_provider" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[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 = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", + "serde", +] + +[[package]] +name = "indexmap" +version = "2.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" +dependencies = [ + "equivalent", + "hashbrown 0.16.1", + "serde", + "serde_core", +] + +[[package]] +name = "infer" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a588916bfdfd92e71cacef98a63d9b1f0d74d6599980d11894290e7ddefffcf7" +dependencies = [ + "cfb", +] + +[[package]] +name = "ipnet" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" + +[[package]] +name = "iri-string" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397" +dependencies = [ + "memchr", + "serde", +] + +[[package]] +name = "is-docker" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "928bae27f42bc99b60d9ac7334e3a21d10ad8f1835a4e12ec3ec0464765ed1b3" +dependencies = [ + "once_cell", +] + +[[package]] +name = "is-wsl" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "173609498df190136aa7dea1a91db051746d339e18476eed5ca40521f02d7aa5" +dependencies = [ + "is-docker", + "once_cell", +] + +[[package]] +name = "itoa" +version = "1.0.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ee5b5339afb4c41626dde77b7a611bd4f2c202b897852b4bcf5d03eddc61010" + +[[package]] +name = "javascriptcore-rs" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca5671e9ffce8ffba57afc24070e906da7fc4b1ba66f2cabebf61bf2ea257fcc" +dependencies = [ + "bitflags 1.3.2", + "glib", + "javascriptcore-rs-sys", +] + +[[package]] +name = "javascriptcore-rs-sys" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af1be78d14ffa4b75b66df31840478fef72b51f8c2465d4ca7c194da9f7a5124" +dependencies = [ + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni-sys" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" + +[[package]] +name = "js-sys" +version = "0.3.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" +dependencies = [ + "once_cell", + "wasm-bindgen", +] + +[[package]] +name = "json-patch" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "863726d7afb6bc2590eeff7135d923545e5e964f004c2ccf8716c25e70a86f08" +dependencies = [ + "jsonptr", + "serde", + "serde_json", + "thiserror 1.0.69", +] + +[[package]] +name = "jsonptr" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dea2b27dd239b2556ed7a25ba842fe47fd602e7fc7433c2a8d6106d4d9edd70" +dependencies = [ + "serde", + "serde_json", +] + +[[package]] +name = "keyboard-types" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b750dcadc39a09dbadd74e118f6dd6598df77fa01df0cfcdc52c28dece74528a" +dependencies = [ + "bitflags 2.10.0", + "serde", + "unicode-segmentation", +] + +[[package]] +name = "kuchikiki" +version = "0.8.8-speedreader" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02cb977175687f33fa4afa0c95c112b987ea1443e5a51c8f8ff27dc618270cc2" +dependencies = [ + "cssparser", + "html5ever", + "indexmap 2.12.1", + "selectors", +] + +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +dependencies = [ + "spin", +] + +[[package]] +name = "libappindicator" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03589b9607c868cc7ae54c0b2a22c8dc03dd41692d48f2d7df73615c6a95dc0a" +dependencies = [ + "glib", + "gtk", + "gtk-sys", + "libappindicator-sys", + "log", +] + +[[package]] +name = "libappindicator-sys" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e9ec52138abedcc58dc17a7c6c0c00a2bdb4f3427c7f63fa97fd0d859155caf" +dependencies = [ + "gtk-sys", + "libloading", + "once_cell", +] + +[[package]] +name = "libc" +version = "0.2.178" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" + +[[package]] +name = "libloading" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" +dependencies = [ + "cfg-if", + "winapi", +] + +[[package]] +name = "libm" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" + +[[package]] +name = "libredox" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df15f6eac291ed1cf25865b1ee60399f57e7c227e7f51bdbd4c5270396a9ed50" +dependencies = [ + "bitflags 2.10.0", + "libc", +] + +[[package]] +name = "linux-raw-sys" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" + +[[package]] +name = "litemap" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" + +[[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 = "mac" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" + +[[package]] +name = "markup5ever" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7a7213d12e1864c0f002f52c2923d4556935a43dec5e71355c2760e0f6e7a18" +dependencies = [ + "log", + "phf 0.11.3", + "phf_codegen 0.11.3", + "string_cache", + "string_cache_codegen", + "tendril", +] + +[[package]] +name = "match_token" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88a9689d8d44bf9964484516275f5cd4c9b59457a6940c1d5d0ecbb94510a36b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "matches" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" + +[[package]] +name = "memchr" +version = "2.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "miclient" +version = "0.1.0" +dependencies = [ + "anyhow", + "rand 0.8.5", + "rand_core 0.6.4", + "rsa", + "serde", + "serde_json", + "tauri", + "tauri-build", + "tauri-plugin-opener", + "tokio", +] + +[[package]] +name = "mime" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" + +[[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 = "mio" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a69bcab0ad47271a0234d9422b131806bf3968021e5dc9328caf2d4cd58557fc" +dependencies = [ + "libc", + "wasi 0.11.1+wasi-snapshot-preview1", + "windows-sys 0.61.2", +] + +[[package]] +name = "muda" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01c1738382f66ed56b3b9c8119e794a2e23148ac8ea214eda86622d4cb9d415a" +dependencies = [ + "crossbeam-channel", + "dpi", + "gtk", + "keyboard-types", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "once_cell", + "png", + "serde", + "thiserror 2.0.17", + "windows-sys 0.60.2", +] + +[[package]] +name = "ndk" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" +dependencies = [ + "bitflags 2.10.0", + "jni-sys", + "log", + "ndk-sys", + "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.6.0+11769913" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873" +dependencies = [ + "jni-sys", +] + +[[package]] +name = "new_debug_unreachable" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" + +[[package]] +name = "nix" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" +dependencies = [ + "bitflags 2.10.0", + "cfg-if", + "cfg_aliases", + "libc", + "memoffset", +] + +[[package]] +name = "nodrop" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" + +[[package]] +name = "num-bigint-dig" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e661dda6640fad38e827a6d4a310ff4763082116fe217f279885c97f511bb0b7" +dependencies = [ + "lazy_static", + "libm", + "num-integer", + "num-iter", + "num-traits", + "rand 0.8.5", + "smallvec", + "zeroize", +] + +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + +[[package]] +name = "num-integer" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-iter" +version = "0.1.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_enum" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1207a7e20ad57b847bbddc6776b968420d38292bbfe2089accff5e19e82454c" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7" +dependencies = [ + "proc-macro-crate 3.4.0", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "objc2" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c2599ce0ec54857b29ce62166b0ed9b4f6f1a70ccc9a71165b6154caca8c05" +dependencies = [ + "objc2-encode", + "objc2-exception-helper", +] + +[[package]] +name = "objc2-app-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" +dependencies = [ + "bitflags 2.10.0", + "block2", + "libc", + "objc2", + "objc2-cloud-kit", + "objc2-core-data", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-image", + "objc2-core-text", + "objc2-core-video", + "objc2-foundation", + "objc2-quartz-core", +] + +[[package]] +name = "objc2-cloud-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-foundation", +] + +[[package]] +name = "objc2-core-data" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b402a653efbb5e82ce4df10683b6b28027616a2715e90009947d50b8dd298fa" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-foundation", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags 2.10.0", + "dispatch2", + "objc2", +] + +[[package]] +name = "objc2-core-graphics" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" +dependencies = [ + "bitflags 2.10.0", + "dispatch2", + "objc2", + "objc2-core-foundation", + "objc2-io-surface", +] + +[[package]] +name = "objc2-core-image" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006" +dependencies = [ + "objc2", + "objc2-foundation", +] + +[[package]] +name = "objc2-core-text" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-core-foundation", + "objc2-core-graphics", +] + +[[package]] +name = "objc2-core-video" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d425caf1df73233f29fd8a5c3e5edbc30d2d4307870f802d18f00d83dc5141a6" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-io-surface", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-exception-helper" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7a1c5fbb72d7735b076bb47b578523aedc40f3c439bea6dfd595c089d79d98a" +dependencies = [ + "cc", +] + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags 2.10.0", + "block2", + "libc", + "objc2", + "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.10.0", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-javascript-core" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a1e6550c4caed348956ce3370c9ffeca70bb1dbed4fa96112e7c6170e074586" +dependencies = [ + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-quartz-core" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-core-foundation", + "objc2-foundation", +] + +[[package]] +name = "objc2-security" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe137109bd1e8b5a99390f77a7d8b2961dafc1a1c5db8f2e60329ad6d895a" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-ui-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22" +dependencies = [ + "bitflags 2.10.0", + "objc2", + "objc2-core-foundation", + "objc2-foundation", +] + +[[package]] +name = "objc2-web-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2e5aaab980c433cf470df9d7af96a7b46a9d892d521a2cbbb2f8a4c16751e7f" +dependencies = [ + "bitflags 2.10.0", + "block2", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "objc2-javascript-core", + "objc2-security", +] + +[[package]] +name = "once_cell" +version = "1.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "open" +version = "5.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43bb73a7fa3799b198970490a51174027ba0d4ec504b03cd08caf513d40024bc" +dependencies = [ + "dunce", + "is-wsl", + "libc", + "pathdiff", +] + +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + +[[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 = "pango" +version = "0.18.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ca27ec1eb0457ab26f3036ea52229edbdb74dee1edd29063f5b9b010e7ebee4" +dependencies = [ + "gio", + "glib", + "libc", + "once_cell", + "pango-sys", +] + +[[package]] +name = "pango-sys" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "436737e391a843e5933d6d9aa102cb126d501e815b83601365a948a518555dc5" +dependencies = [ + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[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", + "smallvec", + "windows-link 0.2.1", +] + +[[package]] +name = "pathdiff" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" + +[[package]] +name = "pem-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +dependencies = [ + "base64ct", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "phf" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12" +dependencies = [ + "phf_shared 0.8.0", +] + +[[package]] +name = "phf" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" +dependencies = [ + "phf_macros 0.10.0", + "phf_shared 0.10.0", + "proc-macro-hack", +] + +[[package]] +name = "phf" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" +dependencies = [ + "phf_macros 0.11.3", + "phf_shared 0.11.3", +] + +[[package]] +name = "phf_codegen" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815" +dependencies = [ + "phf_generator 0.8.0", + "phf_shared 0.8.0", +] + +[[package]] +name = "phf_codegen" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a" +dependencies = [ + "phf_generator 0.11.3", + "phf_shared 0.11.3", +] + +[[package]] +name = "phf_generator" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526" +dependencies = [ + "phf_shared 0.8.0", + "rand 0.7.3", +] + +[[package]] +name = "phf_generator" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" +dependencies = [ + "phf_shared 0.10.0", + "rand 0.8.5", +] + +[[package]] +name = "phf_generator" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" +dependencies = [ + "phf_shared 0.11.3", + "rand 0.8.5", +] + +[[package]] +name = "phf_macros" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0" +dependencies = [ + "phf_generator 0.10.0", + "phf_shared 0.10.0", + "proc-macro-hack", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "phf_macros" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216" +dependencies = [ + "phf_generator 0.11.3", + "phf_shared 0.11.3", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "phf_shared" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7" +dependencies = [ + "siphasher 0.3.11", +] + +[[package]] +name = "phf_shared" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" +dependencies = [ + "siphasher 0.3.11", +] + +[[package]] +name = "phf_shared" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" +dependencies = [ + "siphasher 1.0.1", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "piper" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" +dependencies = [ + "atomic-waker", + "fastrand", + "futures-io", +] + +[[package]] +name = "pkcs1" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" +dependencies = [ + "der", + "pkcs8", + "spki", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "pkg-config" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" + +[[package]] +name = "plist" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "740ebea15c5d1428f910cd1a5f52cebf8d25006245ed8ade92702f4943d91e07" +dependencies = [ + "base64 0.22.1", + "indexmap 2.12.1", + "quick-xml", + "serde", + "time", +] + +[[package]] +name = "png" +version = "0.17.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526" +dependencies = [ + "bitflags 1.3.2", + "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", + "windows-sys 0.61.2", +] + +[[package]] +name = "potential_utf" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "precomputed-hash" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" + +[[package]] +name = "proc-macro-crate" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +dependencies = [ + "once_cell", + "toml_edit 0.19.15", +] + +[[package]] +name = "proc-macro-crate" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b00f26d3400549137f92511a46ac1cd8ce37cb5598a96d382381458b992a5d24" +dependencies = [ + "toml_datetime 0.6.3", + "toml_edit 0.20.2", +] + +[[package]] +name = "proc-macro-crate" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" +dependencies = [ + "toml_edit 0.23.10+spec-1.0.0", +] + +[[package]] +name = "proc-macro-error" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" +dependencies = [ + "proc-macro-error-attr", + "proc-macro2", + "quote", + "syn 1.0.109", + "version_check", +] + +[[package]] +name = "proc-macro-error-attr" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" +dependencies = [ + "proc-macro2", + "quote", + "version_check", +] + +[[package]] +name = "proc-macro-hack" +version = "0.5.20+deprecated" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" + +[[package]] +name = "proc-macro2" +version = "1.0.103" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quick-xml" +version = "0.38.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b66c2058c55a409d601666cffe35f04333cf1013010882cec174a7467cd4e21c" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" +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 = "rand" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" +dependencies = [ + "getrandom 0.1.16", + "libc", + "rand_chacha 0.2.2", + "rand_core 0.5.1", + "rand_hc", + "rand_pcg", +] + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" +dependencies = [ + "ppv-lite86", + "rand_core 0.5.1", +] + +[[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 0.6.4", +] + +[[package]] +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom 0.1.16", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.16", +] + +[[package]] +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +dependencies = [ + "rand_core 0.5.1", +] + +[[package]] +name = "rand_pcg" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" +dependencies = [ + "rand_core 0.5.1", +] + +[[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.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags 2.10.0", +] + +[[package]] +name = "redox_users" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" +dependencies = [ + "getrandom 0.2.16", + "libredox", + "thiserror 2.0.17", +] + +[[package]] +name = "ref-cast" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "regex" +version = "1.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" + +[[package]] +name = "reqwest" +version = "0.12.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tokio-util", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", +] + +[[package]] +name = "rsa" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40a0376c50d0358279d9d643e4bf7b7be212f1f4ff1da9070a7b54d22ef75c88" +dependencies = [ + "const-oid", + "digest", + "num-bigint-dig", + "num-integer", + "num-traits", + "pkcs1", + "pkcs8", + "rand_core 0.6.4", + "signature", + "spki", + "subtle", + "zeroize", +] + +[[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 = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34" +dependencies = [ + "bitflags 2.10.0", + "errno", + "libc", + "linux-raw-sys", + "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 = "ryu" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62049b2877bf12821e8f9ad256ee38fdc31db7387ec2d3b3f403024de2034aea" + +[[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 = "schemars" +version = "0.8.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615" +dependencies = [ + "dyn-clone", + "indexmap 1.9.3", + "schemars_derive", + "serde", + "serde_json", + "url", + "uuid", +] + +[[package]] +name = "schemars" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + +[[package]] +name = "schemars" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9558e172d4e8533736ba97870c4b2cd63f84b382a3d6eb063da41b91cce17289" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + +[[package]] +name = "schemars_derive" +version = "0.8.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d" +dependencies = [ + "proc-macro2", + "quote", + "serde_derive_internals", + "syn 2.0.111", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "selectors" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c37578180969d00692904465fb7f6b3d50b9a2b952b87c23d0e2e5cb5013416" +dependencies = [ + "bitflags 1.3.2", + "cssparser", + "derive_more", + "fxhash", + "log", + "phf 0.8.0", + "phf_codegen 0.8.0", + "precomputed-hash", + "servo_arc", + "smallvec", +] + +[[package]] +name = "semver" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" +dependencies = [ + "serde", + "serde_core", +] + +[[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-untagged" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9faf48a4a2d2693be24c6289dbe26552776eb7737074e6722891fadbe6c5058" +dependencies = [ + "erased-serde", + "serde", + "serde_core", + "typeid", +] + +[[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.111", +] + +[[package]] +name = "serde_derive_internals" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "serde_json" +version = "1.0.147" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6af14725505314343e673e9ecb7cd7e8a36aa9791eb936235a3567cc31447ae4" +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.111", +] + +[[package]] +name = "serde_spanned" +version = "0.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_spanned" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8bbf91e5a4d6315eee45e704372590b30e260ee83af6639d64557f51b067776" +dependencies = [ + "serde_core", +] + +[[package]] +name = "serde_urlencoded" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_with" +version = "3.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fa237f2807440d238e0364a218270b98f767a00d3dada77b1c53ae88940e2e7" +dependencies = [ + "base64 0.22.1", + "chrono", + "hex", + "indexmap 1.9.3", + "indexmap 2.12.1", + "schemars 0.9.0", + "schemars 1.1.0", + "serde_core", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52a8e3ca0ca629121f70ab50f95249e5a6f925cc0f6ffe8256c45b728875706c" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "serialize-to-javascript" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04f3666a07a197cdb77cdf306c32be9b7f598d7060d50cfd4d5aa04bfd92f6c5" +dependencies = [ + "serde", + "serde_json", + "serialize-to-javascript-impl", +] + +[[package]] +name = "serialize-to-javascript-impl" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "772ee033c0916d670af7860b6e1ef7d658a4629a6d0b4c8c3e67f09b3765b75d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "servo_arc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52aa42f8fdf0fed91e5ce7f23d8138441002fa31dca008acf47e6fd4721f741" +dependencies = [ + "nodrop", + "stable_deref_trait", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +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.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad" +dependencies = [ + "libc", +] + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "digest", + "rand_core 0.6.4", +] + +[[package]] +name = "simd-adler32" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2" + +[[package]] +name = "siphasher" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" + +[[package]] +name = "siphasher" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" + +[[package]] +name = "slab" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" + +[[package]] +name = "smallvec" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" + +[[package]] +name = "socket2" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" +dependencies = [ + "libc", + "windows-sys 0.60.2", +] + +[[package]] +name = "softbuffer" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aac18da81ebbf05109ab275b157c22a653bb3c12cf884450179942f81bcbf6c3" +dependencies = [ + "bytemuck", + "js-sys", + "ndk", + "objc2", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation", + "objc2-quartz-core", + "raw-window-handle", + "redox_syscall", + "tracing", + "wasm-bindgen", + "web-sys", + "windows-sys 0.61.2", +] + +[[package]] +name = "soup3" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "471f924a40f31251afc77450e781cb26d55c0b650842efafc9c6cbd2f7cc4f9f" +dependencies = [ + "futures-channel", + "gio", + "glib", + "libc", + "soup3-sys", +] + +[[package]] +name = "soup3-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ebe8950a680a12f24f15ebe1bf70db7af98ad242d9db43596ad3108aab86c27" +dependencies = [ + "gio-sys", + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + +[[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 = "string_cache" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf776ba3fa74f83bf4b63c3dcbbf82173db2632ed8452cb2d891d33f459de70f" +dependencies = [ + "new_debug_unreachable", + "parking_lot", + "phf_shared 0.11.3", + "precomputed-hash", + "serde", +] + +[[package]] +name = "string_cache_codegen" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c711928715f1fe0fe509c53b43e993a9a557babc2d0a3567d0a3006f1ac931a0" +dependencies = [ + "phf_generator 0.11.3", + "phf_shared 0.11.3", + "proc-macro2", + "quote", +] + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "swift-rs" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4057c98e2e852d51fdcfca832aac7b571f6b351ad159f9eda5db1655f8d0c4d7" +dependencies = [ + "base64 0.21.7", + "serde", + "serde_json", +] + +[[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.111" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + +[[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.111", +] + +[[package]] +name = "system-deps" +version = "6.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349" +dependencies = [ + "cfg-expr", + "heck 0.5.0", + "pkg-config", + "toml 0.8.2", + "version-compare", +] + +[[package]] +name = "tao" +version = "0.34.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3a753bdc39c07b192151523a3f77cd0394aa75413802c883a0f6f6a0e5ee2e7" +dependencies = [ + "bitflags 2.10.0", + "block2", + "core-foundation", + "core-graphics", + "crossbeam-channel", + "dispatch", + "dlopen2", + "dpi", + "gdkwayland-sys", + "gdkx11-sys", + "gtk", + "jni", + "lazy_static", + "libc", + "log", + "ndk", + "ndk-context", + "ndk-sys", + "objc2", + "objc2-app-kit", + "objc2-foundation", + "once_cell", + "parking_lot", + "raw-window-handle", + "scopeguard", + "tao-macros", + "unicode-segmentation", + "url", + "windows", + "windows-core 0.61.2", + "windows-version", + "x11-dl", +] + +[[package]] +name = "tao-macros" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4e16beb8b2ac17db28eab8bca40e62dbfbb34c0fcdc6d9826b11b7b5d047dfd" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "target-lexicon" +version = "0.12.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" + +[[package]] +name = "tauri" +version = "2.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a3868da5508446a7cd08956d523ac3edf0a8bc20bf7e4038f9a95c2800d2033" +dependencies = [ + "anyhow", + "bytes", + "cookie", + "dirs", + "dunce", + "embed_plist", + "getrandom 0.3.4", + "glob", + "gtk", + "heck 0.5.0", + "http", + "jni", + "libc", + "log", + "mime", + "muda", + "objc2", + "objc2-app-kit", + "objc2-foundation", + "objc2-ui-kit", + "objc2-web-kit", + "percent-encoding", + "plist", + "raw-window-handle", + "reqwest", + "serde", + "serde_json", + "serde_repr", + "serialize-to-javascript", + "swift-rs", + "tauri-build", + "tauri-macros", + "tauri-runtime", + "tauri-runtime-wry", + "tauri-utils", + "thiserror 2.0.17", + "tokio", + "tray-icon", + "url", + "webkit2gtk", + "webview2-com", + "window-vibrancy", + "windows", +] + +[[package]] +name = "tauri-build" +version = "2.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17fcb8819fd16463512a12f531d44826ce566f486d7ccd211c9c8cebdaec4e08" +dependencies = [ + "anyhow", + "cargo_toml", + "dirs", + "glob", + "heck 0.5.0", + "json-patch", + "schemars 0.8.22", + "semver", + "serde", + "serde_json", + "tauri-utils", + "tauri-winres", + "toml 0.9.10+spec-1.1.0", + "walkdir", +] + +[[package]] +name = "tauri-codegen" +version = "2.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fa9844cefcf99554a16e0a278156ae73b0d8680bbc0e2ad1e4287aadd8489cf" +dependencies = [ + "base64 0.22.1", + "brotli", + "ico", + "json-patch", + "plist", + "png", + "proc-macro2", + "quote", + "semver", + "serde", + "serde_json", + "sha2", + "syn 2.0.111", + "tauri-utils", + "thiserror 2.0.17", + "time", + "url", + "uuid", + "walkdir", +] + +[[package]] +name = "tauri-macros" +version = "2.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3764a12f886d8245e66b7ee9b43ccc47883399be2019a61d80cf0f4117446fde" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.111", + "tauri-codegen", + "tauri-utils", +] + +[[package]] +name = "tauri-plugin" +version = "2.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e1d0a4860b7ff570c891e1d2a586bf1ede205ff858fbc305e0b5ae5d14c1377" +dependencies = [ + "anyhow", + "glob", + "plist", + "schemars 0.8.22", + "serde", + "serde_json", + "tauri-utils", + "toml 0.9.10+spec-1.1.0", + "walkdir", +] + +[[package]] +name = "tauri-plugin-opener" +version = "2.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c26b72571d25dee25667940027114e60f569fc3974f8cefbe50c2cbc5fd65e3b" +dependencies = [ + "dunce", + "glob", + "objc2-app-kit", + "objc2-foundation", + "open", + "schemars 0.8.22", + "serde", + "serde_json", + "tauri", + "tauri-plugin", + "thiserror 2.0.17", + "url", + "windows", + "zbus", +] + +[[package]] +name = "tauri-runtime" +version = "2.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f766fe9f3d1efc4b59b17e7a891ad5ed195fa8d23582abb02e6c9a01137892" +dependencies = [ + "cookie", + "dpi", + "gtk", + "http", + "jni", + "objc2", + "objc2-ui-kit", + "objc2-web-kit", + "raw-window-handle", + "serde", + "serde_json", + "tauri-utils", + "thiserror 2.0.17", + "url", + "webkit2gtk", + "webview2-com", + "windows", +] + +[[package]] +name = "tauri-runtime-wry" +version = "2.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "187a3f26f681bdf028f796ccf57cf478c1ee422c50128e5a0a6ebeb3f5910065" +dependencies = [ + "gtk", + "http", + "jni", + "log", + "objc2", + "objc2-app-kit", + "objc2-foundation", + "once_cell", + "percent-encoding", + "raw-window-handle", + "softbuffer", + "tao", + "tauri-runtime", + "tauri-utils", + "url", + "webkit2gtk", + "webview2-com", + "windows", + "wry", +] + +[[package]] +name = "tauri-utils" +version = "2.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76a423c51176eb3616ee9b516a9fa67fed5f0e78baaba680e44eb5dd2cc37490" +dependencies = [ + "anyhow", + "brotli", + "cargo_metadata", + "ctor", + "dunce", + "glob", + "html5ever", + "http", + "infer", + "json-patch", + "kuchikiki", + "log", + "memchr", + "phf 0.11.3", + "proc-macro2", + "quote", + "regex", + "schemars 0.8.22", + "semver", + "serde", + "serde-untagged", + "serde_json", + "serde_with", + "swift-rs", + "thiserror 2.0.17", + "toml 0.9.10+spec-1.1.0", + "url", + "urlpattern", + "uuid", + "walkdir", +] + +[[package]] +name = "tauri-winres" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1087b111fe2b005e42dbdc1990fc18593234238d47453b0c99b7de1c9ab2c1e0" +dependencies = [ + "dunce", + "embed-resource", + "toml 0.9.10+spec-1.1.0", +] + +[[package]] +name = "tempfile" +version = "3.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "655da9c7eb6305c55742045d5a8d2037996d61d8de95806335c7c86ce0f82e9c" +dependencies = [ + "fastrand", + "getrandom 0.3.4", + "once_cell", + "rustix", + "windows-sys 0.61.2", +] + +[[package]] +name = "tendril" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0" +dependencies = [ + "futf", + "mac", + "utf-8", +] + +[[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.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" +dependencies = [ + "thiserror-impl 2.0.17", +] + +[[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.111", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "time" +version = "0.3.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" +dependencies = [ + "deranged", + "itoa", + "num-conv", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" + +[[package]] +name = "time-macros" +version = "0.2.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tinystr" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tokio" +version = "1.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" +dependencies = [ + "bytes", + "libc", + "mio", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "tokio-util" +version = "0.7.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "toml" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d" +dependencies = [ + "serde", + "serde_spanned 0.6.9", + "toml_datetime 0.6.3", + "toml_edit 0.20.2", +] + +[[package]] +name = "toml" +version = "0.9.10+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0825052159284a1a8b4d6c0c86cbc801f2da5afd2b225fa548c72f2e74002f48" +dependencies = [ + "indexmap 2.12.1", + "serde_core", + "serde_spanned 1.0.4", + "toml_datetime 0.7.5+spec-1.1.0", + "toml_parser", + "toml_writer", + "winnow 0.7.14", +] + +[[package]] +name = "toml_datetime" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_datetime" +version = "0.7.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.19.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +dependencies = [ + "indexmap 2.12.1", + "toml_datetime 0.6.3", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" +dependencies = [ + "indexmap 2.12.1", + "serde", + "serde_spanned 0.6.9", + "toml_datetime 0.6.3", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.23.10+spec-1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84c8b9f757e028cee9fa244aea147aab2a9ec09d5325a9b01e0a49730c2b5269" +dependencies = [ + "indexmap 2.12.1", + "toml_datetime 0.7.5+spec-1.1.0", + "toml_parser", + "winnow 0.7.14", +] + +[[package]] +name = "toml_parser" +version = "1.0.6+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3198b4b0a8e11f09dd03e133c0280504d0801269e9afa46362ffde1cbeebf44" +dependencies = [ + "winnow 0.7.14", +] + +[[package]] +name = "toml_writer" +version = "1.0.6+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab16f14aed21ee8bfd8ec22513f7287cd4a91aa92e44edfe2c17ddd004e92607" + +[[package]] +name = "tower" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" +dependencies = [ + "bitflags 2.10.0", + "bytes", + "futures-util", + "http", + "http-body", + "iri-string", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "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.111", +] + +[[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 = "tray-icon" +version = "0.21.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3d5572781bee8e3f994d7467084e1b1fd7a93ce66bd480f8156ba89dee55a2b" +dependencies = [ + "crossbeam-channel", + "dirs", + "libappindicator", + "muda", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation", + "once_cell", + "png", + "serde", + "thiserror 2.0.17", + "windows-sys 0.60.2", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "typeid" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" + +[[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.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89daebc3e6fd160ac4aa9fc8b3bf71e1f74fbf92367ae71fb83a037e8bf164b9" +dependencies = [ + "memoffset", + "tempfile", + "winapi", +] + +[[package]] +name = "unic-char-property" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221" +dependencies = [ + "unic-char-range", +] + +[[package]] +name = "unic-char-range" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc" + +[[package]] +name = "unic-common" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc" + +[[package]] +name = "unic-ucd-ident" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e230a37c0381caa9219d67cf063aa3a375ffed5bf541a452db16e744bdab6987" +dependencies = [ + "unic-char-property", + "unic-char-range", + "unic-ucd-version", +] + +[[package]] +name = "unic-ucd-version" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4" +dependencies = [ + "unic-common", +] + +[[package]] +name = "unicode-ident" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" + +[[package]] +name = "unicode-segmentation" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" + +[[package]] +name = "url" +version = "2.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "urlpattern" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70acd30e3aa1450bc2eece896ce2ad0d178e9c079493819301573dae3c37ba6d" +dependencies = [ + "regex", + "serde", + "unic-ucd-ident", + "url", +] + +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "uuid" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2e054861b4bd027cd373e18e8d8d8e6548085000e41290d95ce0c373a654b4a" +dependencies = [ + "getrandom 0.3.4", + "js-sys", + "serde_core", + "wasm-bindgen", +] + +[[package]] +name = "version-compare" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03c2856837ef78f57382f06b2b8563a2f512f7185d732608fd9176cb3b8edf0e" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "vswhom" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be979b7f07507105799e854203b470ff7c78a1639e330a58f183b5fea574608b" +dependencies = [ + "libc", + "vswhom-sys", +] + +[[package]] +name = "vswhom-sys" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb067e4cbd1ff067d1df46c9194b5de0e98efd2810bbc95c5d5e5f25a3231150" +dependencies = [ + "cc", + "libc", +] + +[[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 = "want" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.9.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" + +[[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.1+wasi-0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.56" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c" +dependencies = [ + "cfg-if", + "js-sys", + "once_cell", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 2.0.111", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-streams" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "web-sys" +version = "0.3.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webkit2gtk" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76b1bc1e54c581da1e9f179d0b38512ba358fb1af2d634a1affe42e37172361a" +dependencies = [ + "bitflags 1.3.2", + "cairo-rs", + "gdk", + "gdk-sys", + "gio", + "gio-sys", + "glib", + "glib-sys", + "gobject-sys", + "gtk", + "gtk-sys", + "javascriptcore-rs", + "libc", + "once_cell", + "soup3", + "webkit2gtk-sys", +] + +[[package]] +name = "webkit2gtk-sys" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62daa38afc514d1f8f12b8693d30d5993ff77ced33ce30cd04deebc267a6d57c" +dependencies = [ + "bitflags 1.3.2", + "cairo-sys-rs", + "gdk-sys", + "gio-sys", + "glib-sys", + "gobject-sys", + "gtk-sys", + "javascriptcore-rs-sys", + "libc", + "pkg-config", + "soup3-sys", + "system-deps", +] + +[[package]] +name = "webview2-com" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4ba622a989277ef3886dd5afb3e280e3dd6d974b766118950a08f8f678ad6a4" +dependencies = [ + "webview2-com-macros", + "webview2-com-sys", + "windows", + "windows-core 0.61.2", + "windows-implement", + "windows-interface", +] + +[[package]] +name = "webview2-com-macros" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d228f15bba3b9d56dde8bddbee66fa24545bd17b48d5128ccf4a8742b18e431" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "webview2-com-sys" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36695906a1b53a3bf5c4289621efedac12b73eeb0b89e7e1a89b517302d5d75c" +dependencies = [ + "thiserror 2.0.17", + "windows", + "windows-core 0.61.2", +] + +[[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 = "window-vibrancy" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9bec5a31f3f9362f2258fd0e9c9dd61a9ca432e7306cc78c444258f0dce9a9c" +dependencies = [ + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "raw-window-handle", + "windows-sys 0.59.0", + "windows-version", +] + +[[package]] +name = "windows" +version = "0.61.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" +dependencies = [ + "windows-collections", + "windows-core 0.61.2", + "windows-future", + "windows-link 0.1.3", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" +dependencies = [ + "windows-core 0.61.2", +] + +[[package]] +name = "windows-core" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.1.3", + "windows-result 0.3.4", + "windows-strings 0.4.2", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", +] + +[[package]] +name = "windows-future" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" +dependencies = [ + "windows-core 0.61.2", + "windows-link 0.1.3", + "windows-threading", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" +dependencies = [ + "windows-core 0.61.2", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows-strings" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[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 0.2.1", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[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 0.2.1", + "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-threading" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-version" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4060a1da109b9d0326b7262c8e12c84df67cc0dbc9e33cf49e01ccc2eb63631" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[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.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[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.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[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.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[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.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[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.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[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.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[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 = "winnow" +version = "0.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "0.7.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829" +dependencies = [ + "memchr", +] + +[[package]] +name = "winreg" +version = "0.55.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb5a765337c50e9ec252c2069be9bf91c7df47afb103b642ba3a53bf8101be97" +dependencies = [ + "cfg-if", + "windows-sys 0.59.0", +] + +[[package]] +name = "wit-bindgen" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" + +[[package]] +name = "writeable" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" + +[[package]] +name = "wry" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "728b7d4c8ec8d81cab295e0b5b8a4c263c0d41a785fb8f8c4df284e5411140a2" +dependencies = [ + "base64 0.22.1", + "block2", + "cookie", + "crossbeam-channel", + "dirs", + "dpi", + "dunce", + "gdkx11", + "gtk", + "html5ever", + "http", + "javascriptcore-rs", + "jni", + "kuchikiki", + "libc", + "ndk", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "objc2-ui-kit", + "objc2-web-kit", + "once_cell", + "percent-encoding", + "raw-window-handle", + "sha2", + "soup3", + "tao-macros", + "thiserror 2.0.17", + "url", + "webkit2gtk", + "webkit2gtk-sys", + "webview2-com", + "windows", + "windows-core 0.61.2", + "windows-version", + "x11-dl", +] + +[[package]] +name = "x11" +version = "2.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "502da5464ccd04011667b11c435cb992822c2c0dbde1770c988480d312a0db2e" +dependencies = [ + "libc", + "pkg-config", +] + +[[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 = "yoke" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", + "synstructure", +] + +[[package]] +name = "zbus" +version = "5.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b622b18155f7a93d1cd2dc8c01d2d6a44e08fb9ebb7b3f9e6ed101488bad6c91" +dependencies = [ + "async-broadcast", + "async-executor", + "async-io", + "async-lock", + "async-process", + "async-recursion", + "async-task", + "async-trait", + "blocking", + "enumflags2", + "event-listener", + "futures-core", + "futures-lite", + "hex", + "nix", + "ordered-stream", + "serde", + "serde_repr", + "tracing", + "uds_windows", + "uuid", + "windows-sys 0.61.2", + "winnow 0.7.14", + "zbus_macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zbus_macros" +version = "5.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cdb94821ca8a87ca9c298b5d1cbd80e2a8b67115d99f6e4551ac49e42b6a314" +dependencies = [ + "proc-macro-crate 3.4.0", + "proc-macro2", + "quote", + "syn 2.0.111", + "zbus_names", + "zvariant", + "zvariant_utils", +] + +[[package]] +name = "zbus_names" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7be68e64bf6ce8db94f63e72f0c7eb9a60d733f7e0499e628dfab0f84d6bcb97" +dependencies = [ + "serde", + "static_assertions", + "winnow 0.7.14", + "zvariant", +] + +[[package]] +name = "zerocopy" +version = "0.8.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "zerofrom" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" + +[[package]] +name = "zerotrie" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "zmij" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dccf46b25b205e4bebe1d5258a991df1cc17801017a845cb5b3fe0269781aa" + +[[package]] +name = "zvariant" +version = "5.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2be61892e4f2b1772727be11630a62664a1826b62efa43a6fe7449521cb8744c" +dependencies = [ + "endi", + "enumflags2", + "serde", + "winnow 0.7.14", + "zvariant_derive", + "zvariant_utils", +] + +[[package]] +name = "zvariant_derive" +version = "5.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da58575a1b2b20766513b1ec59d8e2e68db2745379f961f86650655e862d2006" +dependencies = [ + "proc-macro-crate 3.4.0", + "proc-macro2", + "quote", + "syn 2.0.111", + "zvariant_utils", +] + +[[package]] +name = "zvariant_utils" +version = "3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6949d142f89f6916deca2232cf26a8afacf2b9fdc35ce766105e104478be599" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "syn 2.0.111", + "winnow 0.7.14", +] diff --git a/apps/client/src-tauri/Cargo.toml b/apps/client/src-tauri/Cargo.toml new file mode 100644 index 0000000..e7da1f8 --- /dev/null +++ b/apps/client/src-tauri/Cargo.toml @@ -0,0 +1,34 @@ +[package] +name = "miclient" +version = "0.1.0" +description = "A Tauri App" +authors = ["you"] +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[lib] +# The `_lib` suffix may seem redundant but it is necessary +# to make the lib name unique and wouldn't conflict with the bin name. +# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519 +name = "miclient_lib" +crate-type = ["staticlib", "cdylib", "rlib"] + +[build-dependencies] +tauri-build = { version = "2", features = [] } + +[dependencies] +assets = { path = "../../../crates/assets" } +tauri = { version = "2", features = [] } +tauri-plugin-opener = "2" +tokio = { version = "1.48.0", features = ["full"] } +rsa = "0.9" +num-bigint = "0.4" +hex = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +rand = { workspace = true } +rand_core = { workspace = true } +anyhow = { workspace = true } +parking_lot = "0.12.5" +image = { workspace = true } diff --git a/apps/client/src-tauri/build.rs b/apps/client/src-tauri/build.rs new file mode 100644 index 0000000..d860e1e --- /dev/null +++ b/apps/client/src-tauri/build.rs @@ -0,0 +1,3 @@ +fn main() { + tauri_build::build() +} diff --git a/apps/client/src-tauri/capabilities/default.json b/apps/client/src-tauri/capabilities/default.json new file mode 100644 index 0000000..4cdbf49 --- /dev/null +++ b/apps/client/src-tauri/capabilities/default.json @@ -0,0 +1,10 @@ +{ + "$schema": "../gen/schemas/desktop-schema.json", + "identifier": "default", + "description": "Capability for the main window", + "windows": ["main"], + "permissions": [ + "core:default", + "opener:default" + ] +} diff --git a/apps/client/src-tauri/icons/128x128.png b/apps/client/src-tauri/icons/128x128.png new file mode 100644 index 0000000..6be5e50 Binary files /dev/null and b/apps/client/src-tauri/icons/128x128.png differ diff --git a/apps/client/src-tauri/icons/128x128@2x.png b/apps/client/src-tauri/icons/128x128@2x.png new file mode 100644 index 0000000..e81bece Binary files /dev/null and b/apps/client/src-tauri/icons/128x128@2x.png differ diff --git a/apps/client/src-tauri/icons/32x32.png b/apps/client/src-tauri/icons/32x32.png new file mode 100644 index 0000000..a437dd5 Binary files /dev/null and b/apps/client/src-tauri/icons/32x32.png differ diff --git a/apps/client/src-tauri/icons/Square107x107Logo.png b/apps/client/src-tauri/icons/Square107x107Logo.png new file mode 100644 index 0000000..0ca4f27 Binary files /dev/null and b/apps/client/src-tauri/icons/Square107x107Logo.png differ diff --git a/apps/client/src-tauri/icons/Square142x142Logo.png b/apps/client/src-tauri/icons/Square142x142Logo.png new file mode 100644 index 0000000..b81f820 Binary files /dev/null and b/apps/client/src-tauri/icons/Square142x142Logo.png differ diff --git a/apps/client/src-tauri/icons/Square150x150Logo.png b/apps/client/src-tauri/icons/Square150x150Logo.png new file mode 100644 index 0000000..624c7bf Binary files /dev/null and b/apps/client/src-tauri/icons/Square150x150Logo.png differ diff --git a/apps/client/src-tauri/icons/Square284x284Logo.png b/apps/client/src-tauri/icons/Square284x284Logo.png new file mode 100644 index 0000000..c021d2b Binary files /dev/null and b/apps/client/src-tauri/icons/Square284x284Logo.png differ diff --git a/apps/client/src-tauri/icons/Square30x30Logo.png b/apps/client/src-tauri/icons/Square30x30Logo.png new file mode 100644 index 0000000..6219700 Binary files /dev/null and b/apps/client/src-tauri/icons/Square30x30Logo.png differ diff --git a/apps/client/src-tauri/icons/Square310x310Logo.png b/apps/client/src-tauri/icons/Square310x310Logo.png new file mode 100644 index 0000000..f9bc048 Binary files /dev/null and b/apps/client/src-tauri/icons/Square310x310Logo.png differ diff --git a/apps/client/src-tauri/icons/Square44x44Logo.png b/apps/client/src-tauri/icons/Square44x44Logo.png new file mode 100644 index 0000000..d5fbfb2 Binary files /dev/null and b/apps/client/src-tauri/icons/Square44x44Logo.png differ diff --git a/apps/client/src-tauri/icons/Square71x71Logo.png b/apps/client/src-tauri/icons/Square71x71Logo.png new file mode 100644 index 0000000..63440d7 Binary files /dev/null and b/apps/client/src-tauri/icons/Square71x71Logo.png differ diff --git a/apps/client/src-tauri/icons/Square89x89Logo.png b/apps/client/src-tauri/icons/Square89x89Logo.png new file mode 100644 index 0000000..f3f705a Binary files /dev/null and b/apps/client/src-tauri/icons/Square89x89Logo.png differ diff --git a/apps/client/src-tauri/icons/StoreLogo.png b/apps/client/src-tauri/icons/StoreLogo.png new file mode 100644 index 0000000..4556388 Binary files /dev/null and b/apps/client/src-tauri/icons/StoreLogo.png differ diff --git a/apps/client/src-tauri/icons/icon.icns b/apps/client/src-tauri/icons/icon.icns new file mode 100644 index 0000000..12a5bce Binary files /dev/null and b/apps/client/src-tauri/icons/icon.icns differ diff --git a/apps/client/src-tauri/icons/icon.ico b/apps/client/src-tauri/icons/icon.ico new file mode 100644 index 0000000..b3636e4 Binary files /dev/null and b/apps/client/src-tauri/icons/icon.ico differ diff --git a/apps/client/src-tauri/icons/icon.png b/apps/client/src-tauri/icons/icon.png new file mode 100644 index 0000000..e1cd261 Binary files /dev/null and b/apps/client/src-tauri/icons/icon.png differ diff --git a/apps/client/src-tauri/resources/assets/.gitkeep b/apps/client/src-tauri/resources/assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/apps/client/src-tauri/src/codec/mod.rs b/apps/client/src-tauri/src/codec/mod.rs new file mode 100644 index 0000000..aa0d57f --- /dev/null +++ b/apps/client/src-tauri/src/codec/mod.rs @@ -0,0 +1,22 @@ +pub fn pack_body(payload: &[u8]) -> Vec { + let mut body = Vec::with_capacity(1 + payload.len() + 8); + body.push(0); // padByte placeholder + body.extend_from_slice(payload); + + let pad = (8 - (body.len() % 8)) % 8; + body[0] = pad as u8; + body.extend(std::iter::repeat(0u8).take(pad)); + body +} + +pub fn unpack_body(body: &[u8]) -> Option> { + if body.is_empty() { + return None; + } + let pad = body[0] as usize; + if pad + 1 > body.len() { + return None; + } + let end = body.len().checked_sub(pad)?; + Some(body[1..end].to_vec()) +} diff --git a/apps/client/src-tauri/src/game/commands.rs b/apps/client/src-tauri/src/game/commands.rs new file mode 100644 index 0000000..bd95bc5 --- /dev/null +++ b/apps/client/src-tauri/src/game/commands.rs @@ -0,0 +1,61 @@ +use tauri::{AppHandle, State}; +use tokio::sync::mpsc; + +use crate::game::{ + mod_state::{GameHandle, GameState}, + types::UiCommand, + worker::{run_worker, WorkerCommand}, +}; + +#[tauri::command] +pub async fn game_connect( + app: AppHandle, + state: State<'_, GameState>, + ip: String, + port: u16, + session_key: String, + character_name: String, +) -> Result<(), String> { + let mut guard = state.handle.lock().await; + + if guard.is_some() { + return Err("already connected".into()); + } + + let (tx, rx) = mpsc::channel::(256); + + tokio::spawn(async move { + if let Err(e) = run_worker(app, ip, port, session_key, character_name, rx).await { + eprintln!("worker error: {e:?}") + } + }); + + *guard = Some(GameHandle { tx }); + + Ok(()) +} + +#[tauri::command] +pub async fn game_disconnect(state: State<'_, GameState>) -> Result<(), String> { + let mut guard = state.handle.lock().await; + + if let Some(game_handle) = guard.take() { + let _ = game_handle.tx.send(WorkerCommand::Stop).await; + } + + Ok(()) +} + +#[tauri::command] +pub async fn game_command(state: State<'_, GameState>, command: UiCommand) -> Result<(), String> { + let guard = state.handle.lock().await; + let game_handle = guard.as_ref().ok_or("not connected")?; + + game_handle + .tx + .send(WorkerCommand::Ui(command)) + .await + .map_err(|_| "send failed".to_string())?; + + Ok(()) +} diff --git a/apps/client/src-tauri/src/game/events.rs b/apps/client/src-tauri/src/game/events.rs new file mode 100644 index 0000000..cfd9504 --- /dev/null +++ b/apps/client/src-tauri/src/game/events.rs @@ -0,0 +1 @@ +pub const GAME_EVENT: &str = "game:event"; diff --git a/apps/client/src-tauri/src/game/mod.rs b/apps/client/src-tauri/src/game/mod.rs new file mode 100644 index 0000000..4a657d1 --- /dev/null +++ b/apps/client/src-tauri/src/game/mod.rs @@ -0,0 +1,26 @@ +pub mod commands; +pub mod events; +pub mod types; +pub mod worker; + +pub mod mod_state { + use tokio::sync::{mpsc, Mutex}; + + use crate::game::worker::WorkerCommand; + + pub struct GameState { + pub handle: Mutex>, + } + + pub struct GameHandle { + pub tx: mpsc::Sender, + } + + impl GameState { + pub fn new() -> Self { + Self { + handle: Mutex::new(None), + } + } + } +} diff --git a/apps/client/src-tauri/src/game/types.rs b/apps/client/src-tauri/src/game/types.rs new file mode 100644 index 0000000..cef1acd --- /dev/null +++ b/apps/client/src-tauri/src/game/types.rs @@ -0,0 +1,81 @@ +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Copy, Debug, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct Position { + pub x: i32, + pub y: i32, + pub z: i32, +} + +#[derive(Clone, Copy, Debug, Serialize, Deserialize)] +pub enum MoveDir { + N, + S, + W, + E, +} + +#[derive(Clone, Copy, Debug, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct CryptoState { + pub xtea_enabled: bool, + pub xtea_key: Option<[u32; 4]>, +} + +#[derive(Clone, Debug, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct MoveCommand { + pub req_id: String, + pub from: Position, + pub dir: MoveDir, +} + +#[derive(Clone, Debug, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct MoveResult { + pub req_id: String, + pub ok: bool, + pub position: Position, + #[serde(skip_serializing_if = "Option::is_none")] + pub reason: Option, +} + +#[derive(Debug, Deserialize)] +#[serde(tag = "type", content = "data")] +pub enum UiCommand { + Log { message: String }, + Move(MoveCommand), + SendRaw { payload: Vec }, +} + +#[derive(Clone, Debug, Serialize)] +#[serde(tag = "type", content = "data")] +pub enum GameEvent { + State { + state: String, + }, + Log { + level: String, + message: String, + ts_ms: u128, + }, + Tick { + n: u64, + ts_ms: u128, + }, + MoveResult(MoveResult), + PlayerPosition(Position), + CryptoState(CryptoState), + RawTx { + payload_hex: String, + body_hex: String, + len: usize, + xtea: bool, + }, + RawRx { + payload_hex: String, + len: usize, + xtea: bool, + }, +} diff --git a/apps/client/src-tauri/src/game/worker.rs b/apps/client/src-tauri/src/game/worker.rs new file mode 100644 index 0000000..5dbffda --- /dev/null +++ b/apps/client/src-tauri/src/game/worker.rs @@ -0,0 +1,227 @@ +use std::time::{Duration, SystemTime, UNIX_EPOCH}; + +use tauri::{AppHandle, Emitter}; +use tokio::{sync::mpsc, time::interval}; + +use crate::{ + codec::{pack_body, unpack_body}, + game::{ + events, + types::{CryptoState, GameEvent, MoveDir, MoveResult, Position, UiCommand}, + }, + xtea::{generate_xtea_key_bytes, xtea_decrypt, xtea_encrypt, xtea_key_from_bytes_le}, +}; + +#[derive(Debug)] +pub enum WorkerCommand { + Stop, + Ui(UiCommand), +} + +#[derive(Debug)] +struct WorkerState { + crypto: CryptoState, + player_position: Position, +} + +fn now_ms() -> u128 { + SystemTime::now() + .duration_since(UNIX_EPOCH) + .unwrap_or_default() + .as_millis() +} + +fn emit(app: &AppHandle, event: GameEvent) { + let _ = app.emit(events::GAME_EVENT, event); +} + +fn apply_dir(from: Position, dir: MoveDir) -> Position { + match dir { + MoveDir::N => Position { + y: from.y - 1, + ..from + }, + MoveDir::S => Position { + y: from.y + 1, + ..from + }, + MoveDir::W => Position { + x: from.x - 1, + ..from + }, + MoveDir::E => Position { + x: from.x + 1, + ..from + }, + } +} + +pub async fn run_worker( + app: AppHandle, + ip: String, + port: u16, + session_key: String, + character_name: String, + mut rx: mpsc::Receiver, +) -> anyhow::Result<()> { + let key_bytes = generate_xtea_key_bytes(); + + let mut state = WorkerState { + crypto: CryptoState { + xtea_enabled: true, + xtea_key: Some(xtea_key_from_bytes_le(key_bytes)), + }, + player_position: Position { + x: 100, + y: 100, + z: 7, + }, + }; + + emit( + &app, + GameEvent::State { + state: "connected".into(), + }, + ); + emit( + &app, + GameEvent::Log { + level: "info".into(), + message: format!( + "worker started (ip={ip} port={port} character={character_name} session_key_len={})", + session_key.len() + ), + ts_ms: now_ms(), + }, + ); + emit( + &app, + GameEvent::Log { + level: "info".into(), + message: "Login simulated: XTEA enabled + key stored in worker state".into(), + ts_ms: now_ms(), + }, + ); + emit(&app, GameEvent::CryptoState(state.crypto)); + emit(&app, GameEvent::PlayerPosition(state.player_position)); + emit(&app, GameEvent::CryptoState(state.crypto)); + + let mut tick = interval(Duration::from_secs(1)); + let mut n: u64 = 0; + + loop { + tokio::select! { + _ = tick.tick() => { + n += 1; + emit(&app, GameEvent::Tick { n, ts_ms: now_ms() }); + } + + command = rx.recv() => { + match command { + Some(WorkerCommand::Ui(ui)) => { + handle_ui_command(&app, ui, &mut state).await; + } + Some(WorkerCommand::Stop) | None => { + emit(&app, GameEvent::Log { + level: "warn".into(), + message: "worker stopping".into(), + ts_ms: now_ms() + }); + emit(&app, GameEvent::State { state: "disconnected".into() }); + break; + } + } + } + } + } + + Ok(()) +} + +async fn handle_ui_command(app: &AppHandle, command: UiCommand, state: &mut WorkerState) { + // ✅ config fake (deixa fixo aqui também) + let latency_ms: u64 = 30; + let error_rate: f32 = 0.01; // 1% rollback + + match command { + UiCommand::SendRaw { payload } => { + let xtea = state.crypto.xtea_enabled; + let key = state.crypto.xtea_key; + + let payload_hex = hex::encode(&payload); + let mut body = pack_body(&payload); + + if xtea { + let k = key.expect("xtea_enabled but no key has generated"); + xtea_encrypt(&mut body, k); + } + + emit( + app, + GameEvent::RawTx { + payload_hex, + body_hex: hex::encode(&body), + len: body.len(), + xtea, + }, + ); + + if xtea { + let k = key.unwrap(); + xtea_decrypt(&mut body, k); + } + + let unpacked = unpack_body(&body).unwrap(); + + emit( + app, + GameEvent::RawRx { + payload_hex: hex::encode(&unpacked), + len: unpacked.len(), + xtea, + }, + ); + } + UiCommand::Log { message } => { + emit( + app, + GameEvent::Log { + level: "info".into(), + message: format!("received UiCommand::Log: {message}"), + ts_ms: now_ms(), + }, + ); + } + UiCommand::Move(move_command) => { + tokio::time::sleep(Duration::from_millis(latency_ms)).await; + + let rolled_back = rand::random::() < error_rate; + let player_position = state.player_position; + + if rolled_back { + emit( + app, + GameEvent::MoveResult(MoveResult { + req_id: move_command.req_id, + ok: false, + position: player_position, // manda a posição autoritativa atual + reason: Some("simulated_rollback".into()), + }), + ); + } else { + state.player_position = apply_dir(player_position, move_command.dir); + + emit( + app, + GameEvent::MoveResult(MoveResult { + req_id: move_command.req_id, + ok: true, + position: player_position, + reason: None, + }), + ); + } + } + } +} diff --git a/apps/client/src-tauri/src/lib.rs b/apps/client/src-tauri/src/lib.rs new file mode 100644 index 0000000..adc7d7e --- /dev/null +++ b/apps/client/src-tauri/src/lib.rs @@ -0,0 +1,37 @@ +pub mod codec; +pub mod game; +pub mod states; +pub mod xtea; + +use tauri::Manager; + +use crate::game::commands::{game_command, game_connect, game_disconnect}; +use crate::game::mod_state::GameState; +use crate::states::mi_protocol; + +#[cfg_attr(mobile, tauri::mobile_entry_point)] +pub fn run() { + tauri::Builder::default() + .setup(|app| { + let state = mi_protocol::AssetsState::init(app.handle())?; + app.manage(state); + + Ok(()) + }) + .register_asynchronous_uri_scheme_protocol("miforge", |ctx, request, responder| { + let app = ctx.app_handle().clone(); + tauri::async_runtime::spawn(async move { + let response = mi_protocol::handle(&app, request); + let _ = responder.respond(response); + }); + }) + .plugin(tauri_plugin_opener::init()) + .manage(GameState::new()) + .invoke_handler(tauri::generate_handler![ + game_connect, + game_disconnect, + game_command + ]) + .run(tauri::generate_context!()) + .expect("error while running tauri application"); +} diff --git a/apps/client/src-tauri/src/main.rs b/apps/client/src-tauri/src/main.rs new file mode 100644 index 0000000..d183cc0 --- /dev/null +++ b/apps/client/src-tauri/src/main.rs @@ -0,0 +1,6 @@ +// Prevents additional console window on Windows in release, DO NOT REMOVE!! +#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] + +fn main() { + miclient_lib::run() +} diff --git a/apps/client/src-tauri/src/states/mi_protocol.rs b/apps/client/src-tauri/src/states/mi_protocol.rs new file mode 100644 index 0000000..efe1696 --- /dev/null +++ b/apps/client/src-tauri/src/states/mi_protocol.rs @@ -0,0 +1,170 @@ +use anyhow::{Context, Ok, Result}; +use parking_lot::RwLock; +use std::path::PathBuf; +use std::sync::Arc; +use tauri::http::{self, Method, Request, Response}; +use tauri::{AppHandle, Manager}; + +type CatalogEntries = Vec; + +pub struct AssetsState { + scan: assets::AssetScan, + catalog: CatalogEntries, + sprite_png_cache: RwLock>>>, +} + +fn resolve_assets_dir(app: &AppHandle) -> Result { + let dev = PathBuf::from(env!("CARGO_MANIFEST_DIR")) + .join("resources") + .join("assets"); + + if dev.is_dir() { + return Ok(dev); + } + + let res = app.path().resource_dir().context("resource_dir() failed")?; + let bundled = res.join("assets"); + + if bundled.is_dir() { + return Ok(bundled); + } + + let cwd = std::env::current_dir().unwrap_or_default(); + + anyhow::bail!( + "assets dir not found. cwd={:?} tried dev={:?} bundled={:?}", + cwd, + dev, + bundled + ); +} + +impl AssetsState { + pub fn init(app: &AppHandle) -> Result { + let assets_dir = resolve_assets_dir(&app)?; + + let scan = assets::scan_assets_dir(&assets_dir) + .with_context(|| format!("scan_assets_dir failed"))?; + + assets::validate_assets(&scan).context("validate_assets failed")?; + + let catalog_path = scan.root.join("catalog-content.json"); + let catalog = assets::catalog::load_catalog(&catalog_path) + .with_context(|| format!("failed to load catalog: {}", catalog_path.display()))?; + + Ok(Self { + scan, + catalog, + sprite_png_cache: RwLock::new(std::collections::HashMap::new()), + }) + } + + pub fn sprite_png(&self, sprite_id: u32) -> Result>> { + // Make sure to hit cache and return if already been generated + if let Some(hit) = self.sprite_png_cache.read().get(&sprite_id) { + return Ok(hit.clone()); + } + + let entry = assets::sprites::find_sprite_entry(&self.catalog, sprite_id) + .ok_or_else(|| anyhow::anyhow!("sprite_id {sprite_id} not found in catalog"))?; + + assets::catalog::ensure_has_sprite_fields(entry)?; + + let sheet_path = self.scan.root.join(&entry.file); + let compressed = std::fs::read(&sheet_path) + .with_context(|| format!("failed to read sheet: {}", sheet_path.display()))?; + + let bmp_bytes = assets::lzma::decompress_cipsoft_lzma_asset(&compressed) + .context("failed to decompress bmp.lzma")?; + + let info = assets::bmp::parse_bmp_info(&bmp_bytes)?; + let rect = assets::sprites::sprite_rect_from_sheet(entry, sprite_id, &info)?; + + let dynamic_image = + image::load_from_memory_with_format(&bmp_bytes, image::ImageFormat::Bmp)?; + let rgba = dynamic_image.to_rgba8(); + let cropped = image::imageops::crop_imm(&rgba, rect.x, rect.y, rect.w, rect.h).to_image(); + + let mut png = Vec::new(); + image::DynamicImage::ImageRgba8(cropped) + .write_to(&mut std::io::Cursor::new(&mut png), image::ImageFormat::Png)?; + + let png = Arc::new(png); + self.sprite_png_cache.write().insert(sprite_id, png.clone()); + Ok(png) + } +} + +fn parse_sprite_id(path: &str) -> Option { + let path = path.trim_start_matches("/"); + let mut it = path.split("/"); + + if it.next()? != "sprite" { + return None; + } + + let file = it.next()?; + let id_str = file.strip_suffix(".png").unwrap_or(file); + id_str.parse::().ok() +} + +fn with_cors(mut builder: http::response::Builder, origin: &str) -> http::response::Builder { + builder = builder + .header("Access-Control-Allow-Origin", origin) + .header("Vary", "Origin") + .header("Access-Control-Allow-Methods", "GET, OPTIONS") + .header("Access-Control-Allow-Headers", "*") + // opcional, mas ajuda em alguns casos: + .header("Cross-Origin-Resource-Policy", "cross-origin"); + + builder +} + +pub fn handle(app: &AppHandle, request: Request>) -> Response> { + let path = request.uri().path().to_string(); + + let origin = request + .headers() + .get("Origin") + .and_then(|v| v.to_str().ok()) + .unwrap_or("*"); + + if request.method() == Method::OPTIONS { + return with_cors(http::Response::builder().status(204), origin) + .body(Vec::new()) + .unwrap(); + } + + let state = app.state::(); + + if let Some(sprite_id) = parse_sprite_id(&path) { + return match state.sprite_png(sprite_id) { + std::result::Result::Ok(png) => with_cors( + http::Response::builder() + .status(200) + .header("Content-Type", "image/png"), + origin, + ) + .body(png.as_ref().to_owned()) + .unwrap(), + + std::result::Result::Err(err) => with_cors( + http::Response::builder() + .status(404) + .header("Content-Type", "text/plain; charset=utf-8"), + origin, + ) + .body(format!("sprite {sprite_id} not found: {err}").into_bytes()) + .unwrap(), + }; + } + + with_cors( + http::Response::builder() + .status(404) + .header("Content-Type", "text/plain; charset=utf-8"), + origin, + ) + .body(format!("unknown route: {path}").into_bytes()) + .unwrap() +} diff --git a/apps/client/src-tauri/src/states/mod.rs b/apps/client/src-tauri/src/states/mod.rs new file mode 100644 index 0000000..d9ee0b2 --- /dev/null +++ b/apps/client/src-tauri/src/states/mod.rs @@ -0,0 +1 @@ +pub mod mi_protocol; diff --git a/apps/client/src-tauri/src/xtea/mod.rs b/apps/client/src-tauri/src/xtea/mod.rs new file mode 100644 index 0000000..365017b --- /dev/null +++ b/apps/client/src-tauri/src/xtea/mod.rs @@ -0,0 +1,79 @@ +use rand::RngCore; +use rand_core::OsRng; + +const XTEA_DELTA: u32 = 0x9E37_79B9; +const XTEA_ROUNDS: usize = 32; + +pub fn generate_xtea_key_bytes() -> [u8; 16] { + let mut raw = [0u8; 16]; + OsRng.fill_bytes(&mut raw); + raw +} + +pub fn xtea_key_from_bytes_le(raw: [u8; 16]) -> [u32; 4] { + [ + u32::from_le_bytes(raw[0..4].try_into().unwrap()), + u32::from_le_bytes(raw[4..8].try_into().unwrap()), + u32::from_le_bytes(raw[8..12].try_into().unwrap()), + u32::from_le_bytes(raw[12..16].try_into().unwrap()), + ] +} + +/** + * Cria uma cifra com tamanho que seja múltiplo de 8 + */ + +pub fn xtea_encrypt(buffer: &mut [u8], key: [u32; 4]) { + assert!(buffer.len() % 8 == 0, "buffer must be multiple of 8"); + + for chunk in buffer.chunks_exact_mut(8) { + let mut v0 = u32::from_le_bytes(chunk[0..4].try_into().unwrap()); + let mut v1 = u32::from_le_bytes(chunk[4..8].try_into().unwrap()); + + let mut sum: u32 = 0; + + for _ in 0..XTEA_ROUNDS { + v0 = v0.wrapping_add( + (((v1 << 4) ^ (v1 >> 5)).wrapping_add(v1)) + ^ (sum.wrapping_add(key[(sum & 3) as usize])), + ); + + sum = sum.wrapping_add(XTEA_DELTA); + v1 = v1.wrapping_add( + (((v0 << 4) ^ (v0 >> 5)).wrapping_add(v0)) + ^ (sum.wrapping_add(key[((sum >> 11) & 3) as usize])), + ); + } + + chunk[0..4].copy_from_slice(&v0.to_le_bytes()); + chunk[4..8].copy_from_slice(&v1.to_le_bytes()); + } +} + +/** + * Faz o decrypt usando uma chave. + */ +pub fn xtea_decrypt(buffer: &mut [u8], key: [u32; 4]) { + assert!(buffer.len() % 8 == 0, "buf must be multiple of 8"); + + for chunk in buffer.chunks_exact_mut(8) { + let mut v0 = u32::from_le_bytes(chunk[0..4].try_into().unwrap()); + let mut v1 = u32::from_le_bytes(chunk[4..8].try_into().unwrap()); + + let mut sum: u32 = XTEA_DELTA.wrapping_mul(XTEA_ROUNDS as u32); + for _ in 0..XTEA_ROUNDS { + v1 = v1.wrapping_sub( + (((v0 << 4) ^ (v0 >> 5)).wrapping_add(v0)) + ^ (sum.wrapping_add(key[((sum >> 11) & 3) as usize])), + ); + sum = sum.wrapping_sub(XTEA_DELTA); + v0 = v0.wrapping_sub( + (((v1 << 4) ^ (v1 >> 5)).wrapping_add(v1)) + ^ (sum.wrapping_add(key[(sum & 3) as usize])), + ); + } + + chunk[0..4].copy_from_slice(&v0.to_le_bytes()); + chunk[4..8].copy_from_slice(&v1.to_le_bytes()); + } +} diff --git a/apps/client/src-tauri/tauri.conf.json b/apps/client/src-tauri/tauri.conf.json new file mode 100644 index 0000000..61c61d4 --- /dev/null +++ b/apps/client/src-tauri/tauri.conf.json @@ -0,0 +1,39 @@ +{ + "$schema": "https://schema.tauri.app/config/2", + "productName": "miclient", + "version": "0.1.0", + "identifier": "com.kamity.miclient", + "build": { + "beforeDevCommand": "pnpm vite:dev", + "devUrl": "http://localhost:1420", + "beforeBuildCommand": "pnpm build", + "frontendDist": "../dist" + }, + "app": { + "windows": [ + { + "title": "miclient", + "minWidth": 1020, + "minHeight": 680, + "width": 1020, + "height": 680, + "maximized": true + } + ], + "security": { + "csp": null + } + }, + "bundle": { + "active": true, + "targets": "all", + "resources": ["resources/assets/**/*"], + "icon": [ + "icons/32x32.png", + "icons/128x128.png", + "icons/128x128@2x.png", + "icons/icon.icns", + "icons/icon.ico" + ] + } +} diff --git a/apps/client/src/assets/react.svg b/apps/client/src/assets/react.svg new file mode 100644 index 0000000..6c87de9 --- /dev/null +++ b/apps/client/src/assets/react.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/client/src/components/Panel/index.tsx b/apps/client/src/components/Panel/index.tsx new file mode 100644 index 0000000..69c1c20 --- /dev/null +++ b/apps/client/src/components/Panel/index.tsx @@ -0,0 +1,54 @@ +import { AvailableZones } from "@/sdk/drag/types"; +import { useDragStore } from "@/sdk/store/drag"; +import { type PanelId, useLayoutStore } from "@/sdk/store/layout"; +import { cn } from "@/sdk/utils/cn"; +import { WidgetShell } from "../Widgets/Shell"; + +export function PanelTargetOutline({ panelId }: { panelId: string }) { + const dragging = useDragStore((s) => s.dragging); + const target = useDragStore((s) => s.target); + const canDrop = useDragStore((s) => s.canDrop); + + const isTarget = + !!dragging && + !!target && + target.zone === AvailableZones.PANEL && + target.panelId === panelId; + + const isStartingPanel = + dragging?.from === AvailableZones.PANEL && + dragging?.fromPanelId === panelId; + + if (isStartingPanel) return null; + + if (!isTarget) return null; + + return ( +
+ ); +} + +export function Panel({ panelId }: { panelId: PanelId }) { + const widgetIds = useLayoutStore((s) => s.panels[panelId]); + + return ( +
+ + {widgetIds.map((id, idx) => ( + + ))} +
+ ); +} diff --git a/apps/client/src/components/Widgets/Ghost/index.tsx b/apps/client/src/components/Widgets/Ghost/index.tsx new file mode 100644 index 0000000..44bbab8 --- /dev/null +++ b/apps/client/src/components/Widgets/Ghost/index.tsx @@ -0,0 +1,50 @@ +import { createPortal } from "react-dom"; +import { useDragStore } from "@/sdk/store/drag"; +import { WidgetRenderer } from "../Renderer"; + +export function WidgetDragGhost() { + const dragging = useDragStore((s) => s.dragging); + const pointer = useDragStore((s) => s.pointer); + const preview = useDragStore((s) => s.preview); + const canDrop = useDragStore((s) => s.canDrop); + + if (!dragging || !pointer || !preview) return null; + if (preview.type !== "WIDGET") return null; + + const ghost = ( +
+
+
+ {/* pode mostrar title real se quiser */} + Widget +
+ + {/* ✅ aparece, mas não interage */} +
+ +
+
+
+ ); + + return createPortal(ghost, document.body); +} diff --git a/apps/client/src/components/Widgets/Renderer/index.tsx b/apps/client/src/components/Widgets/Renderer/index.tsx new file mode 100644 index 0000000..cc79005 --- /dev/null +++ b/apps/client/src/components/Widgets/Renderer/index.tsx @@ -0,0 +1,19 @@ +import { useLayoutStore } from "@/sdk/store/layout"; + +export function WidgetRenderer({ widgetId }: { widgetId: string }) { + const widget = useLayoutStore((s) => s.widgets[widgetId]); + if (!widget) return null; + + if (widget.type === "skills") + return
Skills content…
; + if (widget.type === "battleList") + return
Battle list…
; + if (widget.type === "backpack") + return ( +
+ Backpack: {widget.containerId} +
+ ); + + return null; +} diff --git a/apps/client/src/components/Widgets/Shell/index.tsx b/apps/client/src/components/Widgets/Shell/index.tsx new file mode 100644 index 0000000..d4942e1 --- /dev/null +++ b/apps/client/src/components/Widgets/Shell/index.tsx @@ -0,0 +1,74 @@ +import { AvailableKinds } from "@/sdk/drag/types"; +import { useDragStore } from "@/sdk/store/drag"; +import { type PanelId, useLayoutStore } from "@/sdk/store/layout"; +import { cn } from "@/sdk/utils/cn"; +import { WidgetRenderer } from "../Renderer"; + +export function WidgetShell({ + widgetId, + panelId, + index, +}: { + widgetId: string; + panelId: string; + index: number; +}) { + const widget = useLayoutStore((s) => s.widgets[widgetId]); + + const startDrag = useDragStore((s) => s.startDrag); + const dragging = useDragStore((s) => s.dragging); + + const isDraggingThis = + dragging?.kind === AvailableKinds.WIDGET && dragging.widgetId === widgetId; + + const onHeaderPointerDown = (e: React.PointerEvent) => { + e.preventDefault(); + + const widgetElement = (e.currentTarget as HTMLElement).closest( + "[data-widget-id]", + ) as HTMLElement | null; + + const rect = widgetElement?.getBoundingClientRect(); + + startDrag( + { + kind: AvailableKinds.WIDGET, + widgetId, + from: "PANEL", + fromPanelId: panelId as PanelId, + fromIndex: index, + }, + { x: e.clientX, y: e.clientY }, + { + type: "WIDGET", + widgetId, + height: rect?.height || 120, + width: rect?.width || 175, + }, + ); + }; + + return ( +
+ {/* drag handle */} +
+ {widget?.title ?? widgetId} +
+ +
+
+ +
+
+
+ ); +} diff --git a/apps/client/src/components/game/Canvas/index.tsx b/apps/client/src/components/game/Canvas/index.tsx new file mode 100644 index 0000000..6bc468e --- /dev/null +++ b/apps/client/src/components/game/Canvas/index.tsx @@ -0,0 +1,30 @@ +import { useLayoutEffect, useRef } from "react"; +import { PixiHost } from "@/components/game/PixiHost"; +import { useWorldStore } from "@/sdk/store/world"; + +type Props = { gridArea?: string }; + +export function GameCanvas({ gridArea }: Props) { + const parentRef = useRef(null); + const setWorldElement = useWorldStore((s) => s.setWorldElement); + + useLayoutEffect(() => { + setWorldElement(parentRef.current); + return () => setWorldElement(null); + }, [setWorldElement]); + + return ( +
+ +
+ ); +} diff --git a/apps/client/src/components/game/PixiHost/index.tsx b/apps/client/src/components/game/PixiHost/index.tsx new file mode 100644 index 0000000..a2fb3d8 --- /dev/null +++ b/apps/client/src/components/game/PixiHost/index.tsx @@ -0,0 +1,117 @@ +import { Application, TextureStyle } from "pixi.js"; +import { useEffect, useRef } from "react"; +import { attachPixiPerf } from "@/sdk/pixi/utils/AttachPerformance"; +import { ResizeBridge } from "@/sdk/pixi/utils/ResizeBridge"; +import { World } from "@/sdk/pixi/world"; + +export function PixiHost() { + const hostRef = useRef(null); + const bootTokenRef = useRef(0); + + useEffect(() => { + const host = hostRef.current; + if (!host) return; + + // invalida boots anteriores + bootTokenRef.current += 1; + const token = bootTokenRef.current; + + let ro: ResizeObserver | null = null; + let application: Application | null = null; + let world: World | null = null; + let detachPerf: null | (() => void) = null; + + // garante que não ficou canvas “antigo” no DOM + host.replaceChildren(); + + const cleanup = () => { + ro?.disconnect(); + ro = null; + + world?.destroy(); + world = null; + + detachPerf?.(); + detachPerf = null; + + // remove canvas do DOM também (não confia só no destroy) + if (application) { + try { + application.destroy(); + } finally { + application = null; + } + } + + // limpa o host (remove canvas caso ainda exista) + host.replaceChildren(); + }; + + (async () => { + TextureStyle.defaultOptions.scaleMode = "nearest"; + + application = new Application(); + + await application.init({ + backgroundAlpha: 0, + antialias: false, + autoDensity: true, + roundPixels: false, + resolution: window.devicePixelRatio, + sharedTicker: true, + powerPreference: "high-performance", + preference: "webgpu", + }); + + detachPerf = attachPixiPerf(application); + + application.canvas.style.display = "block"; + + // se rolou HMR/StrictMode/cleanup enquanto init rodava, aborta + if (bootTokenRef.current !== token) { + application.destroy(); + return; + } + + // garante que só existe um canvas + host.replaceChildren(application.canvas); + + world = new World(application); + + ResizeBridge({ + application: application, + element: host, // a div container (ref.current) + onResize: (width, height) => { + world?.resize(width, height); + }, + }); + + application.ticker.add((t) => { + world?.update(performance.now(), t.deltaMS); + }); + })(); + + // ✅ Vite: quando o módulo for substituído via HMR, roda cleanup + if (import.meta.hot) { + import.meta.hot.dispose(() => { + // invalida token e limpa + bootTokenRef.current += 1; + cleanup(); + }); + } + + return () => { + // invalida esse boot e limpa + bootTokenRef.current += 1; + + cleanup(); + }; + }, []); + + return ( +
+ ); +} diff --git a/apps/client/src/components/game/Shell/index.tsx b/apps/client/src/components/game/Shell/index.tsx new file mode 100644 index 0000000..1604f57 --- /dev/null +++ b/apps/client/src/components/game/Shell/index.tsx @@ -0,0 +1,131 @@ +import { useMemo } from "react"; + +import { Panel as PanelSlot } from "@/components/Panel"; +import { Panel } from "@/components/ui/Panel"; +import { MIN_GAME_WIDTH, PANEL_WIDTH } from "@/sdk/constants"; +import { GameCanvas } from "../Canvas"; + +import "@/sdk/drag/register"; + +const LEFT1 = true; +const LEFT2 = true; +const RIGHT1 = false; +const RIGHT2 = true; +const RIGHT3 = true; + +export const GameShell = () => { + const gridTemplateColumns = useMemo( + () => + [ + LEFT1 ? `${PANEL_WIDTH}px` : "0px", + LEFT2 ? `${PANEL_WIDTH}px` : "0px", + `minmax(${MIN_GAME_WIDTH}px, 1fr)`, // centro sempre >= 240px + RIGHT1 ? `${PANEL_WIDTH}px` : "0px", + RIGHT2 ? `${PANEL_WIDTH}px` : "0px", + RIGHT3 ? `${PANEL_WIDTH}px` : "0px", + ].join(" "), + [], + ); + + return ( +
+ {/* LEFT PANELS */} +
+ +
+
+ +
+ + {/* CENTER: grid INTERNO com health / game / bottom */} +
+ + + +
+ + + {RIGHT1 && ( +
+ Right 1 +
+ )} +
+ + + {RIGHT2 && ( +
Right 2
+ )} +
+ + + {RIGHT3 && ( +
Right 3
+ )} +
+
+ ); +}; + +const MIN_HEALTH = 40; +const MAX_HEALTH = 60; + +const MIN_BOTTOM = 120; +const MAX_BOTTOM = 180; + +type CenterColumnProps = { + showHealth: boolean; + showBottom: boolean; + children: React.ReactNode; +}; + +export function CenterColumn({ + showHealth, + showBottom, + children, +}: CenterColumnProps) { + const healthRow = showHealth + ? `minmax(${MIN_HEALTH}px, ${MAX_HEALTH}px)` + : "0px"; + const bottomRow = showBottom + ? `minmax(${MIN_BOTTOM}px, ${MAX_BOTTOM}px)` + : "0px"; + + return ( +
+ + {showHealth && HP/MP bar aqui} + + + {children} + + + {showBottom && Teste Bottom Panel} + +
+ ); +} diff --git a/apps/client/src/components/performance/Overlay/index.tsx b/apps/client/src/components/performance/Overlay/index.tsx new file mode 100644 index 0000000..bc6fa8e --- /dev/null +++ b/apps/client/src/components/performance/Overlay/index.tsx @@ -0,0 +1,41 @@ +import { useEffect } from "react"; +import { usePerfStore } from "@/sdk/store/performance"; + +function fmt(n: number, digits = 1) { + return Number.isFinite(n) ? n.toFixed(digits) : "-"; +} + +export function PerfOverlay() { + const enabled = usePerfStore((s) => s.enabled); + const pixi = usePerfStore((s) => s.pixi); + const react = usePerfStore((s) => s.react); + const toggle = usePerfStore((s) => s.toggle); + const world = usePerfStore((s) => s.world); + const c = usePerfStore((s) => s.counts); + + useEffect(() => { + const onKeyDown = (e: KeyboardEvent) => { + // Ctrl+Shift+P pra ligar/desligar + if (e.ctrlKey && e.shiftKey && e.key.toLowerCase() === "p") toggle(); + }; + window.addEventListener("keydown", onKeyDown); + return () => window.removeEventListener("keydown", onKeyDown); + }, [toggle]); + + if (!enabled) return null; + + return ( +
+
+				{`PIXI   ${fmt(pixi.fps, 0)} fps | ${fmt(pixi.frameMs, 1)} ms | ${pixi.screenW}x${pixi.screenH} dpr ${fmt(pixi.resolution, 2)}
+WORLD  avg ${fmt(world.worldAvgMs, 2)} ms  max ${fmt(world.worldMaxMs, 2)} ms
+LAYERS ground ${fmt(world.groundAvgMs, 2)} / ${fmt(world.groundMaxMs, 2)}  | creatures ${fmt(world.creaturesAvgMs, 2)} / ${fmt(world.creaturesMaxMs, 2)}
+       overlay ${fmt(world.overlayAvgMs, 2)} / ${fmt(world.overlayMaxMs, 2)} | debug ${fmt(world.debugAvgMs, 2)} / ${fmt(world.debugMaxMs, 2)}
+REACT  ${fmt(react.commitsPerSec, 0)}/s | last ${fmt(react.lastCommitMs, 1)} ms | avg ${fmt(react.avgCommitMs, 1)} ms
+
+COUNTS tiles ${c.tilesInCache} | groundSprites ${c.groundSprites} | creatures ${c.creaturesVisible}/${c.creaturesTotal}
+DIRTY  view:${c.viewDirty ? "Y" : "n"} tiles:${c.tilesDirty ? "Y" : "n"} creatures:${c.creaturesDirty ? "Y" : "n"}`}
+			
+
+ ); +} diff --git a/apps/client/src/components/performance/Profiler/index.tsx b/apps/client/src/components/performance/Profiler/index.tsx new file mode 100644 index 0000000..3b0ed23 --- /dev/null +++ b/apps/client/src/components/performance/Profiler/index.tsx @@ -0,0 +1,30 @@ +import { Profiler, type ReactNode } from "react"; +import { usePerfStore } from "@/sdk/store/performance"; + +export function ReactPerfProfiler({ + id, + children, +}: { + id: string; + children: ReactNode; +}) { + const push = usePerfStore((s) => s.pushReactCommit); + + return ( + { + push(actualDuration, commitTime); + }} + > + {children} + + ); +} diff --git a/apps/client/src/components/ui/Panel/index.tsx b/apps/client/src/components/ui/Panel/index.tsx new file mode 100644 index 0000000..24ec52a --- /dev/null +++ b/apps/client/src/components/ui/Panel/index.tsx @@ -0,0 +1,35 @@ +import { forwardRef } from "react"; +import { cn } from "@/sdk/utils/cn"; + +type Props = { + area: string; + border?: "left" | "right" | "top" | "bottom"; +} & React.HTMLAttributes; + +export const Panel = forwardRef( + ({ className, style, area, ...rest }, ref) => { + return ( +
+ ); + }, +); diff --git a/apps/client/src/global.css b/apps/client/src/global.css new file mode 100644 index 0000000..09d5f93 --- /dev/null +++ b/apps/client/src/global.css @@ -0,0 +1,28 @@ +@import "tailwindcss"; + +/* Nada selecionável por padrão */ +:root { + -webkit-user-select: none; /* Safari/WebKit */ + user-select: none; +} + +/* Evita highlight azul no mobile/touch (opcional) */ +html, +body { + -webkit-tap-highlight-color: transparent; +} + +/* Pode selecionar/copiá-lo */ +.allow-select, +.allow-select * { + -webkit-user-select: text; + user-select: text; +} + +/* Inputs/textarea sempre selecionáveis */ +input, +textarea, +[contenteditable="true"] { + -webkit-user-select: text; + user-select: text; +} diff --git a/apps/client/src/main.tsx b/apps/client/src/main.tsx new file mode 100644 index 0000000..8714fe2 --- /dev/null +++ b/apps/client/src/main.tsx @@ -0,0 +1,7 @@ +import "./global.css"; +import ReactDOM from "react-dom/client"; +import Root from "@/pages/_root"; + +ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render( + , +); diff --git a/apps/client/src/pages/_root.tsx b/apps/client/src/pages/_root.tsx new file mode 100644 index 0000000..420742d --- /dev/null +++ b/apps/client/src/pages/_root.tsx @@ -0,0 +1,5 @@ +import { GamePage } from "./game"; + +export default function RootPage() { + return ; +} diff --git a/apps/client/src/pages/game/index.tsx b/apps/client/src/pages/game/index.tsx new file mode 100644 index 0000000..77ef67c --- /dev/null +++ b/apps/client/src/pages/game/index.tsx @@ -0,0 +1,114 @@ +import { invoke } from "@tauri-apps/api/core"; +import { listen } from "@tauri-apps/api/event"; +import { useCallback, useEffect } from "react"; +import { GameShell } from "@/components/game/Shell"; +import { PerfOverlay } from "@/components/performance/Overlay"; +import { ReactPerfProfiler } from "@/components/performance/Profiler"; +import { WidgetDragGhost } from "@/components/Widgets/Ghost"; +import type { GameEvent } from "@/sdk/game/events"; +import { useDragControllerLayer } from "@/sdk/hooks/useDragControllerLayer"; +import { usePointerHoverLayer } from "@/sdk/hooks/usePointerHoverLayer"; +import { setMoveBridge } from "@/sdk/movement/bridge"; +import { createTauriMoveBridge } from "@/sdk/movement/bridge.tauri"; +import { startMovementInput } from "@/sdk/movement/movementInput"; +import { useMovementStore } from "@/sdk/store/movement"; + +export function GamePage() { + usePointerHoverLayer(); + useDragControllerLayer(); + + useEffect(() => { + console.log("Setting Tauri Move Bridge"); + + setMoveBridge(createTauriMoveBridge()); + }, []); + + useEffect(() => { + const stop = startMovementInput(); + return () => stop(); + }, []); + + useEffect(() => { + const unlisten = listen("game:event", (e) => { + const ev = e.payload; + + if (ev.type === "PlayerPosition") { + useMovementStore.getState().setPlayerTile(ev.data); + return; + } + + console.log("EVENT:", ev.type, ev.data); + }); + + return () => { + unlisten.then((f) => f()); + }; + }, []); + + const handleLogin = useCallback(async () => { + await invoke("game_connect", { + ip: "10.1.1.251", + port: 7172, + sessionKey: "god@god.com\ngod", + characterName: "GOD", + }); + }, []); + + const handleLogger = useCallback(async () => { + await invoke("game_command", { + command: { type: "Log", data: { message: "oi worker" } }, + }); + }, []); + + const handleDisconnect = useCallback(async () => { + await invoke("game_disconnect"); + }, []); + + const sendRawDataXtea = useCallback(async () => { + const payload = Array.from(new TextEncoder().encode("ping")); + await invoke("game_command", { + command: { type: "SendRaw", data: { payload } }, + }); + }, []); + + return ( + <> +
+ + + + +
+ + + + + + + + ); +} diff --git a/apps/client/src/pages/login/index.tsx b/apps/client/src/pages/login/index.tsx new file mode 100644 index 0000000..e69de29 diff --git a/apps/client/src/sdk/constants.ts b/apps/client/src/sdk/constants.ts new file mode 100644 index 0000000..848402d --- /dev/null +++ b/apps/client/src/sdk/constants.ts @@ -0,0 +1,13 @@ +export const MIN_GAME_WIDTH = 240; +export const TILE_SIZE_PX = 32; +export const VIEW_TILES_X = 15; +export const VIEW_TILES_Y = 11; +export const MAX_SCALE = 2.1; + +// buffer para walk scroll (OTClient-like) +export const RENDER_PAD = 1; +export const RENDER_TILES_X = VIEW_TILES_X + RENDER_PAD * 2; // 17 +export const RENDER_TILES_Y = VIEW_TILES_Y + RENDER_PAD * 2; // 13 + +// Panels +export const PANEL_WIDTH = 175; diff --git a/apps/client/src/sdk/demo/demoMapLoader.ts b/apps/client/src/sdk/demo/demoMapLoader.ts new file mode 100644 index 0000000..e3267ca --- /dev/null +++ b/apps/client/src/sdk/demo/demoMapLoader.ts @@ -0,0 +1,72 @@ +import { type Position, useWorldStore } from "@/sdk/store/world"; +import { demoTileAt } from "./demoTileGen"; + +const CHUNK = 32; + +const chunkKey = (cx: number, cy: number, z: number) => `${cx}:${cy}:${z}`; + +function worldToChunk(v: number) { + // floor pra funcionar com negativos + return Math.floor(v / CHUNK); +} + +export function createDemoMapLoader() { + const loaded = new Set(); + + function ensureChunk(cx: number, cy: number, z: number) { + const k = chunkKey(cx, cy, z); + if (loaded.has(k)) return; + + loaded.add(k); + + const patch: Array<{ pos: Position; tile: any }> = []; + + const startX = cx * CHUNK; + const startY = cy * CHUNK; + + for (let y = startY; y < startY + CHUNK; y++) { + for (let x = startX; x < startX + CHUNK; x++) { + patch.push({ + pos: { x, y, z }, + tile: demoTileAt(x, y, z), + }); + } + } + + useWorldStore.getState().applyTilePatch(patch); + } + + /** + * Garante que a janela 15×11 (originX/originY) tenha chunks carregados. + * “padding” carrega um pouco além pra reduzir pop-in ao andar. + */ + function ensureForView(args: { + originX: number; + originY: number; + z: number; + viewW: number; + viewH: number; + paddingTiles?: number; + }) { + const { originX, originY, z, viewW, viewH } = args; + const pad = args.paddingTiles ?? 16; + + const minX = originX - pad; + const minY = originY - pad; + const maxX = originX + (viewW - 1) + pad; + const maxY = originY + (viewH - 1) + pad; + + const cminX = worldToChunk(minX); + const cminY = worldToChunk(minY); + const cmaxX = worldToChunk(maxX); + const cmaxY = worldToChunk(maxY); + + for (let cy = cminY; cy <= cmaxY; cy++) { + for (let cx = cminX; cx <= cmaxX; cx++) { + ensureChunk(cx, cy, z); + } + } + } + + return { ensureForView }; +} diff --git a/apps/client/src/sdk/demo/demoTileGen.ts b/apps/client/src/sdk/demo/demoTileGen.ts new file mode 100644 index 0000000..e4002d4 --- /dev/null +++ b/apps/client/src/sdk/demo/demoTileGen.ts @@ -0,0 +1,31 @@ +import type { Tile } from "@/sdk/store/world"; + +// hash simples determinístico +function hash2(x: number, y: number, z: number) { + let h = 2166136261; + h = (h ^ (x * 73856093)) >>> 0; + h = (h ^ (y * 19349663)) >>> 0; + h = (h ^ (z * 83492791)) >>> 0; + h = Math.imul(h, 16777619) >>> 0; + return h; +} + +export function demoTileAt(x: number, y: number, z: number): Tile { + const h = hash2(x, y, z); + + // 3 “biomas” só pra ficar visual + const band = h % 3; + + let tint = 0x3b4048; // default + if (band === 0) tint = 0x2f3640; + if (band === 1) tint = 0x40586b; + if (band === 2) tint = 0x4b514a; + + // estradas (linhas) pra dar referência visual + if (x % 10 === 0 || y % 10 === 0) tint = 0x6b6f76; + + // “água” em manchas + if (h % 37 === 0) tint = 0x234b8a; + + return { groundTint: tint }; +} diff --git a/apps/client/src/sdk/drag/register.ts b/apps/client/src/sdk/drag/register.ts new file mode 100644 index 0000000..2aac868 --- /dev/null +++ b/apps/client/src/sdk/drag/register.ts @@ -0,0 +1 @@ +import "./rules/widgets"; diff --git a/apps/client/src/sdk/drag/resolveDomTarget.ts b/apps/client/src/sdk/drag/resolveDomTarget.ts new file mode 100644 index 0000000..c5ba628 --- /dev/null +++ b/apps/client/src/sdk/drag/resolveDomTarget.ts @@ -0,0 +1,45 @@ +import type { PanelId } from "@/sdk/store/layout"; +import { AvailableZones, type DropTarget, type PanelDropTarget } from "./types"; + +function getInsertIndex(panelEl: HTMLElement, clientY: number) { + const items = Array.from( + panelEl.querySelectorAll("[data-widget-id]"), + ); + + // se painel vazio -> 0 + if (items.length === 0) return 0; + + // encontra o primeiro item cujo midpoint é > mouseY + for (let i = 0; i < items.length; i++) { + const r = items[i].getBoundingClientRect(); + const mid = r.top + r.height / 2; + if (clientY < mid) return i; + } + + // senão entra no final + return items.length; +} + +export function resolveDomTarget(clientX: number, clientY: number): DropTarget { + const el = document.elementFromPoint(clientX, clientY) as HTMLElement | null; + if (!el) return null; + + const zoneEl = el.closest("[data-dropzone]") as HTMLElement | null; + if (!zoneEl) return null; + + const zone = zoneEl.dataset.dropzone; + + if (zone === AvailableZones.PANEL) { + const panelId = (zoneEl.dataset.panelId ?? "right3") as PanelId; + const insertIndex = getInsertIndex(zoneEl, clientY); + + const target: PanelDropTarget = { + zone: AvailableZones.PANEL, + panelId, + insertIndex, + }; + return target; + } + + return null; +} diff --git a/apps/client/src/sdk/drag/rules.ts b/apps/client/src/sdk/drag/rules.ts new file mode 100644 index 0000000..f16ef14 --- /dev/null +++ b/apps/client/src/sdk/drag/rules.ts @@ -0,0 +1,29 @@ +import type { DragPayload, DragPreview, DropTarget } from "./types"; + +type NonNullTarget = Exclude; + +export type Rule = { + kind: DragPayload["kind"]; + zone: NonNullTarget["zone"]; + canDrop?: (payload: DragPayload, target: NonNullTarget) => boolean; + onDrop: (payload: DragPayload, target: NonNullTarget) => void; + getPreview?: (payload: DragPayload) => DragPreview; +}; + +const rules: Rule[] = []; + +export function registerRule(rule: Rule) { + rules.push(rule); +} + +export function resolveRule(payload: DragPayload, target: NonNullTarget) { + const candidates = rules.filter( + (r) => r.kind === payload.kind && r.zone === target.zone, + ); + for (const r of candidates) { + const ok = r.canDrop ? r.canDrop(payload, target) : true; + if (ok) return { rule: r, canDrop: true }; + } + if (candidates.length) return { rule: null, canDrop: false }; + return { rule: null, canDrop: false }; +} diff --git a/apps/client/src/sdk/drag/rules/widgets.ts b/apps/client/src/sdk/drag/rules/widgets.ts new file mode 100644 index 0000000..6fa02fa --- /dev/null +++ b/apps/client/src/sdk/drag/rules/widgets.ts @@ -0,0 +1,19 @@ +import { registerRule } from "@/sdk/drag/rules"; +import { AvailableKinds, AvailableZones } from "@/sdk/drag/types"; +import { useLayoutStore } from "@/sdk/store/layout"; + +registerRule({ + kind: AvailableKinds.WIDGET, + zone: AvailableZones.PANEL, + canDrop: (payload) => payload.kind === AvailableKinds.WIDGET, + onDrop: (payload, target) => { + if (payload.kind !== AvailableKinds.WIDGET) return; + if (target.zone !== AvailableZones.PANEL) return; + + useLayoutStore.getState().moveWidget({ + widgetId: payload.widgetId, + toPanelId: target.panelId, + toIndex: target.insertIndex, + }); + }, +}); diff --git a/apps/client/src/sdk/drag/types.ts b/apps/client/src/sdk/drag/types.ts new file mode 100644 index 0000000..341dcef --- /dev/null +++ b/apps/client/src/sdk/drag/types.ts @@ -0,0 +1,29 @@ +import type { PanelId } from "@/sdk/store/layout"; + +export const AvailableZones = { + PANEL: "PANEL", +} as const; + +export const AvailableKinds = { + WIDGET: "WIDGET", +} as const; + +export type DragPayload = { + kind: typeof AvailableKinds.WIDGET; + widgetId: string; + from: typeof AvailableZones.PANEL; + fromPanelId: PanelId; + fromIndex: number; +}; + +export type PanelDropTarget = { + zone: typeof AvailableZones.PANEL; + panelId: PanelId; + insertIndex: number; // <- onde vai entrar +}; + +export type DropTarget = PanelDropTarget | null; + +export type DragPreview = + | { type: "LABEL"; label: string } + | { type: "WIDGET"; widgetId: string; width: number; height: number }; diff --git a/apps/client/src/sdk/game/events.ts b/apps/client/src/sdk/game/events.ts new file mode 100644 index 0000000..b4536d4 --- /dev/null +++ b/apps/client/src/sdk/game/events.ts @@ -0,0 +1,22 @@ +import type { MoveResult } from "../types/movement"; +import type { Position } from "../types/position"; + +export type GameEvent = + | { type: "Log"; data: { level: string; message: string; tsMs: number } } + | { type: "State"; data: { state: string } } + | { type: "Tick"; data: { n: number; tsMs: number } } + | { type: "PlayerPosition"; data: Position } + | { type: "MoveResult"; data: MoveResult } + | { + type: "RawTx"; + data: { + payload_hex: string; + body_hex: string; + len: number; + xtea: boolean; + }; + } + | { + type: "RawRx"; + data: { payload_hex: string; len: number; xtea: boolean }; + }; diff --git a/apps/client/src/sdk/game/screenToTile.ts b/apps/client/src/sdk/game/screenToTile.ts new file mode 100644 index 0000000..8ce1c87 --- /dev/null +++ b/apps/client/src/sdk/game/screenToTile.ts @@ -0,0 +1,60 @@ +import type { ViewportTransform, WorldTile } from "@/sdk/store/viewport"; +import { RENDER_PAD } from "../constants"; + +export function screenToTile(args: { + localX: number; // dentro do worldEl + localY: number; + viewport: ViewportTransform; +}): WorldTile | null { + const { localX, localY, viewport } = args; + const pad = RENDER_PAD; + + const { + offsetX, + offsetY, + scale, + viewW, + viewH, + cameraX, + cameraY, + tileSize, + viewTilesX, + viewTilesY, + originX, + originY, + z, + } = viewport; + + // 1) -> espaço lógico do rootView (antes do scale) + const x = (localX - offsetX) / scale; + const y = (localY - offsetY) / scale; + + // 2) clip 15x11: se tá na borda preta, null + if (x < 0 || y < 0 || x >= viewW || y >= viewH) return null; + + // 3) desfaz camera scroll (camera move o mundo) + // screen = camera + worldLocal => worldLocal = screen - camera + const worldLocalX = x - cameraX; + const worldLocalY = y - cameraY; + + // 4) tile indices (com epsilon pra não “pular” por float) + const eps = 1e-6; + const vx = Math.floor((worldLocalX + eps) / tileSize); + const vy = Math.floor((worldLocalY + eps) / tileSize); + + // 5) bounds com PAD (permite pegar tile entrando/saindo no walk scroll) + const minX = -pad; + const minY = -pad; + const maxX = viewTilesX + pad - 1; + const maxY = viewTilesY + pad - 1; + + if (vx < minX || vy < minY || vx > maxX || vy > maxY) return null; + + return { + vx, + vy, + x: originX + vx, + y: originY + vy, + z, + }; +} diff --git a/apps/client/src/sdk/game/sprite.ts b/apps/client/src/sdk/game/sprite.ts new file mode 100644 index 0000000..61c6f26 --- /dev/null +++ b/apps/client/src/sdk/game/sprite.ts @@ -0,0 +1,2 @@ +export const spriteUrl = (spriteId: number) => + `miforge://localhost/sprite/${spriteId}.png`; diff --git a/apps/client/src/sdk/hooks/useDragControllerLayer.ts b/apps/client/src/sdk/hooks/useDragControllerLayer.ts new file mode 100644 index 0000000..8008689 --- /dev/null +++ b/apps/client/src/sdk/hooks/useDragControllerLayer.ts @@ -0,0 +1,57 @@ +import { useEffect } from "react"; +import { resolveDomTarget } from "@/sdk/drag/resolveDomTarget"; +import { resolveRule } from "@/sdk/drag/rules"; +import { useDragStore } from "@/sdk/store/drag"; + +export function useDragControllerLayer() { + const dragging = useDragStore((s) => s.dragging); + const setPointer = useDragStore((s) => s.setPointer); + const setTarget = useDragStore((s) => s.setTarget); + const endDrag = useDragStore((s) => s.endDrag); + + useEffect(() => { + if (!dragging) return; + + const onMove = (e: PointerEvent) => { + const x = e.clientX; + const y = e.clientY; + + setPointer({ x, y }); + + const domTarget = resolveDomTarget(x, y); + if (!domTarget) { + setTarget(null, false); + return; + } + + const { canDrop } = resolveRule(dragging, domTarget); + setTarget(domTarget, canDrop); + }; + + const onUp = () => { + const state = useDragStore.getState(); + const payload = state.dragging; + const target = state.target; + + if (payload && target) { + const res = resolveRule(payload, target); + if (res.rule) res.rule.onDrop(payload, target); + } + endDrag(); + }; + + const onKeyDown = (ev: KeyboardEvent) => { + if (ev.key === "Escape") endDrag(); + }; + + window.addEventListener("pointermove", onMove); + window.addEventListener("pointerup", onUp); + window.addEventListener("keydown", onKeyDown); + + return () => { + window.removeEventListener("pointermove", onMove); + window.removeEventListener("pointerup", onUp); + window.removeEventListener("keydown", onKeyDown); + }; + }, [dragging, setPointer, setTarget, endDrag]); +} diff --git a/apps/client/src/sdk/hooks/usePointerHoverLayer.ts b/apps/client/src/sdk/hooks/usePointerHoverLayer.ts new file mode 100644 index 0000000..49172ed --- /dev/null +++ b/apps/client/src/sdk/hooks/usePointerHoverLayer.ts @@ -0,0 +1,34 @@ +import { useEffect } from "react"; +import { screenToTile } from "@/sdk/game/screenToTile"; +import { useViewportStore } from "@/sdk/store/viewport"; +import { useWorldStore } from "@/sdk/store/world"; + +export function usePointerHoverLayer() { + const viewport = useViewportStore((state) => state.viewport); + const setHoveredTile = useViewportStore((state) => state.setHoveredTile); + const worldElement = useWorldStore((state) => state.worldElement); + + useEffect(() => { + const onMove = (e: PointerEvent) => { + if (!worldElement || !viewport) return; + + const rect = worldElement.getBoundingClientRect(); + const localX = e.clientX - rect.left; + const localY = e.clientY - rect.top; + + const tile = screenToTile({ localX, localY, viewport }); + + setHoveredTile(tile); + }; + + const onLeave = () => setHoveredTile(null); + + window.addEventListener("pointermove", onMove, { passive: true }); + window.addEventListener("blur", onLeave); + + return () => { + window.removeEventListener("pointermove", onMove); + window.removeEventListener("blur", onLeave); + }; + }, [worldElement, viewport, setHoveredTile]); +} diff --git a/apps/client/src/sdk/movement/bridge.tauri.ts b/apps/client/src/sdk/movement/bridge.tauri.ts new file mode 100644 index 0000000..687a4c8 --- /dev/null +++ b/apps/client/src/sdk/movement/bridge.tauri.ts @@ -0,0 +1,61 @@ +import { invoke } from "@tauri-apps/api/core"; +import { listen } from "@tauri-apps/api/event"; +import type { MoveBridge } from "@/sdk/movement/bridge"; +import type { MoveCommand, MoveResult } from "@/sdk/types/movement"; +import type { GameEvent } from "../game/events"; + +const pending = new Map< + string, + { + resolve: (r: MoveResult) => void; + reject: (e: unknown) => void; + timeoutId: number; + } +>(); + +let started = false; + +async function ensureListener() { + if (started) return; + started = true; + + await listen("game:event", (e) => { + if (e.payload.type !== "MoveResult") return; + + const res = e.payload.data; + const p = pending.get(res.reqId); + if (!p) return; + + clearTimeout(p.timeoutId); + pending.delete(res.reqId); + p.resolve(res); + }); +} + +export function createTauriMoveBridge(): MoveBridge { + return { + async sendMove(cmd: MoveCommand): Promise { + await ensureListener(); + + return new Promise((resolve, reject) => { + const timeoutId = window.setTimeout(() => { + pending.delete(cmd.reqId); + reject(new Error("move timeout")); + }, 2000); + + pending.set(cmd.reqId, { resolve, reject, timeoutId }); + + invoke("game_command", { + command: { type: "Move", data: cmd }, + }).catch((err) => { + const p = pending.get(cmd.reqId); + if (p) { + clearTimeout(p.timeoutId); + pending.delete(cmd.reqId); + } + reject(err); + }); + }); + }, + }; +} diff --git a/apps/client/src/sdk/movement/bridge.ts b/apps/client/src/sdk/movement/bridge.ts new file mode 100644 index 0000000..d5fc9dd --- /dev/null +++ b/apps/client/src/sdk/movement/bridge.ts @@ -0,0 +1,55 @@ +import type { MoveCommand, MoveDir, MoveResult } from "../types/movement"; +import type { Position } from "../types/position"; + +export type MoveBridge = { + sendMove: (cmd: MoveCommand) => Promise; +}; + +function applyDir(from: Position, dir: MoveDir): Position { + if (dir === "N") return { ...from, y: from.y - 1 }; + if (dir === "S") return { ...from, y: from.y + 1 }; + if (dir === "W") return { ...from, x: from.x - 1 }; + return { ...from, x: from.x + 1 }; // "E" +} + +export function createFakeRustBridge(args?: { + latencyMs?: number; + errorRate?: number; // 0..1 +}): MoveBridge { + const latencyMs = args?.latencyMs ?? 30; + const errorRate = args?.errorRate ?? 0; + + return { + async sendMove(cmd: MoveCommand): Promise { + await new Promise((r) => setTimeout(r, latencyMs)); + + const rolledBack = Math.random() < errorRate; + + if (rolledBack) { + return { + reqId: cmd.reqId, + ok: false, + position: cmd.from, // nega o move + reason: "simulated_rollback", + }; + } + + return { + reqId: cmd.reqId, + ok: true, + position: applyDir(cmd.from, cmd.dir), + }; + }, + }; +} + +// --- ponte global (pra você trocar por Tauri depois) --- +let bridge: MoveBridge = createFakeRustBridge(); + +export function setMoveBridge(b: MoveBridge) { + bridge = b; +} + +export function getMoveBridge() { + return bridge; +} diff --git a/apps/client/src/sdk/movement/movementInput.ts b/apps/client/src/sdk/movement/movementInput.ts new file mode 100644 index 0000000..4f91885 --- /dev/null +++ b/apps/client/src/sdk/movement/movementInput.ts @@ -0,0 +1,31 @@ +import { useMovementStore } from "@/sdk/store/movement"; +import type { MoveDir } from "../types/movement"; + +function isTypingInInput() { + const el = document.activeElement as HTMLElement | null; + if (!el) return false; + const tag = el.tagName.toLowerCase(); + return tag === "input" || tag === "textarea" || el.isContentEditable; +} + +function keyToDir(key: string): MoveDir | null { + if (key === "ArrowUp" || key === "w" || key === "W") return "N"; + if (key === "ArrowDown" || key === "s" || key === "S") return "S"; + if (key === "ArrowLeft" || key === "a" || key === "A") return "W"; + if (key === "ArrowRight" || key === "d" || key === "D") return "E"; + return null; +} + +export function startMovementInput() { + const onKeyDown = (e: KeyboardEvent) => { + if (isTypingInInput()) return; + const dir = keyToDir(e.key); + if (!dir) return; + e.preventDefault(); + useMovementStore.getState().enqueueMove(dir); + }; + + window.addEventListener("keydown", onKeyDown, { passive: false }); + + return () => window.removeEventListener("keydown", onKeyDown); +} diff --git a/apps/client/src/sdk/pixi/layers/CreatureLayer.ts b/apps/client/src/sdk/pixi/layers/CreatureLayer.ts new file mode 100644 index 0000000..f484fd0 --- /dev/null +++ b/apps/client/src/sdk/pixi/layers/CreatureLayer.ts @@ -0,0 +1,88 @@ +import { Container, Sprite, Texture } from "pixi.js"; +import { RENDER_PAD, TILE_SIZE_PX } from "@/sdk/constants"; +import { useWorldStore } from "@/sdk/store/world"; +import { SpritePool } from "../utils/SpritePool"; + +export class CreatureLayer { + private readonly tileSize: number = TILE_SIZE_PX; + private readonly renderPad: number = RENDER_PAD; + + container = new Container(); + private pool: SpritePool; + + constructor() { + this.container.sortableChildren = true; + + this.pool = new SpritePool(() => { + const s = new Sprite(Texture.WHITE); + s.width = this.tileSize; + s.height = this.tileSize; + s.visible = false; + return s; + }, 64); + } + + /** + * originX/originY são do viewport visível (15x11). + * viewX/viewY aqui são os RENDER_TILES_* (ex: 17x13) e pad = 1. + */ + update( + originX: number, + originY: number, + z: number, + viewX: number, + viewY: number, + ) { + const creatures = useWorldStore.getState().creatures; + + // janelas renderizáveis em relação ao origin visível + const minRelX = -this.renderPad; + const minRelY = -this.renderPad; + const maxRelX = viewX - 1 - this.renderPad; // ex 16-1=15 + const maxRelY = viewY - 1 - this.renderPad; // ex 12-1=11 + + const alive = new Set(); + + for (const c of creatures.values()) { + if (c.position.z !== z) continue; + + const relX = c.position.x - originX; + const relY = c.position.y - originY; + + if ( + relX < minRelX || + relY < minRelY || + relX > maxRelX || + relY > maxRelY + ) { + continue; + } + + alive.add(c.id); + + const sprite = this.pool.acquire(c.id); + + // posição em pixels no "mundo lógico" (antes do scale/rootView) + sprite.x = relX * this.tileSize; + sprite.y = relY * this.tileSize; + // y-sort simples + sprite.zIndex = sprite.y; + + // placeholder visual + sprite.tint = 0xffdddd; + + if (!sprite.parent) this.container.addChild(sprite); + } + + this.pool.releaseMissing(alive); + } + + getTotalCreatures() { + return useWorldStore.getState().creatures.size; // ou o que você usa + } + + destroy() { + this.container.destroy({ children: true }); + this.pool.destroy(); + } +} diff --git a/apps/client/src/sdk/pixi/layers/DebugGridLayer.ts b/apps/client/src/sdk/pixi/layers/DebugGridLayer.ts new file mode 100644 index 0000000..74da5d3 --- /dev/null +++ b/apps/client/src/sdk/pixi/layers/DebugGridLayer.ts @@ -0,0 +1,127 @@ +import { BitmapText, Container, Graphics } from "pixi.js"; +import { TILE_SIZE_PX, VIEW_TILES_X, VIEW_TILES_Y } from "@/sdk/constants"; + +export class DebugGridLayer { + private readonly viewX = VIEW_TILES_X; + private readonly viewY = VIEW_TILES_Y; + private readonly tileSize = TILE_SIZE_PX; + + container = new Container(); + + private grid = new Graphics(); + private center = new Graphics(); + private labels: BitmapText[] = []; + + private lastOriginX = Number.NaN; + private lastOriginY = Number.NaN; + private lastZ = Number.NaN; + private lastVisible = true; + + constructor() { + this.container.addChild(this.grid); + this.container.addChild(this.center); + + const total = this.viewX * this.viewY; + + for (let i = 0; i < total; i++) { + const t = new BitmapText({ + text: "", + style: { + fontFamily: "DebugMono", // mesmo nome definido no .fnt + fontSize: 8, + fill: "#ffffff", + }, + }); + + t.alpha = 0.6; + t.visible = false; + + this.labels.push(t); + this.container.addChild(t); + } + + this.drawGridLines(); + this.drawCenterTile(); + } + + setVisible(v: boolean) { + if (this.lastVisible === v) return; + this.lastVisible = v; + this.container.visible = v; + } + + update(originX: number, originY: number, z: number) { + if ( + originX === this.lastOriginX && + originY === this.lastOriginY && + z === this.lastZ + ) { + return; + } + + this.lastOriginX = originX; + this.lastOriginY = originY; + this.lastZ = z; + + for (let vy = 0; vy < this.viewY; vy++) { + for (let vx = 0; vx < this.viewX; vx++) { + const idx = vy * this.viewX + vx; + const label = this.labels[idx]; + + const wx = originX + vx; + const wy = originY + vy; + + label.visible = true; + label.text = `${wx},${wy}`; + label.x = vx * this.tileSize + 2; + label.y = vy * this.tileSize + 1; + } + } + } + + destroy() { + this.container.destroy({ children: true }); + this.labels = []; + } + + private drawGridLines() { + const w = this.viewX * this.tileSize; + const h = this.viewY * this.tileSize; + + this.grid.clear(); + this.grid.rect(0.5, 0.5, w - 1, h - 1); + + for (let i = 1; i < this.viewX; i++) { + const x = i * this.tileSize + 0.5; + this.grid.moveTo(x, 0.5).lineTo(x, h - 0.5); + } + + for (let i = 1; i < this.viewY; i++) { + const y = i * this.tileSize + 0.5; + this.grid.moveTo(0.5, y).lineTo(w - 0.5, y); + } + + this.grid.stroke({ + color: 0xffffff, + width: 1, + alpha: 0.15, + pixelLine: true, + }); + } + + private drawCenterTile() { + this.center.clear(); + + const cx = Math.floor(this.viewX / 2); + const cy = Math.floor(this.viewY / 2); + + this.center + .rect( + cx * this.tileSize, + cy * this.tileSize, + this.tileSize, + this.tileSize, + ) + .stroke({ color: 0x00ff88, width: 1, alpha: 0.9, pixelLine: true }); + } +} diff --git a/apps/client/src/sdk/pixi/layers/GroundLayer.ts b/apps/client/src/sdk/pixi/layers/GroundLayer.ts new file mode 100644 index 0000000..f588ddd --- /dev/null +++ b/apps/client/src/sdk/pixi/layers/GroundLayer.ts @@ -0,0 +1,69 @@ +import { Container, Sprite, Texture } from "pixi.js"; +import { + RENDER_PAD, + RENDER_TILES_X, + RENDER_TILES_Y, + TILE_SIZE_PX, +} from "@/sdk/constants"; +import { useWorldStore } from "@/sdk/store/world"; + +export class GroundLayer { + private readonly tileSize: number = TILE_SIZE_PX; + private readonly viewX: number = RENDER_TILES_X; + private readonly viewY: number = RENDER_TILES_Y; + private readonly pad: number = RENDER_PAD; + + container = new Container(); + private sprites: Sprite[] = []; + + constructor() { + const total = this.viewX * this.viewY; + + for (let i = 0; i < total; i++) { + const sprite = new Sprite(Texture.WHITE); + sprite.width = this.tileSize; + sprite.height = this.tileSize; + + const vx = i % this.viewX; + const vy = Math.floor(i / this.viewX); + + // 🔥 render buffer: desloca a grade pra existir "fora" do viewport visível + sprite.x = (vx - this.pad) * this.tileSize; + sprite.y = (vy - this.pad) * this.tileSize; + sprite.tint = 0x000000; + + this.sprites.push(sprite); + this.container.addChild(sprite); + } + } + + /** + * originX/originY são do viewport visível (15x11), centrado no player. + * A layer renderiza viewX/viewY (ex: 17x13) usando pad. + */ + update(originX: number, originY: number, z: number) { + const tiles = useWorldStore.getState().tiles; + + for (let vy = 0; vy < this.viewY; vy++) { + for (let vx = 0; vx < this.viewX; vx++) { + const idx = vy * this.viewX + vx; + const sprite = this.sprites[idx]; + + const worldX = originX + (vx - this.pad); + const worldY = originY + (vy - this.pad); + + const tile = tiles.get(`${worldX}:${worldY}:${z}`); + sprite.tint = tile?.groundTint ?? 0x000000; + } + } + } + + getSpriteCount() { + return this.sprites.length; + } + + destroy() { + this.container.destroy({ children: true }); + this.sprites = []; + } +} diff --git a/apps/client/src/sdk/pixi/layers/ItemLayer.ts b/apps/client/src/sdk/pixi/layers/ItemLayer.ts new file mode 100644 index 0000000..5b7a11e --- /dev/null +++ b/apps/client/src/sdk/pixi/layers/ItemLayer.ts @@ -0,0 +1,70 @@ +import { AnimatedSprite, Assets, Container, type Texture } from "pixi.js"; +import { TILE_SIZE_PX } from "@/sdk/constants"; +import { useViewportStore } from "@/sdk/store/viewport"; + +export const spriteUrl = (spriteId: number) => + `miforge://localhost/sprite/${spriteId}.png`; + +async function makeItemAnim(frameSpriteIds: number[], fps = 8) { + const textures = await Promise.all( + frameSpriteIds.map((id) => Assets.load(spriteUrl(id))), + ); + + const anim = new AnimatedSprite(textures); + anim.loop = true; + anim.animationSpeed = fps / 60; // assume 60hz + anim.play(); + + return anim; +} + +export class ItemTestLayer { + container = new Container(); + + private anim: AnimatedSprite | null = null; + private ready = false; + + constructor() { + void this.load(); + } + + private async load() { + // ⚠️ Coloque aqui os spriteIds dos frames da animação + // Ex: 4 frames sequenciais (troque pelos IDs reais) + const frames = [ + 222216, 222217, 222218, 222219, 222220, 222221, 222222, 222223, 222224, + ]; + + const anim = await makeItemAnim(frames, 8); + + // opcional: garante pixel-perfect em sprites pixel art + // (se você já configura isso globalmente, pode remover) + // anim.texture.baseTexture.scaleMode = SCALE_MODES.NEAREST; + + anim.visible = false; + + this.anim = anim; + this.container.addChild(anim); + + this.ready = true; + } + + update() { + const hovered = useViewportStore.getState().hoveredTile; + + if (!hovered || !this.ready || !this.anim) { + if (this.anim) this.anim.visible = false; + return; + } + + this.anim.visible = true; + this.anim.x = hovered.vx * TILE_SIZE_PX; + this.anim.y = hovered.vy * TILE_SIZE_PX; + } + + destroy() { + this.anim?.destroy(); + this.anim = null; + this.container.destroy({ children: true }); + } +} diff --git a/apps/client/src/sdk/pixi/layers/OverlayLayer.ts b/apps/client/src/sdk/pixi/layers/OverlayLayer.ts new file mode 100644 index 0000000..7b5f5a6 --- /dev/null +++ b/apps/client/src/sdk/pixi/layers/OverlayLayer.ts @@ -0,0 +1,40 @@ +import { Container, Graphics } from "pixi.js"; +import { TILE_SIZE_PX } from "@/sdk/constants"; +import { useViewportStore } from "@/sdk/store/viewport"; + +export class OverlayLayer { + container = new Container(); + private graphic = new Graphics(); + + constructor() { + this.container.addChild(this.graphic); + } + + update() { + const hovered = useViewportStore.getState().hoveredTile; + + this.graphic.clear(); + + if (!hovered) return; + + const x = hovered.vx * TILE_SIZE_PX; + const y = hovered.vy * TILE_SIZE_PX; + + this.graphic.rect(x, y, TILE_SIZE_PX, TILE_SIZE_PX).fill({ + color: 0xffff00, + alpha: 0.1, + }); + + this.graphic + .rect(x + 0.5, y + 0.5, TILE_SIZE_PX - 1, TILE_SIZE_PX - 1) + .stroke({ + color: 0xffd400, + width: 1, + pixelLine: true, + }); + } + + destroy() { + this.container.destroy({ children: true }); + } +} diff --git a/apps/client/src/sdk/pixi/utils/AttachPerformance.ts b/apps/client/src/sdk/pixi/utils/AttachPerformance.ts new file mode 100644 index 0000000..9a8f4de --- /dev/null +++ b/apps/client/src/sdk/pixi/utils/AttachPerformance.ts @@ -0,0 +1,45 @@ +import type * as PIXI from "pixi.js"; +import type { Application } from "pixi.js"; +import { usePerfStore } from "@/sdk/store/performance"; + +export function attachPixiPerf(app: Application) { + let lastUpdate = performance.now(); + let frames = 0; + let accDelta = 0; + + const intervalMs = 250; + + const tick = (t: PIXI.Ticker) => { + const deltaMS = + typeof t?.deltaMS === "number" + ? t.deltaMS + : typeof t === "number" + ? t * (1000 / 60) + : 16.6667; + + frames += 1; + accDelta += deltaMS; + + const now = performance.now(); + if (now - lastUpdate < intervalMs) return; + + const elapsed = now - lastUpdate; + const fps = (frames * 1000) / Math.max(1, elapsed); + const frameMs = accDelta / Math.max(1, frames); + + usePerfStore.getState().setPixi({ + fps, + frameMs, + screenW: app.screen.width, + screenH: app.screen.height, + resolution: app.renderer.resolution ?? window.devicePixelRatio ?? 1, + }); + + frames = 0; + accDelta = 0; + lastUpdate = now; + }; + + app.ticker.add(tick); + return () => app.ticker.remove(tick); +} diff --git a/apps/client/src/sdk/pixi/utils/ResizeBridge.ts b/apps/client/src/sdk/pixi/utils/ResizeBridge.ts new file mode 100644 index 0000000..9518309 --- /dev/null +++ b/apps/client/src/sdk/pixi/utils/ResizeBridge.ts @@ -0,0 +1,56 @@ +import type { Application } from "pixi.js"; + +export function ResizeBridge(args: { + application: Application; + element: HTMLElement; + onResize?: (w: number, h: number) => void; // ex: world.resize +}) { + const { application, element, onResize } = args; + + let raf: number | null = null; + let lastWidth = 0; + let lastHeight = 0; + let lastDpr = 0; + + const measureAndApply = () => { + raf = null; + + const rect = element.getBoundingClientRect(); + const width = Math.max(1, Math.round(rect.width)); + const height = Math.max(1, Math.round(rect.height)); + const dpr = window.devicePixelRatio || 1; + + // evita resize repetido (isso é o que mais causa piscar) + if (width === lastWidth && height === lastHeight && dpr === lastDpr) return; + + lastWidth = width; + lastHeight = height; + lastDpr = dpr; + + // se você usa autoDensity+resolution, atualiza DPR também + application.renderer.resolution = dpr; + + application.renderer.resize(width, height); + + // atualiza seu mundo (scale/offset/hitArea etc) + onResize?.(width, height); + + // render IMEDIATO (evita 1 frame “limpo”/preto) + application.render(); + }; + + const schedule = () => { + if (raf !== null) cancelAnimationFrame(raf); + raf = requestAnimationFrame(measureAndApply); + }; + + schedule(); // initial + + const ro = new ResizeObserver(schedule); + ro.observe(element); + + return () => { + ro.disconnect(); + if (raf !== null) cancelAnimationFrame(raf); + }; +} diff --git a/apps/client/src/sdk/pixi/utils/SpritePool.ts b/apps/client/src/sdk/pixi/utils/SpritePool.ts new file mode 100644 index 0000000..5e3fa7c --- /dev/null +++ b/apps/client/src/sdk/pixi/utils/SpritePool.ts @@ -0,0 +1,39 @@ +import type { Sprite } from "pixi.js"; + +export class SpritePool { + private free: Sprite[] = []; + private used = new Map(); + + constructor( + private factory: () => Sprite, + prewarm = 0, + ) { + for (let i = 0; i < prewarm; i++) this.free.push(this.factory()); + } + + acquire(id: string) { + const existing = this.used.get(id); + if (existing) return existing; + + const s = this.free.pop() ?? this.factory(); + this.used.set(id, s); + s.visible = true; + return s; + } + + releaseMissing(alive: Set) { + for (const [id, s] of this.used) { + if (alive.has(id)) continue; + this.used.delete(id); + s.visible = false; + this.free.push(s); + } + } + + destroy() { + for (const s of this.free) s.destroy(); + for (const s of this.used.values()) s.destroy(); + this.free = []; + this.used.clear(); + } +} diff --git a/apps/client/src/sdk/pixi/utils/WorldPerfSamples.ts b/apps/client/src/sdk/pixi/utils/WorldPerfSamples.ts new file mode 100644 index 0000000..eca341b --- /dev/null +++ b/apps/client/src/sdk/pixi/utils/WorldPerfSamples.ts @@ -0,0 +1,92 @@ +import { usePerfStore } from "@/sdk/store/performance"; + +type Key = "world" | "ground" | "creatures" | "overlay" | "debug"; + +export class WorldPerfSampler { + private intervalMs: number; + private lastFlush = performance.now(); + + private frames = 0; + + private sum: Record = { + world: 0, + ground: 0, + creatures: 0, + overlay: 0, + debug: 0, + }; + + private max: Record = { + world: 0, + ground: 0, + creatures: 0, + overlay: 0, + debug: 0, + }; + + constructor(intervalMs = 250) { + this.intervalMs = intervalMs; + } + + begin(): number { + return performance.now(); + } + + end(key: Key, start: number) { + const dt = performance.now() - start; + this.sum[key] += dt; + if (dt > this.max[key]) this.max[key] = dt; + } + + frame() { + this.frames += 1; + } + + flushIfDue(extraCounts?: Record) { + const enabled = usePerfStore.getState().enabled; + if (!enabled) return; + + const now = performance.now(); + if (now - this.lastFlush < this.intervalMs) return; + + const div = Math.max(1, this.frames); + + usePerfStore.getState().setWorld({ + worldAvgMs: this.sum.world / div, + worldMaxMs: this.max.world, + + groundAvgMs: this.sum.ground / div, + groundMaxMs: this.max.ground, + + creaturesAvgMs: this.sum.creatures / div, + creaturesMaxMs: this.max.creatures, + + overlayAvgMs: this.sum.overlay / div, + overlayMaxMs: this.max.overlay, + + debugAvgMs: this.sum.debug / div, + debugMaxMs: this.max.debug, + }); + + if (extraCounts) { + usePerfStore.getState().setCounts(extraCounts as any); + } + + // reset + this.frames = 0; + this.sum.world = + this.sum.ground = + this.sum.creatures = + this.sum.overlay = + this.sum.debug = + 0; + this.max.world = + this.max.ground = + this.max.creatures = + this.max.overlay = + this.max.debug = + 0; + + this.lastFlush = now; + } +} diff --git a/apps/client/src/sdk/pixi/world.ts b/apps/client/src/sdk/pixi/world.ts new file mode 100644 index 0000000..014b8fc --- /dev/null +++ b/apps/client/src/sdk/pixi/world.ts @@ -0,0 +1,239 @@ +import { type Application, Container, Graphics, Rectangle } from "pixi.js"; +import { createDemoMapLoader } from "@/sdk/demo/demoMapLoader"; +import { + MAX_SCALE, + RENDER_PAD, + RENDER_TILES_X, + RENDER_TILES_Y, + TILE_SIZE_PX, + VIEW_TILES_X, + VIEW_TILES_Y, +} from "../constants"; +import { useDebugStore } from "../store/debug"; +import { useMovementStore } from "../store/movement"; +import { useViewportStore } from "../store/viewport"; +import { makeKeyFromPosition, useWorldStore } from "../store/world"; +import { CreatureLayer } from "./layers/CreatureLayer"; +import { DebugGridLayer } from "./layers/DebugGridLayer"; +import { GroundLayer } from "./layers/GroundLayer"; +import { ItemTestLayer } from "./layers/ItemLayer"; +import { OverlayLayer } from "./layers/OverlayLayer"; +import { WorldPerfSampler } from "./utils/WorldPerfSamples"; + +const demo = createDemoMapLoader(); + +export class World { + private app: Application; + + private perf = new WorldPerfSampler(250); + + private rootView = new Container(); + private clip = new Container(); + private clipMask = new Graphics(); + private camera = new Container(); + + private scale = 1; + private offsetX = 0; + private offsetY = 0; + + private ground: GroundLayer; + private items: ItemTestLayer; + private creatures: CreatureLayer; + private overlay: OverlayLayer; + private debug: DebugGridLayer; + + private tilesDirty = true; + private creaturesDirty = true; + private viewDirty = true; + private unsubs: Array<() => void> = []; + + constructor(app: Application) { + this.app = app; + + this.app.stage.addChild(this.rootView); + this.rootView.addChild(this.clipMask); + this.rootView.addChild(this.clip); + this.clip.mask = this.clipMask; + this.clip.addChild(this.camera); + + this.ground = new GroundLayer(); + this.items = new ItemTestLayer(); + this.creatures = new CreatureLayer(); + + this.overlay = new OverlayLayer(); + this.debug = new DebugGridLayer(); + + // ordem: chão -> criaturas -> overlay -> debug + this.camera.addChild(this.ground.container); + this.camera.addChild(this.items.container); + this.camera.addChild(this.creatures.container); + this.camera.addChild(this.overlay.container); + this.camera.addChild(this.debug.container); + + this.app.stage.eventMode = "static"; + this.app.stage.hitArea = new Rectangle( + 0, + 0, + this.app.screen.width, + this.app.screen.height, + ); + + this.unsubs.push( + useWorldStore.subscribe((s, p) => { + if (s.tilesVersion !== p.tilesVersion) this.tilesDirty = true; + if (s.creaturesVersion !== p.creaturesVersion) + this.creaturesDirty = true; + }), + ); + + this.unsubs.push( + useMovementStore.subscribe((s, p) => { + const a = makeKeyFromPosition(s.playerTile); + const b = makeKeyFromPosition(p.playerTile); + if (a !== b) this.viewDirty = true; + }), + ); + } + + resize(width: number, height: number) { + this.app.stage.hitArea = new Rectangle(0, 0, width, height); + + const viewW = VIEW_TILES_X * TILE_SIZE_PX; + const viewH = VIEW_TILES_Y * TILE_SIZE_PX; + + this.scale = Math.min(width / viewW, height / viewH, MAX_SCALE); + + const rawOffsetX = (width - viewW * this.scale) / 2; + const rawOffsetY = (height - viewH * this.scale) / 2; + + this.offsetX = Math.round(rawOffsetX); + this.offsetY = Math.round(rawOffsetY); + + this.rootView.position.set(this.offsetX, this.offsetY); + this.rootView.scale.set(this.scale); + + this.clipMask.clear().rect(0, 0, viewW, viewH).fill(0xffffff); + const cam = useMovementStore.getState().cameraPx; + + const player = useMovementStore.getState().playerTile; + const halfX = Math.floor(VIEW_TILES_X / 2); + const halfY = Math.floor(VIEW_TILES_Y / 2); + + const originX = player.x - halfX; + const originY = player.y - halfY; + + useViewportStore.getState().setViewport({ + stageWidth: width, + stageHeight: height, + + scale: this.scale, + offsetX: this.offsetX, + offsetY: this.offsetY, + + cameraX: cam.x, + cameraY: cam.y, + + originX, + originY, + z: player.z, + + viewW, + viewH, + viewTilesX: VIEW_TILES_X, + viewTilesY: VIEW_TILES_Y, + tileSize: TILE_SIZE_PX, + }); + + this.viewDirty = true; + } + + update(nowMs: number, _deltaMs: number) { + this.perf.frame(); + const tWorld = this.perf.begin(); + useMovementStore.getState().tick(nowMs); + + const playerTile = useMovementStore.getState().playerTile; + const player = playerTile; + const cameraPx = useMovementStore.getState().cameraPx; + + this.camera.x = cameraPx.x; + this.camera.y = cameraPx.y; + + const halfX = Math.floor(VIEW_TILES_X / 2); + const halfY = Math.floor(VIEW_TILES_Y / 2); + const originX = player.x - halfX; + const originY = player.y - halfY; + + useViewportStore.getState().patchViewport({ + originX, + originY, + z: player.z, + cameraX: this.camera.x, + cameraY: this.camera.y, + }); + + demo.ensureForView({ + originX: originX - RENDER_PAD, + originY: originY - RENDER_PAD, + z: player.z, + viewW: VIEW_TILES_X + RENDER_PAD * 2, + viewH: VIEW_TILES_Y + RENDER_PAD * 2, + paddingTiles: 16, + }); + + const show = useDebugStore.getState().showGrid; + this.debug.setVisible(show); + + if (show && (this.viewDirty || this.tilesDirty || this.creaturesDirty)) { + this.debug.update(originX, originY, player.z); + } + + if (this.tilesDirty || this.viewDirty) { + this.ground.update(originX, originY, player.z); + this.items.update(); + this.tilesDirty = false; + } + + if (this.creaturesDirty || this.viewDirty) { + this.creatures.update( + originX, + originY, + player.z, + RENDER_TILES_X, + RENDER_TILES_Y, + ); + this.creaturesDirty = false; + } + + // overlay é barato, pode atualizar sempre + this.overlay.update(); + + this.viewDirty = false; + this.perf.end("world", tWorld); + this.perf.flushIfDue({ + groundSprites: this.ground.getSpriteCount?.() ?? 0, + creaturesTotal: this.creatures.getTotalCreatures?.() ?? 0, + creaturesVisible: 0, + tilesInCache: useWorldStore.getState().tiles.size, + + viewDirty: this.viewDirty, + tilesDirty: this.tilesDirty, + creaturesDirty: this.creaturesDirty, + }); + } + + destroy() { + this.unsubs.forEach((fn) => { + fn(); + }); + this.unsubs = []; + + this.ground.destroy(); + this.items.destroy(); + this.creatures.destroy(); + this.overlay.destroy(); + this.debug.destroy(); + + this.rootView.destroy({ children: true }); + } +} diff --git a/apps/client/src/sdk/store/debug.ts b/apps/client/src/sdk/store/debug.ts new file mode 100644 index 0000000..7b1ecc0 --- /dev/null +++ b/apps/client/src/sdk/store/debug.ts @@ -0,0 +1,13 @@ +import { create } from "zustand"; + +type State = { + showGrid: boolean; + toggleGrid: () => void; + setShowGrid: (v: boolean) => void; +}; + +export const useDebugStore = create((set) => ({ + showGrid: true, + toggleGrid: () => set((s) => ({ showGrid: !s.showGrid })), + setShowGrid: (v) => set({ showGrid: v }), +})); diff --git a/apps/client/src/sdk/store/drag.ts b/apps/client/src/sdk/store/drag.ts new file mode 100644 index 0000000..483e93c --- /dev/null +++ b/apps/client/src/sdk/store/drag.ts @@ -0,0 +1,62 @@ +import { create } from "zustand"; +import type { DragPayload, DragPreview, DropTarget } from "@/sdk/drag/types"; + +function targetKey(t: DropTarget) { + if (!t) return ""; + return `P:${t.panelId}:${t.insertIndex}`; +} + +type DragState = { + dragging: DragPayload | null; + pointer: { x: number; y: number } | null; + + target: DropTarget; + canDrop: boolean; + preview: DragPreview | null; + + startDrag: ( + payload: DragPayload, + startPointer: { x: number; y: number }, + preview?: DragPreview, + ) => void; + + setPointer: (p: { x: number; y: number } | null) => void; + setTarget: (t: DropTarget, canDrop: boolean) => void; + endDrag: () => void; +}; + +export const useDragStore = create((set, get) => ({ + dragging: null, + pointer: null, + + target: null, + canDrop: false, + preview: null, + + startDrag: (payload, startPointer, preview) => + set({ + dragging: payload, + pointer: startPointer, + target: null, + canDrop: false, + preview: preview ?? { type: "LABEL", label: payload.kind }, + }), + + setPointer: (p) => set({ pointer: p }), + + setTarget: (t, canDrop) => { + const s = get(); + const same = targetKey(s.target) === targetKey(t) && s.canDrop === canDrop; + if (same) return; + set({ target: t, canDrop }); + }, + + endDrag: () => + set({ + dragging: null, + pointer: null, + target: null, + canDrop: false, + preview: null, + }), +})); diff --git a/apps/client/src/sdk/store/layout.ts b/apps/client/src/sdk/store/layout.ts new file mode 100644 index 0000000..e7bd6f1 --- /dev/null +++ b/apps/client/src/sdk/store/layout.ts @@ -0,0 +1,85 @@ +import { create } from "zustand"; + +export type PanelId = "left1" | "left2" | "right1" | "right2" | "right3"; + +export type WidgetType = "skills" | "battleList" | "backpack"; + +export type WidgetModel = { + id: string; + type: WidgetType; + title: string; + // pra backpack, exemplo: + containerId?: string; +}; + +type LayoutState = { + widgets: Record; + panels: Record; // lista de widgetIds por painel + + findWidget: (widgetId: string) => { panelId: PanelId; index: number } | null; + + moveWidget: (args: { + widgetId: string; + toPanelId: PanelId; + toIndex: number; + }) => void; +}; + +export const useLayoutStore = create((set, get) => ({ + widgets: { + skills: { id: "skills", type: "skills", title: "Skills" }, + battle: { id: "battle", type: "battleList", title: "Battle" }, + bp1: { + id: "bp1", + type: "backpack", + title: "Backpack", + containerId: "bp:1", + }, + }, + + panels: { + left1: ["skills", "battle"], + left2: ["bp1"], + right1: [], + right2: [], + right3: [], + }, + + findWidget: (widgetId) => { + const panels = get().panels; + for (const panelId of Object.keys(panels) as PanelId[]) { + const idx = panels[panelId].indexOf(widgetId); + if (idx !== -1) return { panelId, index: idx }; + } + return null; + }, + + moveWidget: ({ widgetId, toPanelId, toIndex }) => { + set((s) => { + const from = get().findWidget(widgetId); + if (!from) return s; + + const nextPanels: LayoutState["panels"] = structuredClone(s.panels); + + // remove do painel origem + nextPanels[from.panelId].splice(from.index, 1); + + // ajusta índice se for o mesmo painel e a remoção foi antes do destino + let insertIndex = toIndex; + if (from.panelId === toPanelId && from.index < toIndex) { + insertIndex = Math.max(0, toIndex - 1); + } + + // clamp + insertIndex = Math.max( + 0, + Math.min(insertIndex, nextPanels[toPanelId].length), + ); + + // insere no destino + nextPanels[toPanelId].splice(insertIndex, 0, widgetId); + + return { ...s, panels: nextPanels }; + }); + }, +})); diff --git a/apps/client/src/sdk/store/movement.ts b/apps/client/src/sdk/store/movement.ts new file mode 100644 index 0000000..79f66f0 --- /dev/null +++ b/apps/client/src/sdk/store/movement.ts @@ -0,0 +1,263 @@ +import { create } from "zustand"; +import { TILE_SIZE_PX } from "@/sdk/constants"; +import { getMoveBridge } from "@/sdk/movement/bridge"; +import type { MoveDir, MoveResult, WalkAnim } from "../types/movement"; +import type { Position } from "../types/position"; + +const WALK_DURATION_MS = 20; // tempo do walk tile-to-tile +const ROLLBACK_DURATION_MS = 90; // tempo do “snap back” suave +const QUEUE_MAX = 2; // OTClient-like (buffer pequeno) + +function uuid() { + return ( + globalThis.crypto?.randomUUID?.() ?? + `req_${Math.random().toString(16).slice(2)}` + ); +} + +function applyDir(from: Position, dir: MoveDir): Position { + if (dir === "N") return { ...from, y: from.y - 1 }; + if (dir === "S") return { ...from, y: from.y + 1 }; + if (dir === "W") return { ...from, x: from.x - 1 }; + return { ...from, x: from.x + 1 }; +} + +function sameTile(a: Position, b: Position) { + return a.x === b.x && a.y === b.y && a.z === b.z; +} + +type Pending = { + from: Position; + expectedTo: Position; + dir: MoveDir; +}; + +type RollbackAnim = { + startMs: number; + durationMs: number; + fromCamX: number; + fromCamY: number; +}; + +type MovementState = { + playerTile: Position; + + // câmera em px “lógico” (antes do scale) + cameraPx: { x: number; y: number }; + + // animação atual (map scroll) + walkAnim: WalkAnim | null; + + // rollback suave (quando server nega) + rollbackAnim: RollbackAnim | null; + + // input buffer + queue: MoveDir[]; + + // tracking de requests + pendingByReq: Record; + + enqueueMove: (dir: MoveDir) => void; + tick: (nowMs: number) => void; + + onServerMoveResult: (res: MoveResult, nowMs: number) => void; + + setPlayerTile: (t: Position) => void; +}; + +export const useMovementStore = create((set, get) => ({ + playerTile: { x: 50, y: 50, z: 0 }, + + cameraPx: { x: 0, y: 0 }, + + walkAnim: null, + rollbackAnim: null, + + queue: [], + pendingByReq: {}, + + setPlayerTile: (t) => set({ playerTile: t }), + + enqueueMove: (dir) => { + const s = get(); + + // se está em rollback, só bufferiza + if (s.rollbackAnim) { + if (s.queue.length < QUEUE_MAX) set({ queue: [...s.queue, dir] }); + return; + } + + // se já está andando, bufferiza + if (s.walkAnim) { + if (s.queue.length >= QUEUE_MAX) return; + set({ queue: [...s.queue, dir] }); + return; + } + + // se está idle, começa já + startMove(dir); + }, + + tick: (nowMs) => { + const s = get(); + + // 1) rollback suave tem prioridade + if (s.rollbackAnim) { + const r = s.rollbackAnim; + const t = Math.max(0, Math.min(1, (nowMs - r.startMs) / r.durationMs)); + + // interp linear até 0 + const camX = r.fromCamX * (1 - t); + const camY = r.fromCamY * (1 - t); + + set({ cameraPx: { x: camX, y: camY } }); + + if (t >= 1) { + set({ rollbackAnim: null, cameraPx: { x: 0, y: 0 } }); + + // terminou rollback: se tiver fila, começa o próximo já + const after = get(); + if (!after.walkAnim && after.queue.length > 0) { + const [dir, ...rest] = after.queue; + set({ queue: rest }); + startMove(dir); + } + } + return; + } + + // 2) walk normal + if (s.walkAnim) { + const anim = s.walkAnim; + const t = Math.max( + 0, + Math.min(1, (nowMs - anim.startMs) / anim.durationMs), + ); + + const dx = anim.to.x - anim.from.x; + const dy = anim.to.y - anim.from.y; + + // scroll oposto do movimento (OTClient) + const camX = -dx * TILE_SIZE_PX * t; + const camY = -dy * TILE_SIZE_PX * t; + + set({ cameraPx: { x: camX, y: camY } }); + + if (t >= 1) { + // commit do tile no fim + set({ playerTile: anim.to, walkAnim: null, cameraPx: { x: 0, y: 0 } }); + + // start next from queue imediatamente + const after = get(); + if (after.queue.length > 0) { + const [dir, ...rest] = after.queue; + set({ queue: rest }); + startMove(dir); + } + } + return; + } + + // 3) idle + if (s.cameraPx.x !== 0 || s.cameraPx.y !== 0) { + set({ cameraPx: { x: 0, y: 0 } }); + } + + // se idle e tem fila (caso raro), start + if (s.queue.length > 0) { + const [dir, ...rest] = s.queue; + set({ queue: rest }); + startMove(dir); + } + }, + + onServerMoveResult: (res, nowMs) => { + const s = get(); + const pending = s.pendingByReq[res.reqId]; + if (!pending) return; + + // remove pending + const nextPending = { ...s.pendingByReq }; + delete nextPending[res.reqId]; + + // caso: server negou -> rollback suave + cancela walk + if (!res.ok) { + const fromCam = s.cameraPx; + + set({ + pendingByReq: nextPending, + + // cancela walk e limpa buffer (opcional, OTClient costuma limpar) + walkAnim: null, + queue: [], + + // volta pro tile autoritativo (geralmente pending.from) + playerTile: res.position, + + // inicia rollback anim da câmera atual até 0 + rollbackAnim: { + startMs: nowMs, + durationMs: ROLLBACK_DURATION_MS, + fromCamX: fromCam.x, + fromCamY: fromCam.y, + }, + }); + + return; + } + + // server ok: se posição autoritativa diferente da esperada -> correction + // (em protótipo: snap tile + zera câmera; é o mais seguro) + if (!sameTile(res.position, pending.expectedTo)) { + set({ + pendingByReq: nextPending, + walkAnim: null, + queue: [], + playerTile: res.position, + cameraPx: { x: 0, y: 0 }, + rollbackAnim: null, + }); + return; + } + + // ok e bateu: só confirma pending, animação segue normal + set({ pendingByReq: nextPending }); + }, +})); + +function startMove(dir: MoveDir) { + const nowMs = performance.now(); + const s = useMovementStore.getState(); + + const from = s.playerTile; + const to = applyDir(from, dir); + const reqId = uuid(); + + useMovementStore.setState({ + walkAnim: { + reqId, + from, + to, + startMs: nowMs, + durationMs: WALK_DURATION_MS, + }, + pendingByReq: { + ...s.pendingByReq, + [reqId]: { from, expectedTo: to, dir }, + }, + }); + + getMoveBridge() + .sendMove({ reqId, from, dir }) + .then((res) => + useMovementStore.getState().onServerMoveResult(res, performance.now()), + ) + .catch(() => { + useMovementStore + .getState() + .onServerMoveResult( + { reqId, ok: false, position: from, reason: "bridge_error" }, + performance.now(), + ); + }); +} diff --git a/apps/client/src/sdk/store/performance.ts b/apps/client/src/sdk/store/performance.ts new file mode 100644 index 0000000..eea6427 --- /dev/null +++ b/apps/client/src/sdk/store/performance.ts @@ -0,0 +1,130 @@ +import { create } from "zustand"; + +type PixiPerf = { + fps: number; + frameMs: number; + screenW: number; + screenH: number; + resolution: number; +}; + +type ReactPerf = { + lastCommitMs: number; + avgCommitMs: number; + commitsPerSec: number; +}; + +type WorldPerf = { + worldAvgMs: number; + worldMaxMs: number; + + groundAvgMs: number; + groundMaxMs: number; + + creaturesAvgMs: number; + creaturesMaxMs: number; + + overlayAvgMs: number; + overlayMaxMs: number; + + debugAvgMs: number; + debugMaxMs: number; +}; + +type Counters = { + groundSprites: number; + creaturesTotal: number; + creaturesVisible: number; + tilesInCache: number; + + // opcional + viewDirty: boolean; + tilesDirty: boolean; + creaturesDirty: boolean; +}; + +type PerfState = { + enabled: boolean; + toggle: () => void; + setEnabled: (v: boolean) => void; + + pixi: PixiPerf; + setPixi: (p: Partial) => void; + + react: ReactPerf; + pushReactCommit: (durationMs: number, commitTimeMs: number) => void; + + world: WorldPerf; + setWorld: (p: Partial) => void; + + counts: Counters; + setCounts: (p: Partial) => void; +}; + +export const usePerfStore = create((set) => { + const reactTimes: number[] = []; + const reactDurations: number[] = []; + + function recomputeReact(commitTimeMs: number) { + while (reactTimes.length && commitTimeMs - reactTimes[0] > 1000) { + reactTimes.shift(); + } + const commitsPerSec = reactTimes.length; + + const slice = reactDurations.slice(-30); + const avg = + slice.length === 0 ? 0 : slice.reduce((a, b) => a + b, 0) / slice.length; + + return { commitsPerSec, avgCommitMs: avg }; + } + + return { + enabled: true, + toggle: () => set((s) => ({ enabled: !s.enabled })), + setEnabled: (v) => set({ enabled: v }), + + pixi: { fps: 0, frameMs: 0, screenW: 0, screenH: 0, resolution: 1 }, + setPixi: (p) => set((s) => ({ pixi: { ...s.pixi, ...p } })), + + react: { lastCommitMs: 0, avgCommitMs: 0, commitsPerSec: 0 }, + pushReactCommit: (durationMs, commitTimeMs) => { + reactTimes.push(commitTimeMs); + reactDurations.push(durationMs); + const next = recomputeReact(commitTimeMs); + + set((s) => ({ + react: { + ...s.react, + lastCommitMs: durationMs, + avgCommitMs: next.avgCommitMs, + commitsPerSec: next.commitsPerSec, + }, + })); + }, + + world: { + worldAvgMs: 0, + worldMaxMs: 0, + groundAvgMs: 0, + groundMaxMs: 0, + creaturesAvgMs: 0, + creaturesMaxMs: 0, + overlayAvgMs: 0, + overlayMaxMs: 0, + debugAvgMs: 0, + debugMaxMs: 0, + }, + setWorld: (p) => set((s) => ({ world: { ...s.world, ...p } })), + + counts: { + groundSprites: 0, + creaturesTotal: 0, + creaturesVisible: 0, + tilesInCache: 0, + viewDirty: false, + tilesDirty: false, + creaturesDirty: false, + }, + setCounts: (p) => set((s) => ({ counts: { ...s.counts, ...p } })), + }; +}); diff --git a/apps/client/src/sdk/store/viewport.ts b/apps/client/src/sdk/store/viewport.ts new file mode 100644 index 0000000..8721933 --- /dev/null +++ b/apps/client/src/sdk/store/viewport.ts @@ -0,0 +1,59 @@ +import { create } from "zustand"; + +export type WorldTile = { + vx: number; // 0..VIEW_TILES_X-1 + vy: number; // 0..VIEW_TILES_Y-1 + x: number; // world tile + y: number; // world tile + z: number; +}; + +export type ViewportTransform = { + // tamanho do container/canvas (px DOM) + stageWidth: number; + stageHeight: number; + + // rootView (letterbox) + scale: number; + offsetX: number; // px DOM dentro do container + offsetY: number; + + // camera (walk scroll) em px lógicos (antes do scale) + cameraX: number; + cameraY: number; + + // janela visível (15x11) no mundo + originX: number; + originY: number; + z: number; + + // dimensões lógicas do viewport visível (antes do scale) + viewW: number; // VIEW_TILES_X * TILE_SIZE_PX + viewH: number; // VIEW_TILES_Y * TILE_SIZE_PX + viewTilesX: number; // VIEW_TILES_X + viewTilesY: number; // VIEW_TILES_Y + tileSize: number; // TILE_SIZE_PX +}; + +type State = { + viewport: ViewportTransform | null; + setViewport: (v: ViewportTransform) => void; + patchViewport: (patch: Partial) => void; + + hoveredTile: WorldTile | null; + setHoveredTile: (t: WorldTile | null) => void; +}; + +export const useViewportStore = create((set, get) => ({ + viewport: null, + setViewport: (v) => set({ viewport: v }), + patchViewport: (patch) => { + const vp = get().viewport; + if (!vp) return; + const next = { ...vp, ...patch }; + set({ viewport: next }); + }, + + hoveredTile: null, + setHoveredTile: (t) => set({ hoveredTile: t }), +})); diff --git a/apps/client/src/sdk/store/world.ts b/apps/client/src/sdk/store/world.ts new file mode 100644 index 0000000..4068270 --- /dev/null +++ b/apps/client/src/sdk/store/world.ts @@ -0,0 +1,68 @@ +import { create } from "zustand"; + +export type Position = { + x: number; + y: number; + z: number; +}; + +export type Tile = { + groundTint?: number; + groundTexture?: string; // atlas id +}; + +export type Creature = { + id: string; + position: Position; + texture?: string; // atlas id +}; + +type State = { + worldElement: HTMLElement | null; + setWorldElement: (el: HTMLElement | null) => void; + + tiles: Map; + tilesVersion: number; + + creatures: Map; + creaturesVersion: number; + + applyTilePatch: (patch: Array<{ pos: Position; tile: Tile | null }>) => void; + applyCreaturePatch: ( + patch: Array<{ id: string; creature: Creature | null }>, + ) => void; +}; + +export const makeKeyFromPosition = (p: Position) => `${p.x}:${p.y}:${p.z}`; + +export const useWorldStore = create((set) => ({ + worldElement: null, + tiles: new Map([]), + tilesVersion: 0, + + creatures: new Map([]), + creaturesVersion: 0, + + setWorldElement: (el) => set({ worldElement: el }), + + applyTilePatch: (patch) => + set((s) => { + const next = new Map(s.tiles); + for (const { pos, tile } of patch) { + const key = makeKeyFromPosition(pos); + if (!tile) next.delete(key); + else next.set(key, tile); + } + return { tiles: next, tilesVersion: s.tilesVersion + 1 }; + }), + + applyCreaturePatch: (patch) => + set((s) => { + const next = new Map(s.creatures); + for (const { id, creature } of patch) { + if (!creature) next.delete(id); + else next.set(id, creature); + } + return { creatures: next, creaturesVersion: s.creaturesVersion + 1 }; + }), +})); diff --git a/apps/client/src/sdk/types/movement.ts b/apps/client/src/sdk/types/movement.ts new file mode 100644 index 0000000..f509f40 --- /dev/null +++ b/apps/client/src/sdk/types/movement.ts @@ -0,0 +1,24 @@ +import type { Position } from "./position"; + +export type MoveDir = "N" | "S" | "W" | "E"; + +export type MoveCommand = { + reqId: string; + from: Position; + dir: MoveDir; +}; + +export type MoveResult = { + reqId: string; + ok: boolean; + position: Position; // posição autoritativa do "server" + reason?: string; +}; + +export type WalkAnim = { + reqId: string; + from: Position; + to: Position; + startMs: number; + durationMs: number; +}; diff --git a/apps/client/src/sdk/types/position.ts b/apps/client/src/sdk/types/position.ts new file mode 100644 index 0000000..a8eca31 --- /dev/null +++ b/apps/client/src/sdk/types/position.ts @@ -0,0 +1,5 @@ +export type Position = { + x: number; // tile X (absoluto) + y: number; // tile Y (absoluto) + z: number; // floor +}; diff --git a/apps/client/src/sdk/types/tile.ts b/apps/client/src/sdk/types/tile.ts new file mode 100644 index 0000000..58204c7 --- /dev/null +++ b/apps/client/src/sdk/types/tile.ts @@ -0,0 +1,5 @@ +import type { Position } from "./position"; + +export type Tile = { + position: Position; +}; diff --git a/apps/client/src/sdk/utils/cn.ts b/apps/client/src/sdk/utils/cn.ts new file mode 100644 index 0000000..ac680b3 --- /dev/null +++ b/apps/client/src/sdk/utils/cn.ts @@ -0,0 +1,6 @@ +import { type ClassValue, clsx } from "clsx"; +import { twMerge } from "tailwind-merge"; + +export function cn(...inputs: ClassValue[]) { + return twMerge(clsx(inputs)); +} diff --git a/apps/client/src/vite-env.d.ts b/apps/client/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/apps/client/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/apps/client/tsconfig.json b/apps/client/tsconfig.json new file mode 100644 index 0000000..30819f1 --- /dev/null +++ b/apps/client/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + "paths": { + "@/*": ["./src/*"] + }, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }] +} diff --git a/apps/client/tsconfig.node.json b/apps/client/tsconfig.node.json new file mode 100644 index 0000000..eca6668 --- /dev/null +++ b/apps/client/tsconfig.node.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "composite": true, + "skipLibCheck": true, + "module": "ESNext", + "moduleResolution": "bundler", + "allowSyntheticDefaultImports": true + }, + "include": ["vite.config.ts"] +} diff --git a/apps/client/vite.config.ts b/apps/client/vite.config.ts new file mode 100644 index 0000000..fedfb8b --- /dev/null +++ b/apps/client/vite.config.ts @@ -0,0 +1,38 @@ +import path from "node:path"; +import tailwindcss from "@tailwindcss/vite"; +import react from "@vitejs/plugin-react"; +import { defineConfig } from "vite"; + +const host = process.env.TAURI_DEV_HOST; + +// https://vite.dev/config/ +export default defineConfig(async () => ({ + plugins: [react(), tailwindcss()], + resolve: { + alias: { + "@": path.resolve(__dirname, "src"), + }, + }, + + // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build` + // + // 1. prevent Vite from obscuring rust errors + clearScreen: false, + // 2. tauri expects a fixed port, fail if that port is not available + server: { + port: 1420, + strictPort: true, + host: host || false, + hmr: host + ? { + protocol: "ws", + host, + port: 1421, + } + : undefined, + watch: { + // 3. tell Vite to ignore watching `src-tauri` + ignored: ["**/src-tauri/**"], + }, + }, +})); diff --git a/apps/web/package.json b/apps/web/package.json index 50cc61a..19ab1ca 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -26,14 +26,14 @@ "@radix-ui/react-radio-group": "^1.3.8", "@radix-ui/react-slot": "^1.2.4", "@radix-ui/react-tooltip": "^1.2.8", - "@tailwindcss/vite": "^4.1.17", + "@tailwindcss/vite": "catalog:vite", "@tanstack/react-query": "^5.90.12", "@tanstack/react-query-devtools": "^5.91.1", "@tanstack/react-router": "^1.139.14", "@tanstack/react-router-devtools": "^1.139.14", "@tanstack/router-plugin": "^1.139.14", "class-variance-authority": "^0.7.1", - "clsx": "^2.1.1", + "clsx": "catalog:tailwind", "cmdk": "^1.1.1", "envalid": "^8.1.1", "input-otp": "^1.4.2", @@ -42,18 +42,18 @@ "react-hook-form": "^7.68.0", "react-qrcode-logo": "^4.0.0", "sonner": "^2.0.7", - "tailwind-merge": "^3.4.0", - "tailwindcss": "^4.1.17", - "tw-animate-css": "^1.4.0", + "tailwind-merge": "catalog:tailwind", + "tailwindcss": "catalog:tailwind", + "tw-animate-css": "catalog:tailwind", "usehooks-ts": "^3.1.1", "zod": "catalog:" }, "devDependencies": { "@types/react": "catalog:react", "@types/react-dom": "catalog:react", - "@vitejs/plugin-react": "^5.1.1", + "@vitejs/plugin-react": "catalog:vite", "rollup-plugin-visualizer": "^6.0.5", "typescript": "catalog:ts", - "vite": "^7.2.6" + "vite": "catalog:vite" } } diff --git a/biome.json b/biome.json index 584a90a..1838967 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/2.3.4/schema.json", + "$schema": "https://biomejs.dev/schemas/2.3.8/schema.json", "vcs": { "enabled": false, "clientKind": "git", diff --git a/crates/assets/.gitignore b/crates/assets/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/crates/assets/.gitignore @@ -0,0 +1 @@ +/target diff --git a/crates/assets/Cargo.toml b/crates/assets/Cargo.toml new file mode 100644 index 0000000..ba63160 --- /dev/null +++ b/crates/assets/Cargo.toml @@ -0,0 +1,22 @@ +[package] +name = "assets" +version = "0.1.0" +edition = "2024" + +[dependencies] +prost = "0.12" + +anyhow = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +log = { workspace = true } +hex = { workspace = true } + +lzma-rs = { workspace = true } +xz2 = { workspace = true } +image = { workspace = true } + + +[build-dependencies] +prost-build = "0.12" +protoc-bin-vendored = "3" diff --git a/crates/assets/build.rs b/crates/assets/build.rs new file mode 100644 index 0000000..ec2fe63 --- /dev/null +++ b/crates/assets/build.rs @@ -0,0 +1,13 @@ +fn main() { + println!("cargo:rerun-if-changed=proto/appearances.proto"); + + let protoc = + protoc_bin_vendored::protoc_bin_path().expect("failed to get vendored protoc path"); + + unsafe { + std::env::set_var("PROTOC", protoc); + } + + prost_build::compile_protos(&["proto/appearances.proto"], &["proto"]) + .expect("prost-build failed"); +} diff --git a/crates/assets/proto/appearances.proto b/crates/assets/proto/appearances.proto new file mode 100644 index 0000000..17a05be --- /dev/null +++ b/crates/assets/proto/appearances.proto @@ -0,0 +1,340 @@ +syntax = "proto2"; + +package tibia.protobuf.appearances; + +message Appearances { + repeated Appearance object = 1; + repeated Appearance outfit = 2; + repeated Appearance effect = 3; + repeated Appearance missile = 4; + optional SpecialMeaningAppearanceIds special_meaning_appearance_ids = 5; +} + +enum FIXED_FRAME_GROUP { + FIXED_FRAME_GROUP_OUTFIT_IDLE = 0; + FIXED_FRAME_GROUP_OUTFIT_MOVING = 1; + FIXED_FRAME_GROUP_OBJECT_INITIAL = 2; +} + +message SpritePhase { + optional uint32 duration_min = 1; + optional uint32 duration_max = 2; +} + +message SpriteAnimation { + optional uint32 default_start_phase = 1; + optional bool synchronized = 2; + optional bool random_start_phase = 3; + optional ANIMATION_LOOP_TYPE loop_type = 4; + optional uint32 loop_count = 5; + repeated SpritePhase sprite_phase = 6; + optional ANIMATION_ANIMATION_MODE animation_mode = 7; +} + +message Box { + optional uint32 x = 1; + optional uint32 y = 2; + optional uint32 width = 3; + optional uint32 height = 4; +} + +message SpriteInfo { + optional uint32 pattern_width = 1; + optional uint32 pattern_height = 2; + optional uint32 pattern_depth = 3; + optional uint32 layers = 4; + repeated uint32 sprite_id = 5; + optional uint32 bounding_square = 7; + optional SpriteAnimation animation = 6; + optional bool is_opaque = 8; + repeated Box bounding_box_per_direction = 9; + optional uint32 pattern_size = 10; + optional uint32 pattern_layers = 11; + optional uint32 pattern_x = 12; + optional uint32 pattern_y = 13; + optional uint32 pattern_z = 14; + optional uint32 pattern_frames = 15; + optional bool is_animation = 16; +} + +message FrameGroup { + optional FIXED_FRAME_GROUP fixed_frame_group = 1; + optional uint32 id = 2; + optional SpriteInfo sprite_info = 3; +} + +message Appearance { + optional uint32 id = 1; + repeated FrameGroup frame_group = 2; + optional AppearanceFlags flags = 3; + optional bytes name = 4; + optional bytes description = 5; + optional APPEARANCE_TYPE appearance_type = 6; + repeated bytes sprite_data = 7; +} + +message AppearanceFlags { + optional AppearanceFlagBank bank = 1; + optional bool clip = 2; + optional bool bottom = 3; + optional bool top = 4; + optional bool container = 5; + optional bool cumulative = 6; + optional bool usable = 7; + optional bool forceuse = 8; + optional bool multiuse = 9; + optional AppearanceFlagWrite write = 10; + optional AppearanceFlagWriteOnce write_once = 11; + optional bool liquidpool = 12; + optional bool unpass = 13; + optional bool unmove = 14; + optional bool unsight = 15; + optional bool avoid = 16; + optional bool no_movement_animation = 17; + optional bool take = 18; + optional bool liquidcontainer = 19; + optional bool hang = 20; + optional AppearanceFlagHook hook = 21; + optional bool rotate = 22; + optional AppearanceFlagLight light = 23; + optional bool dont_hide = 24; + optional bool translucent = 25; + optional AppearanceFlagShift shift = 26; + optional AppearanceFlagHeight height = 27; + optional bool lying_object = 28; + optional bool animate_always = 29; + optional AppearanceFlagAutomap automap = 30; + optional AppearanceFlagLenshelp lenshelp = 31; + optional bool fullbank = 32; + optional bool ignore_look = 33; + optional AppearanceFlagClothes clothes = 34; + optional AppearanceFlagDefaultAction default_action = 35; + optional AppearanceFlagMarket market = 36; + optional bool wrap = 37; + optional bool unwrap = 38; + optional bool topeffect = 39; + repeated AppearanceFlagNPC npcsaledata = 40; + optional AppearanceFlagChangedToExpire changedtoexpire = 41; + optional bool corpse = 42; + optional bool player_corpse = 43; + optional AppearanceFlagCyclopedia cyclopediaitem = 44; + optional bool ammo = 45; + optional bool show_off_socket = 46; + optional bool reportable = 47; + optional AppearanceFlagUpgradeClassification upgradeclassification = 48; + optional bool reverse_addons_east = 49; + optional bool reverse_addons_west = 50; + optional bool reverse_addons_south = 51; + optional bool reverse_addons_north = 52; + optional bool wearout = 53; + optional bool clockexpire = 54; + optional bool expire = 55; + optional bool expirestop = 56; + optional bool deco_item_kit = 57; + optional AppearanceFlagSkillWheelGem skillwheel_gem = 58; + optional bool dual_wielding = 59; + optional AppearanceFlagImbueable imbueable = 60; + optional AppearanceFlagProficiency proficiency = 61; + repeated VOCATION restrict_to_vocation = 62; + optional uint32 minimum_level = 63; + optional WEAPON_TYPE weapon_type = 64; + reserved 65 to 69;; + optional bool hook_south = 70; + optional bool hook_east = 71; + optional AppearanceFlagTransparencyLevel transparencylevel = 72; +} + +message AppearanceFlagBank { + optional uint32 waypoints = 1; +} + +message AppearanceFlagWrite { + optional uint32 max_text_length = 1; +} + +message AppearanceFlagWriteOnce { + optional uint32 max_text_length_once = 1; +} + +message AppearanceFlagLight { + optional uint32 brightness = 1; + optional uint32 color = 2; +} + +message AppearanceFlagHeight { + optional uint32 elevation = 1; +} + +message AppearanceFlagShift { + optional uint32 x = 1; + optional uint32 y = 2; +} + +message AppearanceFlagClothes { + optional uint32 slot = 1; +} + +message AppearanceFlagDefaultAction { + optional PLAYER_ACTION action = 1; +} + +message AppearanceFlagMarket { + optional ITEM_CATEGORY category = 1; + optional uint32 trade_as_object_id = 2; + optional uint32 show_as_object_id = 3; + repeated VOCATION restrict_to_vocation = 5; + optional uint32 minimum_level = 6; + optional bytes name = 7; + optional VOCATION vocation = 8; +} + +message AppearanceFlagNPC { + optional bytes name = 1; + optional bytes location = 2; + optional uint32 sale_price = 3; + optional uint32 buy_price = 4; + optional uint32 currency_object_type_id = 5; + optional bytes currency_quest_flag_display_name = 6; +} + +message AppearanceFlagAutomap { + optional uint32 color = 1; +} + +message AppearanceFlagHook { + optional HOOK_TYPE direction = 1; +} + +message AppearanceFlagLenshelp { + optional uint32 id = 1; +} + +message AppearanceFlagChangedToExpire { + optional uint32 former_object_typeid = 1; +} + +message AppearanceFlagCyclopedia { + optional uint32 cyclopedia_type = 1; +} + +message AppearanceFlagUpgradeClassification { + optional uint32 upgrade_classification = 1; +} + +message AppearanceFlagSkillWheelGem { + optional uint32 gem_quality_id = 1; + optional uint32 vocation_id = 2; +} + +message AppearanceFlagImbueable { + optional uint32 slot_count = 1; +} + +message AppearanceFlagProficiency { + optional uint32 proficiency_id = 1; +} + +message AppearanceFlagTransparencyLevel { + optional uint32 level = 1; +} + +message SpecialMeaningAppearanceIds { + optional uint32 gold_coin_id = 1; + optional uint32 platinum_coin_id = 2; + optional uint32 crystal_coin_id = 3; + optional uint32 tibia_coin_id = 4; + optional uint32 stamped_letter_id = 5; + optional uint32 supply_stash_id = 6; + optional uint32 standard_reward_chest_id = 7; + optional uint32 blank_imbuement_scroll_id = 8; +} + +message Coordinate { + optional uint32 x = 1; + optional uint32 y = 2; + optional uint32 z = 3; +} + +enum PLAYER_ACTION { + PLAYER_ACTION_NONE = 0; + PLAYER_ACTION_LOOK = 1; + PLAYER_ACTION_USE = 2; + PLAYER_ACTION_OPEN = 3; + PLAYER_ACTION_AUTOWALK_HIGHLIGHT = 4; +} + +enum ITEM_CATEGORY { + ITEM_CATEGORY_ARMORS = 1; + ITEM_CATEGORY_AMULETS = 2; + ITEM_CATEGORY_BOOTS = 3; + ITEM_CATEGORY_CONTAINERS = 4; + ITEM_CATEGORY_DECORATION = 5; + ITEM_CATEGORY_FOOD = 6; + ITEM_CATEGORY_HELMETS_HATS = 7; + ITEM_CATEGORY_LEGS = 8; + ITEM_CATEGORY_OTHERS = 9; + ITEM_CATEGORY_POTIONS = 10; + ITEM_CATEGORY_RINGS = 11; + ITEM_CATEGORY_RUNES = 12; + ITEM_CATEGORY_SHIELDS = 13; + ITEM_CATEGORY_TOOLS = 14; + ITEM_CATEGORY_VALUABLES = 15; + ITEM_CATEGORY_AMMUNITION = 16; + ITEM_CATEGORY_AXES = 17; + ITEM_CATEGORY_CLUBS = 18; + ITEM_CATEGORY_DISTANCE_WEAPONS = 19; + ITEM_CATEGORY_SWORDS = 20; + ITEM_CATEGORY_WANDS_RODS = 21; + ITEM_CATEGORY_PREMIUM_SCROLLS = 22; + ITEM_CATEGORY_TIBIA_COINS = 23; + ITEM_CATEGORY_CREATURE_PRODUCTS = 24; + ITEM_CATEGORY_QUIVER = 25; + ITEM_CATEGORY_SOUL_CORES = 26; + ITEM_CATEGORY_FIST_WEAPONS = 27; +} + +enum VOCATION { + VOCATION_ANY = -1; + VOCATION_NONE = 0; + VOCATION_KNIGHT = 1; + VOCATION_PALADIN = 2; + VOCATION_SORCERER = 3; + VOCATION_DRUID = 4; + VOCATION_MONK = 5; + VOCATION_PROMOTED = 10; +} + +enum ANIMATION_LOOP_TYPE { + ANIMATION_LOOP_TYPE_PINGPONG = -1; + ANIMATION_LOOP_TYPE_INFINITE = 0; + ANIMATION_LOOP_TYPE_COUNTED = 1; +} + +enum HOOK_TYPE { + HOOK_TYPE_SOUTH = 1; + HOOK_TYPE_EAST = 2; +} + +enum ANIMATION_ANIMATION_MODE { + ANIMATION_ASYNCHRONIZED = 0; + ANIMATION_SYNCHRONIZED = 1; +} + +enum APPEARANCE_TYPE { + APPEARANCE_OBJECT = 1; + APPEARANCE_OUTFIT = 2; + APPEARANCE_EFFECT = 3; + APPEARANCE_MISSILE = 4; +} + +enum WEAPON_TYPE { + WEAPON_TYPE_NOWEAPON = 0; + WEAPON_TYPE_SWORD = 1; + WEAPON_TYPE_AXE = 2; + WEAPON_TYPE_CLUB = 3; + WEAPON_TYPE_FIST = 4; + WEAPON_TYPE_BOW = 5; + WEAPON_TYPE_CROSSBOW = 6; + WEAPON_TYPE_WAND_ROD = 7; + WEAPON_TYPE_THROW = 8; +} diff --git a/crates/assets/proto/sounds.proto b/crates/assets/proto/sounds.proto new file mode 100644 index 0000000..d530a42 --- /dev/null +++ b/crates/assets/proto/sounds.proto @@ -0,0 +1,438 @@ +syntax = "proto2"; + +package tibia.protobuf.sound; + +enum ENumericSoundType { + NUMERIC_SOUND_TYPE_UNKNOWN = 0; + NUMERIC_SOUND_TYPE_SPELL_ATTACK = 1; + NUMERIC_SOUND_TYPE_SPELL_HEALING = 2; + NUMERIC_SOUND_TYPE_SPELL_SUPPORT = 3; + NUMERIC_SOUND_TYPE_WEAPON_ATTACK = 4; + NUMERIC_SOUND_TYPE_CREATURE_NOISE = 5; + NUMERIC_SOUND_TYPE_CREATURE_DEATH = 6; + NUMERIC_SOUND_TYPE_CREATURE_ATTACK = 7; + NUMERIC_SOUND_TYPE_AMBIENCE_STREAM = 8; + NUMERIC_SOUND_TYPE_FOOD_AND_DRINK = 9;whaww; + NUMERIC_SOUND_TYPE_ITEM_MOVEMENT = 10; + NUMERIC_SOUND_TYPE_EVENT = 11; + NUMERIC_SOUND_TYPE_UI = 12; + NUMERIC_SOUND_TYPE_WHISPER_WITHOUT_OPEN_CHAT = 13; + NUMERIC_SOUND_TYPE_CHAT_MESSAGE = 14; + NUMERIC_SOUND_TYPE_PARTY = 15; + NUMERIC_SOUND_TYPE_VIP_LIST = 16; + NUMERIC_SOUND_TYPE_RAID_ANNOUNCEMENT = 17; + NUMERIC_SOUND_TYPE_SERVER_MESSAGE = 18; + NUMERIC_SOUND_TYPE_SPELL_GENERIC = 19; +} + +enum EMusicType { + MUSIC_TYPE_UNKNOWN = 0; + MUSIC_TYPE_MUSIC = 1; + MUSIC_TYPE_MUSIC_IMMEDIATE = 2; + MUSIC_TYPE_MUSIC_TITLE = 3; +} + +enum ESoundEffectType { + SOUND_EFFECT_TYPE_Silence = 0; + SOUND_EFFECT_TYPE_HumanCloseAttackFist = 1; + SOUND_EFFECT_TYPE_MonsterCloseAttackFist = 2; + SOUND_EFFECT_TYPE_CloseAttackSword = 3; + SOUND_EFFECT_TYPE_CloseAttackClub = 4; + SOUND_EFFECT_TYPE_CloseAttackAxe = 5; + SOUND_EFFECT_TYPE_DistAttackBow = 6; + SOUND_EFFECT_TYPE_DistAttackCrossbow = 7; + SOUND_EFFECT_TYPE_DistAttackThrow = 8; + SOUND_EFFECT_TYPE_MagicalRangeAttack = 9; + SOUND_EFFECT_TYPE_SpellOrRune = 10; + SOUND_EFFECT_TYPE_Other = 11; + SOUND_EFFECT_TYPE_PhysicalRangeMiss = 12; + SOUND_EFFECT_TYPE_DistAttackBowShot = 13; + SOUND_EFFECT_TYPE_DistAttackCrossBowShot = 14; + SOUND_EFFECT_TYPE_DistAttackThrowShot = 15; + SOUND_EFFECT_TYPE_DistAttackRodShot = 16; + SOUND_EFFECT_TYPE_DistAttackWandShot = 17; + SOUND_EFFECT_TYPE_BurstArrowEffect = 18; + SOUND_EFFECT_TYPE_DiamondArrowEffect = 19; + SOUND_EFFECT_TYPE_NoDamage = 20; + SOUND_EFFECT_TYPE_MonsterMeleeAttackFist = 100; + SOUND_EFFECT_TYPE_MonsterMeleeAttackClaw = 101; + SOUND_EFFECT_TYPE_MonsterMeleeAttackBite = 102; + SOUND_EFFECT_TYPE_MonsterMeleeAttackRip = 103; + SOUND_EFFECT_TYPE_MonsterMeleeAttackAcid = 104; + SOUND_EFFECT_TYPE_MonsterMeleeAttackMagic = 105; + SOUND_EFFECT_TYPE_MonsterMeleeAttackEthereal = 106; + SOUND_EFFECT_TYPE_MonsterMeleeAttackConstruct = 107; + SOUND_EFFECT_TYPE_SpellLightHealing = 1001; + SOUND_EFFECT_TYPE_SpellIntenseHealing = 1002; + SOUND_EFFECT_TYPE_SpellUltimateHealing = 1003; + SOUND_EFFECT_TYPE_SpellIntenseHealingRune = 1004; + SOUND_EFFECT_TYPE_SpellUltimateHealingRune = 1005; + SOUND_EFFECT_TYPE_SpellHaste = 1006; + SOUND_EFFECT_TYPE_SpellLightMagicMissileRune = 1007; + SOUND_EFFECT_TYPE_SpellHeavyMagicMissileRune = 1008; + SOUND_EFFECT_TYPE_SpellSummonCreature = 1009; + SOUND_EFFECT_TYPE_SpellLight = 1010; + SOUND_EFFECT_TYPE_SpellGreatLight = 1011; + SOUND_EFFECT_TYPE_SpellConvinceCreatureRune = 1012; + SOUND_EFFECT_TYPE_SpellEnergyWave = 1013; + SOUND_EFFECT_TYPE_SpellChameleonRune = 1014; + SOUND_EFFECT_TYPE_SpellFireballRune = 1015; + SOUND_EFFECT_TYPE_SpellGreatFireballRune = 1016; + SOUND_EFFECT_TYPE_SpellFireBombRune = 1017; + SOUND_EFFECT_TYPE_SpellExplosionRune = 1018; + SOUND_EFFECT_TYPE_SpellFireWave = 1019; + SOUND_EFFECT_TYPE_SpellFindPerson = 1020; + SOUND_EFFECT_TYPE_SpellSuddenDeathRune = 1021; + SOUND_EFFECT_TYPE_SpellEnergyBeam = 1022; + SOUND_EFFECT_TYPE_SpellGreatEnergyBeam = 1023; + SOUND_EFFECT_TYPE_SpellHellsCore = 1024; + SOUND_EFFECT_TYPE_SpellFireFieldRune = 1025; + SOUND_EFFECT_TYPE_SpellPoisonFieldRune = 1026; + SOUND_EFFECT_TYPE_SpellEnergyFieldRune = 1027; + SOUND_EFFECT_TYPE_SpellFireWallRune = 1028; + SOUND_EFFECT_TYPE_SpellCurePoison = 1029; + SOUND_EFFECT_TYPE_SpellDestroyFieldRune = 1030; + SOUND_EFFECT_TYPE_SpellCurePoisonRune = 1031; + SOUND_EFFECT_TYPE_SpellPoisonWallRune = 1032; + SOUND_EFFECT_TYPE_SpellEnergyWallRune = 1033; + SOUND_EFFECT_TYPE_SpellSalvation = 1036; + SOUND_EFFECT_TYPE_SpellCreatureIllusion = 1038; + SOUND_EFFECT_TYPE_SpellStrongHaste = 1039; + SOUND_EFFECT_TYPE_SpellFood = 1042; + SOUND_EFFECT_TYPE_SpellStrongIceWave = 1043; + SOUND_EFFECT_TYPE_SpellMagicShield = 1044; + SOUND_EFFECT_TYPE_SpellInvisible = 1045; + SOUND_EFFECT_TYPE_SpellConjureExplosiveArrow = 1049; + SOUND_EFFECT_TYPE_SpellSoulfireRune = 1050; + SOUND_EFFECT_TYPE_SpellConjureArrow = 1051; + SOUND_EFFECT_TYPE_SpellParalyseRune = 1054; + SOUND_EFFECT_TYPE_SpellEnergyBombRune = 1055; + SOUND_EFFECT_TYPE_SpellWrathOfNature = 1056; + SOUND_EFFECT_TYPE_SpellStrongEtherealSpear = 1057; + SOUND_EFFECT_TYPE_SpellFrontSweep = 1059; + SOUND_EFFECT_TYPE_SpellBrutalStrike = 1061; + SOUND_EFFECT_TYPE_SpellAnnihilation = 1062; + SOUND_EFFECT_TYPE_SpellInviteGuests = 1071; + SOUND_EFFECT_TYPE_SpellInviteSubowners = 1072; + SOUND_EFFECT_TYPE_SpellKickGuest = 1073; + SOUND_EFFECT_TYPE_SpellEditDoor = 1074; + SOUND_EFFECT_TYPE_SpellUltimateLight = 1075; + SOUND_EFFECT_TYPE_SpellMagicRope = 1076; + SOUND_EFFECT_TYPE_SpellStalagmiteRune = 1077; + SOUND_EFFECT_TYPE_SpellDisintegrateRune = 1078; + SOUND_EFFECT_TYPE_SpellBerserk = 1080; + SOUND_EFFECT_TYPE_SpellLevitate = 1081; + SOUND_EFFECT_TYPE_SpellMassHealing = 1082; + SOUND_EFFECT_TYPE_SpellAnimateDeadRune = 1083; + SOUND_EFFECT_TYPE_SpellHealFriend = 1084; + SOUND_EFFECT_TYPE_SpellUndeadLegion = 1085; + SOUND_EFFECT_TYPE_SpellMagicWallRune = 1086; + SOUND_EFFECT_TYPE_SpellDeathStrike = 1087; + SOUND_EFFECT_TYPE_SpellEnergyStrike = 1088; + SOUND_EFFECT_TYPE_SpellFlameStrike = 1089; + SOUND_EFFECT_TYPE_SpellCancelInvisibility = 1090; + SOUND_EFFECT_TYPE_SpellPoisonBombRune = 1091; + SOUND_EFFECT_TYPE_SpellConjureWandOfDarkness = 1092; + SOUND_EFFECT_TYPE_SpellChallenge = 1093; + SOUND_EFFECT_TYPE_SpellWildGrowthRune = 1094; + SOUND_EFFECT_TYPE_SpellFierceBerserk = 1105; + SOUND_EFFECT_TYPE_SpellGroundshaker = 1106; + SOUND_EFFECT_TYPE_SpellWhirlwindThrow = 1107; + SOUND_EFFECT_TYPE_SpellEnchantSpear = 1110; + SOUND_EFFECT_TYPE_SpellEtherealSpear = 1111; + SOUND_EFFECT_TYPE_SpellIceStrike = 1112; + SOUND_EFFECT_TYPE_SpellTerraStrike = 1113; + SOUND_EFFECT_TYPE_SpellIcicleRune = 1114; + SOUND_EFFECT_TYPE_SpellAvalancheRune = 1115; + SOUND_EFFECT_TYPE_SpellStoneShowerRune = 1116; + SOUND_EFFECT_TYPE_SpellThunderstormRune = 1117; + SOUND_EFFECT_TYPE_SpellEternalWinter = 1118; + SOUND_EFFECT_TYPE_SpellRageOfTheSkies = 1119; + SOUND_EFFECT_TYPE_SpellTerraWave = 1120; + SOUND_EFFECT_TYPE_SpellIceWave = 1121; + SOUND_EFFECT_TYPE_SpellDivineMissile = 1122; + SOUND_EFFECT_TYPE_SpellWoundCleansing = 1123; + SOUND_EFFECT_TYPE_SpellDivineCaldera = 1124; + SOUND_EFFECT_TYPE_SpellDivineHealing = 1125; + SOUND_EFFECT_TYPE_SpellTrainParty = 1126; + SOUND_EFFECT_TYPE_SpellProtectParty = 1127; + SOUND_EFFECT_TYPE_SpellHealParty = 1128; + SOUND_EFFECT_TYPE_SpellEnchantParty = 1129; + SOUND_EFFECT_TYPE_SpellHolyMissileRune = 1130; + SOUND_EFFECT_TYPE_SpellCharge = 1131; + SOUND_EFFECT_TYPE_SpellProtector = 1132; + SOUND_EFFECT_TYPE_SpellBloodRage = 1133; + SOUND_EFFECT_TYPE_SpellSwiftFoot = 1134; + SOUND_EFFECT_TYPE_SpellSharpshooter = 1135; + SOUND_EFFECT_TYPE_SpellIgnite = 1138; + SOUND_EFFECT_TYPE_SpellCurse = 1139; + SOUND_EFFECT_TYPE_SpellElectrify = 1140; + SOUND_EFFECT_TYPE_SpellInflictWound = 1141; + SOUND_EFFECT_TYPE_SpellEnvenom = 1142; + SOUND_EFFECT_TYPE_SpellHolyFlash = 1143; + SOUND_EFFECT_TYPE_SpellCureBleeding = 1144; + SOUND_EFFECT_TYPE_SpellCureBurning = 1145; + SOUND_EFFECT_TYPE_SpellCureElectrification = 1146; + SOUND_EFFECT_TYPE_SpellCureCurse = 1147; + SOUND_EFFECT_TYPE_SpellPhysicalStrike = 1148; + SOUND_EFFECT_TYPE_SpellLightning = 1149; + SOUND_EFFECT_TYPE_SpellStrongFlameStrike = 1150; + SOUND_EFFECT_TYPE_SpellStrongEnergyStrike = 1151; + SOUND_EFFECT_TYPE_SpellStrongIceStrike = 1152; + SOUND_EFFECT_TYPE_SpellStrongTerraStrike = 1153; + SOUND_EFFECT_TYPE_SpellUltimateFlameStrike = 1154; + SOUND_EFFECT_TYPE_SpellUltimateEnergyStrike = 1155; + SOUND_EFFECT_TYPE_SpellUltimateIceStrike = 1156; + SOUND_EFFECT_TYPE_SpellUltimateTerraStrike = 1157; + SOUND_EFFECT_TYPE_SpellIntenseWoundCleansing = 1158; + SOUND_EFFECT_TYPE_SpellRecovery = 1159; + SOUND_EFFECT_TYPE_SpellIntenseRecovery = 1160; + SOUND_EFFECT_TYPE_SpellPractiseHealing = 1166; + SOUND_EFFECT_TYPE_SpellPractiseFireWave = 1167; + SOUND_EFFECT_TYPE_SpellPractiseMagicMissileRune = 1168; + SOUND_EFFECT_TYPE_SpellApprenticesStrike = 1169; + SOUND_EFFECT_TYPE_SpellMudAttack = 1172; + SOUND_EFFECT_TYPE_SpellChillOut = 1173; + SOUND_EFFECT_TYPE_SpellMagicPatch = 1174; + SOUND_EFFECT_TYPE_SpellBruiseBane = 1175; + SOUND_EFFECT_TYPE_SpellArrowCall = 1176; + SOUND_EFFECT_TYPE_SpellBuzz = 1177; + SOUND_EFFECT_TYPE_SpellScorch = 1178; + SOUND_EFFECT_TYPE_SpellLightestMissileRune = 1179; + SOUND_EFFECT_TYPE_SpellLightStoneShowerRune = 1180; + SOUND_EFFECT_TYPE_SpellSummonKnightFamiliar = 1194; + SOUND_EFFECT_TYPE_SpellSummonPaladinFamiliar = 1195; + SOUND_EFFECT_TYPE_SpellSummonSorcererFamiliar = 1196; + SOUND_EFFECT_TYPE_SpellSummonDruidFamiliar = 1197; + SOUND_EFFECT_TYPE_SpellSummonMonkFamiliar = 1198; + SOUND_EFFECT_TYPE_SpellChivalrousChallenge = 1237; + SOUND_EFFECT_TYPE_SpellDivineDazzle = 1238; + SOUND_EFFECT_TYPE_SpellFairWoundCleansing = 1239; + SOUND_EFFECT_TYPE_SpellGreatFireWave = 1240; + SOUND_EFFECT_TYPE_SpellRestoration = 1241; + SOUND_EFFECT_TYPE_SpellNaturesEmbrace = 1242; + SOUND_EFFECT_TYPE_SpellExposeWeakness = 1243; + SOUND_EFFECT_TYPE_SpellSapStrength = 1244; + SOUND_EFFECT_TYPE_SpellCancelMagicShield = 1245; + SOUND_EFFECT_TYPE_MonsterSpellSingleTargetFire = 2002; + SOUND_EFFECT_TYPE_MonsterSpellSingleTargetEnergy = 2003; + SOUND_EFFECT_TYPE_MonsterSpellSingleTargetEarth = 2004; + SOUND_EFFECT_TYPE_MonsterSpellSingleTargetIce = 2005; + SOUND_EFFECT_TYPE_MonsterSpellSingleTargetDeath = 2006; + SOUND_EFFECT_TYPE_MonsterSpellSingleTargetHoly = 2007; + SOUND_EFFECT_TYPE_MonsterSpellSingleTargetHit = 2008; + SOUND_EFFECT_TYPE_MonsterSpellSingleTargetLifeDrain = 2009; + SOUND_EFFECT_TYPE_MonsterSpellSingleTargetManaDrain = 2010; + SOUND_EFFECT_TYPE_MonsterSpellSingleTargetDrowning = 2011; + SOUND_EFFECT_TYPE_MonsterSpellSingleTargetBleeding = 2012; + SOUND_EFFECT_TYPE_MonsterSpellSingleTargetHealing = 2013; + SOUND_EFFECT_TYPE_MonsterSpellSmallAreaFire = 2015; + SOUND_EFFECT_TYPE_MonsterSpellSmallAreaEnergy = 2016; + SOUND_EFFECT_TYPE_MonsterSpellSmallAreaEarth = 2017; + SOUND_EFFECT_TYPE_MonsterSpellSmallAreaIce = 2018; + SOUND_EFFECT_TYPE_MonsterSpellSmallAreaDeath = 2019; + SOUND_EFFECT_TYPE_MonsterSpellSmallAreaHoly = 2020; + SOUND_EFFECT_TYPE_MonsterSpellSmallAreaHit = 2021; + SOUND_EFFECT_TYPE_MonsterSpellSmallAreaLifeDrain = 2022; + SOUND_EFFECT_TYPE_MonsterSpellSmallAreaManaDrain = 2023; + SOUND_EFFECT_TYPE_MonsterSpellSmallAreaDrowning = 2024; + SOUND_EFFECT_TYPE_MonsterSpellSmallAreaBleeding = 2025; + SOUND_EFFECT_TYPE_MonsterSpellSmallAreaHealing = 2026; + SOUND_EFFECT_TYPE_MonsterSpellLargeAreaFire = 2028; + SOUND_EFFECT_TYPE_MonsterSpellLargeAreaEnergy = 2029; + SOUND_EFFECT_TYPE_MonsterSpellLargeAreaEarth = 2030; + SOUND_EFFECT_TYPE_MonsterSpellLargeAreaIce = 2031; + SOUND_EFFECT_TYPE_MonsterSpellLargeAreaDeath = 2032; + SOUND_EFFECT_TYPE_MonsterSpellLargeAreaHoly = 2033; + SOUND_EFFECT_TYPE_MonsterSpellLargeAreaHit = 2034; + SOUND_EFFECT_TYPE_MonsterSpellLargeAreaLifeDrain = 2035; + SOUND_EFFECT_TYPE_MonsterSpellLargeAreaManaDrain = 2036; + SOUND_EFFECT_TYPE_MonsterSpellLargeAreaDrowning = 2037; + SOUND_EFFECT_TYPE_MonsterSpellLargeAreaBleeding = 2038; + SOUND_EFFECT_TYPE_MonsterSpellLargeAreaHealing = 2039; + SOUND_EFFECT_TYPE_MonsterSpellWaveFire = 2041; + SOUND_EFFECT_TYPE_MonsterSpellWaveEnergy = 2042; + SOUND_EFFECT_TYPE_MonsterSpellWaveEarth = 2043; + SOUND_EFFECT_TYPE_MonsterSpellWaveIce = 2044; + SOUND_EFFECT_TYPE_MonsterSpellWaveDeath = 2045; + SOUND_EFFECT_TYPE_MonsterSpellWaveHoly = 2046; + SOUND_EFFECT_TYPE_MonsterSpellWaveHit = 2047; + SOUND_EFFECT_TYPE_MonsterSpellWaveLifeDrain = 2048; + SOUND_EFFECT_TYPE_MonsterSpellWaveManaDrain = 2049; + SOUND_EFFECT_TYPE_MonsterSpellWaveDrowning = 2050; + SOUND_EFFECT_TYPE_MonsterSpellWaveBleeding = 2051; + SOUND_EFFECT_TYPE_MonsterSpellWaveHealing = 2052; + SOUND_EFFECT_TYPE_MonsterSpellDeleteField = 2054; + SOUND_EFFECT_TYPE_MonsterSpellChallenge = 2055; + SOUND_EFFECT_TYPE_MonsterSpellSpeed = 2056; + SOUND_EFFECT_TYPE_MonsterSpellDrunken = 2057; + SOUND_EFFECT_TYPE_MonsterSpellStrength = 2058; + SOUND_EFFECT_TYPE_MonsterSpellOutfit = 2059; + SOUND_EFFECT_TYPE_MonsterSpellSummon = 2060; + SOUND_EFFECT_TYPE_MonsterSpellMagicLevel = 2061; + SOUND_EFFECT_TYPE_MonsterSpellTeleport = 2062; + SOUND_EFFECT_TYPE_MonsterSpellHex = 2063; + SOUND_EFFECT_TYPE_MonsterSpellSuperDrunken = 2064; + SOUND_EFFECT_TYPE_MonsterSpellRoot = 2065; + SOUND_EFFECT_TYPE_MonsterSpellFear = 2066; + SOUND_EFFECT_TYPE_MonsterSpellHighRiskTeleport = 2067; + SOUND_EFFECT_TYPE_MonsterSpellMinion = 2068; + SOUND_EFFECT_TYPE_MonsterSpellAgony = 2069; + SOUND_EFFECT_TYPE_AmphibicBark = 2500; + SOUND_EFFECT_TYPE_AquaticBeastBark = 2501; + SOUND_EFFECT_TYPE_AquaticCritterBark = 2502; + SOUND_EFFECT_TYPE_AquaticDeeplingBark = 2503; + SOUND_EFFECT_TYPE_AquaticQuaraBark = 2504; + SOUND_EFFECT_TYPE_BirdBark = 2505; + SOUND_EFFECT_TYPE_ConstructBark = 2506; + SOUND_EFFECT_TYPE_DemonBark = 2507; + SOUND_EFFECT_TYPE_DragonBark = 2508; + SOUND_EFFECT_TYPE_ElementalEarthBark = 2509; + SOUND_EFFECT_TYPE_ElementalEnergyBark = 2510; + SOUND_EFFECT_TYPE_ElementalFireBark = 2511; + SOUND_EFFECT_TYPE_ElementalWaterBark = 2512; + SOUND_EFFECT_TYPE_ExtraDimensionalBeastBark = 2513; + SOUND_EFFECT_TYPE_ExtraDimensionalEnergyBark = 2514; + SOUND_EFFECT_TYPE_ExtraDimensionalHorrorBark = 2515; + SOUND_EFFECT_TYPE_FeyBark = 2516; + SOUND_EFFECT_TYPE_GiantBark = 2517; + SOUND_EFFECT_TYPE_HumanFemaleBark = 2518; + SOUND_EFFECT_TYPE_HumanMaleBark = 2519; + SOUND_EFFECT_TYPE_HumanoidGoblinBark = 2520; + SOUND_EFFECT_TYPE_HumanoidOrcBark = 2521; + SOUND_EFFECT_TYPE_LycanthropeBark = 2522; + SOUND_EFFECT_TYPE_MagicalEnergyBark = 2523; + SOUND_EFFECT_TYPE_MagicalHorrorBark = 2524; + SOUND_EFFECT_TYPE_MammalBearBark = 2525; + SOUND_EFFECT_TYPE_MammalCritterBark = 2526; + SOUND_EFFECT_TYPE_MammalDogBark = 2527; + SOUND_EFFECT_TYPE_MammalElephantBark = 2528; + SOUND_EFFECT_TYPE_MammalFeralBark = 2529; + SOUND_EFFECT_TYPE_MammalHorseBark = 2530; + SOUND_EFFECT_TYPE_MammalMammothBark = 2531; + SOUND_EFFECT_TYPE_MonsterBark = 2532; + SOUND_EFFECT_TYPE_PhantomBark = 2533; + SOUND_EFFECT_TYPE_PlantBark = 2534; + SOUND_EFFECT_TYPE_ReptileLargeBark = 2535; + SOUND_EFFECT_TYPE_ReptileSmallBark = 2536; + SOUND_EFFECT_TYPE_SlimeBark = 2537; + SOUND_EFFECT_TYPE_UndeadBark = 2538; + SOUND_EFFECT_TYPE_VerminCritterBark = 2539; + SOUND_EFFECT_TYPE_VerminInsectBark = 2540; + SOUND_EFFECT_TYPE_VerminRotwormBark = 2541; + SOUND_EFFECT_TYPE_HumanSageBark = 2542; + SOUND_EFFECT_TYPE_HumanCroneBark = 2543; + SOUND_EFFECT_TYPE_ApeBark = 2544; + SOUND_EFFECT_TYPE_AmphibicDeath = 2600; + SOUND_EFFECT_TYPE_AquaticBeastDeath = 2601; + SOUND_EFFECT_TYPE_AquaticCritterDeath = 2602; + SOUND_EFFECT_TYPE_AquaticDeeplingDeath = 2603; + SOUND_EFFECT_TYPE_AquaticQuaraDeath = 2604; + SOUND_EFFECT_TYPE_BirdDeath = 2605; + SOUND_EFFECT_TYPE_ConstructDeath = 2606; + SOUND_EFFECT_TYPE_DemonDeath = 2607; + SOUND_EFFECT_TYPE_DragonDeath = 2608; + SOUND_EFFECT_TYPE_ElementalEarthDeath = 2609; + SOUND_EFFECT_TYPE_ElementalEnergyDeath = 2610; + SOUND_EFFECT_TYPE_ElementalFireDeath = 2611; + SOUND_EFFECT_TYPE_ElementalWaterDeath = 2612; + SOUND_EFFECT_TYPE_ExtraDimensionalBeastDeath = 2613; + SOUND_EFFECT_TYPE_ExtraDimensionalEnergyDeath = 2614; + SOUND_EFFECT_TYPE_ExtraDimensionalHorrorDeath = 2615; + SOUND_EFFECT_TYPE_FeyDeath = 2616; + SOUND_EFFECT_TYPE_GiantDeath = 2617; + SOUND_EFFECT_TYPE_HumanFemaleDeath = 2618; + SOUND_EFFECT_TYPE_HumanMaleDeath = 2619; + SOUND_EFFECT_TYPE_HumanoidGoblinDeath = 2620; + SOUND_EFFECT_TYPE_HumanoidOrcDeath = 2621; + SOUND_EFFECT_TYPE_LycanthropeDeath = 2622; + SOUND_EFFECT_TYPE_MagicalEnergyDeath = 2623; + SOUND_EFFECT_TYPE_MagicalHorrorDeath = 2624; + SOUND_EFFECT_TYPE_MammalBearDeath = 2625; + SOUND_EFFECT_TYPE_MammalCritterDeath = 2626; + SOUND_EFFECT_TYPE_MammalDogDeath = 2627; + SOUND_EFFECT_TYPE_MammalElephantDeath = 2628; + SOUND_EFFECT_TYPE_MammalFeralDeath = 2629; + SOUND_EFFECT_TYPE_MammalHorseDeath = 2630; + SOUND_EFFECT_TYPE_MammalMammothDeath = 2631; + SOUND_EFFECT_TYPE_MonsterDeath = 2632; + SOUND_EFFECT_TYPE_PhantomDeath = 2633; + SOUND_EFFECT_TYPE_PlantDeath = 2634; + SOUND_EFFECT_TYPE_ReptileLargeDeath = 2635; + SOUND_EFFECT_TYPE_ReptileSmallDeath = 2636; + SOUND_EFFECT_TYPE_SlimeDeath = 2637; + SOUND_EFFECT_TYPE_UndeadDeath = 2638; + SOUND_EFFECT_TYPE_VerminCritterDeath = 2639; + SOUND_EFFECT_TYPE_VerminInsectDeath = 2640; + SOUND_EFFECT_TYPE_VerminRotwormDeath = 2641; + SOUND_EFFECT_TYPE_HumanSageDeath = 2642; + SOUND_EFFECT_TYPE_HumanCroneDeath = 2643; + SOUND_EFFECT_TYPE_ApeDeath = 2644; + SOUND_EFFECT_TYPE_GodspellKillAllMonsters = 10001; +} + +message SimpleSoundEffect { + optional uint32 sound_id = 1; +} + +message RandomSoundEffect { + repeated uint32 random_sound_id = 1; +} + +message DelayedSoundEffect { + optional uint32 numeric_sound_effect_id = 1; + optional uint32 delay_seconds = 2; +} + +message AppearanceTypesCountSoundEffect { + optional uint32 count = 1; + optional uint32 looping_sound_id = 2; +} + +message MinMaxFloat { + optional float min = 1; + optional float max = 2; +} + +message Sounds { + repeated Sound sound = 1; + repeated NumericSoundEffect numeric_sound_effect = 2; + repeated AmbienceStream ambience_stream = 3; + repeated AmbienceObjectStream ambience_object_stream = 4; + repeated MusicTemplate music_template = 5; +} + +message Sound { + optional uint32 id = 1; + optional string filename = 2; + optional string original_filename = 3; + optional bool is_stream = 4; +} + +message NumericSoundEffect { + optional uint32 id = 1; + optional ENumericSoundType numeric_sound_type = 2; + optional MinMaxFloat random_pitch = 3; + optional MinMaxFloat random_volume = 4; + optional SimpleSoundEffect simple_sound_effect = 5; + optional RandomSoundEffect random_sound_effect = 6; +} + +message AmbienceStream { + optional uint32 id = 1; + optional uint32 looping_sound_id = 2; + repeated DelayedSoundEffect delayed_effects = 3; +} + +message AmbienceObjectStream { + optional uint32 id = 1; + repeated uint32 counted_appearance_types = 2; + repeated AppearanceTypesCountSoundEffect sound_effects = 3; + optional uint32 max_sound_distance = 4; +} + +message MusicTemplate { + optional uint32 id = 1; + optional uint32 sound_id = 2; + optional EMusicType music_type = 3; +} diff --git a/crates/assets/src/appearances.rs b/crates/assets/src/appearances.rs new file mode 100644 index 0000000..a8b946d --- /dev/null +++ b/crates/assets/src/appearances.rs @@ -0,0 +1,68 @@ +use anyhow::{Context, Result}; +use prost::Message; +use std::path::Path; + +use crate::protobuf::{Appearance, Appearances}; + +pub enum AppearanceKind { + Object, + Outfit, + Effect, + Missile, +} + +pub fn find_by_id<'a>(a: &'a Appearances, kind: AppearanceKind, id: u32) -> Option<&'a Appearance> { + let list = match kind { + AppearanceKind::Object => &a.object, + AppearanceKind::Outfit => &a.outfit, + AppearanceKind::Effect => &a.effect, + AppearanceKind::Missile => &a.missile, + }; + + list.iter().find(|x| x.id.unwrap_or(0) == id) +} + +pub fn load_appearances_dat(path: impl AsRef) -> Result { + let path = path.as_ref(); + let data = std::fs::read(path) + .with_context(|| format!("failed to read appearances file: {}", path.display()))?; + + // 1) tenta direto + if let Ok(app) = Appearances::decode(&data[..]) { + return Ok(app); + } + + // 2) fallback + let decompressed = crate::lzma::decompress(&data) + .context("failed to decompress appearances (lzma/xz fallback)")?; + + let app = Appearances::decode(&decompressed[..]) + .context("failed to decode appearances after decompress")?; + + Ok(app) +} + +#[derive(Debug)] +pub struct AppearanceStats { + pub object_last_id: u32, + pub outfit_last_id: u32, + pub effect_last_id: u32, + pub missile_last_id: u32, + pub objects: usize, + pub outfits: usize, + pub effects: usize, + pub missiles: usize, +} + +pub fn stats(a: &Appearances) -> AppearanceStats { + AppearanceStats { + object_last_id: a.object.last().and_then(|x| x.id).unwrap_or(0), + outfit_last_id: a.outfit.last().and_then(|x| x.id).unwrap_or(0), + effect_last_id: a.effect.last().and_then(|x| x.id).unwrap_or(0), + missile_last_id: a.missile.last().and_then(|x| x.id).unwrap_or(0), + objects: a.object.len(), + outfits: a.outfit.len(), + effects: a.effect.len(), + missiles: a.missile.len(), + } +} diff --git a/crates/assets/src/bin/appearance_lookup.rs b/crates/assets/src/bin/appearance_lookup.rs new file mode 100644 index 0000000..7fb1e47 --- /dev/null +++ b/crates/assets/src/bin/appearance_lookup.rs @@ -0,0 +1,90 @@ +use anyhow::{Result, anyhow}; +use assets::appearances::{AppearanceKind, find_by_id, load_appearances_dat}; + +fn parse_kind(s: &str) -> Result { + Ok(match s { + "object" => AppearanceKind::Object, + "outfit" => AppearanceKind::Outfit, + "effect" => AppearanceKind::Effect, + "missile" => AppearanceKind::Missile, + _ => { + return Err(anyhow!( + "kind inválido: {s} (use object|outfit|effect|missile)" + )); + } + }) +} + +fn main() -> Result<()> { + let mut args = std::env::args().skip(1); + + let path = args + .next() + .expect("usage: appearance_lookup --kind object --id 100"); + let mut kind: Option = None; + let mut id: Option = None; + + while let Some(a) = args.next() { + match a.as_str() { + "--kind" => kind = Some(parse_kind(&args.next().expect("--kind precisa de valor"))?), + "--id" => id = Some(args.next().expect("--id precisa de valor").parse()?), + _ => {} + } + } + + let kind = kind.ok_or_else(|| anyhow!("faltou --kind"))?; + let id = id.ok_or_else(|| anyhow!("faltou --id"))?; + + let app = load_appearances_dat(&path)?; + let a = find_by_id(&app, kind, id).ok_or_else(|| anyhow!("appearance não encontrado"))?; + + println!("id={}", a.id.unwrap_or(0)); + println!("frame_groups={}", a.frame_group.len()); + + for (i, fg) in a.frame_group.iter().enumerate() { + let ff = fg.fixed_frame_group.unwrap_or(-1); + let gid = fg.id.unwrap_or(0); + + println!("\n== frame_group[{i}] fixed={ff} id={gid} =="); + + if let Some(si) = fg.sprite_info.as_ref() { + let pw = si.pattern_width.unwrap_or(1); + let ph = si.pattern_height.unwrap_or(1); + let pd = si.pattern_depth.unwrap_or(1); + let layers = si.layers.unwrap_or(1); + let frames = si.pattern_frames.unwrap_or(1); + + for sprite_id in si.sprite_id.iter() { + println!("sprite_id={sprite_id}"); + } + + println!("pattern: w={pw} h={ph} d={pd} layers={layers} frames={frames}"); + println!("sprite_ids_len={}", si.sprite_id.len()); + + if frames > 0 { + let per_frame = (si.sprite_id.len() as u32) / frames; + println!("sprites_per_frame≈{per_frame}"); + } + + if let Some(anim) = si.animation.as_ref() { + println!("has_animation=true phases={}", anim.sprite_phase.len()); + for (p, ph) in anim.sprite_phase.iter().take(10).enumerate() { + println!( + " phase[{p}] min={} max={}", + ph.duration_min.unwrap_or(0), + ph.duration_max.unwrap_or(0) + ); + } + if anim.sprite_phase.len() > 10 { + println!(" ... (mais fases)"); + } + } else { + println!("has_animation=false"); + } + } else { + println!("sprite_info: none"); + } + } + + Ok(()) +} diff --git a/crates/assets/src/bin/appearances_inspect.rs b/crates/assets/src/bin/appearances_inspect.rs new file mode 100644 index 0000000..50f2a1a --- /dev/null +++ b/crates/assets/src/bin/appearances_inspect.rs @@ -0,0 +1,17 @@ +use anyhow::Result; + +fn main() -> Result<()> { + let path = std::env::args() + .nth(1) + .expect("usage: appearances_inspect "); + + let app = assets::appearances::load_appearances_dat(&path)?; + let s = assets::appearances::stats(&app); + + println!("objects={} last_id={}", s.objects, s.object_last_id); + println!("outfits={} last_id={}", s.outfits, s.outfit_last_id); + println!("effects={} last_id={}", s.effects, s.effect_last_id); + println!("missiles={} last_id={}", s.missiles, s.missile_last_id); + + Ok(()) +} diff --git a/crates/assets/src/bin/inspect.rs b/crates/assets/src/bin/inspect.rs new file mode 100644 index 0000000..55b1c11 --- /dev/null +++ b/crates/assets/src/bin/inspect.rs @@ -0,0 +1,123 @@ +use anyhow::{Result, anyhow}; +use std::io::Cursor; +use std::path::PathBuf; + +fn main() -> Result<()> { + let mut args = std::env::args().skip(1); + + let dir = args + .next() + .ok_or_else(|| anyhow!("usage: inspect [--sprite-id N] [--dump out.png]"))?; + + let mut sprite_id: Option = None; + let mut dump_path: Option = None; + + while let Some(a) = args.next() { + match a.as_str() { + "--sprite-id" => { + let v = args + .next() + .ok_or_else(|| anyhow!("--sprite-id requires a number"))?; + sprite_id = Some(v.parse::()?); + } + "--dump" => { + let v = args + .next() + .ok_or_else(|| anyhow!("--dump requires a path"))?; + dump_path = Some(PathBuf::from(v)); + } + "--help" | "-h" => { + println!("usage: inspect [--sprite-id N] [--dump out.png]"); + return Ok(()); + } + other => return Err(anyhow!("unknown arg: {other}")), + } + } + + // (opcional) se passou --dump sem --sprite-id, não tem como saber o que recortar + if dump_path.is_some() && sprite_id.is_none() { + return Err(anyhow!("--dump requires --sprite-id")); + } + + let scan = assets::scan_assets_dir(&dir)?; + println!("assets_dir={}", scan.root.display()); + println!("files={}", scan.files.len()); + println!("has_catalog={}", scan.has_catalog); + println!("sprites_count={}", scan.sprites_count); + println!("appearances_count={}", scan.appearances_count); + + assets::validate_assets(&scan)?; + + let catalog_path = scan.root.join("catalog-content.json"); + let entries = assets::catalog::load_catalog(&catalog_path)?; + let summary = assets::catalog::summarize(&entries); + + println!("\n=== catalog-content.json ==="); + println!("entries_total={}", summary.total); + println!("entries_by_type:"); + for (k, v) in summary.by_type { + println!(" - {k}: {v}"); + } + + if let Some(id) = sprite_id { + println!("\n=== lookup sprite-id {id} ==="); + + let catalog_entry = assets::sprites::find_sprite_entry(&entries, id) + .ok_or_else(|| anyhow!("sprite-id {id} not found in catalog"))?; + + assets::catalog::ensure_has_sprite_fields(catalog_entry)?; + + let sprite_path = scan.root.join(&catalog_entry.file); + let compressed = std::fs::read(&sprite_path)?; + let bmp_bytes = assets::lzma::decompress_cipsoft_lzma_asset(&compressed)?; + + println!("decompressed_len={}", bmp_bytes.len()); + println!( + "decompressed_magic={:02x} {:02x}", + bmp_bytes.get(0).copied().unwrap_or(0), + bmp_bytes.get(1).copied().unwrap_or(0) + ); + + let info = assets::bmp::parse_bmp_info(&bmp_bytes)?; + println!("file={}", catalog_entry.file); + println!( + "sheet={}x{} bpp={} offset={}", + info.width, info.height, info.bpp, info.data_offset + ); + + let rect = assets::sprites::sprite_rect_from_sheet(catalog_entry, id, &info)?; + println!( + "rect: col={} row={} x={} y={} w={} h={}", + rect.col, rect.row, rect.x, rect.y, rect.w, rect.h + ); + + // -------- dump PNG (recorta do BMP e salva) -------- + if let Some(out) = dump_path { + // decode BMP -> RGBA + let dyn_img = image::load_from_memory_with_format(&bmp_bytes, image::ImageFormat::Bmp)?; + let rgba = dyn_img.to_rgba8(); + + // crop usando o rect que você já calculou (x/y/w/h) + let cropped = + image::imageops::crop_imm(&rgba, rect.x, rect.y, rect.w, rect.h).to_image(); + + // encode PNG + let mut png = Vec::new(); + image::DynamicImage::ImageRgba8(cropped) + .write_to(&mut Cursor::new(&mut png), image::ImageFormat::Png)?; + + // garante diretório + if let Some(parent) = out.parent() { + if !parent.as_os_str().is_empty() { + std::fs::create_dir_all(parent)?; + } + } + + std::fs::write(&out, &png)?; + println!("dump_png={}", out.display()); + println!("dump_png_len={}", png.len()); + } + } + + Ok(()) +} diff --git a/crates/assets/src/bin/object_plan_inspect.rs b/crates/assets/src/bin/object_plan_inspect.rs new file mode 100644 index 0000000..038ab3e --- /dev/null +++ b/crates/assets/src/bin/object_plan_inspect.rs @@ -0,0 +1,117 @@ +use std::{io::Cursor, path::PathBuf}; + +use anyhow::{Result, anyhow}; +use assets::{appearances::load_appearances_dat, thing_plan::build_object_render_plan}; + +/** +* Sanguine Blade +* cargo run -p assets --bin object_plan_inspect -- \ + apps/client/src-tauri/resources/assets/appearances-5997985a63a3e937581971c125efd546c0dfd0623341744ea8fa481c7fc9a560.dat \ + --id 43864 +*/ + +fn main() -> Result<()> { + let mut args = std::env::args().skip(1); + + let appearances_path = args + .next() + .ok_or_else(|| anyhow!("usage: object_plan_inspect --id "))?; + + let mut id: Option = None; + + while let Some(a) = args.next() { + match a.as_str() { + "--id" => { + let value = args + .next() + .ok_or_else(|| anyhow!("--id requires a number"))?; + id = Some(value.parse::()?); + } + other => return Err(anyhow!("unknown arg: {other}")), + } + } + + let id = id.ok_or_else(|| anyhow!("missing --id"))?; + + let appearances = load_appearances_dat(&appearances_path)?; + let plan = build_object_render_plan(&appearances, id)?; + + println!("{}", serde_json::to_string_pretty(&plan)?); + + let scan = assets::scan_assets_dir("apps/client/src-tauri/resources/assets")?; + + assets::validate_assets(&scan)?; + + let catalog_path = scan.root.join("catalog-content.json"); + let entries = assets::catalog::load_catalog(&catalog_path)?; + let summary = assets::catalog::summarize(&entries); + + println!("\n=== catalog-content.json ==="); + println!("entries_total={}", summary.total); + println!("entries_by_type:"); + for (k, v) in summary.by_type { + println!(" - {k}: {v}"); + } + + let all_sprites_ids: Vec = plan + .frames + .iter() + .flat_map(|frame| frame.sprite_ids.iter().copied()) + .collect(); + + for sprite_id in all_sprites_ids.iter() { + println!("\n === lookup sprite_id:{sprite_id} ==="); + + let catalog_entry = assets::sprites::find_sprite_entry(&entries, *sprite_id) + .ok_or_else(|| anyhow!("sprite_id:{sprite_id} not found in catalog"))?; + + assets::catalog::ensure_has_sprite_fields(catalog_entry)?; + + let sprite_path = scan.root.join(&catalog_entry.file); + let compressed = std::fs::read(&sprite_path)?; + let bmp_bytes = assets::lzma::decompress_cipsoft_lzma_asset(&compressed)?; + + println!("decompressed_len={}", bmp_bytes.len()); + println!( + "decompressed_magic={:02x} {:02x}", + bmp_bytes.get(0).copied().unwrap_or(0), + bmp_bytes.get(1).copied().unwrap_or(0) + ); + println!("{}", serde_json::to_string_pretty(&catalog_entry)?); + + let info = assets::bmp::parse_bmp_info(&bmp_bytes)?; + println!("file={}", catalog_entry.file); + println!( + "sheet={}x{} bpp={} offset={}", + info.width, info.height, info.bpp, info.data_offset + ); + + let rect = assets::sprites::sprite_rect_from_sheet(catalog_entry, *sprite_id, &info)?; + println!( + "rect: col={} row={} x={} y={} w={} h={}", + rect.col, rect.row, rect.x, rect.y, rect.w, rect.h + ); + + let dynamic_image = + image::load_from_memory_with_format(&bmp_bytes, image::ImageFormat::Bmp)?; + let rgba = dynamic_image.to_rgba8(); + + let cropped_image = + image::imageops::crop_imm(&rgba, rect.x, rect.y, rect.w, rect.h).to_image(); + + let mut png = Vec::new(); + image::DynamicImage::ImageRgba8(cropped_image) + .write_to(&mut Cursor::new(&mut png), image::ImageFormat::Png)?; + + let out_dir = PathBuf::from("out"); + std::fs::create_dir_all(&out_dir)?; + + let out_path = out_dir.join(format!("sprite_{sprite_id}.png")); + + std::fs::write(&out_path, &png)?; + println!("dump_png={}", out_path.display()); + println!("dump_png_len={}", png.len()); + } + + Ok(()) +} diff --git a/crates/assets/src/bmp.rs b/crates/assets/src/bmp.rs new file mode 100644 index 0000000..ab555e6 --- /dev/null +++ b/crates/assets/src/bmp.rs @@ -0,0 +1,40 @@ +use anyhow::{Result, anyhow}; + +#[derive(Debug, Clone)] +pub struct BmpInfo { + pub width: u32, + pub height: u32, + pub bpp: u16, + pub data_offset: u32, +} + +pub fn parse_bmp_info(bytes: &[u8]) -> Result { + if bytes.len() < 54 { + return Err(anyhow!("bmp too small")); + } + if &bytes[0..2] != b"BM" { + return Err(anyhow!("not a BMP (missing BM header)")); + } + + let data_offset = u32::from_le_bytes(bytes[10..14].try_into().unwrap()); + let dib_header_size = u32::from_le_bytes(bytes[14..18].try_into().unwrap()); + + if dib_header_size < 40 { + return Err(anyhow!("unsupported DIB header size: {dib_header_size}")); + } + + let width = i32::from_le_bytes(bytes[18..22].try_into().unwrap()); + let height = i32::from_le_bytes(bytes[22..26].try_into().unwrap()); + let bpp = u16::from_le_bytes(bytes[28..30].try_into().unwrap()); + + if width <= 0 || height == 0 { + return Err(anyhow!("invalid bmp dims: {width}x{height}")); + } + + Ok(BmpInfo { + width: width as u32, + height: height.unsigned_abs(), // BMP pode ser top-down se height negativo + bpp, + data_offset, + }) +} diff --git a/crates/assets/src/catalog.rs b/crates/assets/src/catalog.rs new file mode 100644 index 0000000..c680cdb --- /dev/null +++ b/crates/assets/src/catalog.rs @@ -0,0 +1,78 @@ +use std::collections::BTreeMap; +use std::path::Path; + +use anyhow::{Result, anyhow}; +use serde::{Deserialize, Serialize}; + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct CatalogEntry { + #[serde(rename = "type")] + pub kind: String, + + pub file: String, + + // sprite sheets (só existe quando kind == "sprite") + #[serde(rename = "firstspriteid")] + pub first_sprite_id: Option, + #[serde(rename = "lastspriteid")] + pub last_sprite_id: Option, + #[serde(rename = "spritetype")] + pub sprite_type: Option, +} + +pub type CatalogContent = Vec; + +#[derive(Debug)] +pub struct CatalogSummary { + pub total: usize, + pub by_type: BTreeMap, + pub first_sprite: Option, +} + +pub fn load_catalog(path: impl AsRef) -> Result { + let txt = std::fs::read_to_string(path)?; + let catalog: CatalogContent = serde_json::from_str(&txt)?; + Ok(catalog) +} + +pub fn summarize(entries: &CatalogContent) -> CatalogSummary { + let mut by_type: BTreeMap = BTreeMap::new(); + + for e in entries { + *by_type.entry(e.kind.clone()).or_insert(0) += 1; + } + + let first_sprite = entries.iter().find(|e| e.kind == "sprite").cloned(); + + CatalogSummary { + total: entries.len(), + by_type, + first_sprite, + } +} + +pub fn find_sprite_entry<'a>( + entries: &'a CatalogContent, + sprite_id: u32, +) -> Option<&'a CatalogEntry> { + entries.iter().find(|e| { + if e.kind != "sprite" { + return false; + } + + match (e.first_sprite_id, e.last_sprite_id) { + (Some(first), Some(last)) => sprite_id >= first && sprite_id <= last, + _ => false, + } + }) +} + +pub fn ensure_has_sprite_fields(e: &CatalogEntry) -> Result<()> { + if e.kind != "sprite" { + return Err(anyhow!("entry is not sprite")); + } + if e.first_sprite_id.is_none() || e.last_sprite_id.is_none() || e.sprite_type.is_none() { + return Err(anyhow!("sprite entry missing required fields")); + } + Ok(()) +} diff --git a/crates/assets/src/image.rs b/crates/assets/src/image.rs new file mode 100644 index 0000000..140f9f6 --- /dev/null +++ b/crates/assets/src/image.rs @@ -0,0 +1,41 @@ +use anyhow::{Result, anyhow}; +use image::{DynamicImage, ImageFormat}; +use std::io::Cursor; + +pub fn extract_sprite_png_from_sheet( + sheet_bmp_bytes: &[u8], + sprite_id: u32, + first_sprite_id: u32, + tile_w: u32, + tile_h: u32, +) -> Result> { + let dyn_img = image::load_from_memory_with_format(sheet_bmp_bytes, ImageFormat::Bmp)?; + let rgba = dyn_img.to_rgba8(); + let (w, h) = rgba.dimensions(); + + if w % tile_w != 0 || h % tile_h != 0 { + return Err(anyhow!("sheet dims not divisible by tile size")); + } + let cols = w / tile_w; + let rows = h / tile_h; + + let idx = sprite_id + .checked_sub(first_sprite_id) + .ok_or_else(|| anyhow!("sprite_id < first_sprite_id"))?; + + let max = cols * rows; + if idx >= max { + return Err(anyhow!("sprite index out of sheet range")); + } + + let col = idx % cols; + let row = idx / cols; + + let x = col * tile_w; + let y = row * tile_h; + + let cropped = image::imageops::crop_imm(&rgba, x, y, tile_w, tile_h).to_image(); + let mut out = Vec::new(); + DynamicImage::ImageRgba8(cropped).write_to(&mut Cursor::new(&mut out), ImageFormat::Png)?; + Ok(out) +} diff --git a/crates/assets/src/lib.rs b/crates/assets/src/lib.rs new file mode 100644 index 0000000..f42b4b2 --- /dev/null +++ b/crates/assets/src/lib.rs @@ -0,0 +1,95 @@ +pub mod appearances; +pub mod bmp; +pub mod catalog; +pub mod image; +pub mod lzma; +pub mod protobuf; +pub mod sprites; +pub mod thing_plan; + +use std::path::{Path, PathBuf}; + +use anyhow::{Result, anyhow}; + +pub fn file_size(path: impl AsRef) -> Result { + let meta = std::fs::metadata(path)?; + Ok(meta.len()) +} + +#[derive(Debug)] +pub struct AssetScan { + pub root: PathBuf, + pub files: Vec, + pub has_catalog: bool, + pub sprites_count: usize, + pub appearances_count: usize, +} + +pub fn scan_assets_dir(root: impl AsRef) -> Result { + let root = root.as_ref().to_path_buf(); + + if !root.exists() { + return Err(anyhow!("assets dir does not exist: {}", root.display())); + } + + if !root.is_dir() { + return Err(anyhow!("not a directory: {}", root.display())); + } + + let mut files: Vec = Vec::new(); + let mut has_catalog = false; + let mut sprites_count = 0usize; + let mut appearances_count = 0usize; + + for entry in std::fs::read_dir(&root)? { + let entry = entry?; + let path = entry.path(); + + if !path.is_file() { + continue; + } + + let name = path + .file_name() + .and_then(|s| s.to_str()) + .unwrap_or("") + .to_string(); + + if name == "catalog-content.json" { + has_catalog = true; + } + + if name.starts_with("sprites-") && name.ends_with(".bmp.lzma") { + sprites_count += 1; + } + if name.starts_with("appearances-") && name.ends_with(".dat") { + appearances_count += 1; + } + + files.push(name); + } + + files.sort(); + + Ok(AssetScan { + root, + files, + has_catalog, + sprites_count, + appearances_count, + }) +} + +pub fn validate_assets(scan: &AssetScan) -> Result<()> { + if !scan.has_catalog { + return Err(anyhow!("missing catalog-content.json")); + } + if scan.sprites_count == 0 { + return Err(anyhow!("missing sprites-*.bmp.lzma files")); + } + // appearances pode ser opcional dependendo do seu cliente, mas por enquanto vamos exigir. + if scan.appearances_count == 0 { + return Err(anyhow!("missing appearances-*.dat files")); + } + Ok(()) +} diff --git a/crates/assets/src/lzma.rs b/crates/assets/src/lzma.rs new file mode 100644 index 0000000..4e167ff --- /dev/null +++ b/crates/assets/src/lzma.rs @@ -0,0 +1,155 @@ +use anyhow::{Result, anyhow}; +use std::io::{self, BufRead, BufReader, Cursor, Read}; +use xz2::read::XzDecoder; + +fn starts_with_cip_header(data: &[u8]) -> bool { + // padrão comum: 0x70 0x0A 0xFA 0x80 0x24 + data.len() >= 5 + && data[0] == 0x70 + && data[1] == 0x0A + && data[2] == 0xFA + && data[3] == 0x80 + && data[4] == 0x24 +} + +/// Lazily patches Tibia's incorrect LZMA header without cloning the payload. +struct HeaderPatcher<'a> { + data: &'a [u8], + pos: usize, +} + +impl<'a> HeaderPatcher<'a> { + #[inline] + fn new(data: &'a [u8]) -> Self { + Self { data, pos: 0 } + } +} + +impl<'a> Read for HeaderPatcher<'a> { + fn read(&mut self, buf: &mut [u8]) -> io::Result { + if self.pos >= self.data.len() || buf.is_empty() { + return Ok(0); + } + + let remaining = &self.data[self.pos..]; + let len = remaining.len().min(buf.len()); + buf[..len].copy_from_slice(&remaining[..len]); + + // Tibia LZMA header patch: overwrite bytes 5..13 with 0xFF + if self.data.len() >= 13 && self.pos < 13 && self.pos + len > 5 { + let start = self.pos.max(5); + let end = (self.pos + len).min(13); + for idx in start..end { + buf[idx - self.pos] = 0xFF; + } + } + + self.pos += len; + Ok(len) + } +} + +#[inline] +fn try_lzma( + reader: R, + output: &mut Vec, +) -> std::result::Result<(), lzma_rs::error::Error> { + let mut reader = reader; + output.clear(); + match lzma_rs::lzma_decompress(&mut reader, output) { + Ok(()) => Ok(()), + Err(err) => { + output.clear(); + Err(err) + } + } +} + +/// Decompress LZMA data (Tibia uses a custom LZMA format) +pub fn decompress(data: &[u8]) -> Result> { + anyhow::ensure!(data.len() >= 13, "LZMA data too short"); + + let mut decompressed = Vec::new(); + let mut errors = Vec::with_capacity(3); + + match try_lzma(BufReader::new(HeaderPatcher::new(data)), &mut decompressed) { + Ok(()) => return Ok(decompressed), + Err(err) => errors.push(format!("lzma-rs with corrected header: {err}")), + } + + match try_lzma(Cursor::new(data), &mut decompressed) { + Ok(()) => return Ok(decompressed), + Err(err) => errors.push(format!("lzma-rs with original header: {err}")), + } + + decompressed.clear(); + match XzDecoder::new(Cursor::new(data)).read_to_end(&mut decompressed) { + Ok(_) => Ok(decompressed), + Err(err) => { + errors.push(format!("xz2 fallback: {err}")); + Err(anyhow::anyhow!( + "Failed to decompress LZMA data ({})", + errors.join("; ") + )) + } + } +} + +/// Decompress de arquivos Tibia *.bmp.lzma / *.dat (CipSoft wrapper + LZMA stream). +/// - pula padding zero +/// - pula header CIP (5 bytes) se existir +/// - pula "7-bit encoded size" se existir +/// - então chama `decompress()` no stream LZMA real +pub fn decompress_cipsoft_lzma_asset(data: &[u8]) -> Result> { + if data.len() < 16 { + return Err(anyhow!("asset file too small")); + } + + // 0) alguns arquivos podem já estar “crus” (raros), se já começa com BMP: + if data.len() >= 2 && &data[0..2] == b"BM" { + return Ok(data.to_vec()); + } + + // 1) skip leading zeros (padding) + let mut offset = 0usize; + while offset < data.len() && data[offset] == 0 { + offset += 1; + } + if offset >= data.len() { + return Err(anyhow!("asset contains only zeros")); + } + + // 2) tenta pular header CIP (5 bytes) apenas se bater o padrão + if offset + 5 <= data.len() && starts_with_cip_header(&data[offset..]) { + offset += 5; + + // 3) pula “7-bit encoded size” - a gente não precisa do valor + while offset < data.len() { + let b = data[offset]; + offset += 1; + if (b & 0x80) == 0 { + break; + } + } + if offset >= data.len() { + return Err(anyhow!("incomplete cip header")); + } + + // 4) agora sim: stream LZMA começa aqui + let lzma_stream = &data[offset..]; + if lzma_stream.len() < 13 { + return Err(anyhow!("lzma stream too short after cip header")); + } + + // usa seu decompress(LZMA puro) + if let Ok(v) = decompress(lzma_stream) { + return Ok(v); + } + + // fallback: tenta descomprimir o arquivo inteiro (caso esse asset não siga o padrão) + return decompress(data).map_err(|e| anyhow!("failed to decompress asset: {e}")); + } + + // 5) se não tem header CIP, tenta como LZMA puro do começo (ou XZ fallback) + decompress(data) +} diff --git a/crates/assets/src/protobuf/mod.rs b/crates/assets/src/protobuf/mod.rs new file mode 100644 index 0000000..325f059 --- /dev/null +++ b/crates/assets/src/protobuf/mod.rs @@ -0,0 +1,7 @@ +#[allow(non_snake_case)] +#[allow(clippy::all)] +pub mod appearances { + include!(concat!(env!("OUT_DIR"), "/tibia.protobuf.appearances.rs")); +} + +pub use appearances::*; diff --git a/crates/assets/src/sprites.rs b/crates/assets/src/sprites.rs new file mode 100644 index 0000000..c1b3644 --- /dev/null +++ b/crates/assets/src/sprites.rs @@ -0,0 +1,80 @@ +use anyhow::{Result, anyhow}; + +use crate::bmp::BmpInfo; +use crate::catalog::{CatalogContent, CatalogEntry}; + +pub const SPRITE_TILE: u32 = 32; + +#[derive(Debug, Clone)] +pub struct SpriteRect { + pub file: String, + pub sprite_id: u32, + pub sheet_w: u32, + pub sheet_h: u32, + pub col: u32, + pub row: u32, + pub x: u32, + pub y: u32, + pub w: u32, + pub h: u32, +} + +pub fn find_sprite_entry<'a>( + entries: &'a CatalogContent, + sprite_id: u32, +) -> Option<&'a CatalogEntry> { + entries.iter().find(|e| { + if e.kind != "sprite" { + return false; + } + match (e.first_sprite_id, e.last_sprite_id) { + (Some(first), Some(last)) => sprite_id >= first && sprite_id <= last, + _ => false, + } + }) +} + +pub fn sprite_rect_from_sheet( + entry: &CatalogEntry, + sprite_id: u32, + bmp: &BmpInfo, +) -> Result { + let first = entry + .first_sprite_id + .ok_or_else(|| anyhow!("missing first_sprite_id"))?; + let last = entry + .last_sprite_id + .ok_or_else(|| anyhow!("missing last_sprite_id"))?; + if sprite_id < first || sprite_id > last { + return Err(anyhow!("sprite_id out of entry range")); + } + + let cols = bmp.width / SPRITE_TILE; + if cols == 0 { + return Err(anyhow!("sheet width too small: {}", bmp.width)); + } + + let index = sprite_id - first; + let col = index % cols; + let row = index / cols; + + let x = col * SPRITE_TILE; + let y = row * SPRITE_TILE; + + if x + SPRITE_TILE > bmp.width || y + SPRITE_TILE > bmp.height { + return Err(anyhow!("computed rect out of bounds")); + } + + Ok(SpriteRect { + file: entry.file.clone(), + sprite_id, + sheet_w: bmp.width, + sheet_h: bmp.height, + col, + row, + x, + y, + w: SPRITE_TILE, + h: SPRITE_TILE, + }) +} diff --git a/crates/assets/src/thing_plan.rs b/crates/assets/src/thing_plan.rs new file mode 100644 index 0000000..4c8308a --- /dev/null +++ b/crates/assets/src/thing_plan.rs @@ -0,0 +1,109 @@ +use anyhow::{Result, anyhow}; +use serde::{Deserialize, Serialize}; + +use crate::protobuf::{Appearances, FixedFrameGroup}; + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct RenderPlan { + pub kind: &'static str, // Object + pub id: u32, + + pub pattern_width: u32, + pub pattern_height: u32, + pub pattern_depth: u32, + pub layers: u32, + + pub frames: Vec, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct RenderFrame { + pub duration_ms: u32, + pub sprite_ids: Vec, +} + +pub fn build_object_render_plan(appearances: &Appearances, object_id: u32) -> Result { + let appearance = appearances + .object + .iter() + .find(|x| x.id.unwrap_or(0) == object_id) + .ok_or_else(|| anyhow!("Error in unwarp of object_id:{object_id}"))?; + + let frame_group = appearance + .frame_group + .iter() + .find(|frame_group| { + frame_group.fixed_frame_group.unwrap_or(-999) == FixedFrameGroup::ObjectInitial as i32 + }) + .or_else(|| appearance.frame_group.first()) + .ok_or_else(|| anyhow!("object id {object_id} has no frame_group"))?; + + let sprite_info = frame_group + .sprite_info + .as_ref() + .ok_or_else(|| anyhow!("object id {object_id} frame_group has no sprite_info"))?; + + let pattern_width = sprite_info.pattern_width.unwrap_or(1).max(1); + let pattern_height = sprite_info.pattern_height.unwrap_or(1).max(1); + let pattern_depth = sprite_info.pattern_depth.unwrap_or(1).max(1); + let layers = sprite_info.layers.unwrap_or(1).max(1); + + let phases = sprite_info + .animation + .as_ref() + .map(|animation| animation.sprite_phase.len()) + .unwrap_or(0); + + let frames_count = if phases > 0 { + phases as u32 + } else { + sprite_info.pattern_frames.unwrap_or(1).max(1) + }; + + let sprites_per_frame = (layers * pattern_width * pattern_height * pattern_depth) as usize; + + let expected_len = (frames_count as usize) * sprites_per_frame; + let got_len = sprite_info.sprite_id.len(); + + if got_len < expected_len { + return Err(anyhow!( + "object {object_id}: sprite_id len to small. got={got_len} expected>={expected_len} \ + (layers={layers}, pattern={pattern_width}x{pattern_height}x{pattern_depth}, frames={frames_count})" + )); + } + + let mut frames = Vec::with_capacity(frames_count as usize); + + for frame in 0..frames_count as usize { + let start = frame * sprites_per_frame; + let end = start + sprites_per_frame; + + let sprite_ids = sprite_info.sprite_id[start..end].to_vec(); + + let duration_ms = sprite_info + .animation + .as_ref() + .and_then(|animation| animation.sprite_phase.get(frame)) + .map(|phase| { + let min = phase.duration_min.unwrap_or(100); + let max = phase.duration_max.unwrap_or(min); + ((min + max) / 2).max(1) + }) + .unwrap_or(100); + + frames.push(RenderFrame { + duration_ms, + sprite_ids, + }); + } + + Ok(RenderPlan { + kind: "object", + id: object_id, + pattern_width, + pattern_depth, + pattern_height, + frames, + layers, + }) +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7b74a39..9807bb7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,6 +37,29 @@ catalogs: '@orpc/zod': specifier: ^1.12.2 version: 1.12.2 + tailwind: + clsx: + specifier: ^2.1.1 + version: 2.1.1 + tailwind-merge: + specifier: ^3.4.0 + version: 3.4.0 + tailwindcss: + specifier: ^4.1.18 + version: 4.1.18 + tw-animate-css: + specifier: ^1.4.0 + version: 1.4.0 + vite: + '@tailwindcss/vite': + specifier: ^4.1.18 + version: 4.1.18 + '@vitejs/plugin-react': + specifier: ^5.1.1 + version: 5.1.1 + vite: + specifier: ^7.2.6 + version: 7.2.6 overrides: '@types/react': ^19.2.7 @@ -204,6 +227,64 @@ importers: specifier: ^5.9.3 version: 5.9.3 + apps/client: + dependencies: + '@pixi/react': + specifier: ^8.0.5 + version: 8.0.5(@types/react@19.2.7)(pixi.js@8.14.3)(react@19.2.1) + '@tailwindcss/vite': + specifier: catalog:vite + version: 4.1.18(vite@7.2.6(@types/node@24.10.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1)) + '@tauri-apps/api': + specifier: ^2.9.1 + version: 2.9.1 + '@tauri-apps/plugin-opener': + specifier: ^2.5.2 + version: 2.5.2 + clsx: + specifier: catalog:tailwind + version: 2.1.1 + pixi.js: + specifier: ^8.14.3 + version: 8.14.3 + react: + specifier: ^19.2.1 + version: 19.2.1 + react-dom: + specifier: ^19.2.1 + version: 19.2.1(react@19.2.1) + tailwind-merge: + specifier: catalog:tailwind + version: 3.4.0 + tailwindcss: + specifier: catalog:tailwind + version: 4.1.18 + tw-animate-css: + specifier: catalog:tailwind + version: 1.4.0 + zustand: + specifier: ^5.0.9 + version: 5.0.9(@types/react@19.2.7)(react@19.2.1)(use-sync-external-store@1.6.0(react@19.2.1)) + devDependencies: + '@tauri-apps/cli': + specifier: ^2.9.6 + version: 2.9.6 + '@types/react': + specifier: ^19.2.7 + version: 19.2.7 + '@types/react-dom': + specifier: ^19.2.3 + version: 19.2.3(@types/react@19.2.7) + '@vitejs/plugin-react': + specifier: catalog:vite + version: 5.1.1(vite@7.2.6(@types/node@24.10.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1)) + typescript: + specifier: ^5.9.3 + version: 5.9.3 + vite: + specifier: catalog:vite + version: 7.2.6(@types/node@24.10.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1) + apps/web: dependencies: '@hookform/resolvers': @@ -243,8 +324,8 @@ importers: specifier: ^1.2.8 version: 1.2.8(@types/react-dom@19.2.3(@types/react@19.2.7))(@types/react@19.2.7)(react-dom@19.2.1(react@19.2.1))(react@19.2.1) '@tailwindcss/vite': - specifier: ^4.1.17 - version: 4.1.17(vite@7.2.6(@types/node@24.10.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1)) + specifier: catalog:vite + version: 4.1.18(vite@7.2.6(@types/node@24.10.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1)) '@tanstack/react-query': specifier: ^5.90.12 version: 5.90.12(react@19.2.1) @@ -264,7 +345,7 @@ importers: specifier: ^0.7.1 version: 0.7.1 clsx: - specifier: ^2.1.1 + specifier: catalog:tailwind version: 2.1.1 cmdk: specifier: ^1.1.1 @@ -291,13 +372,13 @@ importers: specifier: ^2.0.7 version: 2.0.7(react-dom@19.2.1(react@19.2.1))(react@19.2.1) tailwind-merge: - specifier: ^3.4.0 + specifier: catalog:tailwind version: 3.4.0 tailwindcss: - specifier: ^4.1.17 - version: 4.1.17 + specifier: catalog:tailwind + version: 4.1.18 tw-animate-css: - specifier: ^1.4.0 + specifier: catalog:tailwind version: 1.4.0 usehooks-ts: specifier: ^3.1.1 @@ -313,7 +394,7 @@ importers: specifier: ^19.2.3 version: 19.2.3(@types/react@19.2.7) '@vitejs/plugin-react': - specifier: ^5.1.1 + specifier: catalog:vite version: 5.1.1(vite@7.2.6(@types/node@24.10.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1)) rollup-plugin-visualizer: specifier: ^6.0.5 @@ -322,7 +403,7 @@ importers: specifier: ^5.9.3 version: 5.9.3 vite: - specifier: ^7.2.6 + specifier: catalog:vite version: 7.2.6(@types/node@24.10.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1) packages/core: @@ -1669,6 +1750,15 @@ packages: '@oxc-project/types@0.95.0': resolution: {integrity: sha512-vACy7vhpMPhjEJhULNxrdR0D943TkA/MigMpJCHmBHvMXxRStRi/dPtTlfQ3uDwWSzRpT8z+7ImjZVf8JWBocQ==} + '@pixi/colord@2.9.6': + resolution: {integrity: sha512-nezytU2pw587fQstUu1AsJZDVEynjskwOL+kibwcdxsMBFqPsFFNA7xl0ii/gXuDi6M0xj3mfRJj8pBSc2jCfA==} + + '@pixi/react@8.0.5': + resolution: {integrity: sha512-Z1VRdnv9Gh+lTLzNKjpS7GaTNDjUxRVJNtIdtK2i0sCpigvjx5mvJ72EPLhBFgepB6j3ZCkL0YBb6BqgTGbhGA==} + peerDependencies: + pixi.js: ^8.2.6 + react: ^19.2.1 + '@prisma/adapter-mariadb@6.19.0': resolution: {integrity: sha512-Rvp/DipkVgg79fvWxRJ/G0C7QactfyLub1PNeRyotiwDrC3UGMUEpsb0uTaRU6Ji9PmLapcy21Lr0X0QX2X+3w==} @@ -2721,65 +2811,65 @@ packages: '@swc/helpers@0.5.15': resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==} - '@tailwindcss/node@4.1.17': - resolution: {integrity: sha512-csIkHIgLb3JisEFQ0vxr2Y57GUNYh447C8xzwj89U/8fdW8LhProdxvnVH6U8M2Y73QKiTIH+LWbK3V2BBZsAg==} + '@tailwindcss/node@4.1.18': + resolution: {integrity: sha512-DoR7U1P7iYhw16qJ49fgXUlry1t4CpXeErJHnQ44JgTSKMaZUdf17cfn5mHchfJ4KRBZRFA/Coo+MUF5+gOaCQ==} - '@tailwindcss/oxide-android-arm64@4.1.17': - resolution: {integrity: sha512-BMqpkJHgOZ5z78qqiGE6ZIRExyaHyuxjgrJ6eBO5+hfrfGkuya0lYfw8fRHG77gdTjWkNWEEm+qeG2cDMxArLQ==} + '@tailwindcss/oxide-android-arm64@4.1.18': + resolution: {integrity: sha512-dJHz7+Ugr9U/diKJA0W6N/6/cjI+ZTAoxPf9Iz9BFRF2GzEX8IvXxFIi/dZBloVJX/MZGvRuFA9rqwdiIEZQ0Q==} engines: {node: '>= 10'} cpu: [arm64] os: [android] - '@tailwindcss/oxide-darwin-arm64@4.1.17': - resolution: {integrity: sha512-EquyumkQweUBNk1zGEU/wfZo2qkp/nQKRZM8bUYO0J+Lums5+wl2CcG1f9BgAjn/u9pJzdYddHWBiFXJTcxmOg==} + '@tailwindcss/oxide-darwin-arm64@4.1.18': + resolution: {integrity: sha512-Gc2q4Qhs660bhjyBSKgq6BYvwDz4G+BuyJ5H1xfhmDR3D8HnHCmT/BSkvSL0vQLy/nkMLY20PQ2OoYMO15Jd0A==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@tailwindcss/oxide-darwin-x64@4.1.17': - resolution: {integrity: sha512-gdhEPLzke2Pog8s12oADwYu0IAw04Y2tlmgVzIN0+046ytcgx8uZmCzEg4VcQh+AHKiS7xaL8kGo/QTiNEGRog==} + '@tailwindcss/oxide-darwin-x64@4.1.18': + resolution: {integrity: sha512-FL5oxr2xQsFrc3X9o1fjHKBYBMD1QZNyc1Xzw/h5Qu4XnEBi3dZn96HcHm41c/euGV+GRiXFfh2hUCyKi/e+yw==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@tailwindcss/oxide-freebsd-x64@4.1.17': - resolution: {integrity: sha512-hxGS81KskMxML9DXsaXT1H0DyA+ZBIbyG/sSAjWNe2EDl7TkPOBI42GBV3u38itzGUOmFfCzk1iAjDXds8Oh0g==} + '@tailwindcss/oxide-freebsd-x64@4.1.18': + resolution: {integrity: sha512-Fj+RHgu5bDodmV1dM9yAxlfJwkkWvLiRjbhuO2LEtwtlYlBgiAT4x/j5wQr1tC3SANAgD+0YcmWVrj8R9trVMA==} engines: {node: '>= 10'} cpu: [x64] os: [freebsd] - '@tailwindcss/oxide-linux-arm-gnueabihf@4.1.17': - resolution: {integrity: sha512-k7jWk5E3ldAdw0cNglhjSgv501u7yrMf8oeZ0cElhxU6Y2o7f8yqelOp3fhf7evjIS6ujTI3U8pKUXV2I4iXHQ==} + '@tailwindcss/oxide-linux-arm-gnueabihf@4.1.18': + resolution: {integrity: sha512-Fp+Wzk/Ws4dZn+LV2Nqx3IilnhH51YZoRaYHQsVq3RQvEl+71VGKFpkfHrLM/Li+kt5c0DJe/bHXK1eHgDmdiA==} engines: {node: '>= 10'} cpu: [arm] os: [linux] - '@tailwindcss/oxide-linux-arm64-gnu@4.1.17': - resolution: {integrity: sha512-HVDOm/mxK6+TbARwdW17WrgDYEGzmoYayrCgmLEw7FxTPLcp/glBisuyWkFz/jb7ZfiAXAXUACfyItn+nTgsdQ==} + '@tailwindcss/oxide-linux-arm64-gnu@4.1.18': + resolution: {integrity: sha512-S0n3jboLysNbh55Vrt7pk9wgpyTTPD0fdQeh7wQfMqLPM/Hrxi+dVsLsPrycQjGKEQk85Kgbx+6+QnYNiHalnw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@tailwindcss/oxide-linux-arm64-musl@4.1.17': - resolution: {integrity: sha512-HvZLfGr42i5anKtIeQzxdkw/wPqIbpeZqe7vd3V9vI3RQxe3xU1fLjss0TjyhxWcBaipk7NYwSrwTwK1hJARMg==} + '@tailwindcss/oxide-linux-arm64-musl@4.1.18': + resolution: {integrity: sha512-1px92582HkPQlaaCkdRcio71p8bc8i/ap5807tPRDK/uw953cauQBT8c5tVGkOwrHMfc2Yh6UuxaH4vtTjGvHg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@tailwindcss/oxide-linux-x64-gnu@4.1.17': - resolution: {integrity: sha512-M3XZuORCGB7VPOEDH+nzpJ21XPvK5PyjlkSFkFziNHGLc5d6g3di2McAAblmaSUNl8IOmzYwLx9NsE7bplNkwQ==} + '@tailwindcss/oxide-linux-x64-gnu@4.1.18': + resolution: {integrity: sha512-v3gyT0ivkfBLoZGF9LyHmts0Isc8jHZyVcbzio6Wpzifg/+5ZJpDiRiUhDLkcr7f/r38SWNe7ucxmGW3j3Kb/g==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@tailwindcss/oxide-linux-x64-musl@4.1.17': - resolution: {integrity: sha512-k7f+pf9eXLEey4pBlw+8dgfJHY4PZ5qOUFDyNf7SI6lHjQ9Zt7+NcscjpwdCEbYi6FI5c2KDTDWyf2iHcCSyyQ==} + '@tailwindcss/oxide-linux-x64-musl@4.1.18': + resolution: {integrity: sha512-bhJ2y2OQNlcRwwgOAGMY0xTFStt4/wyU6pvI6LSuZpRgKQwxTec0/3Scu91O8ir7qCR3AuepQKLU/kX99FouqQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@tailwindcss/oxide-wasm32-wasi@4.1.17': - resolution: {integrity: sha512-cEytGqSSoy7zK4JRWiTCx43FsKP/zGr0CsuMawhH67ONlH+T79VteQeJQRO/X7L0juEUA8ZyuYikcRBf0vsxhg==} + '@tailwindcss/oxide-wasm32-wasi@4.1.18': + resolution: {integrity: sha512-LffYTvPjODiP6PT16oNeUQJzNVyJl1cjIebq/rWWBF+3eDst5JGEFSc5cWxyRCJ0Mxl+KyIkqRxk1XPEs9x8TA==} engines: {node: '>=14.0.0'} cpu: [wasm32] bundledDependencies: @@ -2790,24 +2880,24 @@ packages: - '@emnapi/wasi-threads' - tslib - '@tailwindcss/oxide-win32-arm64-msvc@4.1.17': - resolution: {integrity: sha512-JU5AHr7gKbZlOGvMdb4722/0aYbU+tN6lv1kONx0JK2cGsh7g148zVWLM0IKR3NeKLv+L90chBVYcJ8uJWbC9A==} + '@tailwindcss/oxide-win32-arm64-msvc@4.1.18': + resolution: {integrity: sha512-HjSA7mr9HmC8fu6bdsZvZ+dhjyGCLdotjVOgLA2vEqxEBZaQo9YTX4kwgEvPCpRh8o4uWc4J/wEoFzhEmjvPbA==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@tailwindcss/oxide-win32-x64-msvc@4.1.17': - resolution: {integrity: sha512-SKWM4waLuqx0IH+FMDUw6R66Hu4OuTALFgnleKbqhgGU30DY20NORZMZUKgLRjQXNN2TLzKvh48QXTig4h4bGw==} + '@tailwindcss/oxide-win32-x64-msvc@4.1.18': + resolution: {integrity: sha512-bJWbyYpUlqamC8dpR7pfjA0I7vdF6t5VpUGMWRkXVE3AXgIZjYUYAK7II1GNaxR8J1SSrSrppRar8G++JekE3Q==} engines: {node: '>= 10'} cpu: [x64] os: [win32] - '@tailwindcss/oxide@4.1.17': - resolution: {integrity: sha512-F0F7d01fmkQhsTjXezGBLdrl1KresJTcI3DB8EkScCldyKp3Msz4hub4uyYaVnk88BAS1g5DQjjF6F5qczheLA==} + '@tailwindcss/oxide@4.1.18': + resolution: {integrity: sha512-EgCR5tTS5bUSKQgzeMClT6iCY3ToqE1y+ZB0AKldj809QXk1Y+3jB0upOYZrn9aGIzPtUsP7sX4QQ4XtjBB95A==} engines: {node: '>= 10'} - '@tailwindcss/vite@4.1.17': - resolution: {integrity: sha512-4+9w8ZHOiGnpcGI6z1TVVfWaX/koK7fKeSYF3qlYg2xpBtbteP2ddBxiarL+HVgfSJGeK5RIxRQmKm4rTJJAwA==} + '@tailwindcss/vite@4.1.18': + resolution: {integrity: sha512-jVA+/UpKL1vRLg6Hkao5jldawNmRo7mQYrZtNHMIVpLfLhDml5nMRUo/8MwoX2vNXvnaXNNMedrMfMugAVX1nA==} peerDependencies: vite: ^5.2.0 || ^6 || ^7 @@ -2908,6 +2998,83 @@ packages: resolution: {integrity: sha512-9PImF1d1tovTUIpjFVa0W7Fwj/MHif7BaaczgJJfbv3sDt1Gh+oW9W9uCw9M3ndEJynnp5ZD/TTs0RGubH5ssg==} engines: {node: '>=12'} + '@tauri-apps/api@2.9.1': + resolution: {integrity: sha512-IGlhP6EivjXHepbBic618GOmiWe4URJiIeZFlB7x3czM0yDHHYviH1Xvoiv4FefdkQtn6v7TuwWCRfOGdnVUGw==} + + '@tauri-apps/cli-darwin-arm64@2.9.6': + resolution: {integrity: sha512-gf5no6N9FCk1qMrti4lfwP77JHP5haASZgVbBgpZG7BUepB3fhiLCXGUK8LvuOjP36HivXewjg72LTnPDScnQQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + + '@tauri-apps/cli-darwin-x64@2.9.6': + resolution: {integrity: sha512-oWh74WmqbERwwrwcueJyY6HYhgCksUc6NT7WKeXyrlY/FPmNgdyQAgcLuTSkhRFuQ6zh4Np1HZpOqCTpeZBDcw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + + '@tauri-apps/cli-linux-arm-gnueabihf@2.9.6': + resolution: {integrity: sha512-/zde3bFroFsNXOHN204DC2qUxAcAanUjVXXSdEGmhwMUZeAQalNj5cz2Qli2elsRjKN/hVbZOJj0gQ5zaYUjSg==} + engines: {node: '>= 10'} + cpu: [arm] + os: [linux] + + '@tauri-apps/cli-linux-arm64-gnu@2.9.6': + resolution: {integrity: sha512-pvbljdhp9VOo4RnID5ywSxgBs7qiylTPlK56cTk7InR3kYSTJKYMqv/4Q/4rGo/mG8cVppesKIeBMH42fw6wjg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@tauri-apps/cli-linux-arm64-musl@2.9.6': + resolution: {integrity: sha512-02TKUndpodXBCR0oP//6dZWGYcc22Upf2eP27NvC6z0DIqvkBBFziQUcvi2n6SrwTRL0yGgQjkm9K5NIn8s6jw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@tauri-apps/cli-linux-riscv64-gnu@2.9.6': + resolution: {integrity: sha512-fmp1hnulbqzl1GkXl4aTX9fV+ubHw2LqlLH1PE3BxZ11EQk+l/TmiEongjnxF0ie4kV8DQfDNJ1KGiIdWe1GvQ==} + engines: {node: '>= 10'} + cpu: [riscv64] + os: [linux] + + '@tauri-apps/cli-linux-x64-gnu@2.9.6': + resolution: {integrity: sha512-vY0le8ad2KaV1PJr+jCd8fUF9VOjwwQP/uBuTJvhvKTloEwxYA/kAjKK9OpIslGA9m/zcnSo74czI6bBrm2sYA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@tauri-apps/cli-linux-x64-musl@2.9.6': + resolution: {integrity: sha512-TOEuB8YCFZTWVDzsO2yW0+zGcoMiPPwcUgdnW1ODnmgfwccpnihDRoks+ABT1e3fHb1ol8QQWsHSCovb3o2ENQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@tauri-apps/cli-win32-arm64-msvc@2.9.6': + resolution: {integrity: sha512-ujmDGMRc4qRLAnj8nNG26Rlz9klJ0I0jmZs2BPpmNNf0gM/rcVHhqbEkAaHPTBVIrtUdf7bGvQAD2pyIiUrBHQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + + '@tauri-apps/cli-win32-ia32-msvc@2.9.6': + resolution: {integrity: sha512-S4pT0yAJgFX8QRCyKA1iKjZ9Q/oPjCZf66A/VlG5Yw54Nnr88J1uBpmenINbXxzyhduWrIXBaUbEY1K80ZbpMg==} + engines: {node: '>= 10'} + cpu: [ia32] + os: [win32] + + '@tauri-apps/cli-win32-x64-msvc@2.9.6': + resolution: {integrity: sha512-ldWuWSSkWbKOPjQMJoYVj9wLHcOniv7diyI5UAJ4XsBdtaFB0pKHQsqw/ItUma0VXGC7vB4E9fZjivmxur60aw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + + '@tauri-apps/cli@2.9.6': + resolution: {integrity: sha512-3xDdXL5omQ3sPfBfdC8fCtDKcnyV7OqyzQgfyT5P3+zY6lcPqIYKQBvUasNvppi21RSdfhy44ttvJmftb0PCDw==} + engines: {node: '>= 10'} + hasBin: true + + '@tauri-apps/plugin-opener@2.5.2': + resolution: {integrity: sha512-ei/yRRoCklWHImwpCcDK3VhNXx+QXM9793aQ64YxpqVF0BDuuIlXhZgiAkc15wnPVav+IbkYhmDJIv5R326Mew==} + '@tybys/wasm-util@0.10.1': resolution: {integrity: sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==} @@ -2935,9 +3102,15 @@ packages: '@types/cross-spawn@6.0.2': resolution: {integrity: sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==} + '@types/css-font-loading-module@0.0.12': + resolution: {integrity: sha512-x2tZZYkSxXqWvTDgveSynfjq/T2HyiZHXb00j/+gy19yp70PHCizM48XFdjBCWH7eHBD0R5i/pw9yMBP/BH5uA==} + '@types/debug@4.1.8': resolution: {integrity: sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==} + '@types/earcut@3.0.0': + resolution: {integrity: sha512-k/9fOUGO39yd2sCjrbAJvGDEQvRwRnQIZlBz43roGwUZo5SHAmyVvSFyaVVZkicRVCaDXPKlbxrUcBuJoSWunQ==} + '@types/eslint-scope@3.7.7': resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} @@ -2985,6 +3158,11 @@ packages: peerDependencies: '@types/react': ^19.2.7 + '@types/react-reconciler@0.28.9': + resolution: {integrity: sha512-HHM3nxyUZ3zAylX8ZEyrDNd2XZOnQ0D5XfunJF5FLQnZbHHYq4UWvW1QfelQNXv1ICNkwYhfxjwfnqivYB6bFg==} + peerDependencies: + '@types/react': ^19.2.7 + '@types/react@19.2.7': resolution: {integrity: sha512-MWtvHrGZLFttgeEj28VXHxpmwYbor/ATPYbBfSFZEIRK0ecCFLl2Qo55z52Hss+UV9CRN7trSeq1zbgx7YDWWg==} @@ -3052,6 +3230,13 @@ packages: '@webassemblyjs/wast-printer@1.14.1': resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==} + '@webgpu/types@0.1.67': + resolution: {integrity: sha512-uk53+2ECGUkWoDFez/hymwpRfdgdIn6y1ref70fEecGMe5607f4sozNFgBk0oxlr7j2CRGWBEc3IBYMmFdGGTQ==} + + '@xmldom/xmldom@0.8.11': + resolution: {integrity: sha512-cQzWCtO6C8TQiYl1ruKNn2U6Ao4o4WBBcbL61yJl84x+j5sOWWFU9X7DpND8XZG3daDppSsigMdfAIl2upQBRw==} + engines: {node: '>=10.0.0'} + '@xtuc/ieee754@1.2.0': resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} @@ -3735,6 +3920,9 @@ packages: resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} engines: {node: '>= 0.4'} + earcut@3.0.2: + resolution: {integrity: sha512-X7hshQbLyMJ/3RPhyObLARM2sNxxmRALLKx1+NVFFnQ9gKzmCrxm9+uLIAdBcvc8FNLpctqlQ2V6AE92Ol9UDQ==} + eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} @@ -4074,6 +4262,9 @@ packages: get-tsconfig@4.13.0: resolution: {integrity: sha512-1VKTZJCwBrvbd+Wn3AOgQP/2Av+TfTCOlE4AcRJE72W1ksZXbAx8PPBR9RzgTeSPzlPMHrbANMH3LbltH73wxQ==} + gifuct-js@2.1.2: + resolution: {integrity: sha512-rI2asw77u0mGgwhV3qA+OEgYqaDn5UNqgs+Bx0FGwSpuqfYn+Ir6RQY5ENNQ8SbIiG/m5gVa7CD5RriO4f4Lsg==} + giget@2.0.0: resolution: {integrity: sha512-L5bGsVkxJbJgdnwyuheIunkGatUF/zssUoxxjACCseZYAVbaqdh9Tsmmlkl8vYan09H7sbvKt4pS8GqKLBrEzA==} hasBin: true @@ -4390,6 +4581,14 @@ packages: isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + ismobilejs@1.1.1: + resolution: {integrity: sha512-VaFW53yt8QO61k2WJui0dHf4SlL8lxBofUuUmwBo0ljPk0Drz2TiuDW4jo3wDcv41qy/SxrJ+VAzJ/qYqsmzRw==} + + its-fine@2.0.0: + resolution: {integrity: sha512-KLViCmWx94zOvpLwSlsx6yOCeMhZYaxrJV87Po5k/FoZzcPSahvK5qJ7fYhS61sZi5ikmh2S3Hz55A2l3U69ng==} + peerDependencies: + react: ^19.2.1 + jackspeak@4.1.1: resolution: {integrity: sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==} engines: {node: 20 || >=22} @@ -4410,6 +4609,9 @@ packages: resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==} hasBin: true + js-binary-schema-parser@2.0.3: + resolution: {integrity: sha512-xezGJmOb4lk/M1ZZLTR/jaBHQ4gG/lqQnJqdIv4721DMggsa1bDVlHXNeHYogaIEHD9vCRv0fcL4hMA+Coarkg==} + js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -4428,9 +4630,6 @@ packages: json-schema-traverse@1.0.0: resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} - json-schema-typed@8.0.1: - resolution: {integrity: sha512-XQmWYj2Sm4kn4WeTYvmpKEbyPsL7nBsb647c7pMe6l02/yx2+Jfc4dT6UZkEXnIUb5LhD55r2HPsJ1milQ4rDg==} - json-schema-typed@8.0.2: resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==} @@ -5039,6 +5238,9 @@ packages: resolution: {integrity: sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==} engines: {node: '>=0.10.0'} + parse-svg-path@0.1.2: + resolution: {integrity: sha512-JyPSBnkTJ0AI8GGJLfMXvKq42cj5c006fnLz6fXy6zfoVjJizi8BNTpu8on8ziI1cKy9d9DGNuY17Ce7wuejpQ==} + parseley@0.12.1: resolution: {integrity: sha512-e6qHKe3a9HWr0oMRVDTRhKce+bRO8VGQR3NyVwcjwrbhMmFCX9KszEV35+rn4AdilFAq9VPxP/Fe1wC9Qjd2lw==} @@ -5106,6 +5308,9 @@ packages: resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==} engines: {node: '>= 6'} + pixi.js@8.14.3: + resolution: {integrity: sha512-6xGYARV8D9E/fO1c2NmYn+k2dQ5oZldVm5tNlLQJ8obTlOQXdL5QpMc217qTpRyHVDFaw5eoFCLF1gr6p5ZcjQ==} + pkg-dir@4.2.0: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} @@ -5260,6 +5465,12 @@ packages: react: ^19.2.1 react-dom: ^19.2.1 + react-reconciler@0.31.0: + resolution: {integrity: sha512-7Ob7Z+URmesIsIVRjnLoDGwBEG/tVitidU0nMsqX/eeJaLY89RISO/10ERe0MqmzuKUUB1rmY+h1itMbUHg9BQ==} + engines: {node: '>=0.10.0'} + peerDependencies: + react: ^19.2.1 + react-refresh@0.18.0: resolution: {integrity: sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==} engines: {node: '>=0.10.0'} @@ -5482,6 +5693,9 @@ packages: safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} + scheduler@0.27.0: resolution: {integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==} @@ -5806,8 +6020,8 @@ packages: tailwindcss@4.1.12: resolution: {integrity: sha512-DzFtxOi+7NsFf7DBtI3BJsynR+0Yp6etH+nRPTbpWnS2pZBaSksv/JGctNwSWzbFjp0vxSqknaUylseZqMDGrA==} - tailwindcss@4.1.17: - resolution: {integrity: sha512-j9Ee2YjuQqYT9bbRTfTZht9W/ytp5H+jJpZKiYdP/bpnXARAuELt9ofP0lPnmHjbga7SNQIxdTAXCmtKVYjN+Q==} + tailwindcss@4.1.18: + resolution: {integrity: sha512-4+Z+0yiYyEtUVCScyfHCxOYP06L5Ne+JiHhY2IjR2KWMIWhJOYZKLSGZaP5HkZ8+bY0cxfzwDE5uOmzFXyIwxw==} tapable@2.3.0: resolution: {integrity: sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==} @@ -5883,6 +6097,10 @@ packages: tiny-invariant@1.3.3: resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==} + tiny-lru@11.4.5: + resolution: {integrity: sha512-hkcz3FjNJfKXjV4mjQ1OrXSLAehg8Hw+cEZclOVT+5c/cWQWImQ9wolzTjth+dmmDe++p3bme3fTxz6Q4Etsqw==} + engines: {node: '>=12'} + tiny-warning@1.0.3: resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==} @@ -6309,6 +6527,24 @@ packages: zod@4.1.13: resolution: {integrity: sha512-AvvthqfqrAhNH9dnfmrfKzX5upOdjUVJYFqNSlkmGf64gRaTzlPwz99IHYnVs28qYAybvAlBV+H7pn0saFY4Ig==} + zustand@5.0.9: + resolution: {integrity: sha512-ALBtUj0AfjJt3uNRQoL1tL2tMvj6Gp/6e39dnfT6uzpelGru8v1tPOGBzayOWbPJvujM8JojDk3E1LxeFisBNg==} + engines: {node: '>=12.20.0'} + peerDependencies: + '@types/react': ^19.2.7 + immer: '>=9.0.6' + react: ^19.2.1 + use-sync-external-store: '>=1.2.0' + peerDependenciesMeta: + '@types/react': + optional: true + immer: + optional: true + react: + optional: true + use-sync-external-store: + optional: true + snapshots: '@alloc/quick-lru@5.2.0': {} @@ -7932,6 +8168,17 @@ snapshots: '@oxc-project/types@0.95.0': {} + '@pixi/colord@2.9.6': {} + + '@pixi/react@8.0.5(@types/react@19.2.7)(pixi.js@8.14.3)(react@19.2.1)': + dependencies: + its-fine: 2.0.0(@types/react@19.2.7)(react@19.2.1) + pixi.js: 8.14.3 + react: 19.2.1 + react-reconciler: 0.31.0(react@19.2.1) + transitivePeerDependencies: + - '@types/react' + '@prisma/adapter-mariadb@6.19.0': dependencies: '@prisma/driver-adapter-utils': 6.19.0 @@ -9140,7 +9387,7 @@ snapshots: dependencies: tslib: 2.8.1 - '@tailwindcss/node@4.1.17': + '@tailwindcss/node@4.1.18': dependencies: '@jridgewell/remapping': 2.3.5 enhanced-resolve: 5.18.3 @@ -9148,64 +9395,64 @@ snapshots: lightningcss: 1.30.2 magic-string: 0.30.21 source-map-js: 1.2.1 - tailwindcss: 4.1.17 + tailwindcss: 4.1.18 - '@tailwindcss/oxide-android-arm64@4.1.17': + '@tailwindcss/oxide-android-arm64@4.1.18': optional: true - '@tailwindcss/oxide-darwin-arm64@4.1.17': + '@tailwindcss/oxide-darwin-arm64@4.1.18': optional: true - '@tailwindcss/oxide-darwin-x64@4.1.17': + '@tailwindcss/oxide-darwin-x64@4.1.18': optional: true - '@tailwindcss/oxide-freebsd-x64@4.1.17': + '@tailwindcss/oxide-freebsd-x64@4.1.18': optional: true - '@tailwindcss/oxide-linux-arm-gnueabihf@4.1.17': + '@tailwindcss/oxide-linux-arm-gnueabihf@4.1.18': optional: true - '@tailwindcss/oxide-linux-arm64-gnu@4.1.17': + '@tailwindcss/oxide-linux-arm64-gnu@4.1.18': optional: true - '@tailwindcss/oxide-linux-arm64-musl@4.1.17': + '@tailwindcss/oxide-linux-arm64-musl@4.1.18': optional: true - '@tailwindcss/oxide-linux-x64-gnu@4.1.17': + '@tailwindcss/oxide-linux-x64-gnu@4.1.18': optional: true - '@tailwindcss/oxide-linux-x64-musl@4.1.17': + '@tailwindcss/oxide-linux-x64-musl@4.1.18': optional: true - '@tailwindcss/oxide-wasm32-wasi@4.1.17': + '@tailwindcss/oxide-wasm32-wasi@4.1.18': optional: true - '@tailwindcss/oxide-win32-arm64-msvc@4.1.17': + '@tailwindcss/oxide-win32-arm64-msvc@4.1.18': optional: true - '@tailwindcss/oxide-win32-x64-msvc@4.1.17': + '@tailwindcss/oxide-win32-x64-msvc@4.1.18': optional: true - '@tailwindcss/oxide@4.1.17': + '@tailwindcss/oxide@4.1.18': optionalDependencies: - '@tailwindcss/oxide-android-arm64': 4.1.17 - '@tailwindcss/oxide-darwin-arm64': 4.1.17 - '@tailwindcss/oxide-darwin-x64': 4.1.17 - '@tailwindcss/oxide-freebsd-x64': 4.1.17 - '@tailwindcss/oxide-linux-arm-gnueabihf': 4.1.17 - '@tailwindcss/oxide-linux-arm64-gnu': 4.1.17 - '@tailwindcss/oxide-linux-arm64-musl': 4.1.17 - '@tailwindcss/oxide-linux-x64-gnu': 4.1.17 - '@tailwindcss/oxide-linux-x64-musl': 4.1.17 - '@tailwindcss/oxide-wasm32-wasi': 4.1.17 - '@tailwindcss/oxide-win32-arm64-msvc': 4.1.17 - '@tailwindcss/oxide-win32-x64-msvc': 4.1.17 - - '@tailwindcss/vite@4.1.17(vite@7.2.6(@types/node@24.10.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1))': - dependencies: - '@tailwindcss/node': 4.1.17 - '@tailwindcss/oxide': 4.1.17 - tailwindcss: 4.1.17 + '@tailwindcss/oxide-android-arm64': 4.1.18 + '@tailwindcss/oxide-darwin-arm64': 4.1.18 + '@tailwindcss/oxide-darwin-x64': 4.1.18 + '@tailwindcss/oxide-freebsd-x64': 4.1.18 + '@tailwindcss/oxide-linux-arm-gnueabihf': 4.1.18 + '@tailwindcss/oxide-linux-arm64-gnu': 4.1.18 + '@tailwindcss/oxide-linux-arm64-musl': 4.1.18 + '@tailwindcss/oxide-linux-x64-gnu': 4.1.18 + '@tailwindcss/oxide-linux-x64-musl': 4.1.18 + '@tailwindcss/oxide-wasm32-wasi': 4.1.18 + '@tailwindcss/oxide-win32-arm64-msvc': 4.1.18 + '@tailwindcss/oxide-win32-x64-msvc': 4.1.18 + + '@tailwindcss/vite@4.1.18(vite@7.2.6(@types/node@24.10.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1))': + dependencies: + '@tailwindcss/node': 4.1.18 + '@tailwindcss/oxide': 4.1.18 + tailwindcss: 4.1.18 vite: 7.2.6(@types/node@24.10.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1) '@tanstack/history@1.139.0': {} @@ -9332,7 +9579,7 @@ snapshots: optionalDependencies: '@tanstack/react-router': 1.139.14(react-dom@19.2.1(react@19.2.1))(react@19.2.1) vite: 7.2.6(@types/node@24.10.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1) - webpack: 5.102.1(esbuild@0.25.10) + webpack: 5.102.1 transitivePeerDependencies: - supports-color @@ -9353,6 +9600,59 @@ snapshots: '@tanstack/virtual-file-routes@1.139.0': {} + '@tauri-apps/api@2.9.1': {} + + '@tauri-apps/cli-darwin-arm64@2.9.6': + optional: true + + '@tauri-apps/cli-darwin-x64@2.9.6': + optional: true + + '@tauri-apps/cli-linux-arm-gnueabihf@2.9.6': + optional: true + + '@tauri-apps/cli-linux-arm64-gnu@2.9.6': + optional: true + + '@tauri-apps/cli-linux-arm64-musl@2.9.6': + optional: true + + '@tauri-apps/cli-linux-riscv64-gnu@2.9.6': + optional: true + + '@tauri-apps/cli-linux-x64-gnu@2.9.6': + optional: true + + '@tauri-apps/cli-linux-x64-musl@2.9.6': + optional: true + + '@tauri-apps/cli-win32-arm64-msvc@2.9.6': + optional: true + + '@tauri-apps/cli-win32-ia32-msvc@2.9.6': + optional: true + + '@tauri-apps/cli-win32-x64-msvc@2.9.6': + optional: true + + '@tauri-apps/cli@2.9.6': + optionalDependencies: + '@tauri-apps/cli-darwin-arm64': 2.9.6 + '@tauri-apps/cli-darwin-x64': 2.9.6 + '@tauri-apps/cli-linux-arm-gnueabihf': 2.9.6 + '@tauri-apps/cli-linux-arm64-gnu': 2.9.6 + '@tauri-apps/cli-linux-arm64-musl': 2.9.6 + '@tauri-apps/cli-linux-riscv64-gnu': 2.9.6 + '@tauri-apps/cli-linux-x64-gnu': 2.9.6 + '@tauri-apps/cli-linux-x64-musl': 2.9.6 + '@tauri-apps/cli-win32-arm64-msvc': 2.9.6 + '@tauri-apps/cli-win32-ia32-msvc': 2.9.6 + '@tauri-apps/cli-win32-x64-msvc': 2.9.6 + + '@tauri-apps/plugin-opener@2.5.2': + dependencies: + '@tauri-apps/api': 2.9.1 + '@tybys/wasm-util@0.10.1': dependencies: tslib: 2.8.1 @@ -9395,10 +9695,14 @@ snapshots: dependencies: '@types/node': 24.10.0 + '@types/css-font-loading-module@0.0.12': {} + '@types/debug@4.1.8': dependencies: '@types/ms': 2.1.0 + '@types/earcut@3.0.0': {} + '@types/eslint-scope@3.7.7': dependencies: '@types/eslint': 9.6.1 @@ -9449,6 +9753,10 @@ snapshots: dependencies: '@types/react': 19.2.7 + '@types/react-reconciler@0.28.9(@types/react@19.2.7)': + dependencies: + '@types/react': 19.2.7 + '@types/react@19.2.7': dependencies: csstype: 3.2.3 @@ -9560,6 +9868,10 @@ snapshots: '@webassemblyjs/ast': 1.14.1 '@xtuc/long': 4.2.2 + '@webgpu/types@0.1.67': {} + + '@xmldom/xmldom@0.8.11': {} + '@xtuc/ieee754@1.2.0': {} '@xtuc/long@4.2.2': {} @@ -10027,7 +10339,7 @@ snapshots: debounce-fn: 6.0.0 dot-prop: 10.1.0 env-paths: 3.0.0 - json-schema-typed: 8.0.1 + json-schema-typed: 8.0.2 semver: 7.7.3 uint8array-extras: 1.5.0 @@ -10262,6 +10574,8 @@ snapshots: es-errors: 1.3.0 gopd: 1.2.0 + earcut@3.0.2: {} + eastasianwidth@0.2.0: {} ecdsa-sig-formatter@1.0.11: @@ -10651,6 +10965,10 @@ snapshots: dependencies: resolve-pkg-maps: 1.0.0 + gifuct-js@2.1.2: + dependencies: + js-binary-schema-parser: 2.0.3 + giget@2.0.0: dependencies: citty: 0.1.6 @@ -10965,6 +11283,15 @@ snapshots: isexe@2.0.0: {} + ismobilejs@1.1.1: {} + + its-fine@2.0.0(@types/react@19.2.7)(react@19.2.1): + dependencies: + '@types/react-reconciler': 0.28.9(@types/react@19.2.7) + react: 19.2.1 + transitivePeerDependencies: + - '@types/react' + jackspeak@4.1.1: dependencies: '@isaacs/cliui': 8.0.2 @@ -10981,6 +11308,8 @@ snapshots: jiti@2.6.1: {} + js-binary-schema-parser@2.0.3: {} + js-tokens@4.0.0: {} js-yaml@4.1.1: @@ -10993,8 +11322,6 @@ snapshots: json-schema-traverse@1.0.0: {} - json-schema-typed@8.0.1: {} - json-schema-typed@8.0.2: {} json5@2.2.3: {} @@ -11558,6 +11885,8 @@ snapshots: parse-passwd@1.0.0: {} + parse-svg-path@0.1.2: {} + parseley@0.12.1: dependencies: leac: 0.6.0 @@ -11600,6 +11929,20 @@ snapshots: pirates@4.0.7: {} + pixi.js@8.14.3: + dependencies: + '@pixi/colord': 2.9.6 + '@types/css-font-loading-module': 0.0.12 + '@types/earcut': 3.0.0 + '@webgpu/types': 0.1.67 + '@xmldom/xmldom': 0.8.11 + earcut: 3.0.2 + eventemitter3: 5.0.1 + gifuct-js: 2.1.2 + ismobilejs: 1.1.1 + parse-svg-path: 0.1.2 + tiny-lru: 11.4.5 + pkg-dir@4.2.0: dependencies: find-up: 4.1.0 @@ -11757,6 +12100,11 @@ snapshots: react: 19.2.1 react-dom: 19.2.1(react@19.2.1) + react-reconciler@0.31.0(react@19.2.1): + dependencies: + react: 19.2.1 + scheduler: 0.25.0 + react-refresh@0.18.0: {} react-remove-scroll-bar@2.3.8(@types/react@19.2.7)(react@19.2.1): @@ -12004,6 +12352,8 @@ snapshots: safer-buffer@2.1.2: {} + scheduler@0.25.0: {} + scheduler@0.27.0: {} schema-utils@4.3.3: @@ -12368,7 +12718,7 @@ snapshots: tailwindcss@4.1.12: {} - tailwindcss@4.1.17: {} + tailwindcss@4.1.18: {} tapable@2.3.0: {} @@ -12418,6 +12768,16 @@ snapshots: optionalDependencies: esbuild: 0.25.10 + terser-webpack-plugin@5.3.14(webpack@5.102.1): + dependencies: + '@jridgewell/trace-mapping': 0.3.31 + jest-worker: 27.5.1 + schema-utils: 4.3.3 + serialize-javascript: 6.0.2 + terser: 5.44.1 + webpack: 5.102.1 + optional: true + terser@5.44.1: dependencies: '@jridgewell/source-map': 0.3.11 @@ -12441,6 +12801,8 @@ snapshots: tiny-invariant@1.3.3: {} + tiny-lru@11.4.5: {} + tiny-warning@1.0.3: {} tinyexec@0.3.2: {} @@ -12685,6 +13047,39 @@ snapshots: webpack-virtual-modules@0.6.2: {} + webpack@5.102.1: + dependencies: + '@types/eslint-scope': 3.7.7 + '@types/estree': 1.0.8 + '@types/json-schema': 7.0.15 + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/wasm-edit': 1.14.1 + '@webassemblyjs/wasm-parser': 1.14.1 + acorn: 8.15.0 + acorn-import-phases: 1.0.4(acorn@8.15.0) + browserslist: 4.28.0 + chrome-trace-event: 1.0.4 + enhanced-resolve: 5.18.3 + es-module-lexer: 1.7.0 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + json-parse-even-better-errors: 2.3.1 + loader-runner: 4.3.1 + mime-types: 2.1.35 + neo-async: 2.6.2 + schema-utils: 4.3.3 + tapable: 2.3.0 + terser-webpack-plugin: 5.3.14(webpack@5.102.1) + watchpack: 2.4.4 + webpack-sources: 3.3.3 + transitivePeerDependencies: + - '@swc/core' + - esbuild + - uglify-js + optional: true + webpack@5.102.1(esbuild@0.25.10): dependencies: '@types/eslint-scope': 3.7.7 @@ -12795,3 +13190,9 @@ snapshots: zod@4.1.12: {} zod@4.1.13: {} + + zustand@5.0.9(@types/react@19.2.7)(react@19.2.1)(use-sync-external-store@1.6.0(react@19.2.1)): + optionalDependencies: + '@types/react': 19.2.7 + react: 19.2.1 + use-sync-external-store: 1.6.0(react@19.2.1) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 8cb2755..b1fafe0 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -8,6 +8,10 @@ catalog: zod: ^4.1.13 catalogs: + vite: + vite: ^7.2.6 + "@vitejs/plugin-react": ^5.1.1 + "@tailwindcss/vite": ^4.1.18 orpc: "@orpc/client": ^1.12.2 "@orpc/experimental-publisher": ^1.12.2 @@ -23,6 +27,11 @@ catalogs: react-dom: ^19.2.1 ts: typescript: ^5.9.3 + tailwind: + tailwindcss: ^4.1.18 + tailwind-merge: ^3.4.0 + tw-animate-css: ^1.4.0 + clsx: ^2.1.1 overrides: "@types/react": catalog:react diff --git a/turbo.json b/turbo.json index 1819f21..14f48aa 100644 --- a/turbo.json +++ b/turbo.json @@ -5,7 +5,7 @@ "build": { "dependsOn": ["^build"], "inputs": ["$TURBO_DEFAULT$", ".env*"], - "outputs": ["dist/**", "out/**"] + "outputs": ["dist/**", "out/**", "src-tauri/target/**"] }, "lint": { "dependsOn": ["^lint"]