commit 0cd2a516bb88c0987739e475d98d50b12b429a02 Author: mysticmomba Date: Wed Sep 23 09:16:09 2026 -0400 Initial Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# 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? diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..24d7cc6 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"] +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..441faf7 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Tauri + Vanilla + +This template should help get you started developing with Tauri in vanilla HTML, CSS and Javascript. + +## 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/package.json b/package.json new file mode 100644 index 0000000..c54725a --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "argus", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "tauri": "tauri" + }, + "devDependencies": { + "@tauri-apps/cli": "^2" + } +} diff --git a/src-tauri/.gitignore b/src-tauri/.gitignore new file mode 100644 index 0000000..b21bd68 --- /dev/null +++ b/src-tauri/.gitignore @@ -0,0 +1,7 @@ +# Generated by Cargo +# will have compiled files and executables +/target/ + +# Generated by Tauri +# will have schema files for capabilities auto-completion +/gen/schemas diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock new file mode 100644 index 0000000..f5102bb --- /dev/null +++ b/src-tauri/Cargo.lock @@ -0,0 +1,5871 @@ +# 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.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e76a019e91224d279006ff972f1e984179a6e9feb050adba6ce8274aef23195" +dependencies = [ + "alloc-no-stdlib", +] + +[[package]] +name = "android_system_properties" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" +dependencies = [ + "libc", +] + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "argus" +version = "0.1.0" +dependencies = [ + "csv", + "dns-lookup", + "ipnetwork", + "libc", + "open", + "ping-async", + "reqwest 0.12.28", + "serde", + "serde_json", + "tauri", + "tauri-build", + "tauri-plugin-dialog", + "tauri-plugin-opener", + "tokio", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "async-broadcast" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532" +dependencies = [ + "event-listener", + "event-listener-strategy", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-channel" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" +dependencies = [ + "concurrent-queue", + "event-listener-strategy", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-executor" +version = "1.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c96bf972d85afc50bf5ab8fe2d54d1586b4e0b46c97c50a0c9e71e2f7bcd812a" +dependencies = [ + "async-task", + "concurrent-queue", + "fastrand", + "futures-lite", + "pin-project-lite", + "slab", +] + +[[package]] +name = "async-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.119", +] + +[[package]] +name = "async-signal" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52b5aaafa020cf5053a01f2a60e8ff5dccf550f0f77ec54a4e47285ac2bab485" +dependencies = [ + "async-io", + "async-lock", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix", + "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.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[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 = "base64" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" + +[[package]] +name = "bit-set" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" +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.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a70e4329df6cb94385eed412ec92375c3cdd8a6e502493d1229b6414e4036dfa" +dependencies = [ + "async-channel", + "async-task", + "futures-io", + "futures-lite", + "piper", +] + +[[package]] +name = "brotli" +version = "8.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5cc91aac060a7a1e25823bdccbfb6af1875b88f17c6daac97894eed8207166b3" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", + "brotli-decompressor", +] + +[[package]] +name = "brotli-decompressor" +version = "5.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a32acac15fe1967bc3986b2a6347dffc965602354ea6f450ad07e8bfd253583" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", +] + +[[package]] +name = "bs58" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "bytemuck" +version = "1.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" +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.13.2", + "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.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbbad30e4b4c14a39e3cc8aed085a12a327257c316619c93581e017bc52be591" +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.20", +] + +[[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.12+spec-1.1.0", +] + +[[package]] +name = "cc" +version = "1.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54413ede23c2daf518f35156dfde027feb2374004d63bd497f983c8db9c0e313" +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.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "chrono" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +dependencies = [ + "iana-time-zone", + "num-traits", + "serde", + "windows-link 0.2.1", +] + +[[package]] +name = "combine" +version = "4.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e" +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 = "cookie" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a373e3602691c3cdea496d2f0ee5935151e6168fe87739483c463db1b2f2f87" +dependencies = [ + "time", + "version_check", +] + +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "core-graphics" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "064badf302c3194842cf2c5d61f56cc88e54a759313879cdf03abdd27d0c3b97" +dependencies = [ + "bitflags 2.13.2", + "core-foundation 0.10.1", + "core-graphics-types", + "foreign-types 0.5.0", + "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.13.2", + "core-foundation 0.10.1", + "libc", +] + +[[package]] +name = "core_detect" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48" + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-channel" +version = "0.5.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98b0cc327b5bc766e7fda9c9260cc0fa81b43a8e240440422dff70788e3f9ef1" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" + +[[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.36.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dae61cf9c0abb83bd659dab65b7e4e38d8236824c85f0f804f173567bda257d2" +dependencies = [ + "cssparser-macros", + "dtoa-short", + "itoa", + "phf", + "smallvec", +] + +[[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.119", +] + +[[package]] +name = "csv" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52cd9d68cf7efc6ddfaaee42e7288d3a99d613d4b50f76ce9827ae0c6e14f938" +dependencies = [ + "csv-core", + "itoa", + "ryu", + "serde_core", +] + +[[package]] +name = "csv-core" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "704a3c26996a80471189265814dbc2c257598b96b8a7feae2d31ace646bb9782" +dependencies = [ + "memchr", +] + +[[package]] +name = "ctor" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "352d39c2f7bef1d6ad73db6f5160efcaed66d94ef8c6c573a8410c00bf909a98" +dependencies = [ + "ctor-proc-macro", + "dtor", +] + +[[package]] +name = "ctor-proc-macro" +version = "0.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52560adf09603e58c9a7ee1fe1dcb95a16927b17c127f0ac02d6e768a0e25bc1" + +[[package]] +name = "darling" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed17f5901b6630b993ca003def43f2f8ef4014fc13b047b57aad617ff32bc2ec" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6837e2cf7485aaae18f86181d2f0e9a7ed297a025e220aeabf63fdebd3a2ddff" +dependencies = [ + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 3.0.6", +] + +[[package]] +name = "darling_macro" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785" +dependencies = [ + "darling_core", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "dbus" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ab69f03cc8c4340c9c8e315114e1658e6775a9b16a04357973aa21cec22b32e" +dependencies = [ + "libc", + "libdbus-sys", + "windows-sys 0.61.2", +] + +[[package]] +name = "defmt" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2953bfe4f93bbd20cc71198842756f77d161884c99ebbabc41d80231ded88d1" +dependencies = [ + "bitflags 1.3.2", + "defmt-macros", +] + +[[package]] +name = "defmt-macros" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bad9c72e7ca2137e0dc3813245a0d282fd6daad32fd800af018306a9169b5fe8" +dependencies = [ + "defmt-parser", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "defmt-parser" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e" +dependencies = [ + "thiserror 2.0.20", +] + +[[package]] +name = "deranged" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" +dependencies = [ + "serde_core", +] + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.119", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", +] + +[[package]] +name = "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 = "dispatch2" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" +dependencies = [ + "bitflags 2.13.2", + "block2", + "libc", + "objc2", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[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.119", +] + +[[package]] +name = "dns-lookup" +version = "4.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6120e7e5dcd1c90098e349def389e2797377cdbe6b465ad8fdd115c0c99d5cf2" +dependencies = [ + "cfg-if", + "libc", + "socket2", + "windows-sys 0.61.2", +] + +[[package]] +name = "dom_query" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521e380c0c8afb8d9a1e83a1822ee03556fc3e3e7dbc1fd30be14e37f9cb3f89" +dependencies = [ + "bit-set", + "cssparser", + "foldhash", + "html5ever", + "precomputed-hash", + "selectors", + "tendril", +] + +[[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 = "dtor" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1057d6c64987086ff8ed0fd3fbf377a6b7d205cc7715868cd401705f715cbe4" +dependencies = [ + "dtor-proc-macro", +] + +[[package]] +name = "dtor-proc-macro" +version = "0.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f678cf4a922c215c63e0de95eb1ff08a958a81d47e485cf9da1e27bf6305cfa5" + +[[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.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbfdaacccebec3b28e4866b8973543c7647797db5ada1bdab552e48fe665fbbd" +dependencies = [ + "cc", + "memchr", + "rustc_version", + "toml 1.1.6+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 = "encoding_rs" +version = "0.8.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5ef0006ac9ab233c38522f5ae99cae3625151de8f706cacee1cba4b8e2832a" +dependencies = [ + "cfg-if", + "core_detect", + "multiversion", + "multiversion_no_op", + "rustversion", + "scopeguard", + "simdutf8", +] + +[[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.119", +] + +[[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.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2add8a07dd6a8d93ff627029c51de145e12686fbc36ecb298ac22e74cf02dec" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a23add41df1562121a9393cb065eab5146a1242410f23a644851e90cfd669d2" +dependencies = [ + "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.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[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.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25905e51abafe4dcea6c15fec58c57b601cdbd0ee53d22ea1d3016c587d39b" + +[[package]] +name = "flate2" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb" +dependencies = [ + "crc32fast", + "miniz_oxide 0.9.1", + "zlib-rs", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "foreign-types" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" +dependencies = [ + "foreign-types-shared 0.1.1", +] + +[[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 0.3.1", +] + +[[package]] +name = "foreign-types-macros" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea5190182e6915eb873ddbc16e23b711b6eb1f9c00a0d0a3a91b5f6228475225" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "foreign-types-shared" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" + +[[package]] +name = "foreign-types-shared" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-executor" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[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.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[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.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi 5.3.0", + "wasip2", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi 6.0.0", +] + +[[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.13.2", + "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.119", +] + +[[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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" + +[[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.119", +] + +[[package]] +name = "h2" +version = "0.4.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef8e5e5a340588f4452631496976cf8636d4a7ecf600239fdc27615d2530bc16" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap 2.14.2", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" + +[[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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "html5ever" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1054432bae2f14e0061e33d23402fbaa67a921d319d56adc6bcf887ddad1cbc2" +dependencies = [ + "log", + "markup5ever", +] + +[[package]] +name = "http" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c" +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.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27b501faa50e7a26c3d3560ca625132f4078a17771f4810baf70475ae48cbe43" +dependencies = [ + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "h2", + "http", + "http-body", + "httparse", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.27.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53" +dependencies = [ + "http", + "hyper", + "hyper-util", + "rustls", + "tokio", + "tokio-rustls", + "tower-service", +] + +[[package]] +name = "hyper-tls" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" +dependencies = [ + "bytes", + "http-body-util", + "hyper", + "hyper-util", + "native-tls", + "tokio", + "tokio-native-tls", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-channel", + "futures-util", + "http", + "http-body", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2", + "system-configuration", + "tokio", + "tower-service", + "tracing", + "windows-registry", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" +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.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e795dff5605e0f04bff85ca41b51a96b83e80b281e96231bcaaf1ac35103371" +dependencies = [ + "byteorder", + "png 0.17.16", +] + +[[package]] +name = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" + +[[package]] +name = "icu_properties" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +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.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown 0.17.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.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0" + +[[package]] +name = "ipnetwork" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf466541e9d546596ee94f9f69590f89473455f88372423e0008fc1a7daf100e" +dependencies = [ + "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.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[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 = "jiff" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ab1baf72f08796de0260609515130699b890ac25f30e610ad894bc5856cafdb" +dependencies = [ + "defmt", + "jiff-core", + "jiff-static", + "jiff-tzdb-platform", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", + "windows-link 0.2.1", +] + +[[package]] +name = "jiff-core" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e52fe76043ccecc9005d2305ebaadf7d7fc0cc89ca6baa10a94d6bc68c7128c" +dependencies = [ + "defmt", + "log", +] + +[[package]] +name = "jiff-static" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "378268a1116ad67ae6228701118ac9f491d78fda38a40a1f1a9e1348de6f7212" +dependencies = [ + "jiff-core", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "jiff-tzdb" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "142bd39932ad231f10513df9ab62661fead8719872150b7ad02a2df79f4e141e" + +[[package]] +name = "jiff-tzdb-platform" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8" +dependencies = [ + "jiff-tzdb", +] + +[[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 0.3.1", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.119", +] + +[[package]] +name = "js-sys" +version = "0.3.105" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce57d20d1ea864ce2ac172ab472d409214f4fd359f0b2a2775abdf522e2af99e" +dependencies = [ + "cfg-if", + "futures-util", + "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.13.2", + "serde", + "unicode-segmentation", +] + +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" + +[[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.189" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" + +[[package]] +name = "libdbus-sys" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "328c4789d42200f1eeec05bd86c9c13c7f091d2ba9a6ea35acdf51f31bc0f043" +dependencies = [ + "pkg-config", +] + +[[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 = "libredox" +version = "0.1.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61ff90caf6077a803a240f62fdbe88645a890bbca49ef8174c3cb0404362171d" +dependencies = [ + "libc", +] + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[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.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "markup5ever" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8983d30f2915feeaaab2d6babdd6bc7e9ed1a00b66b5e6d74df19aa9c0e91862" +dependencies = [ + "log", + "tendril", + "web_atoms", +] + +[[package]] +name = "matchers" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[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 = "miniz_oxide" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c" +dependencies = [ + "adler2", + "simd-adler32", +] + +[[package]] +name = "mio" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b18443e9c262bfe8fa82f51666e2642c53393f7e5c27b3e1aeab922cff5b9d8" +dependencies = [ + "libc", + "wasi", + "windows-sys 0.61.2", +] + +[[package]] +name = "muda" +version = "0.19.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dd04e60bc0b07438a6771710ee1698f98f6ebbc7f89b61264af1563b8aeb878" +dependencies = [ + "crossbeam-channel", + "dpi", + "gtk", + "keyboard-types", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "once_cell", + "png 0.18.1", + "serde", + "thiserror 2.0.20", + "windows-sys 0.61.2", +] + +[[package]] +name = "multiversion" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4ca4bea16ffc3f443cf7d866912118196bfef4c6a1556ca00f9f9b00bb43f7c" +dependencies = [ + "multiversion-macros", +] + +[[package]] +name = "multiversion-macros" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d416831a7317ef4b08bee00b69cbbb9c8763da7959a7026244d6266869f9c83" +dependencies = [ + "proc-macro2", + "quote", + "rustversion", + "syn 3.0.6", +] + +[[package]] +name = "multiversion_no_op" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "743fb55ba31b18fb1ecef6bdc9aa2743314978ac084044301a7eee33fb99a20d" + +[[package]] +name = "native-tls" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "465500e14ea162429d264d44189adc38b199b62b1c21eea9f69e4b73cb03bbf2" +dependencies = [ + "libc", + "log", + "openssl", + "openssl-probe", + "openssl-sys", + "schannel", + "security-framework", + "security-framework-sys", + "tempfile", +] + +[[package]] +name = "ndk" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" +dependencies = [ + "bitflags 2.13.2", + "jni-sys 0.3.1", + "log", + "ndk-sys", + "num_enum", + "raw-window-handle", + "thiserror 1.0.69", +] + +[[package]] +name = "ndk-sys" +version = "0.6.0+11769913" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873" +dependencies = [ + "jni-sys 0.3.1", +] + +[[package]] +name = "new_debug_unreachable" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" + +[[package]] +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "num-conv" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_enum" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" +dependencies = [ + "proc-macro-crate 3.5.0", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "objc2" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a12a8ed07aefc768292f076dc3ac8c48f3781c8f2d5851dd3d98950e8c5a89f" +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.13.2", + "block2", + "objc2", + "objc2-core-foundation", + "objc2-foundation", +] + +[[package]] +name = "objc2-cloud-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c" +dependencies = [ + "bitflags 2.13.2", + "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 = [ + "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.13.2", + "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.13.2", + "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-location" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca347214e24bc973fc025fd0d36ebb179ff30536ed1f80252706db19ee452009" +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.13.2", + "objc2", + "objc2-core-foundation", + "objc2-core-graphics", +] + +[[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.13.2", + "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.13.2", + "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.13.2", + "objc2", + "objc2-core-foundation", + "objc2-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.13.2", + "block2", + "objc2", + "objc2-cloud-kit", + "objc2-core-data", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-image", + "objc2-core-location", + "objc2-core-text", + "objc2-foundation", + "objc2-quartz-core", + "objc2-user-notifications", +] + +[[package]] +name = "objc2-user-notifications" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9df9128cbbfef73cda168416ccf7f837b62737d748333bfe9ab71c245d76613e" +dependencies = [ + "objc2", + "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.13.2", + "block2", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "open" +version = "5.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa576c76302b7b808eecc68061e67336c47833ef9d22caa74dda10fa9675eebc" +dependencies = [ + "dunce", + "is-wsl", + "libc", +] + +[[package]] +name = "openssl" +version = "0.10.81" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77823a27f0babb03091cb9ed9ef80af3b39dbc82f97e8fa530374b7dafd87a45" +dependencies = [ + "bitflags 2.13.2", + "cfg-if", + "foreign-types 0.3.2", + "libc", + "openssl-macros", + "openssl-sys", +] + +[[package]] +name = "openssl-macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "openssl-probe" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" + +[[package]] +name = "openssl-sys" +version = "0.9.117" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b47e7e6bb2c38cd930d25a23b40fa52e068c10e85f3e03a7f5ba5aaca5713695" +dependencies = [ + "cc", + "libc", + "pkg-config", + "vcpkg", +] + +[[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 = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "phf" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf" +dependencies = [ + "phf_macros", + "phf_shared", + "serde", +] + +[[package]] +name = "phf_codegen" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49aa7f9d80421bca176ca8dbfebe668cc7a2684708594ec9f3c0db0805d5d6e1" +dependencies = [ + "phf_generator", + "phf_shared", +] + +[[package]] +name = "phf_generator" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "135ace3a761e564ec88c03a77317a7c6b80bb7f7135ef2544dbe054243b89737" +dependencies = [ + "fastrand", + "phf_shared", +] + +[[package]] +name = "phf_macros" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "812f032b54b1e759ccd5f8b6677695d5268c588701effba24601f6932f8269ef" +dependencies = [ + "phf_generator", + "phf_shared", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "phf_shared" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266" +dependencies = [ + "siphasher", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "ping-async" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824acfdc2bb9cc441daa997c034bc2596db93adb5b754b386f9a658c799e7b20" +dependencies = [ + "futures", + "rand", + "socket2", + "static_assertions", + "tokio", + "windows 0.62.2", +] + +[[package]] +name = "piper" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c835479a4443ded371d6c535cbfd8d31ad92c5d23ae9770a61bc155e4992a3c1" +dependencies = [ + "atomic-waker", + "fastrand", + "futures-io", +] + +[[package]] +name = "pkg-config" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" + +[[package]] +name = "plist" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2896bade328c13f7042a297ea5ac5b0951f6cf989dea5f32c2fd98da398195cb" +dependencies = [ + "base64 0.23.1", + "indexmap 2.14.2", + "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 0.8.9", +] + +[[package]] +name = "png" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61" +dependencies = [ + "bitflags 2.13.2", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide 0.8.9", +] + +[[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 = "portable-atomic" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" + +[[package]] +name = "portable-atomic-util" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +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.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit 0.25.15+spec-1.1.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-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quick-xml" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" +dependencies = [ + "rand_chacha", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" +dependencies = [ + "getrandom 0.3.4", +] + +[[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.13.2", +] + +[[package]] +name = "redox_users" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60dc65c0ff1a7ae1294b0c67b9f14baf70b644404010370171787bfac1038fc0" +dependencies = [ + "libredox", + "thiserror 2.0.20", +] + +[[package]] +name = "ref-cast" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e440fb4e4b4147295338efb76001ab9e4efc0e5839df2c47fc5ac2381d365c3" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "regex" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[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", + "encoding_rs", + "futures-core", + "h2", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-tls", + "hyper-util", + "js-sys", + "log", + "mime", + "native-tls", + "percent-encoding", + "pin-project-lite", + "rustls-pki-types", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tokio-native-tls", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "reqwest" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029" +dependencies = [ + "base64 0.23.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", + "sync_wrapper", + "tokio", + "tokio-util", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", +] + +[[package]] +name = "rfd" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a15ad77d9e70a92437d8f74c35d99b4e4691128df018833e99f90bcd36152672" +dependencies = [ + "block2", + "dispatch2", + "glib-sys", + "gobject-sys", + "gtk-sys", + "js-sys", + "log", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "raw-window-handle", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "windows-sys 0.60.2", +] + +[[package]] +name = "ring" +version = "0.17.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.17", + "libc", + "untrusted", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[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.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" +dependencies = [ + "bitflags 2.13.2", + "errno", + "libc", + "linux-raw-sys", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls" +version = "0.23.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634" +dependencies = [ + "once_cell", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-pki-types" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96" +dependencies = [ + "zeroize", +] + +[[package]] +name = "rustls-webpki" +version = "0.103.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[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 = "schannel" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" +dependencies = [ + "windows-sys 0.61.2", +] + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "687274d293b6cdc6e73e0fee520bf2049650090d7164f87672d212a3c530cf4a" +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.119", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags 2.13.2", + "core-foundation 0.10.1", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "selectors" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5d9c0c92a92d33f08817311cf3f2c29a3538a8240e94a6a3c622ce652d7e00c" +dependencies = [ + "bitflags 2.13.2", + "cssparser", + "derive_more", + "log", + "new_debug_unreachable", + "phf", + "phf_codegen", + "precomputed-hash", + "rustc-hash", + "servo_arc", + "smallvec", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +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.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[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.119", +] + +[[package]] +name = "serde_json" +version = "1.0.151" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_repr" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[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.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26" +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.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "935177bb8c0cd8ca1a4e6d1a2ac8988bea69cab4f9d3a31311e012ad27868ea4" +dependencies = [ + "base64 0.23.1", + "bs58", + "chrono", + "hex", + "indexmap 1.9.3", + "indexmap 2.14.2", + "jiff", + "schemars 0.9.0", + "schemars 1.2.2", + "serde_core", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d607aa01a3cb0ad757d6fd216136910db3c97b102fe686585689615a02dbcdc" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[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.119", +] + +[[package]] +name = "servo_arc" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "170fb83ab34de17dc69aa7c67482b22218ddb85da56546f9bd6b929e32a05930" +dependencies = [ + "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 = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "simd-adler32" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea" + +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "siphasher" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649" + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba467056f1b547ed52077911161fc86985becbc60e8e1857c8a144dab0def891" + +[[package]] +name = "socket2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +dependencies = [ + "libc", + "windows-sys 0.61.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 = "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.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a18596f8c785a729f2819c0f6a7eae6ebeebdfffbfe4214ae6b087f690e31901" +dependencies = [ + "new_debug_unreachable", + "parking_lot", + "phf_shared", + "precomputed-hash", +] + +[[package]] +name = "string_cache_codegen" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "585635e46db231059f76c5849798146164652513eb9e8ab2685939dd90f29b69" +dependencies = [ + "phf_generator", + "phf_shared", + "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.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e45c444e496845d3f2a351146bff59aae4975b2280238df1dfaa0c7d1846f38e" +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", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee" +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.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "system-configuration" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b" +dependencies = [ + "bitflags 2.13.2", + "core-foundation 0.9.4", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[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.35.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1c93047acf68669466a34690ac58cca7010bd1b201e1ec86f1fd0a75d3dd4a9" +dependencies = [ + "bitflags 2.13.2", + "block2", + "core-foundation 0.10.1", + "core-graphics", + "crossbeam-channel", + "dbus", + "dispatch2", + "dlopen2", + "dpi", + "gdkwayland-sys", + "gdkx11-sys", + "gtk", + "jni", + "libc", + "log", + "ndk", + "ndk-sys", + "objc2", + "objc2-app-kit", + "objc2-foundation", + "objc2-ui-kit", + "once_cell", + "parking_lot", + "percent-encoding", + "raw-window-handle", + "tao-macros", + "unicode-segmentation", + "url", + "windows 0.61.3", + "windows-core 0.61.2", + "windows-version", + "x11-dl", +] + +[[package]] +name = "tao-macros" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f7eeb6d99155545da6150a1795945f16ac9c178deb2a5f2e74d776107bd5849" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[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.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fa5bacdb9bbad5954af3d1bd6cf6ae9192cab1b2e270f4a07f904610b9e85f4" +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 0.13.5", + "serde", + "serde_json", + "serde_repr", + "serialize-to-javascript", + "swift-rs", + "tauri-build", + "tauri-macros", + "tauri-runtime", + "tauri-runtime-wry", + "tauri-utils", + "thiserror 2.0.20", + "tokio", + "tray-icon", + "url", + "webkit2gtk", + "webview2-com", + "window-vibrancy", + "windows 0.61.3", +] + +[[package]] +name = "tauri-build" +version = "2.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc9ce40b16101cb6ea63d3e221567affd1c3a9205f95d7bc574941a10636b632" +dependencies = [ + "anyhow", + "cargo_toml", + "dirs", + "glob", + "heck 0.5.0", + "json-patch", + "schemars 0.8.22", + "semver", + "serde", + "serde_json", + "tauri-utils", + "tauri-winres", + "walkdir", +] + +[[package]] +name = "tauri-codegen" +version = "2.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08279169ff42f8fc45a1dbc9dcae888893ba95288142e5880c59b93a26d2cfc5" +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.119", + "tauri-utils", + "thiserror 2.0.20", + "time", + "url", + "uuid", + "walkdir", +] + +[[package]] +name = "tauri-macros" +version = "2.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8b394794f399a421811d06966343e7933fcae92d59f5180b9388d1174497a45" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.119", + "tauri-codegen", + "tauri-utils", +] + +[[package]] +name = "tauri-plugin" +version = "2.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74be5dd4bed9afbd145e5716b5fa2ec28cbc29c34ffa61c258c9273d896c8020" +dependencies = [ + "anyhow", + "glob", + "plist", + "schemars 0.8.22", + "serde", + "serde_json", + "tauri-utils", + "walkdir", +] + +[[package]] +name = "tauri-plugin-dialog" +version = "2.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61854a36651aa48381e5e209f69a01273b77f3f9f91f0c430b1b98d33bd47229" +dependencies = [ + "log", + "raw-window-handle", + "rfd", + "serde", + "serde_json", + "tauri", + "tauri-plugin", + "tauri-plugin-fs", + "thiserror 2.0.20", + "url", +] + +[[package]] +name = "tauri-plugin-fs" +version = "2.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de22eef34fd78c0da050e748710edd50bf127e651d02ea1b2bfada1523cc5c51" +dependencies = [ + "anyhow", + "dunce", + "glob", + "log", + "objc2-foundation", + "percent-encoding", + "schemars 0.8.22", + "serde", + "serde_json", + "serde_repr", + "tauri", + "tauri-plugin", + "tauri-utils", + "thiserror 2.0.20", + "toml 1.1.6+spec-1.1.0", + "url", +] + +[[package]] +name = "tauri-plugin-opener" +version = "2.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60d60366174b745b4ef5824b8bbc1c457fd08f0ce101ff643c0a49181a9f4e91" +dependencies = [ + "dunce", + "glob", + "objc2-app-kit", + "objc2-foundation", + "open", + "schemars 0.8.22", + "serde", + "serde_json", + "tauri", + "tauri-plugin", + "thiserror 2.0.20", + "url", + "windows 0.61.3", + "zbus", +] + +[[package]] +name = "tauri-runtime" +version = "2.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0b4bc95aed361b0019067d189a1174a603d460d0f6c72606512d59fc9c12ec8" +dependencies = [ + "cookie", + "dpi", + "gtk", + "http", + "jni", + "objc2", + "objc2-ui-kit", + "objc2-web-kit", + "raw-window-handle", + "serde", + "serde_json", + "tauri-utils", + "thiserror 2.0.20", + "url", + "webkit2gtk", + "webview2-com", + "windows 0.61.3", +] + +[[package]] +name = "tauri-runtime-wry" +version = "2.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e6fac707727b7a2f48e4ded90976324267371073edbb415ffb73bb0458d203f" +dependencies = [ + "gtk", + "http", + "jni", + "log", + "objc2", + "objc2-app-kit", + "once_cell", + "percent-encoding", + "raw-window-handle", + "softbuffer", + "tao", + "tauri-runtime", + "tauri-utils", + "url", + "webkit2gtk", + "webview2-com", + "windows 0.61.3", + "wry", +] + +[[package]] +name = "tauri-utils" +version = "2.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e176a18e67764923c4f1ce66f25ae4abe5f688384d5eb1a0fa6c77f3d90f887" +dependencies = [ + "anyhow", + "brotli", + "cargo_metadata", + "ctor", + "dom_query", + "dunce", + "glob", + "http", + "infer", + "json-patch", + "log", + "memchr", + "phf", + "plist", + "proc-macro2", + "quote", + "regex", + "schemars 0.8.22", + "semver", + "serde", + "serde-untagged", + "serde_json", + "serde_with", + "swift-rs", + "thiserror 2.0.20", + "toml 1.1.6+spec-1.1.0", + "url", + "urlpattern", + "uuid", + "walkdir", +] + +[[package]] +name = "tauri-winres" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc65d45c68858bfe420dd29e834b5d15dbecf8a07a8a16cf4d532c7b1f69d4b6" +dependencies = [ + "dunce", + "embed-resource", + "toml 1.1.6+spec-1.1.0", +] + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom 0.4.3", + "once_cell", + "rustix", + "windows-sys 0.61.2", +] + +[[package]] +name = "tendril" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fed54709c5b3a53d09bb1c113ea4f5ceafd1e772ddcb0030a82e1d56c087b08" +dependencies = [ + "new_debug_unreachable", +] + +[[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.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f" +dependencies = [ + "thiserror-impl 2.0.20", +] + +[[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.119", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "thread_local" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "time" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" +dependencies = [ + "deranged", + "num-conv", + "powerfmt", + "serde_core", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" + +[[package]] +name = "time-macros" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" + +[[package]] +name = "tokio" +version = "1.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "202caea871b69668250d242070849eb495be178ed697a3e98aebce5bc81a0bed" +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.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "tokio-native-tls" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" +dependencies = [ + "native-tls", + "tokio", +] + +[[package]] +name = "tokio-rustls" +version = "0.26.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0c85f2c3ef0b1cd58b36682f4b17aaa995f0e5db534d85692b4903abce21f67" +dependencies = [ + "rustls", + "tokio", +] + +[[package]] +name = "tokio-util" +version = "0.7.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "494815d09bf52b5548659851081238f0ca39ff638363907596da739561c62c52" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "libc", + "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.12+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863" +dependencies = [ + "indexmap 2.14.2", + "serde_core", + "serde_spanned 1.1.1", + "toml_datetime 0.7.5+spec-1.1.0", + "toml_parser", + "toml_writer", + "winnow 0.7.15", +] + +[[package]] +name = "toml" +version = "1.1.6+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "920602543f0911ab71da12c50d59701da54c196d1a2bf5cb4b75667f137a406a" +dependencies = [ + "indexmap 2.14.2", + "serde_core", + "serde_spanned 1.1.1", + "toml_datetime 1.1.1+spec-1.1.0", + "toml_parser", + "toml_writer", + "winnow 1.0.4", +] + +[[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_datetime" +version = "1.1.1+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.19.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +dependencies = [ + "indexmap 2.14.2", + "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.14.2", + "serde", + "serde_spanned 0.6.9", + "toml_datetime 0.6.3", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.25.15+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1340ea94a5856333492c9064b02c778b191dd2c853778d9609debdcdfea3a614" +dependencies = [ + "indexmap 2.14.2", + "toml_datetime 1.1.1+spec-1.1.0", + "toml_parser", + "winnow 1.0.4", +] + +[[package]] +name = "toml_parser" +version = "1.1.3+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d38ac1cf9b95face32296c0a3ede1fdc270627c9d9c02a7274dd6d960dc4d56" +dependencies = [ + "winnow 1.0.4", +] + +[[package]] +name = "toml_writer" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2" + +[[package]] +name = "tower" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" +dependencies = [ + "bitflags 2.13.2", + "bytes", + "futures-util", + "http", + "http-body", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", + "url", +] + +[[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.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex-automata", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "tray-icon" +version = "0.24.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "045979e3f037cd18ad1cb2a419dfda133c5c29c9f3453370079f2255d46c257e" +dependencies = [ + "crossbeam-channel", + "dirs", + "libappindicator", + "muda", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation", + "once_cell", + "png 0.18.1", + "serde", + "thiserror 2.0.20", + "windows-sys 0.61.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.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "uds_windows" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f6fb2847f6742cd76af783a2a2c49e9375d0a111c7bef6f71cd9e738c72d6e" +dependencies = [ + "memoffset", + "tempfile", + "windows-sys 0.61.2", +] + +[[package]] +name = "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.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", + "serde_derive", +] + +[[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 = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "uuid" +version = "1.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ef6dac1e96601b4fb3acccccff2139741fcb757cb9a36089bf5be91cfb285ce" +dependencies = [ + "getrandom 0.4.3", + "js-sys", + "serde_core", + "wasm-bindgen", +] + +[[package]] +name = "valuable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[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.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.4+wasi-0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.128" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aecb87a33d3b0c5e3b7aa46336eaf486cffafbd281b195e4c8b80d50df2351bf" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ef4c5d3d2cdf5c54f4231181768f5510842e350db025faf1f7163b1030ed928" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.128" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a690d511e3c1a8b3a55e33511e3c2c00c78415cd23650f32b808627f5696b9ed" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.128" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "411e4887f0071ef2d2164a9d5fdf2d20efbef78fccd3a78b0c10a1dc5295e48a" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.6", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.128" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81941cd78d0c92026c33e5e01312845a4cb1e9af3407f9134b100dd03144103e" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-streams" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "web-sys" +version = "0.3.105" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fbddc4a036f00ec4f18c83445bd3115cb306a91da554919a099d9222fe4a7f8" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web_atoms" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba8b815c1b593dc0baf78dd0f4fc8fdb2de53198fb1163738093e9a311c33fb3" +dependencies = [ + "phf", + "phf_codegen", + "string_cache", + "string_cache_codegen", +] + +[[package]] +name = "webkit2gtk" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1027150013530fb2eaf806408df88461ae4815a45c541c8975e61d6f2fc4793" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "916a5f65c2ef0dfe12fff695960a2ec3d4565359fdbb2e9943c974e06c734ea5" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7130243a7a5b33c54a444e54842e6a9e133de08b5ad7b5861cd8ed9a6a5bc96a" +dependencies = [ + "webview2-com-macros", + "webview2-com-sys", + "windows 0.61.3", + "windows-core 0.61.2", + "windows-implement", + "windows-interface", +] + +[[package]] +name = "webview2-com-macros" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67a921c1b6914c367b2b823cd4cde6f96beec77d30a939c8199bb377cf9b9b54" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "webview2-com-sys" +version = "0.38.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "381336cfffd772377d291702245447a5251a2ffa5bad679c99e61bc48bacbf9c" +dependencies = [ + "thiserror 2.0.20", + "windows 0.61.3", + "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 0.2.0", + "windows-core 0.61.2", + "windows-future 0.2.1", + "windows-link 0.1.3", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", +] + +[[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-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core 0.62.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 0.1.0", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", +] + +[[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.119", +] + +[[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.119", +] + +[[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-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core 0.62.2", + "windows-link 0.2.1", +] + +[[package]] +name = "windows-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" +dependencies = [ + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", +] + +[[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.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link 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-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", +] + +[[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.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" + +[[package]] +name = "winnow" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" +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.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "wry" +version = "0.55.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "186f9871daa55fd9c016578b810d149de58367113db7fb72b462d2323ce19514" +dependencies = [ + "base64 0.22.1", + "block2", + "cookie", + "crossbeam-channel", + "dirs", + "dom_query", + "dpi", + "dunce", + "gdkx11", + "gtk", + "http", + "javascriptcore-rs", + "jni", + "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.20", + "url", + "webkit2gtk", + "webkit2gtk-sys", + "webview2-com", + "windows 0.61.3", + "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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33811428bee40dbceb6d545e95754741d17a6aef9a4849f0fd62e2ba4f412a78" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", + "synstructure", +] + +[[package]] +name = "zbus" +version = "5.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5db4be7c075cb421e4b7ee645541604239bd243ba7c357511f4ff3a74b555907" +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", + "libc", + "ordered-stream", + "rustix", + "serde", + "serde_repr", + "tracing", + "uds_windows", + "uuid", + "windows-sys 0.61.2", + "winnow 1.0.4", + "zbus_macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zbus_macros" +version = "5.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2990635d09ade6df1868f72f8cac69a876a90981e8bd3c40b1be413f8dc88f40" +dependencies = [ + "proc-macro-crate 3.5.0", + "proc-macro2", + "quote", + "syn 3.0.6", + "zbus_names", + "zvariant", + "zvariant_utils", +] + +[[package]] +name = "zbus_names" +version = "4.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8bf88b4a3ff53e883001e0e0115b297a9d53c31b9c1edd2bfdd853e3428624e" +dependencies = [ + "serde", + "winnow 1.0.4", + "zvariant", +] + +[[package]] +name = "zcheapstr" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1afec51604565183aeb5c54c20aeab286120d4e4460f7f76e3e8bb8c0d99473" +dependencies = [ + "serde", +] + +[[package]] +name = "zerocopy" +version = "0.8.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d35102a9f36d089ccae9e4c6802bc118be4487b80aaffc0ab4e0cf5ce92d2873" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "146c01f5ab44258da43cf276c74a2763db2ff3969c9c652c3f2de07041d0b2bc" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e" + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "zlib-rs" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112" + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" + +[[package]] +name = "zvariant" +version = "5.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1d34c27cc6cdd1f458427519dd6b8612f7b7e3f7b9a0b2355d041dda9869147" +dependencies = [ + "endi", + "enumflags2", + "serde", + "winnow 1.0.4", + "zcheapstr", + "zvariant_derive", + "zvariant_utils", +] + +[[package]] +name = "zvariant_derive" +version = "5.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "864155e69b4352db0c7f374917bf45d1e0c8d17659c8b3dbf9795f3673f8c497" +dependencies = [ + "proc-macro-crate 3.5.0", + "proc-macro2", + "quote", + "syn 3.0.6", + "zvariant_utils", +] + +[[package]] +name = "zvariant_utils" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bad0294361a320b694a328460dc73add56c306150f5cb6bfafc44446120008a3" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "syn 3.0.6", + "winnow 1.0.4", +] diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml new file mode 100644 index 0000000..c8b8fe5 --- /dev/null +++ b/src-tauri/Cargo.toml @@ -0,0 +1,36 @@ +[package] +name = "argus" +version = "0.1.0" +description = "An All in One Network Utility" +authors = ["James Brotosky Result<(), String> { + open::that(&url).map_err(|e| format!("Failed to open URL: {}", e)) +} + +#[tauri::command] +pub async fn check_privileges() -> Result { + #[cfg(target_os = "linux")] + { + // Check if effective user ID is 0 (root) + Ok(unsafe { libc::geteuid() } == 0) + } + + #[cfg(target_os = "windows")] + { + // On Windows, check if running as administrator + Ok(is_elevated::is_elevated()) + } +} \ No newline at end of file diff --git a/src-tauri/src/commands/export.rs b/src-tauri/src/commands/export.rs new file mode 100644 index 0000000..2889710 --- /dev/null +++ b/src-tauri/src/commands/export.rs @@ -0,0 +1,46 @@ +use serde::Deserialize; +use std::fs::File; + +use crate::models::host::HostResult; + +#[derive(Debug, Deserialize)] +pub struct ExportRequest { + pub path: String, + pub hosts: Vec, +} + +#[tauri::command] +pub async fn export_csv(request: ExportRequest) -> Result<(), String> { + let file = File::create(&request.path) + .map_err(|e| format!("Failed to create file: {}", e))?; + + let mut writer = csv::Writer::from_writer(file); + + // Header + writer + .write_record(["IP Address", "Status", "Latency (ms)", "Hostname"]) + .map_err(|e| format!("Failed to write header: {}", e))?; + + // Rows + for host in &request.hosts { + let ip = host.ip.to_string(); + let status = format!("{:?}", host.status); + let rtt = match &host.ping { + Some(p) => format!("{:.1}", p.rtt_ms), + None => String::from("-"), + }; + let hostname = host.hostname.clone().unwrap_or_default(); + + writer + .write_record([&ip, &status, &rtt, &hostname]) + .map_err(|e| format!("Failed to write row: {}", e))?; + } + + writer + .flush() + .map_err(|e| format!("Failed to flush: {}", e))?; + + tracing::info!("Exported {} hosts to {}", request.hosts.len(), request.path); + + Ok(()) +} \ No newline at end of file diff --git a/src-tauri/src/commands/mod.rs b/src-tauri/src/commands/mod.rs new file mode 100644 index 0000000..10e5871 --- /dev/null +++ b/src-tauri/src/commands/mod.rs @@ -0,0 +1,7 @@ +pub mod actions; +pub mod export; +pub mod monitor; +pub mod nmap; +pub mod scan; +pub mod traceroute; +pub mod updater; diff --git a/src-tauri/src/commands/monitor.rs b/src-tauri/src/commands/monitor.rs new file mode 100644 index 0000000..bb5b864 --- /dev/null +++ b/src-tauri/src/commands/monitor.rs @@ -0,0 +1,182 @@ +use std::collections::HashMap; +use std::net::IpAddr; +use std::sync::Arc; +use std::time::Duration; + +use ping_async::IcmpEchoRequestor; +use serde::Deserialize; +use tauri::{AppHandle, Emitter}; +use tokio::sync::Mutex; +use tokio::task::JoinHandle; + +use crate::models::monitor::MonitorEntry; + +struct MonitorState { + entries: HashMap, + task: Option>, + running: bool, +} + +static MONITOR: std::sync::OnceLock>> = std::sync::OnceLock::new(); + +fn get_monitor() -> Arc> { + MONITOR + .get_or_init(|| { + Arc::new(Mutex::new(MonitorState { + entries: HashMap::new(), + task: None, + running: false, + })) + }) + .clone() +} + +#[derive(Debug, Deserialize)] +pub struct MonitorHost { + pub ip: String, + pub label: Option, +} + +#[tauri::command] +pub async fn monitor_add_hosts(hosts: Vec) -> Result<(), String> { + let state = get_monitor(); + let mut guard = state.lock().await; + + for host in hosts { + let ip: IpAddr = host + .ip + .parse() + .map_err(|e| format!("Invalid IP '{}': {}", host.ip, e))?; + guard + .entries + .entry(ip) + .or_insert_with(|| MonitorEntry::new(ip, host.label)); + } + + Ok(()) +} + +#[tauri::command] +pub async fn monitor_remove_host(ip: String) -> Result<(), String> { + let parsed: IpAddr = ip.parse().map_err(|e| format!("Invalid IP: {}", e))?; + let state = get_monitor(); + let mut guard = state.lock().await; + guard.entries.remove(&parsed); + Ok(()) +} + +#[tauri::command] +pub async fn monitor_clear() -> Result<(), String> { + let state = get_monitor(); + let mut guard = state.lock().await; + guard.entries.clear(); + Ok(()) +} + +#[tauri::command] +pub async fn monitor_get_entries() -> Result, String> { + let state = get_monitor(); + let guard = state.lock().await; + let mut entries: Vec = guard.entries.values().cloned().collect(); + entries.sort_by(|a, b| a.ip.to_string().cmp(&b.ip.to_string())); + Ok(entries) +} + +#[tauri::command] +pub async fn monitor_start(app: AppHandle, interval_ms: Option) -> Result<(), String> { + let state = get_monitor(); + let mut guard = state.lock().await; + + if guard.running { + return Err("Monitor already running".to_string()); + } + + if guard.entries.is_empty() { + return Err("No hosts to monitor".to_string()); + } + + guard.running = true; + let interval = Duration::from_millis(interval_ms.unwrap_or(2000)); + let state2 = get_monitor(); + + let task = tokio::spawn(async move { + loop { + { + let guard = state2.lock().await; + if !guard.running { + break; + } + } + + // Collect IPs to ping + let ips: Vec = { + let guard = state2.lock().await; + guard.entries.keys().cloned().collect() + }; + + // Ping all hosts concurrently + let mut join_set = tokio::task::JoinSet::new(); + for ip in ips { + join_set.spawn(async move { + let timeout = Duration::from_millis(1500); + let requestor = match IcmpEchoRequestor::new(ip, None, None, Some(timeout)) { + Ok(r) => r, + Err(_) => return (ip, None), + }; + match requestor.send().await { + Ok(reply) => match reply.status() { + ping_async::IcmpEchoStatus::Success => { + let rtt = reply.round_trip_time().as_secs_f64() * 1000.0; + (ip, Some(rtt)) + } + _ => (ip, None), + }, + Err(_) => (ip, None), + } + }); + } + + // Process results + while let Some(result) = join_set.join_next().await { + if let Ok((ip, rtt)) = result { + let mut guard = state2.lock().await; + if let Some(entry) = guard.entries.get_mut(&ip) { + let old_status = entry.status.clone(); + match rtt { + Some(ms) => entry.record_success(ms), + None => entry.record_failure(), + } + // Emit state change event + if entry.status != old_status { + let _ = app.emit( + "monitor:state-change", + serde_json::json!({ + "ip": ip.to_string(), + "old": format!("{:?}", old_status), + "new": format!("{:?}", entry.status), + }), + ); + } + let _ = app.emit("monitor:update", &entry.clone()); + } + } + } + + tokio::time::sleep(interval).await; + } + }); + + guard.task = Some(task); + Ok(()) +} + +#[tauri::command] +pub async fn monitor_stop() -> Result<(), String> { + let state = get_monitor(); + let mut guard = state.lock().await; + guard.running = false; + if let Some(task) = guard.task.take() { + task.abort(); + } + Ok(()) +} diff --git a/src-tauri/src/commands/nmap.rs b/src-tauri/src/commands/nmap.rs new file mode 100644 index 0000000..ae25f04 --- /dev/null +++ b/src-tauri/src/commands/nmap.rs @@ -0,0 +1,129 @@ +use std::process::Stdio; +use std::sync::atomic::{AtomicBool, Ordering}; +use std::sync::Arc; + +use serde::Deserialize; +use tauri::{AppHandle, Emitter}; +use tokio::io::{AsyncBufReadExt, BufReader}; +use tokio::process::Command; + +static NMAP_CANCEL: std::sync::OnceLock> = std::sync::OnceLock::new(); + +fn get_nmap_cancel() -> Arc { + NMAP_CANCEL + .get_or_init(|| Arc::new(AtomicBool::new(false))) + .clone() +} + +#[derive(Debug, Deserialize)] +pub struct NmapConfig { + pub target: String, + pub args: Vec, +} + +#[tauri::command] +pub async fn run_nmap(app: AppHandle, config: NmapConfig) -> Result<(), String> { + // Check nmap exists + let check = Command::new("nmap") + .arg("--version") + .output() + .await + .map_err(|_| "nmap not found. Please install nmap.".to_string())?; + + if !check.status.success() { + return Err("nmap not found. Please install nmap.".to_string()); + } + + let cancel = get_nmap_cancel(); + cancel.store(false, Ordering::Relaxed); + + let _ = app.emit("nmap:start", &config.target); + + let mut cmd = Command::new("nmap"); + for arg in &config.args { + cmd.arg(arg); + } + for target in config.target.split_whitespace() { + cmd.arg(target); + } + cmd.stdout(Stdio::piped()); + cmd.stderr(Stdio::piped()); + + let mut child = cmd + .spawn() + .map_err(|e| format!("Failed to start nmap: {}", e))?; + + let stdout = child + .stdout + .take() + .ok_or_else(|| "Failed to capture nmap stdout".to_string())?; + + let stderr = child + .stderr + .take() + .ok_or_else(|| "Failed to capture nmap stderr".to_string())?; + + // Stream stdout + let app2 = app.clone(); + let cancel2 = cancel.clone(); + let stdout_handle = tokio::spawn(async move { + let mut reader = BufReader::new(stdout).lines(); + while let Ok(Some(line)) = reader.next_line().await { + if cancel2.load(Ordering::Relaxed) { + break; + } + let _ = app2.emit("nmap:line", &line); + } + }); + + // Stream stderr + let app3 = app.clone(); + let stderr_handle = tokio::spawn(async move { + let mut reader = BufReader::new(stderr).lines(); + while let Ok(Some(line)) = reader.next_line().await { + let _ = app3.emit("nmap:line", &line); + } + }); + + // Wait for completion or cancellation + tokio::select! { + status = child.wait() => { + match status { + Ok(s) if s.success() => { + let _ = app.emit("nmap:complete", "Scan complete"); + } + Ok(s) => { + let _ = app.emit("nmap:complete", + format!("nmap exited with code {}", s.code().unwrap_or(-1))); + } + Err(e) => { + let _ = app.emit("nmap:error", format!("nmap error: {}", e)); + } + } + } + _ = async { + loop { + tokio::time::sleep(std::time::Duration::from_millis(100)).await; + if cancel.load(Ordering::Relaxed) { + break; + } + } + } => { + let _ = child.kill().await; + let _ = app.emit("nmap:complete", "Scan cancelled"); + } + } + + let _ = stdout_handle.await; + let _ = stderr_handle.await; + + Ok(()) +} + +#[tauri::command] +pub async fn stop_nmap() -> Result<(), String> { + let cancel = get_nmap_cancel(); + cancel.store(true, Ordering::Relaxed); + tracing::info!("Nmap scan cancelled"); + Ok(()) +} diff --git a/src-tauri/src/commands/scan.rs b/src-tauri/src/commands/scan.rs new file mode 100644 index 0000000..5a68808 --- /dev/null +++ b/src-tauri/src/commands/scan.rs @@ -0,0 +1,54 @@ +use std::sync::atomic::{AtomicBool, Ordering}; +use std::sync::Arc; + +use serde::Deserialize; +use tauri::AppHandle; + +use crate::net::range::parse_ip_range; +use crate::scanner::ping::ping_sweep; + +#[derive(Debug, Clone, Deserialize)] +pub struct ScanConfig { + pub range: String, + pub timeout_ms: Option, + pub port_scan: Option, + pub ports: Option>, + pub port_timeout_ms: Option, +} + +static CANCEL_FLAG: std::sync::OnceLock> = std::sync::OnceLock::new(); + +fn get_cancel_flag() -> Arc { + CANCEL_FLAG + .get_or_init(|| Arc::new(AtomicBool::new(false))) + .clone() +} + +#[tauri::command] +pub async fn start_scan(app: AppHandle, config: ScanConfig) -> Result<(), String> { + let ips = parse_ip_range(&config.range).map_err(|e| format!("Invalid IP range: {}", e))?; + + let timeout_ms = config.timeout_ms.unwrap_or(1500); + let cancel = get_cancel_flag(); + + // Reset cancel flag from any previous scan + cancel.store(false, Ordering::Relaxed); + + // Spawn the scan as a background task so this command returns immediately + let port_scan = config.port_scan.unwrap_or(false); + let ports = config.ports.clone(); + let port_timeout_ms = config.port_timeout_ms.unwrap_or(1000); + + tokio::spawn(async move { + ping_sweep(&app, &ips, timeout_ms, cancel, port_scan, ports, port_timeout_ms).await; + }); + Ok(()) +} + +#[tauri::command] +pub async fn stop_scan() -> Result<(), String> { + let cancel = get_cancel_flag(); + cancel.store(true, Ordering::Relaxed); + tracing::info!("Scan cancelled"); + Ok(()) +} diff --git a/src-tauri/src/commands/traceroute.rs b/src-tauri/src/commands/traceroute.rs new file mode 100644 index 0000000..b4ddfe6 --- /dev/null +++ b/src-tauri/src/commands/traceroute.rs @@ -0,0 +1,48 @@ +use std::process::Stdio; + +use tauri::{AppHandle, Emitter}; +use tokio::io::{AsyncBufReadExt, BufReader}; +use tokio::process::Command; + +#[tauri::command] +pub async fn run_traceroute(app: AppHandle, ip: String) -> Result<(), String> { + let _ = app.emit("traceroute:start", &ip); + + #[cfg(target_os = "linux")] + let mut child = Command::new("tracepath") + .arg("-b") + .arg(&ip) + .stdout(Stdio::piped()) + .stderr(Stdio::piped()) + .spawn() + .map_err(|e| format!("Failed to start tracepath: {}. Is iputils-tracepath installed?", e))?; + + #[cfg(target_os = "windows")] + let mut child = Command::new("tracert") + .arg("-d") + .arg(&ip) + .stdout(Stdio::piped()) + .stderr(Stdio::piped()) + .spawn() + .map_err(|e| format!("Failed to start tracert: {}", e))?; + + let stdout = child.stdout.take() + .ok_or_else(|| "Failed to capture stdout".to_string())?; + + let mut reader = BufReader::new(stdout).lines(); + + while let Ok(Some(line)) = reader.next_line().await { + let _ = app.emit("traceroute:hop", &line); + } + + let status = child.wait().await + .map_err(|e| format!("tracepath failed: {}", e))?; + + if status.success() { + let _ = app.emit("traceroute:complete", &ip); + } else { + let _ = app.emit("traceroute:error", "tracepath exited with an error"); + } + + Ok(()) +} \ No newline at end of file diff --git a/src-tauri/src/commands/updater.rs b/src-tauri/src/commands/updater.rs new file mode 100644 index 0000000..aefd14b --- /dev/null +++ b/src-tauri/src/commands/updater.rs @@ -0,0 +1,107 @@ +use std::path::PathBuf; + +use serde::{Deserialize, Serialize}; +use tauri::{AppHandle, Manager}; + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct AppConfig { + pub update_url: String, +} + +impl Default for AppConfig { + fn default() -> Self { + Self { + update_url: String::new(), + } + } +} + +fn config_path(app: &AppHandle) -> Result { + let dir = app + .path() + .app_config_dir() + .map_err(|e| format!("Failed to get config dir: {}", e))?; + std::fs::create_dir_all(&dir) + .map_err(|e| format!("Failed to create config dir: {}", e))?; + Ok(dir.join("config.json")) +} + +#[tauri::command] +pub async fn get_config(app: AppHandle) -> Result { + let path = config_path(&app)?; + if !path.exists() { + return Ok(AppConfig::default()); + } + let data = std::fs::read_to_string(&path) + .map_err(|e| format!("Failed to read config: {}", e))?; + serde_json::from_str(&data) + .map_err(|e| format!("Failed to parse config: {}", e)) +} + +#[tauri::command] +pub async fn save_config(app: AppHandle, config: AppConfig) -> Result<(), String> { + let path = config_path(&app)?; + let data = serde_json::to_string_pretty(&config) + .map_err(|e| format!("Failed to serialize config: {}", e))?; + std::fs::write(&path, data) + .map_err(|e| format!("Failed to write config: {}", e))?; + Ok(()) +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct UpdateInfo { + pub version: String, + pub url: String, + pub notes: Option, +} + +#[tauri::command] +pub async fn check_for_update(app: AppHandle) -> Result, String> { + let config = get_config(app.clone()).await?; + + if config.update_url.is_empty() { + return Ok(None); + } + + let response = reqwest::get(&config.update_url) + .await + .map_err(|e| format!("Failed to check for updates: {}", e))?; + + if !response.status().is_success() { + return Err(format!("Update server returned {}", response.status())); + } + + let body: serde_json::Value = response + .json() + .await + .map_err(|e| format!("Invalid update response: {}", e))?; + + // Parse Gitea/GitHub release format + let tag = body["tag_name"] + .as_str() + .ok_or_else(|| "No tag_name in response".to_string())?; + + let html_url = body["html_url"] + .as_str() + .unwrap_or("") + .to_string(); + + let notes = body["body"] + .as_str() + .map(|s| s.to_string()) + .filter(|s| !s.is_empty()); + + // Strip leading 'v' from tag if present (v0.2.0 -> 0.2.0) + let remote_version = tag.strip_prefix('v').unwrap_or(tag); + let current = app.package_info().version.to_string(); + + if remote_version != current { + Ok(Some(UpdateInfo { + version: remote_version.to_string(), + url: html_url, + notes, + })) + } else { + Ok(None) + } +} \ No newline at end of file diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs new file mode 100644 index 0000000..bca6e09 --- /dev/null +++ b/src-tauri/src/lib.rs @@ -0,0 +1,39 @@ +mod commands; +mod models; +mod net; +mod scanner; + +#[cfg_attr(mobile, tauri::mobile_entry_point)] +pub fn run() { + tracing_subscriber::fmt() + .with_env_filter( + tracing_subscriber::EnvFilter::try_from_default_env() + .unwrap_or_else(|_| "argus=debug".into()), + ) + .init(); + + tauri::Builder::default() + .plugin(tauri_plugin_opener::init()) + .plugin(tauri_plugin_dialog::init()) + .invoke_handler(tauri::generate_handler![ + commands::scan::start_scan, + commands::scan::stop_scan, + commands::export::export_csv, + commands::actions::launch_url, + commands::traceroute::run_traceroute, + commands::nmap::run_nmap, + commands::nmap::stop_nmap, + commands::monitor::monitor_add_hosts, + commands::monitor::monitor_remove_host, + commands::monitor::monitor_clear, + commands::monitor::monitor_get_entries, + commands::monitor::monitor_start, + commands::monitor::monitor_stop, + commands::updater::get_config, + commands::updater::save_config, + commands::updater::check_for_update, + commands::actions::check_privileges, + ]) + .run(tauri::generate_context!()) + .expect("error while running tauri application"); +} diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs new file mode 100644 index 0000000..6329e18 --- /dev/null +++ b/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() { + argus_lib::run() +} diff --git a/src-tauri/src/models/host.rs b/src-tauri/src/models/host.rs new file mode 100644 index 0000000..9f95250 --- /dev/null +++ b/src-tauri/src/models/host.rs @@ -0,0 +1,96 @@ +use serde::{Deserialize, Serialize}; +use std::net::IpAddr; + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +pub enum HostStatus { + Up, + Down, + Filtered, + Unknown +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct PingResult { + pub rtt_ms: f64, + pub ttl: Option, + pub loss_pct: f64, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +pub enum Protocol { + Tcp, + Udp, +} + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +pub enum PortState { + Open, + Closed, + Filtered, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct PortResult { + pub port: u16, + pub protocol: Protocol, + pub state: PortState, + pub service: Option, + pub banner: Option, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct NetbiosInfo { + pub computer_name: Option, + pub workgroup: Option, + pub mac_from_netbios: Option +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct HostResult { + pub ip: IpAddr, + pub hostname: Option, + pub mac: Option, + pub vendor: Option, + pub status: HostStatus, + pub ping: Option, + pub ports: Vec, + pub netbios: Option, + pub updated_at: u64, +} + +fn now_ms() -> u64 { + std::time::SystemTime::now() + .duration_since(std::time::UNIX_EPOCH) + .unwrap_or_default() + .as_millis() as u64 +} + +impl HostResult { + pub fn from_ping(ip: IpAddr, ping: PingResult) -> Self { + Self { + ip, + hostname: None, + mac: None, + vendor: None, + status: HostStatus::Up, + ping: Some(ping), + ports: Vec::new(), + netbios: None, + updated_at: now_ms(), + } + } + + pub fn down(ip: IpAddr) -> Self { + Self { + ip, + hostname: None, + mac: None, + vendor: None, + status: HostStatus::Down, + ping: None, + ports: Vec::new(), + netbios: None, + updated_at: now_ms(), + } + } +} \ No newline at end of file diff --git a/src-tauri/src/models/mod.rs b/src-tauri/src/models/mod.rs new file mode 100644 index 0000000..c2de673 --- /dev/null +++ b/src-tauri/src/models/mod.rs @@ -0,0 +1,2 @@ +pub mod host; +pub mod monitor; \ No newline at end of file diff --git a/src-tauri/src/models/monitor.rs b/src-tauri/src/models/monitor.rs new file mode 100644 index 0000000..3f883fc --- /dev/null +++ b/src-tauri/src/models/monitor.rs @@ -0,0 +1,105 @@ +use serde::{Deserialize, Serialize}; +use std::net::IpAddr; + +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +pub enum MonitorStatus { + Up, + Down, + Degraded, + Unknown, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct MonitorEntry { + pub ip: IpAddr, + pub label: Option, + pub status: MonitorStatus, + pub last_rtt_ms: Option, + pub min_rtt_ms: Option, + pub avg_rtt_ms: Option, + pub max_rtt_ms: Option, + pub packets_sent: u64, + pub packets_received: u64, + pub loss_pct: f64, + pub consecutive_failures: u32, + pub last_success: Option, + pub last_failure: Option, +} + +impl MonitorEntry { + pub fn new(ip: IpAddr, label: Option) -> Self { + Self { + ip, + label, + status: MonitorStatus::Unknown, + last_rtt_ms: None, + min_rtt_ms: None, + avg_rtt_ms: None, + max_rtt_ms: None, + packets_sent: 0, + packets_received: 0, + loss_pct: 0.0, + consecutive_failures: 0, + last_success: None, + last_failure: None, + } + } + + pub fn record_success(&mut self, rtt_ms: f64) { + self.packets_sent += 1; + self.packets_received += 1; + self.last_rtt_ms = Some(rtt_ms); + self.consecutive_failures = 0; + self.last_success = Some(now_ms()); + + // Update min/avg/max + self.min_rtt_ms = Some(match self.min_rtt_ms { + Some(min) => min.min(rtt_ms), + None => rtt_ms, + }); + self.max_rtt_ms = Some(match self.max_rtt_ms { + Some(max) => max.max(rtt_ms), + None => rtt_ms, + }); + self.avg_rtt_ms = Some( + (self.avg_rtt_ms.unwrap_or(0.0) * (self.packets_received - 1) as f64 + rtt_ms) + / self.packets_received as f64, + ); + + self.update_loss(); + self.update_status(); + } + + pub fn record_failure(&mut self) { + self.packets_sent += 1; + self.consecutive_failures += 1; + self.last_rtt_ms = None; + self.last_failure = Some(now_ms()); + + self.update_loss(); + self.update_status(); + } + + fn update_loss(&mut self) { + if self.packets_sent > 0 { + self.loss_pct = (1.0 - self.packets_received as f64 / self.packets_sent as f64) * 100.0; + } + } + + fn update_status(&mut self) { + if self.consecutive_failures >= 3 { + self.status = MonitorStatus::Down; + } else if self.loss_pct > 20.0 || self.consecutive_failures > 0 { + self.status = MonitorStatus::Degraded; + } else if self.packets_received > 0 { + self.status = MonitorStatus::Up; + } + } +} + +fn now_ms() -> u64 { + std::time::SystemTime::now() + .duration_since(std::time::UNIX_EPOCH) + .unwrap_or_default() + .as_millis() as u64 +} diff --git a/src-tauri/src/net/dns.rs b/src-tauri/src/net/dns.rs new file mode 100644 index 0000000..189d520 --- /dev/null +++ b/src-tauri/src/net/dns.rs @@ -0,0 +1,50 @@ +use std::net::IpAddr; +use tokio::task::JoinSet; + +/// Perform reverse DNS lookup on a single IP. +/// Returns the hostname if found, None otherwise. +pub async fn reverse_lookup(ip: IpAddr) -> Option { + let result = tokio::task::spawn_blocking(move || { + dns_lookup::lookup_addr(&ip) + }).await; + + match result { + Ok(Ok(hostname)) => { + if hostname == ip.to_string() { + None + } else { + Some(hostname) + } + } + _ => None, + } +} + +/// Perform reverse DNS lookups on a batch of IPs concurrently. +/// Returns a Vec of (IpAddr, Option) pairs. +pub async fn reverse_lookup_batch( + ips: &[IpAddr], + max_concurrent: usize, +) -> Vec<(IpAddr, Option)> { + let mut results = Vec::with_capacity(ips.len()); + + for chunk in ips.chunks(max_concurrent) { + let mut join_set = JoinSet::new(); + + for &ip in chunk { + join_set.spawn(async move { + let hostname = reverse_lookup(ip).await; + (ip, hostname) + }); + } + + while let Some(result) = join_set.join_next().await { + match result { + Ok(pair) => results.push(pair), + Err(e) => tracing::warn!("DNS lookup task panicked: {}", e), + } + } + } + + results +} \ No newline at end of file diff --git a/src-tauri/src/net/mod.rs b/src-tauri/src/net/mod.rs new file mode 100644 index 0000000..130c0c1 --- /dev/null +++ b/src-tauri/src/net/mod.rs @@ -0,0 +1,2 @@ +pub mod range; +pub mod dns; \ No newline at end of file diff --git a/src-tauri/src/net/range.rs b/src-tauri/src/net/range.rs new file mode 100644 index 0000000..6838684 --- /dev/null +++ b/src-tauri/src/net/range.rs @@ -0,0 +1,143 @@ +use ipnetwork::IpNetwork; +use std::net::IpAddr; + +/// Supported formats: +/// CIDR: "192.168.1.0/24" +/// Range: "192.168.1.1-192.168.1.254" +/// Single IP: "192.168.1.1" +/// Comma-sep: "192.168.1.1,192.168.1.2,10.0.0.1" +/// Mixed: "192.168.1.0/24,10.0.0.1" + +pub fn parse_ip_range(input: &str) -> Result, String> { + let input = input.trim(); + if input.is_empty() { + return Err("Empty Input".to_string()); + } + let mut all_ips = Vec::new(); + for segment in input.split(',') { + let segment = segment.trim(); + if segment.is_empty() { + continue; + } + match segment { + s if s.contains('/') => parse_cidr(s, &mut all_ips)?, + s if s.contains('-') => parse_range(s, &mut all_ips)?, + s => parse_single(s, &mut all_ips)?, + } + } + if all_ips.is_empty() { + return Err("No Valid IPs parsed".to_string()); + } + Ok(all_ips) +} + +fn parse_cidr(segment: &str, ips: &mut Vec) -> Result<(), String> { + let network: IpNetwork = segment + .parse() + .map_err(|e| format!("Invalid CIDR '{}': {}", segment, e))?; + + match network { + IpNetwork::V4(net) if net.prefix() < 31 => { + let network_addr = net.network(); + let broadcast_addr = net.broadcast(); + for ip in net.iter() { + if ip != network_addr && ip != broadcast_addr { + ips.push(IpAddr::V4(ip)); + } + } + } + _ => { + for ip in network.iter() { + ips.push(ip); + } + } + } + + Ok(()) +} + +fn parse_range(segment: &str, ips: &mut Vec) -> Result<(), String> { + let parts: Vec<&str> = segment.splitn(2, '-').collect(); + let start: IpAddr = parts[0] + .trim() + .parse() + .map_err(|e| format!("Invalid start IP '{}': {}", parts[0], e))?; + let end: IpAddr = parts[1] + .trim() + .parse() + .map_err(|e| format!("Invalid end IP '{}': {}", parts[1], e))?; + match (start, end) { + (IpAddr::V4(s), IpAddr::V4(e)) => { + let s_u32 = u32::from(s); + let e_u32 = u32::from(e); + if s_u32 > e_u32 { + return Err(format!("Start IP {} is greater than end IP {}", s, e,)); + } + for addr in s_u32..=e_u32 { + ips.push(IpAddr::V4(addr.into())); + } + } + _ => { + return Err("Range notation only supports IPv4 currently".to_string()); + } + } + Ok(()) +} + +fn parse_single(segment: &str, ips: &mut Vec) -> Result<(), String> { + let ip: IpAddr = segment + .parse() + .map_err(|e| format!("Invalid IP '{}': {}", segment, e))?; + ips.push(ip); + Ok(()) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn test_single_ip() { + let result = parse_ip_range("192.168.1.1").unwrap(); + assert_eq!(result.len(), 1); + } + + #[test] + fn test_cidr_24() { + let result = parse_ip_range("192.168.1.0/24").unwrap(); + assert_eq!(result.len(), 256); + } + + #[test] + fn test_range() { + let result = parse_ip_range("192.168.1.1-192.168.1.10").unwrap(); + assert_eq!(result.len(), 10); + } + + #[test] + fn test_comma_separated() { + let result = parse_ip_range("192.168.1.1,192.168.1.2,10.0.0.1").unwrap(); + assert_eq!(result.len(), 3); + } + + #[test] + fn test_mixed() { + let result = parse_ip_range("192.168.1.0/30,10.0.0.1").unwrap(); + assert_eq!(result.len(), 5); + } + + #[test] + fn test_empty_input() { + assert!(parse_ip_range("").is_err()); + } + + #[test] + fn test_invalid_cidr() { + assert!(parse_ip_range("not.an.ip/24").is_err()); + } + + #[test] + fn test_reversed_range() { + assert!(parse_ip_range("192.168.1.10-192.168.1.1").is_err()); + } +} \ No newline at end of file diff --git a/src-tauri/src/scanner/mod.rs b/src-tauri/src/scanner/mod.rs new file mode 100644 index 0000000..9387623 --- /dev/null +++ b/src-tauri/src/scanner/mod.rs @@ -0,0 +1,3 @@ +pub mod ping; +pub mod ports; +pub mod netbios; \ No newline at end of file diff --git a/src-tauri/src/scanner/netbios.rs b/src-tauri/src/scanner/netbios.rs new file mode 100644 index 0000000..a6faceb --- /dev/null +++ b/src-tauri/src/scanner/netbios.rs @@ -0,0 +1,176 @@ +use std::net::{IpAddr, SocketAddr}; +use std::time::Duration; + +use tokio::net::UdpSocket; +use tokio::time::timeout; + +use crate::models::host::NetbiosInfo; +fn build_nbstat_query() -> Vec { + let mut pkt = Vec::with_capacity(50); + + // Transaction ID + pkt.extend_from_slice(&[0x00, 0x01]); + // Flags: standard query + pkt.extend_from_slice(&[0x00, 0x00]); + // Questions: 1 + pkt.extend_from_slice(&[0x00, 0x01]); + // Answer RRs: 0 + pkt.extend_from_slice(&[0x00, 0x00]); + // Authority RRs: 0 + pkt.extend_from_slice(&[0x00, 0x00]); + // Additional RRs: 0 + pkt.extend_from_slice(&[0x00, 0x00]); + // Name: encoded wildcard "*" (CKAAAAAA...) length 32 + pkt.push(0x20); + // '*' = 0x2A -> nibbles 0x2, 0xA -> 'C', 'K' + // Then 15 spaces (0x20) -> each is 'C', 'A' + pkt.extend_from_slice(b"CKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"); + // Name terminator + pkt.push(0x00); + // Type: NBSTAT (0x0021) + pkt.extend_from_slice(&[0x00, 0x21]); + // Class: IN (0x0001) + pkt.extend_from_slice(&[0x00, 0x01]); + + pkt +} + +fn parse_nbstat_response(data: &[u8]) -> Option { + // Minimum: 12 byte header + answer section + if data.len() < 57 { + return None; + } + + // Skip header (12 bytes) + query echo name section + // Find the name count byte. The answer starts after the + // echoed name. We look for the NBSTAT answer by scanning + // past the header. + let mut pos = 12; + + // Skip the answer name (could be compressed pointer or literal) + if pos >= data.len() { + return None; + } + + if data[pos] & 0xC0 == 0xC0 { + // Compressed pointer: 2 bytes + pos += 2; + } else { + // Literal name: skip until null + while pos < data.len() && data[pos] != 0x00 { + pos += data[pos] as usize + 1; + } + pos += 1; // skip null terminator + } + + // Skip type (2) + class (2) + TTL (4) + data length (2) + pos += 10; + + if pos >= data.len() { + return None; + } + + // Number of names + let name_count = data[pos] as usize; + pos += 1; + + let mut computer_name: Option = None; + let mut workgroup: Option = None; + + for _ in 0..name_count { + if pos + 18 > data.len() { + break; + } + + // Name: 15 bytes, right-padded with spaces + let raw_name = &data[pos..pos + 15]; + let name = String::from_utf8_lossy(raw_name).trim().to_string(); + // Suffix byte (type) + let suffix = data[pos + 15]; + // Flags: 2 bytes + let flags = u16::from_be_bytes([data[pos + 16], data[pos + 17]]); + let is_group = flags & 0x8000 != 0; + + pos += 18; + + if name.is_empty() { + continue; + } + + match (suffix, is_group) { + (0x00, false) => { + if computer_name.is_none() { + computer_name = Some(name); + } + } + (0x00, true) => { + if workgroup.is_none() { + workgroup = Some(name); + } + } + _ => {} + } + } + + // MAC address: 6 bytes after the name table + let mac = if pos + 6 <= data.len() { + let m = &data[pos..pos + 6]; + // Skip if all zeros or all FF + if m.iter().all(|&b| b == 0) || m.iter().all(|&b| b == 0xFF) { + None + } else { + Some(format!( + "{:02X}:{:02X}:{:02X}:{:02X}:{:02X}:{:02X}", + m[0], m[1], m[2], m[3], m[4], m[5] + )) + } + } else { + None + }; + + // Only return if we got something useful + if computer_name.is_none() && workgroup.is_none() && mac.is_none() { + return None; + } + + Some(NetbiosInfo { + computer_name, + workgroup, + mac_from_netbios: mac, + }) +} + +pub async fn query_netbios(ip: IpAddr, timeout_ms: u64) -> Option { + let target = SocketAddr::new(ip, 137); + let dur = Duration::from_millis(timeout_ms); + + // Bind to any available port + let bind_addr = match ip { + IpAddr::V4(_) => "0.0.0.0:0", + IpAddr::V6(_) => "[::]:0", + }; + + let socket = match UdpSocket::bind(bind_addr).await { + Ok(s) => s, + Err(e) => { + tracing::debug!("NetBIOS socket bind failed: {}", e); + return None; + } + }; + + let query = build_nbstat_query(); + + if let Err(e) = socket.send_to(&query, target).await { + tracing::debug!("NetBIOS send to {} failed: {}", ip, e); + return None; + } + + let mut buf = vec![0u8; 1024]; + match timeout(dur, socket.recv_from(&mut buf)).await { + Ok(Ok((len, _))) => { + buf.truncate(len); + parse_nbstat_response(&buf) + } + _ => None, + } +} diff --git a/src-tauri/src/scanner/ping.rs b/src-tauri/src/scanner/ping.rs new file mode 100644 index 0000000..337bb23 --- /dev/null +++ b/src-tauri/src/scanner/ping.rs @@ -0,0 +1,130 @@ +use crate::models::host::{HostResult, PingResult}; +use crate::net::dns::reverse_lookup; +use crate::scanner::netbios::query_netbios; +use crate::scanner::ports::{scan_host_ports, DEFAULT_PORTS}; +use ping_async::IcmpEchoRequestor; +use std::net::IpAddr; +use std::sync::atomic::{AtomicBool, Ordering}; +use std::sync::Arc; +use std::time::Duration; +use tauri::{AppHandle, Emitter}; +use tokio::task::JoinSet; + +const MAX_CONCURRENT: usize = 128; + +async fn ping_host(ip: IpAddr, timeout: Duration) -> HostResult { + let requestor = match IcmpEchoRequestor::new(ip, None, None, Some(timeout)) { + Ok(r) => r, + Err(e) => { + tracing::debug!("Failed to create ping request for {}: {}", ip, e); + return HostResult::down(ip); + } + }; + match requestor.send().await { + Ok(reply) => match reply.status() { + ping_async::IcmpEchoStatus::Success => { + let rtt = reply.round_trip_time(); + let hostname = reverse_lookup(ip).await; + let mut result = HostResult::from_ping( + ip, + PingResult { + rtt_ms: rtt.as_secs_f64() * 1000.0, + ttl: None, + loss_pct: 0.0, + }, + ); + result.hostname = hostname; + result + } + other => { + tracing::debug!("{} returned {:?}", ip, other); + HostResult::down(ip) + } + }, + Err(e) => { + tracing::debug!("Ping error for {}: {}", ip, e); + HostResult::down(ip) + } + } +} + +pub async fn ping_sweep( + app: &AppHandle, + ips: &[IpAddr], + timeout_ms: u64, + cancel: Arc, + port_scan: bool, + ports: Option>, + port_timeout_ms: u64, +) { + let total = ips.len() as u32; + let timeout = Duration::from_millis(timeout_ms); + let mut done: u32 = 0; + + for chunk in ips.chunks(MAX_CONCURRENT) { + if cancel.load(Ordering::Relaxed) { + break; + } + + let mut join_set = JoinSet::new(); + + for &ip in chunk { + let timeout = timeout; + join_set.spawn(async move { ping_host(ip, timeout).await }); + } + + while let Some(result) = join_set.join_next().await { + done += 1; + match result { + Ok(mut host_result) => { + // Emit immediately so the host shows up in the table + let _ = app.emit("scan:host-found", &host_result); + + // Port scan Up hosts in place + if host_result.status == crate::models::host::HostStatus::Up { + let app2 = app.clone(); + let ports2 = ports.clone(); + tokio::spawn(async move { + let mut enriched = host_result; + + // NetBIOS and port scan concurrently + let nb_fut = query_netbios(enriched.ip, 500); + + if port_scan { + let scan_ports = ports2 + .unwrap_or_else(|| DEFAULT_PORTS.to_vec()); + let (nb_result, port_results) = tokio::join!( + nb_fut, + scan_host_ports(enriched.ip, &scan_ports, port_timeout_ms) + ); + enriched.netbios = nb_result; + enriched.ports = port_results; + } else { + enriched.netbios = nb_fut.await; + } + + let _ = app2.emit("scan:host-found", &enriched); + }); + } + } + Err(e) => { + tracing::warn!("Ping task panicked: {}", e); + } + } + let _ = app.emit( + "scan:progress", + serde_json::json!({ + "done": done, + "total": total + }), + ); + } + } + + let _ = app.emit( + "scan:complete", + serde_json::json!({ + "total_hosts": done + }), + ); +} diff --git a/src-tauri/src/scanner/ports.rs b/src-tauri/src/scanner/ports.rs new file mode 100644 index 0000000..35dc177 --- /dev/null +++ b/src-tauri/src/scanner/ports.rs @@ -0,0 +1,151 @@ +use std::net::{IpAddr, SocketAddr}; +use std::time::Duration; + +use tokio::io::{AsyncReadExt, AsyncWriteExt}; +use tokio::net::TcpStream; +use tokio::task::JoinSet; +use tokio::time::timeout; + +use crate::models::host::{PortResult, PortState, Protocol}; + +fn service_name(port: u16) -> Option { + let name = match port { + 21 => "ftp", + 22 => "ssh", + 23 => "telnet", + 25 => "smtp", + 53 => "dns", + 80 => "http", + 110 => "pop3", + 111 => "rpcbind", + 135 => "msrpc", + 139 => "netbios-ssn", + 143 => "imap", + 443 => "https", + 445 => "microsoft-ds", + 993 => "imaps", + 995 => "pop3s", + 1433 => "mssql", + 1521 => "oracle", + 3306 => "mysql", + 3389 => "rdp", + 5432 => "postgresql", + 5900 => "vnc", + 5985 => "winrm", + 5986 => "winrm-s", + 8080 => "http-alt", + 8088 => "http-alt", + 8443 => "https-alt", + _ => return None, + }; + Some(name.to_string()) +} + +pub const DEFAULT_PORTS: &[u16] = &[ + 21, 22, 23, 25, 53, 80, 110, 111, 135, 139, 143, + 443, 445, 993, 995, 1433, 1521, 3306, 3389, + 5432, 5900, 5985, 5986, 8080, 8088, 8443, +]; + +async fn scan_port(ip: IpAddr, port: u16, timeout_ms: u64) -> PortResult { + let addr = SocketAddr::new(ip, port); + let dur = Duration::from_millis(timeout_ms); + + let stream = match timeout(dur, TcpStream::connect(addr)).await { + Ok(Ok(stream)) => stream, + Ok(Err(_)) => { + return PortResult { + port, + protocol: Protocol::Tcp, + state: PortState::Closed, + service: service_name(port), + banner: None, + }; + } + Err(_) => { + return PortResult { + port, + protocol: Protocol::Tcp, + state: PortState::Filtered, + service: service_name(port), + banner: None, + }; + } + }; + + // Port is open, try to grab a banner + let banner = grab_banner(stream, port).await; + + PortResult { + port, + protocol: Protocol::Tcp, + state: PortState::Open, + service: service_name(port), + banner, + } +} + +async fn grab_banner(mut stream: TcpStream, port: u16) -> Option { + let banner_timeout = Duration::from_millis(800); + + // Some services need us to send something first + let probe = match port { + 80 | 8080 | 8088 | 8443 => Some(b"HEAD / HTTP/1.0\r\nHost: localhost\r\n\r\n".as_slice()), + 443 => None, // TLS, can't grab without handshake + _ => None, + }; + + if let Some(data) = probe { + if timeout(banner_timeout, stream.write_all(data)).await.is_err() { + return None; + } + } + + // Try to read whatever the service sends back + let mut buf = vec![0u8; 1024]; + match timeout(banner_timeout, stream.read(&mut buf)).await { + Ok(Ok(n)) if n > 0 => { + buf.truncate(n); + // Strip to printable ASCII, replace control chars + let banner: String = buf.iter() + .map(|&b| if b >= 0x20 && b < 0x7f { b as char } else { ' ' }) + .collect(); + let banner = banner.trim().to_string(); + if banner.is_empty() { + None + } else { + // Cap length so it doesn't blow up the UI + Some(banner.chars().take(200).collect()) + } + } + _ => None, + } +} + +const MAX_PORT_CONCURRENT: usize = 64; + +pub async fn scan_host_ports( + ip: IpAddr, + ports: &[u16], + timeout_ms: u64, +) -> Vec { + let mut results = Vec::with_capacity(ports.len()); + + for chunk in ports.chunks(MAX_PORT_CONCURRENT) { + let mut join_set = JoinSet::new(); + + for &port in chunk { + join_set.spawn(scan_port(ip, port, timeout_ms)); + } + + while let Some(result) = join_set.join_next().await { + match result { + Ok(port_result) => results.push(port_result), + Err(e) => tracing::warn!("Port scan task panicked: {}", e), + } + } + } + + results.sort_by_key(|p| p.port); + results +} \ No newline at end of file diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json new file mode 100644 index 0000000..311f27f --- /dev/null +++ b/src-tauri/tauri.conf.json @@ -0,0 +1,33 @@ +{ + "$schema": "https://schema.tauri.app/config/2", + "productName": "argus", + "version": "0.2.0", + "identifier": "io.argus.app", + "build": { + "frontendDist": "../src" + }, + "app": { + "withGlobalTauri": true, + "windows": [ + { + "title": "argus", + "width": 800, + "height": 600 + } + ], + "security": { + "csp": null + } + }, + "bundle": { + "active": true, + "targets": "all", + "icon": [ + "icons/32x32.png", + "icons/128x128.png", + "icons/128x128@2x.png", + "icons/icon.icns", + "icons/icon.ico" + ] + } +} diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..2dd499e --- /dev/null +++ b/src/index.html @@ -0,0 +1,251 @@ + + + + + + + + Argus + + + + +
+ + Download + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ARGUS + + + + +
+
+ Ready + +
+
+ + +
+ + + +
+ + +
+
+
+ +
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+
+ +
+
+ + + + + + + + + + + + +
IP AddressStatusLatency (ms)HostnameOpen Ports
+
+
+ +
+
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + + +
IP AddressLabelStatusLast RTTMinAvgMaxSentRecvLoss %Consec. Fail
+
+
+ +
+
+ + + + + + +
+
+
+
+ + +
+ Argus + + unprivileged +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..50f3c94 --- /dev/null +++ b/src/main.js @@ -0,0 +1,1119 @@ +const { invoke } = window.__TAURI__.core; +const { listen } = window.__TAURI__.event; +const table = (() => { + let data = []; + let filtered = []; + let sortKey = 'ip'; + let sortDir = 'asc'; + let filterText = ''; + let checkedIps = new Set(); + + function ipToNum(ip) { + const parts = String(ip).split('.'); + if (parts.length !== 4) return 0; + return parts.reduce((acc, o) => (acc << 8) + parseInt(o, 10), 0) >>> 0; + } + + function getSortVal(host, key) { + switch (key) { + case 'ip': return ipToNum(host.ip); + case 'status': return host.status || ''; + case 'rtt': return host.ping ? host.ping.rtt_ms : 99999; + case 'hostname': return (host.hostname || '').toLowerCase(); + case 'ports': return host.ports ? host.ports.filter((p) => p.state === 'Open').length : 0; + default: return ''; + } + } + + function formatPorts(host) { + if (!host.ports || host.ports.length === 0) return '-'; + const open = host.ports.filter((p) => p.state === 'Open'); + if (open.length === 0) return '-'; + return open.map((p) => { + const svc = p.service ? p.service : p.port; + return '' + p.port + '/' + (p.service || 'unknown') + ''; + }).join(' '); + } + + function buildDetailHtml(host) { + let html = '
'; + html += '
'; + html += '' + host.ip + ''; + if (host.hostname) html += '' + host.hostname + ''; + if (host.ping) html += '' + host.ping.rtt_ms.toFixed(1) + ' ms'; + html += '
'; + if (host.netbios) { + html += '
'; + if (host.netbios.computer_name) + html += 'Computer: ' + host.netbios.computer_name + ''; + if (host.netbios.workgroup) + html += 'Workgroup: ' + host.netbios.workgroup + ''; + if (host.netbios.mac_from_netbios) + html += 'MAC: ' + host.netbios.mac_from_netbios + ''; + html += '
'; + } + if (host.ports && host.ports.length > 0) { + const open = host.ports.filter((p) => p.state === 'Open'); + const closed = host.ports.filter((p) => p.state === 'Closed'); + const filtered = host.ports.filter((p) => p.state === 'Filtered'); + + if (open.length > 0) { + html += ''; + html += ''; + html += ''; + html += ''; + for (const p of open) { + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + } + html += '
PortProtocolStateServiceBanner
' + p.port + '' + p.protocol + '' + p.state + '' + (p.service || '-') + '' + (p.banner || '-') + '
'; + } + + html += '
'; + html += '' + open.length + ' open'; + html += '' + closed.length + ' closed'; + html += '' + filtered.length + ' filtered'; + html += '
'; + } else { + html += '

No port scan data. Enable "Simple Port Scan" and rescan.

'; + } + + html += '
'; + return html; + } + + let expandedIp = null; + + function handleRowClick(e) { + const row = e.target.closest('tr'); + if (!row || !row.dataset.ip) return; + const ip = row.dataset.ip; + + // Remove any existing detail row + const existing = document.querySelector('.detail-row'); + if (existing) existing.remove(); + + // If clicking the same row, just collapse + if (expandedIp === ip) { + expandedIp = null; + row.classList.remove('selected'); + return; + } + + // Deselect previous + const prev = document.querySelector('#results-body tr.selected'); + if (prev) prev.classList.remove('selected'); + + // Find the host data + const host = data.find((h) => String(h.ip) === ip); + if (!host) return; + + // Mark selected + row.classList.add('selected'); + expandedIp = ip; + + // Insert detail row after the clicked row + const detailRow = document.createElement('tr'); + detailRow.className = 'detail-row'; + const td = document.createElement('td'); + td.colSpan = document.querySelectorAll('#results-table th').length; + td.innerHTML = buildDetailHtml(host); + detailRow.appendChild(td); + row.after(detailRow); + } + + function refresh() { + if (filterText) { + const q = filterText.toLowerCase(); + filtered = data.filter((h) => + String(h.ip).includes(q) || + (h.hostname || '').toLowerCase().includes(q) || + (h.status || '').toLowerCase().includes(q) + ); + } else { + filtered = [...data]; + } + + filtered.sort((a, b) => { + const va = getSortVal(a, sortKey); + const vb = getSortVal(b, sortKey); + let cmp = 0; + if (typeof va === 'number' && typeof vb === 'number') { + cmp = va - vb; + } else { + cmp = String(va).localeCompare(String(vb)); + } + return sortDir === 'asc' ? cmp : -cmp; + }); + + render(); + } + + function render() { + const tbody = document.getElementById('results-body'); + const count = document.getElementById('host-count'); + if (!tbody) return; + expandedIp = null; + + const rows = filtered.map((host) => { + const ip = host.ip; + const status = host.status || 'Unknown'; + const cls = 'status-' + status.toLowerCase(); + const rtt = host.ping ? host.ping.rtt_ms.toFixed(1) : '-'; + const hostname = host.hostname || '-'; + + const isChecked = checkedIps.has(ip) ? 'checked' : ''; + return '' + + '' + + '' + ip + '' + + '' + status + '' + + '' + rtt + '' + + '' + hostname + '' + + '' + formatPorts(host) + '' + + ''; + }); + + tbody.innerHTML = rows.join(''); + + if (count) { + const up = data.filter((h) => h.status === 'Up').length; + count.textContent = up + ' up / ' + data.length + ' total'; + } + if (columns && columns.apply) columns.apply(); + } + + function upsert(host) { + const idx = data.findIndex((h) => h.ip === host.ip); + if (idx >= 0) { + data[idx] = host; + } else { + data.push(host); + } + refresh(); + } + + function clear() { + data = []; + filtered = []; + checkedIps.clear(); + document.getElementById('check-all').checked = false; + refresh(); + } + + function setSort(key) { + if (sortKey === key) { + sortDir = sortDir === 'asc' ? 'desc' : 'asc'; + } else { + sortKey = key; + sortDir = 'asc'; + } + document.querySelectorAll('#results-table th').forEach((th) => { + th.classList.remove('sorted-asc', 'sorted-desc'); + if (th.dataset.sort === sortKey) { + th.classList.add(sortDir === 'asc' ? 'sorted-asc' : 'sorted-desc'); + } + }); + refresh(); + } + + function setFilter(text) { + filterText = text; + refresh(); + } + + return { + upsert, clear, setSort, setFilter, handleRowClick, + init: () => { + document.getElementById('results-body') + .addEventListener('click', (e) => { + // Don't expand detail panel when clicking a checkbox + if (e.target.classList.contains('row-check')) { + const row = e.target.closest('tr'); + if (row && row.dataset.ip) { + if (e.target.checked) { + checkedIps.add(row.dataset.ip); + } else { + checkedIps.delete(row.dataset.ip); + } + } + return; + } + handleRowClick(e); + }); + + // Select all checkbox + document.getElementById('check-all').addEventListener('change', (e) => { + if (e.target.checked) { + filtered.forEach((h) => checkedIps.add(String(h.ip))); + } else { + checkedIps.clear(); + } + render(); + }); + }, + getAll: () => [...data], + getUp: () => data.filter((h) => h.status === 'Up'), + getIPs: () => data.map((h) => String(h.ip)), + getUpIPs: () => data.filter((h) => h.status === 'Up').map((h) => String(h.ip)), + getChecked: () => data.filter((h) => checkedIps.has(String(h.ip))), + getCheckedIPs: () => [...checkedIps], + }; +})(); +const scanner = (() => { + let scanning = false; + + const els = { + input: () => document.getElementById('ip-range-input'), + btnScan: () => document.getElementById('btn-scan'), + btnStop: () => document.getElementById('btn-stop'), + status: () => document.getElementById('status-text'), + bar: () => document.getElementById('progress-bar'), + fill: () => document.getElementById('progress-fill'), + }; + + function setScanning(active) { + scanning = active; + els.btnScan().disabled = active; + els.btnStop().disabled = !active; + els.input().disabled = active; + els.bar().hidden = !active; + if (!active) els.fill().style.width = '0%'; + } + + async function start() { + const range = els.input().value.trim(); + if (!range) { + els.status().textContent = 'Enter an IP range'; + return; + } + + table.clear(); + setScanning(true); + els.status().textContent = 'Scanning...'; + + try { + const portScan = document.getElementById('chk-portscan').checked; + await invoke('start_scan', { + config: { + range: range, + timeout_ms: 1500, + port_scan: portScan, + ports: null, + port_timeout_ms: 1000, + }, + }); + } catch (err) { + els.status().textContent = 'Error: ' + err; + setScanning(false); + } + } + + async function stop() { + try { + await invoke('stop_scan'); + } catch (err) { + console.error('stop_scan error:', err); + } + els.status().textContent = 'Scan stopped'; + setScanning(false); + } + + async function setupListeners() { + await listen('scan:host-found', (e) => { + table.upsert(e.payload); + }); + + await listen('scan:progress', (e) => { + const p = e.payload; + const pct = Math.round((p.done / p.total) * 100); + els.fill().style.width = pct + '%'; + els.status().textContent = 'Scanning... ' + p.done + ' / ' + p.total; + }); + + await listen('scan:complete', (e) => { + els.status().textContent = 'Scan complete (' + e.payload.total_hosts + ' hosts)'; + setScanning(false); + }); + } + + function init() { + els.btnScan().addEventListener('click', start); + els.btnStop().addEventListener('click', stop); + els.input().addEventListener('keydown', (e) => { + if (e.key === 'Enter' && !scanning) start(); + }); + setupListeners(); + } + + return { init }; +})(); +const exporter = (() => { + async function csvAll() { + const data = table.getAll(); + if (data.length === 0) return; + await saveCSV(data); + } + + async function csvUp() { + const data = table.getUp(); + if (data.length === 0) return; + await saveCSV(data); + } + + async function saveCSV(data) { + const { save } = window.__TAURI__.dialog; + const path = await save({ + defaultPath: 'argus-scan.csv', + filters: [{ name: 'CSV', extensions: ['csv'] }], + }); + if (!path) return; + + try { + await invoke('export_csv', { request: { path: path, hosts: data } }); + } catch (err) { + console.error('Export error:', err); + } + } + + return { csvAll, csvUp }; +})(); +const columns = (() => { + const STORAGE_KEY = 'argus-columns'; + const allCols = ['ip', 'status', 'rtt', 'hostname', 'ports']; + + function getVisible() { + try { + const saved = localStorage.getItem(STORAGE_KEY); + if (saved) return JSON.parse(saved); + } catch (e) { } + return [...allCols]; + } + + function save(visible) { + localStorage.setItem(STORAGE_KEY, JSON.stringify(visible)); + } + + function apply() { + const visible = getVisible(); + allCols.forEach((col, i) => { + const show = visible.includes(col); + // Table headers + const th = document.querySelector('#results-table th[data-sort="' + col + '"]'); + if (th) th.style.display = show ? '' : 'none'; + // Table body cells (by column index) + const colIndex = allCols.indexOf(col) + 2; + document.querySelectorAll('#results-table tbody td:nth-child(' + colIndex + ')').forEach((td) => { + td.style.display = show ? '' : 'none'; + }); + }); + } + + function init() { + const btn = document.getElementById('btn-columns'); + const picker = document.getElementById('col-picker'); + const visible = getVisible(); + + // Set initial checkbox state from saved prefs + picker.querySelectorAll('input[type="checkbox"]').forEach((cb) => { + if (!cb.disabled) { + cb.checked = visible.includes(cb.dataset.col); + } + }); + + // Toggle picker + btn.addEventListener('click', (e) => { + e.stopPropagation(); + picker.hidden = !picker.hidden; + }); + + // Close picker when clicking outside + document.addEventListener('click', (e) => { + if (!picker.contains(e.target) && e.target !== btn) { + picker.hidden = true; + } + }); + + // Handle checkbox changes + picker.addEventListener('change', (e) => { + const cb = e.target; + if (!cb.dataset.col) return; + + const current = getVisible(); + if (cb.checked) { + if (!current.includes(cb.dataset.col)) current.push(cb.dataset.col); + } else { + const idx = current.indexOf(cb.dataset.col); + if (idx >= 0) current.splice(idx, 1); + } + save(current); + apply(); + }); + + // Apply saved preferences on load + apply(); + } + + return { init, apply }; +})(); +const sender = (() => { + function init() { + const menus = [ + { btn: 'btn-send-nmap', menu: 'send-nmap-menu' }, + { btn: 'btn-send-monitor', menu: 'send-monitor-menu' }, + ]; + + menus.forEach(({ btn, menu }) => { + const btnEl = document.getElementById(btn); + const menuEl = document.getElementById(menu); + + btnEl.addEventListener('click', (e) => { + e.stopPropagation(); + // Close any other open send menus + document.querySelectorAll('.send-menu').forEach((m) => { + if (m !== menuEl) m.hidden = true; + }); + menuEl.hidden = !menuEl.hidden; + }); + }); + + // Close menus on outside click + document.addEventListener('click', () => { + document.querySelectorAll('.send-menu').forEach((m) => m.hidden = true); + }); + + // Handle send actions + document.querySelectorAll('.send-menu .ctx-item').forEach((item) => { + item.addEventListener('click', (e) => { + const action = e.target.dataset.send; + let hosts; + + if (action.endsWith('-all')) hosts = table.getAll(); + else if (action.endsWith('-up')) hosts = table.getUp(); + else if (action.endsWith('-checked')) hosts = table.getChecked(); + + if (!hosts || hosts.length === 0) { + console.log('No hosts to send'); + return; + } + + if (action.startsWith('nmap')) { + nmapTab.setTarget(hosts.map((h) => String(h.ip))); + } else if (action.startsWith('monitor')) { + monitorTab.setTargets(hosts.map(function (h) { return String(h.ip); })); + } + + document.querySelectorAll('.send-menu').forEach((m) => m.hidden = true); + }); + }); + } + + return { init }; +})(); +const ctxMenu = (() => { + const menu = () => document.getElementById('context-menu'); + let targetHost = null; + + function show(e, host) { + e.preventDefault(); + targetHost = host; + // Show/hide HTTP/HTTPS based on open ports + const openPorts = (host.ports || []) + .filter((p) => p.state === 'Open') + .map((p) => p.port); + const hasHttp = openPorts.some((p) => [80, 8080, 8088].includes(p)); + const hasHttps = openPorts.some((p) => [443, 8443].includes(p)); + menu().querySelector('[data-action="open-http"]').style.display = hasHttp ? '' : 'none'; + menu().querySelector('[data-action="open-https"]').style.display = hasHttps ? '' : 'none'; + const el = menu(); + el.hidden = false; + + // Position near the cursor, but keep it on screen + let x = e.clientX; + let y = e.clientY; + const rect = el.getBoundingClientRect(); + if (x + rect.width > window.innerWidth) x = window.innerWidth - rect.width - 4; + if (y + rect.height > window.innerHeight) y = window.innerHeight - rect.height - 4; + + el.style.left = x + 'px'; + el.style.top = y + 'px'; + } + + function hide() { + menu().hidden = true; + targetHost = null; + } + + async function handleAction(action) { + if (!targetHost) return; + const ip = String(targetHost.ip); + const hostname = targetHost.hostname || ''; + + switch (action) { + case 'copy-ip': + await navigator.clipboard.writeText(ip); + break; + case 'copy-hostname': + await navigator.clipboard.writeText(hostname || ip); + break; + case 'open-http': + await invoke('launch_url', { url: 'http://' + ip }); + break; + case 'open-https': + await invoke('launch_url', { url: 'https://' + ip }); + break; + case 'traceroute': + traceroute.run(ip); + break; + case 'send-monitor': + monitorTab.setTargets([ip]); + break; + case 'send-nmap': + nmapTab.setTarget([ip]); + break; + } + + hide(); + } + + function init() { + // Hide on any click outside + document.addEventListener('click', hide); + + // Handle menu item clicks + menu().addEventListener('click', (e) => { + const item = e.target.closest('.ctx-item'); + if (item) handleAction(item.dataset.action); + }); + + // Right-click on table rows + document.getElementById('results-body').addEventListener('contextmenu', (e) => { + const row = e.target.closest('tr'); + if (!row || !row.dataset.ip) return; + const host = table.getAll().find((h) => String(h.ip) === row.dataset.ip); + if (host) show(e, host); + }); + } + + return { init }; +})(); + +const traceroute = (() => { + const modal = () => document.getElementById('traceroute-modal'); + const output = () => document.getElementById('traceroute-output'); + const target = () => document.getElementById('traceroute-target'); + let running = false; + + async function run(ip) { + modal().classList.add('visible'); + output().innerHTML = ''; + output().classList.add('traceroute-running'); + target().textContent = ip; + running = true; + + try { + await invoke('run_traceroute', { ip: ip }); + } catch (err) { + appendLine('Error: ' + err); + } + } + + function appendLine(text) { + const el = output(); + const line = document.createElement('div'); + line.className = 'traceroute-line'; + if (text.includes('reached')) line.classList.add('hop-reached'); + line.textContent = text; + el.appendChild(line); + el.scrollTop = el.scrollHeight; + } + + function close() { + modal().classList.remove('visible'); + output().classList.remove('traceroute-running'); + running = false; + } + + async function setupListeners() { + await listen('traceroute:hop', (e) => { + appendLine(e.payload); + }); + + await listen('traceroute:complete', () => { + output().classList.remove('traceroute-running'); + running = false; + }); + + await listen('traceroute:error', (e) => { + appendLine('Error: ' + e.payload); + output().classList.remove('traceroute-running'); + running = false; + }); + } + + function init() { + document.getElementById('traceroute-close').addEventListener('click', close); + + // Close on overlay click + modal().addEventListener('click', (e) => { + if (e.key === 'Escape' && !modal().hidden) close(); + }); + + // Close on Escape + document.addEventListener('keydown', (e) => { + if (e.key === 'Escape' && !modal().hidden) close(); + }); + + setupListeners(); + } + + return { init, run }; +})(); +const nmapTab = (() => { + let running = false; + + const els = { + target: () => document.getElementById('nmap-target'), + preset: () => document.getElementById('nmap-preset'), + custom: () => document.getElementById('nmap-custom-args'), + btnScan: () => document.getElementById('btn-nmap-scan'), + btnStop: () => document.getElementById('btn-nmap-stop'), + output: () => document.getElementById('nmap-output'), + }; + + function getArgs() { + const preset = els.preset().value; + switch (preset) { + case 'quick': return ['-sT', '-T4']; + case 'service': return ['-sT', '-sV']; + case 'os': return ['-sT', '-O']; + case 'full': return ['-sT', '-sV', '-sC']; + case 'custom': + return els.custom().value.trim().split(/\s+/).filter(Boolean); + default: return ['-sT']; + } + } + + function setRunning(active) { + try { + running = active; + els.btnScan().disabled = active; + els.btnStop().disabled = !active; + els.target().disabled = active; + els.preset().disabled = active; + + if (active) { + els.output().classList.add('nmap-running'); + } else { + els.output().classList.remove('nmap-running'); + } + + var nmapTabEl = document.querySelector('[data-tab="nmap"]'); + console.log('found tab:', nmapTabEl); + if (active) { + nmapTabEl.classList.add('tab-running'); + } else { + nmapTabEl.classList.remove('tab-running'); + } + console.log('tab class now:', nmapTabEl.classList.toString()); + } catch (err) { + console.error('setRunning error:', err); + } + } + + function appendLine(text) { + const el = els.output(); + const line = document.createElement('div'); + line.className = 'nmap-line'; + + if (text.match(/^\d+\/tcp\s+open/)) { + line.classList.add('nmap-line-open'); + } else if (text.match(/^\d+\/tcp\s+closed/)) { + line.classList.add('nmap-line-closed'); + } else if (text.startsWith('Nmap scan report') || text.startsWith('PORT')) { + line.classList.add('nmap-line-header'); + } else if (text.startsWith('|') || text.startsWith('Service Info')) { + line.classList.add('nmap-line-info'); + } + + line.textContent = text; + el.appendChild(line); + el.scrollTop = el.scrollHeight; + } + + async function start() { + const target = els.target().value.trim(); + if (!target) return; + + els.output().innerHTML = ''; + setRunning(true); + + try { + const args = getArgs(); + if (document.getElementById('chk-nmap-verbose').checked) { + args.unshift('-v'); + } + await invoke('run_nmap', { + config: { target: target, args: args }, + }); + } catch (err) { + appendLine('Error: ' + err); + setRunning(false); + } + } + + async function stop() { + try { + await invoke('stop_nmap'); + } catch (err) { + console.error('stop_nmap error:', err); + } + } + + function setTarget(ips) { + els.target().value = ips.join(' '); + // Switch to nmap tab + document.querySelectorAll('.tab').forEach((t) => t.classList.remove('active')); + document.querySelectorAll('.view').forEach((v) => v.classList.remove('active')); + document.querySelector('[data-tab="nmap"]').classList.add('active'); + document.getElementById('view-nmap').classList.add('active'); + } + + async function setupListeners() { + await listen('nmap:line', (e) => { + appendLine(e.payload); + }); + + await listen('nmap:complete', (e) => { + appendLine(''); + appendLine(e.payload); + setRunning(false); + }); + + await listen('nmap:error', (e) => { + appendLine('Error: ' + e.payload); + setRunning(false); + }); + } + + function init() { + els.btnScan().addEventListener('click', start); + els.btnStop().addEventListener('click', stop); + + els.target().addEventListener('keydown', (e) => { + if (e.key === 'Enter' && !running) start(); + }); + + // Show/hide custom args field + els.preset().addEventListener('change', () => { + els.custom().hidden = els.preset().value !== 'custom'; + }); + + setupListeners(); + } + + return { init, setTarget }; +})(); +const monitorTab = (() => { + let running = false; + let entries = {}; + + var els = { + input: () => document.getElementById('monitor-input'), + interval: () => document.getElementById('monitor-interval'), + btnAdd: () => document.getElementById('btn-monitor-add'), + btnStart: () => document.getElementById('btn-monitor-start'), + btnStop: () => document.getElementById('btn-monitor-stop'), + btnClear: () => document.getElementById('btn-monitor-clear'), + body: () => document.getElementById('monitor-body'), + }; + + function setRunning(active) { + running = active; + els.btnStart().disabled = active; + els.btnStop().disabled = !active; + els.interval().disabled = active; + + var monTabEl = document.querySelector('[data-tab="monitor"]'); + if (active) { + monTabEl.classList.add('tab-running'); + } else { + monTabEl.classList.remove('tab-running'); + } + } + + function render() { + var body = els.body(); + var ips = Object.keys(entries).sort(); + + var rows = ips.map(function (ip) { + var e = entries[ip]; + var statusClass = 'monitor-status-' + e.status; + var lastRtt = e.last_rtt_ms !== null ? e.last_rtt_ms.toFixed(1) : '-'; + var minRtt = e.min_rtt_ms !== null ? e.min_rtt_ms.toFixed(1) : '-'; + var avgRtt = e.avg_rtt_ms !== null ? e.avg_rtt_ms.toFixed(1) : '-'; + var maxRtt = e.max_rtt_ms !== null ? e.max_rtt_ms.toFixed(1) : '-'; + var loss = e.loss_pct.toFixed(1); + var label = e.label || '-'; + + return '' + + '' + ip + '' + + '' + label + '' + + '' + e.status + '' + + '' + lastRtt + '' + + '' + minRtt + '' + + '' + avgRtt + '' + + '' + maxRtt + '' + + '' + e.packets_sent + '' + + '' + e.packets_received + '' + + '' + loss + '' + + '' + e.consecutive_failures + '' + + '' + + ''; + }); + + body.innerHTML = rows.join(''); + } + + async function addHosts() { + var input = els.input().value.trim(); + if (!input) return; + + var hosts = input.split(',').map(function (s) { + return { ip: s.trim(), label: null }; + }).filter(function (h) { return h.ip.length > 0; }); + + try { + await invoke('monitor_add_hosts', { hosts: hosts }); + var updated = await invoke('monitor_get_entries'); + entries = {}; + updated.forEach(function (e) { entries[e.ip] = e; }); + render(); + els.input().value = ''; + } catch (err) { + console.error('Failed to add hosts:', err); + } + } + + async function removeHost(ip) { + try { + await invoke('monitor_remove_host', { ip: ip }); + delete entries[ip]; + render(); + } catch (err) { + console.error('Failed to remove host:', err); + } + } + + async function start() { + if (Object.keys(entries).length === 0) return; + + var interval = parseInt(els.interval().value, 10); + setRunning(true); + + try { + await invoke('monitor_start', { intervalMs: interval }); + } catch (err) { + console.error('Monitor start error:', err); + setRunning(false); + } + } + + async function stop() { + try { + await invoke('monitor_stop'); + } catch (err) { + console.error('Monitor stop error:', err); + } + setRunning(false); + } + + async function clearAll() { + try { + if (running) await stop(); + await invoke('monitor_clear'); + entries = {}; + render(); + } catch (err) { + console.error('Monitor clear error:', err); + } + } + + function setTargets(ips) { + els.input().value = ips.join(', '); + // Switch to monitor tab + document.querySelectorAll('.tab').forEach(function (t) { t.classList.remove('active'); }); + document.querySelectorAll('.view').forEach(function (v) { v.classList.remove('active'); }); + document.querySelector('[data-tab="monitor"]').classList.add('active'); + document.getElementById('view-monitor').classList.add('active'); + } + + async function setupListeners() { + await listen('monitor:update', function (e) { + var entry = e.payload; + entries[entry.ip] = entry; + render(); + }); + + await listen('monitor:state-change', function (e) { + var data = e.payload; + console.log('State change:', data.ip, data.old, '->', data.new); + }); + } + + function init() { + els.btnAdd().addEventListener('click', addHosts); + els.btnStart().addEventListener('click', start); + els.btnStop().addEventListener('click', stop); + els.btnClear().addEventListener('click', clearAll); + + els.input().addEventListener('keydown', function (e) { + if (e.key === 'Enter') addHosts(); + }); + + // Remove button delegation + els.body().addEventListener('click', function (e) { + var btn = e.target.closest('.btn-remove'); + if (btn) removeHost(btn.dataset.ip); + }); + + setupListeners(); + } + + return { init, setTargets }; +})(); +var updater = (() => { + function showBanner(info) { + var banner = document.getElementById('update-banner'); + var msg = document.getElementById('update-message'); + var link = document.getElementById('update-link'); + var text = 'Argus v' + info.version + ' is available.'; + if (info.notes) text += ' ' + info.notes; + msg.textContent = text; + link.href = info.url; + link.addEventListener('click', function (e) { + e.preventDefault(); + invoke('launch_url', { url: info.url }); + }); + banner.classList.add('visible'); + } + + async function check() { + try { + var update = await invoke('check_for_update'); + if (update) showBanner(update); + } catch (err) { + console.log('Update check skipped:', err); + } + } + + function init() { + document.getElementById('update-dismiss').addEventListener('click', function () { + document.getElementById('update-banner').classList.remove('visible'); + }); + + // Check on startup after a short delay + setTimeout(check, 3000); + } + + return { init }; +})(); + +var settings = (() => { + var modal = function () { return document.getElementById('settings-modal'); }; + + async function open() { + try { + var config = await invoke('get_config'); + document.getElementById('setting-update-url').value = config.update_url || ''; + } catch (err) { + console.error('Failed to load config:', err); + } + modal().classList.add('visible'); + } + + function close() { + modal().classList.remove('visible'); + } + + async function save() { + var url = document.getElementById('setting-update-url').value.trim(); + try { + await invoke('save_config', { config: { update_url: url } }); + close(); + } catch (err) { + console.error('Failed to save config:', err); + } + } + + function init() { + document.getElementById('btn-settings').addEventListener('click', open); + document.getElementById('settings-close').addEventListener('click', close); + document.getElementById('btn-settings-save').addEventListener('click', save); + + modal().addEventListener('click', function (e) { + if (e.target === modal()) close(); + }); + + document.addEventListener('keydown', function (e) { + if (e.key === 'Escape' && modal().classList.contains('visible')) close(); + }); + } + + return { init }; +})(); +window.addEventListener('DOMContentLoaded', () => { + // Tab switching + document.querySelectorAll('.tab').forEach((tab) => { + tab.addEventListener('click', () => { + document.querySelectorAll('.tab').forEach((t) => t.classList.remove('active')); + document.querySelectorAll('.view').forEach((v) => v.classList.remove('active')); + tab.classList.add('active'); + const view = document.getElementById('view-' + tab.dataset.tab); + if (view) view.classList.add('active'); + }); + }); + + // Sort on header click + document.querySelectorAll('#results-table th.sortable').forEach((th) => { + th.addEventListener('click', () => table.setSort(th.dataset.sort)); + }); + + // Filter input + document.getElementById('filter-input').addEventListener('input', (e) => { + table.setFilter(e.target.value); + }); + + // Boot scanner + table.init(); + scanner.init(); + ctxMenu.init(); + traceroute.init(); + columns.init(); + sender.init(); + nmapTab.init(); + monitorTab.init(); + document.getElementById('btn-export-all').addEventListener('click', exporter.csvAll); + document.getElementById('btn-export-up').addEventListener('click', exporter.csvUp); + console.log('[Argus] Ready'); + // Set version from Tauri config + if (window.__TAURI__ && window.__TAURI__.app) { + window.__TAURI__.app.getVersion().then(function (version) { + document.getElementById('status-bar-version').textContent = 'Argus v' + version; + }); + } + // Check privilege status + invoke('check_privileges').then(function (elevated) { + var el = document.getElementById('privilege-status'); + if (elevated) { + el.textContent = 'elevated'; + el.classList.add('privilege-elevated'); + } else { + el.textContent = 'unprivileged'; + } + }); +}); \ No newline at end of file diff --git a/src/styles.css b/src/styles.css new file mode 100644 index 0000000..63fe597 --- /dev/null +++ b/src/styles.css @@ -0,0 +1,1262 @@ +*, +*::before, +*::after { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +:root { + --bg-primary: #0a0e17; + --bg-secondary: #111827; + --bg-tertiary: #1a2234; + --bg-hover: #243044; + --bg-active: #2a3a52; + --border: #1e2d3d; + --border-bright: #2a3f55; + + --text-primary: #c9d6e2; + --text-secondary: #6b7d8f; + --text-muted: #3d4f61; + + --cyan: #00d4ff; + --cyan-hover: #00b8e0; + --cyan-dim: rgba(0, 212, 255, 0.08); + --cyan-glow: rgba(0, 212, 255, 0.25); + --cyan-subtle: rgba(0, 212, 255, 0.03); + + --status-up: #00e676; + --status-up-glow: rgba(0, 230, 118, 0.15); + --status-down: #ff3d57; + --status-down-glow: rgba(255, 61, 87, 0.15); + --status-filtered: #ffab00; + --status-filtered-glow: rgba(255, 171, 0, 0.15); + --status-unknown: #546e7a; + + --danger: #ff3d57; + --danger-hover: #e0233d; + + --font-mono: "JetBrains Mono", "Cascadia Code", "Fira Code", "Consolas", monospace; + --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif; + + --radius: 3px; + --radius-lg: 6px; +} + +html, +body { + height: 100%; + font-family: var(--font-sans); + font-size: 13px; + color: var(--text-primary); + background: var(--bg-primary); + overflow: hidden; + user-select: none; +} + +body { + display: flex; + flex-direction: column; +} + +/* ===== Grid Background ===== */ + +#views { + flex: 1; + overflow: hidden; + position: relative; + background: + linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px), + linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px); + background-size: 40px 40px; +} + +/* ===== Toolbar ===== */ + +#toolbar { + display: flex; + align-items: center; + justify-content: space-between; + padding: 10px 16px; + background: linear-gradient(180deg, #141c2b 0%, var(--bg-secondary) 100%); + border-bottom: 1px solid var(--border); + box-shadow: + 0 1px 8px rgba(0, 0, 0, 0.4), + 0 1px 0 rgba(0, 212, 255, 0.05); + gap: 12px; + position: relative; + z-index: 20; +} + +.toolbar-circuit { + position: absolute; + top: 0; + right: 0; + width: 400px; + height: 100%; + pointer-events: none; + opacity: 0.7; +} + +.toolbar-group { + display: flex; + align-items: center; + gap: 10px; +} + +.toolbar-right { + margin-left: auto; + margin-right: 8px; +} + +.app-title { + font-family: var(--font-mono); + font-size: 14px; + font-weight: 700; + letter-spacing: 3px; + color: var(--cyan); + text-shadow: 0 0 10px var(--cyan-glow); + margin-right: 8px; +} + +#ip-range-input { + width: 340px; + padding: 7px 12px; + font-family: var(--font-mono); + font-size: 13px; + color: var(--text-primary); + background: var(--bg-primary); + border: 1px solid var(--border-bright); + border-radius: var(--radius); + outline: none; + transition: border-color 0.2s, box-shadow 0.2s; +} + +#ip-range-input:focus { + border-color: var(--cyan); + box-shadow: 0 0 0 2px var(--cyan-dim), 0 0 12px var(--cyan-dim); +} + +#ip-range-input::placeholder { + color: var(--text-muted); +} + +/* ===== Buttons ===== */ + +.btn { + padding: 7px 18px; + font-size: 12px; + font-weight: 600; + letter-spacing: 0.3px; + border: 1px solid transparent; + border-radius: var(--radius); + cursor: pointer; + transition: all 0.2s; + text-transform: uppercase; + font-family: var(--font-sans); +} + +.btn:disabled { + opacity: 0.3; + cursor: not-allowed; + box-shadow: none; +} + +.btn-primary { + color: #fff; + background: var(--cyan); + border-color: var(--cyan); + box-shadow: 0 0 12px var(--cyan-dim); +} + +.btn-primary:hover:not(:disabled) { + background: var(--cyan-hover); + box-shadow: 0 0 20px var(--cyan-glow); +} + +.btn-primary:active:not(:disabled) { + transform: scale(0.97); +} + +.btn-danger { + color: #fff; + background: var(--danger); + border-color: var(--danger); +} + +.btn-danger:hover:not(:disabled) { + background: var(--danger-hover); + box-shadow: 0 0 16px rgba(255, 61, 87, 0.2); +} + +/* ===== Status / Progress ===== */ + +.status-text { + font-family: var(--font-mono); + font-size: 11px; + color: var(--text-secondary); + white-space: nowrap; + letter-spacing: 0.3px; +} + +.progress-bar { + width: 180px; + height: 4px; + background: var(--bg-primary); + border-radius: 2px; + overflow: hidden; + border: 1px solid var(--border); +} + +.progress-fill { + height: 100%; + width: 0%; + background: linear-gradient(90deg, var(--cyan), #00ffc8); + border-radius: 2px; + transition: width 0.3s ease-out; + box-shadow: 0 0 8px var(--cyan-glow); + position: relative; +} + +.progress-fill::after { + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: linear-gradient(90deg, + transparent 0%, + rgba(255, 255, 255, 0.2) 50%, + transparent 100%); + animation: shimmer 1.5s infinite; +} + +@keyframes shimmer { + 0% { + transform: translateX(-100%); + } + + 100% { + transform: translateX(100%); + } +} + +/* ===== Tabs ===== */ + +#tab-bar { + display: flex; + background: var(--bg-secondary); + border-bottom: 1px solid var(--border); + padding-left: 16px; + position: relative; +} + +#tab-bar::after { + content: ""; + position: absolute; + bottom: 0; + left: 0; + right: 0; + height: 1px; + background: linear-gradient(90deg, + var(--cyan) 0%, + transparent 30%); + opacity: 0.15; +} + +.tab { + padding: 10px 22px; + font-size: 12px; + font-weight: 500; + letter-spacing: 0.3px; + color: var(--text-muted); + background: none; + border: none; + border-bottom: 2px solid transparent; + cursor: pointer; + transition: color 0.2s, border-color 0.2s; + font-family: var(--font-sans); +} + +.tab:hover { + color: var(--text-secondary); +} + +.tab.active { + color: var(--cyan); + border-bottom-color: var(--cyan); + text-shadow: 0 0 12px var(--cyan-dim); +} + +/* ===== Views ===== */ + +.view { + display: none; + height: 100%; + flex-direction: column; +} + +.view.active { + display: flex; +} + +.placeholder-text { + padding: 60px 40px; + text-align: center; + color: var(--text-muted); + font-family: var(--font-mono); + font-size: 13px; + letter-spacing: 0.5px; +} + +/* ===== Results Filter Bar ===== */ + +#results-toolbar { + display: flex; + align-items: center; + padding: 6px 16px; + gap: 12px; + background: var(--bg-tertiary); + border-bottom: 1px solid var(--border); +} + +#filter-input { + width: 240px; + padding: 5px 10px; + font-size: 12px; + font-family: var(--font-mono); + color: var(--text-primary); + background: var(--bg-primary); + border: 1px solid var(--border); + border-radius: var(--radius); + outline: none; + transition: border-color 0.2s, box-shadow 0.2s; +} + +#filter-input:focus { + border-color: var(--cyan); + box-shadow: 0 0 0 2px var(--cyan-dim); +} + +.host-count { + font-family: var(--font-mono); + font-size: 11px; + color: var(--text-secondary); + margin-left: auto; + letter-spacing: 0.3px; +} + +/* ===== Results Table ===== */ + +#results-table-container { + flex: 1; + overflow-y: auto; + overflow-x: auto; +} + +#results-table { + width: 100%; + border-collapse: collapse; + table-layout: fixed; +} + +#results-table thead { + position: sticky; + top: 0; + z-index: 10; +} + +#results-table th { + padding: 10px 16px; + text-align: left; + font-weight: 600; + font-size: 11px; + letter-spacing: 0.5px; + color: var(--text-secondary); + background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%); + border-bottom: 1px solid var(--border-bright); + white-space: nowrap; +} + +#results-table th.sortable { + cursor: pointer; + transition: color 0.15s; +} + +#results-table th.sortable:hover { + color: var(--cyan); +} + +#results-table th.sorted-asc::after { + content: " \25B2"; + font-size: 8px; + color: var(--cyan); +} + +#results-table th.sorted-desc::after { + content: " \25BC"; + font-size: 8px; + color: var(--cyan); +} + +#results-table td { + padding: 7px 16px; + font-size: 13px; + font-family: var(--font-mono); + color: var(--text-primary); + border-bottom: 1px solid rgba(30, 45, 61, 0.5); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +#results-table tbody tr { + transition: background 0.12s; +} + +#results-table tbody tr:nth-child(even) { + background: rgba(255, 255, 255, 0.01); +} + +#results-table tbody tr:hover { + background: var(--cyan-dim); +} + +#results-table tbody tr.selected { + background: rgba(0, 212, 255, 0.1); + box-shadow: inset 3px 0 0 var(--cyan); +} + +/* ===== Status Colors ===== */ + +.status-up { + color: var(--status-up); + text-shadow: 0 0 6px var(--status-up-glow); +} + +.status-down { + color: var(--status-down); + text-shadow: 0 0 6px var(--status-down-glow); +} + +.status-filtered { + color: var(--status-filtered); + text-shadow: 0 0 6px var(--status-filtered-glow); +} + +.status-unknown { + color: var(--status-unknown); +} + +/* ===== Status Bar ===== */ + +#status-bar { + display: flex; + align-items: center; + padding: 3px 16px; + gap: 16px; + background: var(--bg-secondary); + border-top: 1px solid var(--border); + font-family: var(--font-mono); + font-size: 11px; + color: var(--text-muted); +} + +.status-bar-item { + display: flex; + align-items: center; + gap: 6px; +} + +#privilege-status { + margin-left: auto; +} + +#privilege-status::before { + content: ""; + display: inline-block; + width: 6px; + height: 6px; + border-radius: 50%; + background: var(--status-up); + box-shadow: 0 0 4px var(--status-up-glow); +} + +.privilege-elevated { + color: var(--status-filtered) !important; +} + +.privilege-elevated::before { + background: var(--status-filtered) !important; + box-shadow: 0 0 4px var(--status-filtered-glow) !important; +} + +/* ===== Scrollbar ===== */ + +::-webkit-scrollbar { + width: 6px; + height: 6px; +} + +::-webkit-scrollbar-track { + background: var(--bg-primary); +} + +::-webkit-scrollbar-thumb { + background: var(--border-bright); + border-radius: 3px; +} + +::-webkit-scrollbar-thumb:hover { + background: var(--text-muted); +} + +.btn-sm { + padding: 3px 10px; + font-size: 11px; + font-weight: 500; + color: var(--text-secondary); + background: var(--bg-primary); + border: 1px solid var(--border-bright); + border-radius: var(--radius); + cursor: pointer; + transition: all 0.15s; + font-family: var(--font-sans); +} + +.btn-sm:hover { + color: var(--cyan); + border-color: var(--cyan); + box-shadow: 0 0 8px var(--cyan-dim); +} + +.toggle-label { + display: flex; + align-items: center; + gap: 5px; + font-size: 12px; + color: var(--text-secondary); + cursor: pointer; + font-family: var(--font-sans); +} + +.toggle-label input[type="checkbox"] { + accent-color: var(--cyan); + cursor: pointer; +} + +.toggle-label:hover { + color: var(--text-primary); +} + +.port-tag { + display: inline-block; + padding: 1px 5px; + margin: 1px 2px; + font-size: 10px; + font-family: var(--font-mono); + color: var(--cyan); + background: var(--cyan-dim); + border: 1px solid rgba(0, 212, 255, 0.15); + border-radius: 2px; +} + +.ports-cell { + white-space: normal !important; + line-height: 1.6; +} + +/* ===== Detail Panel ===== */ + +.detail-row td { + padding: 0 !important; + border-bottom: 1px solid var(--border-bright) !important; + background: var(--bg-secondary); +} + +.detail-panel { + padding: 16px 24px; + border-left: 3px solid var(--cyan); + background: linear-gradient(90deg, var(--cyan-dim) 0%, transparent 30%); +} + +.detail-header { + display: flex; + align-items: center; + gap: 16px; + margin-bottom: 12px; +} + +.detail-ip { + font-family: var(--font-mono); + font-size: 15px; + font-weight: 600; + color: var(--text-primary); +} + +.detail-hostname { + font-family: var(--font-mono); + font-size: 13px; + color: var(--cyan); +} + +.detail-rtt { + font-family: var(--font-mono); + font-size: 12px; + color: var(--text-secondary); +} + +.detail-table { + width: 100%; + max-width: 700px; + border-collapse: collapse; + margin-bottom: 10px; +} + +.detail-table th { + padding: 5px 12px; + text-align: left; + font-size: 10px; + font-weight: 600; + letter-spacing: 0.5px; + color: var(--text-muted); + border-bottom: 1px solid var(--border); +} + +.detail-table td { + padding: 4px 12px; + font-family: var(--font-mono); + font-size: 12px; + color: var(--text-primary); + border-bottom: 1px solid rgba(30, 45, 61, 0.3); +} + +.detail-summary { + display: flex; + gap: 16px; + font-family: var(--font-mono); + font-size: 11px; + color: var(--text-secondary); + margin-top: 8px; +} + +.detail-empty { + font-size: 12px; + color: var(--text-muted); + font-style: italic; +} + +/* ===== Context Menu ===== */ + +.context-menu { + position: fixed; + z-index: 100; + min-width: 180px; + background: var(--bg-tertiary); + border: 1px solid var(--border-bright); + border-radius: var(--radius-lg); + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 212, 255, 0.1); + padding: 4px 0; + overflow: hidden; +} + +.ctx-item { + display: block; + width: 100%; + padding: 7px 14px; + font-size: 12px; + font-family: var(--font-sans); + color: var(--text-primary); + background: none; + border: none; + text-align: left; + cursor: pointer; + transition: background 0.1s; +} + +.ctx-item:hover { + background: var(--cyan-dim); + color: var(--cyan); +} + +.ctx-divider { + height: 1px; + margin: 4px 8px; + background: var(--border); +} + +/* ===== Modal ===== */ + +.modal-overlay { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: rgba(0, 0, 0, 0.6); + align-items: center; + justify-content: center; + z-index: 90; + display: none; +} + +.modal-overlay.visible { + display: flex; +} + +.modal-panel { + width: 640px; + max-height: 80vh; + background: var(--bg-secondary); + border: 1px solid var(--border-bright); + border-radius: var(--radius-lg); + box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 1px var(--cyan); + display: flex; + flex-direction: column; + overflow: hidden; +} + +.modal-header { + display: flex; + align-items: center; + justify-content: space-between; + padding: 12px 16px; + background: var(--bg-tertiary); + border-bottom: 1px solid var(--border); +} + +.modal-title { + font-family: var(--font-mono); + font-size: 13px; + color: var(--text-primary); +} + +.modal-title span { + color: var(--cyan); +} + +.modal-close { + background: none; + border: none; + color: var(--text-muted); + font-size: 18px; + cursor: pointer; + padding: 0 4px; + line-height: 1; +} + +.modal-close:hover { + color: var(--text-primary); +} + +/* ===== Traceroute Output ===== */ + +.traceroute-output { + flex: 1; + overflow-y: auto; + padding: 12px 16px; + font-family: var(--font-mono); + font-size: 12px; + line-height: 1.8; + color: var(--text-primary); + min-height: 200px; + max-height: 60vh; +} + +.traceroute-line { + white-space: pre; +} + +.traceroute-line.hop-reached { + color: var(--status-up); +} + +.traceroute-running::after { + content: "\2588"; + animation: blink 0.8s infinite; + color: var(--cyan); +} + +@keyframes blink { + + 0%, + 100% { + opacity: 1; + } + + 50% { + opacity: 0; + } +} + +/* ===== Column Picker ===== */ + +.col-picker-wrap { + position: relative; +} + +.col-picker { + position: absolute; + top: 100%; + right: 0; + margin-top: 4px; + min-width: 160px; + padding: 8px 0; + background: var(--bg-tertiary); + border: 1px solid var(--border-bright); + border-radius: var(--radius-lg); + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); + z-index: 50; +} + +.col-picker label { + display: flex; + align-items: center; + gap: 8px; + padding: 5px 14px; + font-size: 12px; + color: var(--text-primary); + cursor: pointer; + transition: background 0.1s; +} + +.col-picker label:hover { + background: var(--cyan-dim); +} + +.col-picker input[type="checkbox"] { + accent-color: var(--cyan); + cursor: pointer; +} + +.col-picker input[type="checkbox"]:disabled { + opacity: 0.5; + cursor: not-allowed; +} + +.detail-netbios { + display: flex; + gap: 12px; + margin-bottom: 12px; + flex-wrap: wrap; +} + +.detail-tag { + font-family: var(--font-mono); + font-size: 11px; + color: var(--text-secondary); + padding: 3px 8px; + background: var(--bg-primary); + border: 1px solid var(--border); + border-radius: var(--radius); +} + +.detail-tag strong { + color: var(--text-primary); + font-weight: 500; +} + +/* ===== Checkboxes ===== */ + +.col-check { + width: 32px !important; + text-align: center; + overflow: visible !important; + text-overflow: clip !important; +} + +.row-check { + accent-color: var(--cyan); + cursor: pointer; +} + +#check-all { + accent-color: var(--cyan); + cursor: pointer; +} + +.send-group { + display: flex; + gap: 6px; +} + +.send-wrap { + position: relative; +} + +.send-menu { + position: absolute; + top: 100%; + left: 0; + margin-top: 4px; + min-width: 140px; + padding: 4px 0; + background: var(--bg-tertiary); + border: 1px solid var(--border-bright); + border-radius: var(--radius-lg); + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); + z-index: 50; +} + +/* ===== Nmap Tab ===== */ + +#nmap-toolbar { + display: flex; + align-items: center; + padding: 8px 16px; + gap: 8px; + background: var(--bg-tertiary); + border-bottom: 1px solid var(--border); +} + +#nmap-target { + width: 280px; + padding: 7px 12px; + font-family: var(--font-mono); + font-size: 13px; + color: var(--text-primary); + background: var(--bg-primary); + border: 1px solid var(--border-bright); + border-radius: var(--radius); + outline: none; + transition: border-color 0.2s, box-shadow 0.2s; +} + +#nmap-target:focus { + border-color: var(--cyan); + box-shadow: 0 0 0 2px var(--cyan-dim); +} + +#nmap-preset { + padding: 7px 10px; + font-size: 12px; + font-family: var(--font-sans); + color: var(--text-primary); + background: var(--bg-primary); + border: 1px solid var(--border-bright); + border-radius: var(--radius); + outline: none; + cursor: pointer; + -webkit-appearance: none; + appearance: none; + padding-right: 28px; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7d8f' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); + background-repeat: no-repeat; + background-position: right 8px center; +} + +#nmap-preset:focus { + border-color: var(--cyan); +} + +#nmap-preset option { + background: var(--bg-secondary); + color: var(--text-primary); +} + +#nmap-custom-args { + width: 240px; + padding: 7px 12px; + font-family: var(--font-mono); + font-size: 13px; + color: var(--text-primary); + background: var(--bg-primary); + border: 1px solid var(--border-bright); + border-radius: var(--radius); + outline: none; + transition: border-color 0.2s, box-shadow 0.2s; +} + +#nmap-custom-args:focus { + border-color: var(--cyan); + box-shadow: 0 0 0 2px var(--cyan-dim); +} + +.nmap-output { + flex: 1; + overflow-y: auto; + padding: 12px 16px; + font-family: var(--font-mono); + font-size: 12px; + line-height: 1.7; + color: var(--text-primary); + background: + linear-gradient(rgba(0, 212, 255, 0.01) 1px, transparent 1px), + linear-gradient(90deg, rgba(0, 212, 255, 0.01) 1px, transparent 1px); + background-size: 40px 40px; + white-space: pre-wrap; + word-break: break-all; +} + +.nmap-line { + white-space: pre; +} + +.nmap-line-open { + color: var(--status-up); +} + +.nmap-line-closed { + color: var(--status-down); +} + +.nmap-line-header { + color: var(--cyan); + font-weight: 600; +} + +.nmap-line-info { + color: var(--text-secondary); +} + +.nmap-running::after { + content: "\2588"; + animation: blink 0.8s infinite; + color: var(--cyan); +} + +.tab-running { + color: var(--cyan) !important; + animation: pulse-tab 1.5s infinite; +} + +@keyframes pulse-tab { + + 0%, + 100% { + opacity: 1; + } + + 50% { + opacity: 0.4; + } +} + +/* ===== Monitor Tab ===== */ + +#monitor-toolbar { + display: flex; + align-items: center; + padding: 8px 16px; + gap: 8px; + background: var(--bg-tertiary); + border-bottom: 1px solid var(--border); +} + +#monitor-input { + width: 300px; + padding: 7px 12px; + font-family: var(--font-mono); + font-size: 13px; + color: var(--text-primary); + background: var(--bg-primary); + border: 1px solid var(--border-bright); + border-radius: var(--radius); + outline: none; + transition: border-color 0.2s, box-shadow 0.2s; +} + +#monitor-input:focus { + border-color: var(--cyan); + box-shadow: 0 0 0 2px var(--cyan-dim); +} + +#monitor-interval { + padding: 7px 10px; + font-size: 12px; + font-family: var(--font-sans); + color: var(--text-primary); + background: var(--bg-primary); + border: 1px solid var(--border-bright); + border-radius: var(--radius); + outline: none; + cursor: pointer; + -webkit-appearance: none; + appearance: none; + padding-right: 28px; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7d8f' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); + background-repeat: no-repeat; + background-position: right 8px center; +} + +#monitor-interval option { + background: var(--bg-secondary); + color: var(--text-primary); +} + +#monitor-table-container { + flex: 1; + overflow-y: auto; + overflow-x: auto; +} + +#monitor-table { + width: 100%; + border-collapse: collapse; +} + +#monitor-table thead { + position: sticky; + top: 0; + z-index: 10; +} + +#monitor-table th { + padding: 8px 12px; + text-align: left; + font-weight: 600; + font-size: 11px; + letter-spacing: 0.5px; + color: var(--text-secondary); + background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%); + border-bottom: 1px solid var(--border-bright); + white-space: nowrap; +} + +#monitor-table td { + padding: 6px 12px; + font-size: 12px; + font-family: var(--font-mono); + color: var(--text-primary); + border-bottom: 1px solid rgba(30, 45, 61, 0.5); + white-space: nowrap; +} + +#monitor-table tbody tr { + transition: background 0.12s; +} + +#monitor-table tbody tr:hover { + background: var(--cyan-dim); +} + +.monitor-status-Up { + color: var(--status-up); + text-shadow: 0 0 6px var(--status-up-glow); +} + +.monitor-status-Down { + color: var(--status-down); + text-shadow: 0 0 6px var(--status-down-glow); +} + +.monitor-status-Degraded { + color: var(--status-filtered); + text-shadow: 0 0 6px var(--status-filtered-glow); +} + +.monitor-status-Unknown { + color: var(--status-unknown); +} + +.btn-remove { + background: none; + border: none; + color: var(--text-muted); + font-size: 14px; + cursor: pointer; + padding: 2px 6px; +} + +.btn-remove:hover { + color: var(--status-down); +} + +/* ===== Update Banner ===== */ + +.update-banner { + display: none; + align-items: center; + gap: 12px; + padding: 8px 16px; + background: linear-gradient(90deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.03)); + border-bottom: 1px solid var(--cyan); + font-size: 12px; + color: var(--text-primary); +} + +.update-banner.visible { + display: flex; +} + +.update-link { + font-family: var(--font-mono); + font-size: 12px; + color: var(--cyan); + text-decoration: none; + font-weight: 600; +} + +.update-link:hover { + text-decoration: underline; +} + +.update-dismiss { + margin-left: auto; + background: none; + border: none; + color: var(--text-muted); + font-size: 16px; + cursor: pointer; + padding: 0 4px; +} + +.update-dismiss:hover { + color: var(--text-primary); +} + +/* ===== Settings ===== */ + +.status-bar-btn { + background: none; + border: none; + color: var(--text-muted); + font-size: 11px; + cursor: pointer; + padding: 0; + font-family: var(--font-mono); +} + +.status-bar-btn:hover { + color: var(--cyan); +} + +.settings-body { + padding: 20px 24px; +} + +.settings-field { + margin-bottom: 16px; +} + +.settings-field label { + display: block; + font-size: 12px; + font-weight: 600; + color: var(--text-secondary); + margin-bottom: 6px; +} + +.settings-field input { + width: 100%; + padding: 7px 12px; + font-family: var(--font-mono); + font-size: 12px; + color: var(--text-primary); + background: var(--bg-primary); + border: 1px solid var(--border-bright); + border-radius: var(--radius); + outline: none; +} + +.settings-field input:focus { + border-color: var(--cyan); + box-shadow: 0 0 0 2px var(--cyan-dim); +} + +.settings-hint { + font-size: 11px; + color: var(--text-muted); + margin-top: 4px; +} \ No newline at end of file