From 9ad9c3662e3ded22c01ee239e0ddc18ed2390a84 Mon Sep 17 00:00:00 2001 From: ge96jon Date: Fri, 4 Apr 2025 15:36:52 +0200 Subject: [PATCH 01/16] Project setup --- .../gradle/wrapper/gradle-wrapper.properties | 4 +- .../src/implementations/jsurferShim/gradlew | 37 ++++++++++++------- .../implementations/jsurferShim/gradlew.bat | 23 +++++++----- crates/rsonpath-test/tests/generated.rs | 1 + 4 files changed, 41 insertions(+), 24 deletions(-) create mode 100644 crates/rsonpath-test/tests/generated.rs diff --git a/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradle/wrapper/gradle-wrapper.properties b/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradle/wrapper/gradle-wrapper.properties index 8049c684..37f853b1 100644 --- a/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradle/wrapper/gradle-wrapper.properties +++ b/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip +networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew b/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew index a69d9cb6..faf93008 100755 --- a/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew +++ b/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew @@ -15,6 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################## # @@ -55,7 +57,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/. @@ -80,13 +82,11 @@ do esac done -APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit - -APP_NAME="Gradle" +# This is normally unused +# shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum @@ -133,22 +133,29 @@ location of your Java installation." fi else JAVACMD=java - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." + fi fi # Increase the maximum file descriptors if we can. if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then case $MAX_FD in #( max*) + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 MAX_FD=$( ulimit -H -n ) || warn "Could not query maximum file descriptor limit" esac case $MAX_FD in #( '' | soft) :;; #( *) + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 ulimit -n "$MAX_FD" || warn "Could not set maximum file descriptor limit to $MAX_FD" esac @@ -193,11 +200,15 @@ if "$cygwin" || "$msys" ; then done fi -# Collect all arguments for the java command; -# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of -# shell script including quotes and variable substitutions, so put them in -# double quotes to make sure that they get re-expanded; and -# * put everything else in single quotes, so that it's not re-expanded. + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \ diff --git a/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew.bat b/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew.bat index f127cfd4..9d21a218 100644 --- a/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew.bat +++ b/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew.bat @@ -13,6 +13,8 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem @if "%DEBUG%"=="" @echo off @rem ########################################################################## @@ -26,6 +28,7 @@ if "%OS%"=="Windows_NT" setlocal set DIRNAME=%~dp0 if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% @@ -42,11 +45,11 @@ set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 if %ERRORLEVEL% equ 0 goto execute -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail @@ -56,11 +59,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail diff --git a/crates/rsonpath-test/tests/generated.rs b/crates/rsonpath-test/tests/generated.rs new file mode 100644 index 00000000..37d7f22e --- /dev/null +++ b/crates/rsonpath-test/tests/generated.rs @@ -0,0 +1 @@ +//Generated to suppress the error in ./tests.rs, might not be needed From c2cf9bd8eda4d75e43b37031fa3cc627a1f3cfe8 Mon Sep 17 00:00:00 2001 From: ge96jon Date: Wed, 7 May 2025 13:16:31 +0200 Subject: [PATCH 02/16] Implemented UI elements and some button functionality --- .cargo/config.toml | 8 + Cargo.lock | 5274 ++++++++++++++++++---- Cargo.toml | 3 +- crates/rsonpath-website/Cargo.toml | 32 + crates/rsonpath-website/src/lib.rs | 172 + crates/rsonpath-website/src/main.rs | 40 + crates/rsonpath-website/src/package.json | 14 + 7 files changed, 4537 insertions(+), 1006 deletions(-) create mode 100644 crates/rsonpath-website/Cargo.toml create mode 100644 crates/rsonpath-website/src/lib.rs create mode 100644 crates/rsonpath-website/src/main.rs create mode 100644 crates/rsonpath-website/src/package.json diff --git a/.cargo/config.toml b/.cargo/config.toml index a30ab5b5..5dd1f1ef 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,6 +1,14 @@ +#[build] +#target = "wasm32-unknown-unknown" +# +#[target.wasm32-unknown-unknown] +#linker = "rust-lld" +#rustflags = ["-C", "link-arg=--export-table"] + [build] rustflags = ["-C", "link-arg=-fuse-ld=lld"] + [alias] rsontest = "hack test -q --feature-powerset --skip default -F arbitrary -F serde --ignore-unknown-features" diff --git a/Cargo.lock b/Cargo.lock index a6061c8a..34912058 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,118 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "ab_glyph" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01c0457472c38ea5bd1c3b5ada5e368271cb550be7a4ca4a0b4634e9913f6cc2" +dependencies = [ + "ab_glyph_rasterizer", + "owned_ttf_parser", +] + +[[package]] +name = "ab_glyph_rasterizer" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618" + +[[package]] +name = "accesskit" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3d3b8f9bae46a948369bc4a03e815d4ed6d616bd00de4051133a5019dc31c5a" +dependencies = [ + "enumn", + "serde", +] + +[[package]] +name = "accesskit_atspi_common" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c5dd55e6e94949498698daf4d48fb5659e824d7abec0d394089656ceaf99d4f" +dependencies = [ + "accesskit", + "accesskit_consumer", + "atspi-common", + "serde", + "thiserror 1.0.69", + "zvariant", +] + +[[package]] +name = "accesskit_consumer" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f47983a1084940ba9a39c077a8c63e55c619388be5476ac04c804cfbd1e63459" +dependencies = [ + "accesskit", + "hashbrown 0.15.5", + "immutable-chunkmap", +] + +[[package]] +name = "accesskit_macos" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7329821f3bd1101e03a7d2e03bd339e3ac0dc64c70b4c9f9ae1949e3ba8dece1" +dependencies = [ + "accesskit", + "accesskit_consumer", + "hashbrown 0.15.5", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "accesskit_unix" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcee751cc20d88678c33edaf9c07e8b693cd02819fe89053776f5313492273f5" +dependencies = [ + "accesskit", + "accesskit_atspi_common", + "async-channel", + "async-executor", + "async-task", + "atspi", + "futures-lite", + "futures-util", + "serde", + "zbus", +] + +[[package]] +name = "accesskit_windows" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24fcd5d23d70670992b823e735e859374d694a3d12bfd8dd32bd3bd8bedb5d81" +dependencies = [ + "accesskit", + "accesskit_consumer", + "hashbrown 0.15.5", + "paste", + "static_assertions", + "windows", + "windows-core", +] + +[[package]] +name = "accesskit_winit" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6a48dad5530b6deb9fc7a52cc6c3bf72cdd9eb8157ac9d32d69f2427a5e879" +dependencies = [ + "accesskit", + "accesskit_macos", + "accesskit_unix", + "accesskit_windows", + "raw-window-handle", + "winit", +] + [[package]] name = "addr2line" version = "0.25.1" @@ -17,6 +129,20 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" +[[package]] +name = "ahash" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" +dependencies = [ + "cfg-if", + "getrandom 0.3.4", + "once_cell", + "serde", + "version_check", + "zerocopy", +] + [[package]] name = "aho-corasick" version = "1.1.4" @@ -26,6 +152,42 @@ dependencies = [ "memchr", ] +[[package]] +name = "android-activity" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef6978589202a00cd7e118380c448a08b6ed394c3a8df3a430d0898e3a42d046" +dependencies = [ + "android-properties", + "bitflags 2.10.0", + "cc", + "cesu8", + "jni", + "jni-sys", + "libc", + "log", + "ndk", + "ndk-context", + "ndk-sys 0.6.0+11769913", + "num_enum", + "thiserror 1.0.69", +] + +[[package]] +name = "android-properties" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04" + +[[package]] +name = "android_system_properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +dependencies = [ + "libc", +] + [[package]] name = "anstream" version = "0.6.21" @@ -92,1771 +254,4534 @@ dependencies = [ ] [[package]] -name = "autocfg" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" - -[[package]] -name = "automod" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb4bd301db2e2ca1f5be131c24eb8ebf2d9559bc3744419e93baf8ddea7e670" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "backtrace" -version = "0.3.76" +name = "arboard" +version = "3.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" +checksum = "0348a1c054491f4bfe6ab86a7b6ab1e44e45d899005de92f58b3df180b36ddaf" dependencies = [ - "addr2line", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", - "windows-link", + "clipboard-win", + "image 0.25.9", + "log", + "objc2 0.6.3", + "objc2-app-kit 0.3.2", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation 0.3.2", + "parking_lot", + "percent-encoding", + "windows-sys 0.60.2", + "x11rb", ] [[package]] -name = "bit-set" -version = "0.8.0" +name = "arrayvec" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" -dependencies = [ - "bit-vec", -] +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] -name = "bit-vec" -version = "0.8.0" +name = "as-raw-xcb-connection" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" +checksum = "175571dd1d178ced59193a6fc02dde1b972eb0bc56c892cde9beeceac5bf0f6b" [[package]] -name = "bitflags" -version = "2.10.0" +name = "ash" +version = "0.38.0+1.3.281" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" +checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f" dependencies = [ - "serde_core", + "libloading", ] [[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - -[[package]] -name = "camino" -version = "1.2.1" +name = "async-broadcast" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609" +checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532" dependencies = [ - "serde_core", + "event-listener", + "event-listener-strategy", + "futures-core", + "pin-project-lite", ] [[package]] -name = "cargo-platform" -version = "0.1.9" +name = "async-channel" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" +checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" dependencies = [ - "serde", + "concurrent-queue", + "event-listener-strategy", + "futures-core", + "pin-project-lite", ] [[package]] -name = "cargo_metadata" -version = "0.19.2" +name = "async-executor" +version = "1.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" +checksum = "497c00e0fd83a72a79a39fcbd8e3e2f055d6f6c7e025f3b3d91f4f8e76527fb8" dependencies = [ - "camino", - "cargo-platform", - "semver", - "serde", - "serde_json", - "thiserror", + "async-task", + "concurrent-queue", + "fastrand", + "futures-lite", + "pin-project-lite", + "slab", ] [[package]] -name = "cc" -version = "1.2.49" +name = "async-fs" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90583009037521a116abf44494efecd645ba48b6622457080f080b85544e2215" +checksum = "8034a681df4aed8b8edbd7fbe472401ecf009251c8b40556b304567052e294c5" dependencies = [ - "find-msvc-tools", - "jobserver", - "libc", - "shlex", + "async-lock", + "blocking", + "futures-lite", ] [[package]] -name = "cfg-if" -version = "1.0.4" +name = "async-io" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" +checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" +dependencies = [ + "autocfg", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite", + "parking", + "polling", + "rustix 1.1.2", + "slab", + "windows-sys 0.61.2", +] [[package]] -name = "ciborium" -version = "0.2.2" +name = "async-lock" +version = "3.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" +checksum = "5fd03604047cee9b6ce9de9f70c6cd540a0520c813cbd49bae61f33ab80ed1dc" dependencies = [ - "ciborium-io", - "ciborium-ll", - "serde", + "event-listener", + "event-listener-strategy", + "pin-project-lite", ] [[package]] -name = "ciborium-io" -version = "0.2.2" +name = "async-process" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" +checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75" +dependencies = [ + "async-channel", + "async-io", + "async-lock", + "async-signal", + "async-task", + "blocking", + "cfg-if", + "event-listener", + "futures-lite", + "rustix 1.1.2", +] [[package]] -name = "ciborium-ll" -version = "0.2.2" +name = "async-recursion" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" +checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" dependencies = [ - "ciborium-io", - "half", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "clap" -version = "4.5.53" +name = "async-signal" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" +checksum = "43c070bbf59cd3570b6b2dd54cd772527c7c3620fce8be898406dd3ed6adc64c" dependencies = [ - "clap_builder", - "clap_derive", + "async-io", + "async-lock", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix 1.1.2", + "signal-hook-registry", + "slab", + "windows-sys 0.61.2", ] [[package]] -name = "clap_builder" -version = "4.5.53" +name = "async-task" +version = "4.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", - "terminal_size", -] +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] -name = "clap_derive" -version = "4.5.49" +name = "async-trait" +version = "0.1.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" dependencies = [ - "heck", "proc-macro2", "quote", "syn", ] [[package]] -name = "clap_lex" -version = "0.7.6" +name = "atomic-waker" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] -name = "color-eyre" -version = "0.6.5" +name = "atspi" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5920befb47832a6d61ee3a3a846565cfa39b331331e68a3b1d1116630f2f26d" +checksum = "be534b16650e35237bb1ed189ba2aab86ce65e88cc84c66f4935ba38575cecbf" dependencies = [ - "backtrace", - "eyre", - "indenter", - "once_cell", - "owo-colors", + "atspi-common", + "atspi-connection", + "atspi-proxies", ] [[package]] -name = "colorchoice" -version = "1.0.4" +name = "atspi-common" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" +checksum = "1909ed2dc01d0a17505d89311d192518507e8a056a48148e3598fef5e7bb6ba7" +dependencies = [ + "enumflags2", + "serde", + "static_assertions", + "zbus", + "zbus-lockstep", + "zbus-lockstep-macros", + "zbus_names", + "zvariant", +] [[package]] -name = "colored" -version = "3.0.0" +name = "atspi-connection" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e" +checksum = "430c5960624a4baaa511c9c0fcc2218e3b58f5dbcc47e6190cafee344b873333" dependencies = [ - "windows-sys 0.59.0", + "atspi-common", + "atspi-proxies", + "futures-lite", + "zbus", ] [[package]] -name = "console" -version = "0.15.11" +name = "atspi-proxies" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8" +checksum = "a5e6c5de3e524cf967569722446bcd458d5032348554d9a17d7d72b041ab7496" dependencies = [ - "encode_unicode", - "libc", - "once_cell", - "windows-sys 0.59.0", + "atspi-common", + "serde", + "zbus", + "zvariant", ] [[package]] -name = "content_inspector" -version = "0.2.4" +name = "autocfg" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7bda66e858c683005a53a9a60c69a4aca7eeaa45d124526e389f7aec8e62f38" -dependencies = [ - "memchr", -] +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] -name = "crossbeam-deque" -version = "0.8.6" +name = "automod" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +checksum = "ebb4bd301db2e2ca1f5be131c24eb8ebf2d9559bc3744419e93baf8ddea7e670" dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "crossbeam-epoch" -version = "0.9.18" +name = "backtrace" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" dependencies = [ - "crossbeam-utils", + "addr2line", + "cfg-if", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", + "windows-link", ] [[package]] -name = "crossbeam-utils" -version = "0.8.21" +name = "base64" +version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] -name = "crunchy" -version = "0.2.4" +name = "bit-set" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" +checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" +dependencies = [ + "bit-vec", +] [[package]] -name = "darling" -version = "0.20.11" +name = "bit-vec" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" -dependencies = [ - "darling_core", - "darling_macro", -] +checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" [[package]] -name = "darling_core" -version = "0.20.11" +name = "bit_field" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim", - "syn", -] +checksum = "1e4b40c7323adcfc0a41c4b88143ed58346ff65a288fc144329c5c45e05d70c6" [[package]] -name = "darling_macro" -version = "0.20.11" +name = "bitflags" +version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" -dependencies = [ - "darling_core", - "quote", - "syn", -] +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] -name = "deranged" -version = "0.5.5" +name = "bitflags" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" dependencies = [ - "powerfmt", + "serde_core", ] [[package]] -name = "derive_arbitrary" -version = "1.4.2" +name = "block" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] +checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" [[package]] -name = "derive_builder" -version = "0.20.2" +name = "block-buffer" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "507dfb09ea8b7fa618fcf76e953f4f5e192547945816d5358edffe39f6f94947" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ - "derive_builder_macro", + "generic-array", ] [[package]] -name = "derive_builder_core" -version = "0.20.2" +name = "block2" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8" +checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f" dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn", + "objc2 0.5.2", ] [[package]] -name = "derive_builder_macro" -version = "0.20.2" +name = "blocking" +version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" +checksum = "e83f8d02be6967315521be875afa792a316e28d57b5a2d401897e2a7921b7f21" dependencies = [ - "derive_builder_core", - "syn", + "async-channel", + "async-task", + "futures-io", + "futures-lite", + "piper", ] [[package]] -name = "diff" -version = "0.1.13" +name = "bumpalo" +version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" +checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" [[package]] -name = "displaydoc" -version = "0.2.5" +name = "bytemuck" +version = "1.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4" dependencies = [ - "proc-macro2", - "quote", - "syn", + "bytemuck_derive", ] [[package]] -name = "dunce" -version = "1.0.5" +name = "bytemuck_derive" +version = "1.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" +checksum = "f9abbd1bc6865053c427f7198e6af43bfdedc55ab791faed4fbd361d789575ff" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] [[package]] -name = "either" -version = "1.15.0" +name = "byteorder" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] -name = "encode_unicode" -version = "1.0.0" +name = "byteorder-lite" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" +checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" [[package]] -name = "equivalent" -version = "1.0.2" +name = "bytes" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" [[package]] -name = "errno" -version = "0.3.14" +name = "calloop" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +checksum = "b99da2f8558ca23c71f4fd15dc57c906239752dd27ff3c00a1d56b685b7cbfec" dependencies = [ - "libc", - "windows-sys 0.61.2", + "bitflags 2.10.0", + "log", + "polling", + "rustix 0.38.44", + "slab", + "thiserror 1.0.69", ] [[package]] -name = "eyre" -version = "0.6.12" +name = "calloop" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec" +checksum = "cb9f6e1368bd4621d2c86baa7e37de77a938adf5221e5dd3d6133340101b309e" dependencies = [ - "indenter", - "once_cell", + "bitflags 2.10.0", + "polling", + "rustix 1.1.2", + "slab", + "tracing", ] [[package]] -name = "fastrand" -version = "2.3.0" +name = "calloop-wayland-source" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" +checksum = "95a66a987056935f7efce4ab5668920b5d0dac4a7c99991a67395f13702ddd20" +dependencies = [ + "calloop 0.13.0", + "rustix 0.38.44", + "wayland-backend", + "wayland-client", +] [[package]] -name = "filetime" -version = "0.2.26" +name = "calloop-wayland-source" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" +checksum = "138efcf0940a02ebf0cc8d1eff41a1682a46b431630f4c52450d6265876021fa" dependencies = [ - "cfg-if", - "libc", - "libredox", - "windows-sys 0.60.2", + "calloop 0.14.3", + "rustix 1.1.2", + "wayland-backend", + "wayland-client", ] [[package]] -name = "find-msvc-tools" -version = "0.1.5" +name = "camino" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" +checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609" +dependencies = [ + "serde_core", +] [[package]] -name = "fnv" -version = "1.0.7" +name = "cargo-platform" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" +dependencies = [ + "serde", +] [[package]] -name = "form_urlencoded" -version = "1.2.2" +name = "cargo_metadata" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" dependencies = [ - "percent-encoding", + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror 2.0.17", ] [[package]] -name = "getrandom" -version = "0.3.4" +name = "cc" +version = "1.2.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +checksum = "90583009037521a116abf44494efecd645ba48b6622457080f080b85544e2215" dependencies = [ - "cfg-if", + "find-msvc-tools", + "jobserver", "libc", - "r-efi", - "wasip2", + "shlex", ] [[package]] -name = "gimli" -version = "0.32.3" +name = "cesu8" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" [[package]] -name = "git2" -version = "0.20.3" +name = "cfg-if" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e2b37e2f62729cdada11f0e6b3b6fe383c69c29fc619e391223e12856af308c" -dependencies = [ - "bitflags", - "libc", - "libgit2-sys", - "log", - "url", -] +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] -name = "glob" -version = "0.3.3" +name = "cfg_aliases" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] -name = "half" -version = "2.7.1" +name = "cgl" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" +checksum = "0ced0551234e87afee12411d535648dd89d2e7f34c78b753395567aff3d447ff" dependencies = [ - "cfg-if", - "crunchy", - "zerocopy", + "libc", ] [[package]] -name = "hashbrown" -version = "0.16.1" +name = "ciborium" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" +dependencies = [ + "ciborium-io", + "ciborium-ll", + "serde", +] [[package]] -name = "heck" -version = "0.5.0" +name = "ciborium-io" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" [[package]] -name = "humantime" -version = "2.3.0" +name = "ciborium-ll" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424" +checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" +dependencies = [ + "ciborium-io", + "half", +] [[package]] -name = "humantime-serde" -version = "1.1.1" +name = "clap" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c" +checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" dependencies = [ - "humantime", - "serde", + "clap_builder", + "clap_derive", ] [[package]] -name = "icu_collections" -version = "2.1.1" +name = "clap_builder" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" +checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" dependencies = [ - "displaydoc", - "potential_utf", - "yoke", - "zerofrom", - "zerovec", -] - -[[package]] -name = "icu_locale_core" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" -dependencies = [ - "displaydoc", - "litemap", - "tinystr", - "writeable", - "zerovec", + "anstream", + "anstyle", + "clap_lex", + "strsim", + "terminal_size", ] [[package]] -name = "icu_normalizer" -version = "2.1.1" +name = "clap_derive" +version = "4.5.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" +checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" dependencies = [ - "icu_collections", - "icu_normalizer_data", - "icu_properties", - "icu_provider", - "smallvec", - "zerovec", + "heck", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "icu_normalizer_data" -version = "2.1.1" +name = "clap_lex" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] -name = "icu_properties" -version = "2.1.1" +name = "clipboard-win" +version = "5.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99" +checksum = "bde03770d3df201d4fb868f2c9c59e66a3e4e2bd06692a0fe701e7103c7e84d4" dependencies = [ - "icu_collections", - "icu_locale_core", - "icu_properties_data", - "icu_provider", - "zerotrie", - "zerovec", + "error-code", ] [[package]] -name = "icu_properties_data" -version = "2.1.1" +name = "codespan-reporting" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899" +checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" +dependencies = [ + "termcolor", + "unicode-width 0.1.14", +] [[package]] -name = "icu_provider" -version = "2.1.1" +name = "color-eyre" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" +checksum = "e5920befb47832a6d61ee3a3a846565cfa39b331331e68a3b1d1116630f2f26d" dependencies = [ - "displaydoc", - "icu_locale_core", - "writeable", - "yoke", - "zerofrom", - "zerotrie", - "zerovec", + "backtrace", + "eyre", + "indenter", + "once_cell", + "owo-colors", ] [[package]] -name = "ident_case" -version = "1.0.1" +name = "color_quant" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" +checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" [[package]] -name = "idna" -version = "1.1.0" +name = "colorchoice" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" -dependencies = [ - "idna_adapter", - "smallvec", - "utf8_iter", -] +checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] -name = "idna_adapter" -version = "1.2.1" +name = "colored" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" +checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e" dependencies = [ - "icu_normalizer", - "icu_properties", + "windows-sys 0.59.0", ] [[package]] -name = "indenter" -version = "0.3.4" +name = "combine" +version = "4.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5" +checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +dependencies = [ + "bytes", + "memchr", +] [[package]] -name = "indexmap" -version = "2.12.1" +name = "concurrent-queue" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" dependencies = [ - "equivalent", - "hashbrown", + "crossbeam-utils", ] [[package]] -name = "insta" -version = "1.44.3" +name = "console" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5c943d4415edd8153251b6f197de5eb1640e56d84e8d9159bea190421c73698" +checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8" dependencies = [ - "console", + "encode_unicode", + "libc", "once_cell", - "ron", - "serde", - "similar", + "windows-sys 0.59.0", ] [[package]] -name = "is_terminal_polyfill" -version = "1.70.2" +name = "console_error_panic_hook" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" +checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" +dependencies = [ + "cfg-if", + "wasm-bindgen", +] [[package]] -name = "itertools" -version = "0.14.0" +name = "content_inspector" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +checksum = "b7bda66e858c683005a53a9a60c69a4aca7eeaa45d124526e389f7aec8e62f38" dependencies = [ - "either", + "memchr", ] [[package]] -name = "itoa" -version = "1.0.15" +name = "core-foundation" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] [[package]] -name = "jobserver" -version = "0.1.34" +name = "core-foundation" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" dependencies = [ - "getrandom", + "core-foundation-sys", "libc", ] [[package]] -name = "libc" -version = "0.2.178" +name = "core-foundation-sys" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] -name = "libgit2-sys" -version = "0.18.3+1.9.2" +name = "core-graphics" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9b3acc4b91781bb0b3386669d325163746af5f6e4f73e6d2d630e09a35f3487" +checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081" dependencies = [ - "cc", + "bitflags 1.3.2", + "core-foundation 0.9.4", + "core-graphics-types", + "foreign-types", "libc", - "libz-sys", - "pkg-config", ] [[package]] -name = "libredox" -version = "0.1.10" +name = "core-graphics-types" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" +checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf" dependencies = [ - "bitflags", + "bitflags 1.3.2", + "core-foundation 0.9.4", "libc", - "redox_syscall", ] [[package]] -name = "libz-sys" -version = "1.1.23" +name = "cpufeatures" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15d118bbf3771060e7311cc7bb0545b01d08a8b4a7de949198dec1fa0ca1c0f7" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" dependencies = [ - "cc", "libc", - "pkg-config", - "vcpkg", ] [[package]] -name = "linux-raw-sys" -version = "0.11.0" +name = "crc32fast" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" +dependencies = [ + "cfg-if", +] [[package]] -name = "litemap" -version = "0.8.1" +name = "crossbeam-deque" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] [[package]] -name = "log" -version = "0.4.29" +name = "crossbeam-epoch" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +dependencies = [ + "crossbeam-utils", +] [[package]] -name = "md5" -version = "0.8.0" +name = "crossbeam-utils" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae960838283323069879657ca3de837e9f7bbb4c7bf6ea7f1b290d5e9476d2e0" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] -name = "memchr" -version = "2.7.6" +name = "crunchy" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] -name = "memmap2" -version = "0.9.9" +name = "crypto-common" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "744133e4a0e0a658e1374cf3bf8e415c4052a15a111acd372764c55b4177d490" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ - "libc", + "generic-array", + "typenum", ] [[package]] -name = "miniz_oxide" -version = "0.8.9" +name = "cursor-icon" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" -dependencies = [ - "adler2", -] +checksum = "f27ae1dd37df86211c42e150270f82743308803d90a6f6e6651cd730d5e1732f" [[package]] -name = "nom" -version = "8.0.0" +name = "darling" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ - "memchr", + "darling_core", + "darling_macro", ] [[package]] -name = "normalize-line-endings" -version = "0.3.0" +name = "darling_core" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn", +] [[package]] -name = "num-conv" -version = "0.1.0" +name = "darling_macro" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" +dependencies = [ + "darling_core", + "quote", + "syn", +] [[package]] -name = "num-traits" -version = "0.2.19" +name = "deranged" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" dependencies = [ - "autocfg", + "powerfmt", ] [[package]] -name = "num_threads" -version = "0.1.7" +name = "derive_arbitrary" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" +checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a" dependencies = [ - "libc", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "object" -version = "0.37.3" +name = "derive_builder" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" +checksum = "507dfb09ea8b7fa618fcf76e953f4f5e192547945816d5358edffe39f6f94947" dependencies = [ - "memchr", + "derive_builder_macro", ] [[package]] -name = "once_cell" -version = "1.21.3" +name = "derive_builder_core" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" +checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn", +] [[package]] -name = "once_cell_polyfill" -version = "1.70.2" +name = "derive_builder_macro" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" +checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" +dependencies = [ + "derive_builder_core", + "syn", +] [[package]] -name = "os_pipe" -version = "1.2.3" +name = "diff" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" +checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "libc", - "windows-sys 0.61.2", + "block-buffer", + "crypto-common", ] [[package]] -name = "owo-colors" -version = "4.2.3" +name = "dispatch" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c6901729fa79e91a0913333229e9ca5dc725089d1c363b2f4b4760709dc4a52" +checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" [[package]] -name = "paste" -version = "1.0.15" +name = "dispatch2" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" +checksum = "89a09f22a6c6069a18470eb92d2298acf25463f14256d24778e1230d789a2aec" +dependencies = [ + "bitflags 2.10.0", + "objc2 0.6.3", +] [[package]] -name = "percent-encoding" -version = "2.3.2" +name = "displaydoc" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] [[package]] -name = "pkg-config" -version = "0.3.32" +name = "dlib" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" +checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412" +dependencies = [ + "libloading", +] [[package]] -name = "potential_utf" -version = "0.1.4" +name = "document-features" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" dependencies = [ - "zerovec", + "litrs", ] [[package]] -name = "powerfmt" -version = "0.2.0" +name = "downcast-rs" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" +checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" [[package]] -name = "ppv-lite86" -version = "0.2.21" +name = "dpi" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" + +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + +[[package]] +name = "ecolor" +version = "0.31.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc4feb366740ded31a004a0e4452fbf84e80ef432ecf8314c485210229672fd1" dependencies = [ - "zerocopy", + "bytemuck", + "emath", + "serde", ] [[package]] -name = "pretty_assertions" -version = "1.4.1" +name = "eframe" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" +checksum = "d0dfe0859f3fb1bc6424c57d41e10e9093fe938f426b691e42272c2f336d915c" dependencies = [ - "diff", - "yansi", + "ahash", + "bytemuck", + "document-features", + "egui", + "egui-wgpu", + "egui-winit", + "egui_glow", + "glow", + "glutin", + "glutin-winit", + "home", + "image 0.25.9", + "js-sys", + "log", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", + "parking_lot", + "percent-encoding", + "profiling", + "raw-window-handle", + "ron 0.8.1", + "serde", + "static_assertions", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "web-time", + "winapi", + "windows-sys 0.59.0", + "winit", ] [[package]] -name = "proc-macro2" -version = "1.0.103" +name = "egui" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" +checksum = "25dd34cec49ab55d85ebf70139cb1ccd29c977ef6b6ba4fe85489d6877ee9ef3" dependencies = [ - "unicode-ident", + "accesskit", + "ahash", + "bitflags 2.10.0", + "emath", + "epaint", + "log", + "nohash-hasher", + "profiling", + "ron 0.8.1", + "serde", ] [[package]] -name = "proptest" -version = "1.9.0" +name = "egui-wgpu" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bee689443a2bd0a16ab0348b52ee43e3b2d1b1f931c8aa5c9f8de4c86fbe8c40" +checksum = "d319dfef570f699b6e9114e235e862a2ddcf75f0d1a061de9e1328d92146d820" dependencies = [ - "bit-set", - "bit-vec", - "bitflags", - "num-traits", - "rand", - "rand_chacha", - "rand_xorshift", - "regex-syntax", - "rusty-fork", - "tempfile", - "unarray", + "ahash", + "bytemuck", + "document-features", + "egui", + "epaint", + "log", + "profiling", + "thiserror 1.0.69", + "type-map", + "web-time", + "wgpu", + "winit", ] [[package]] -name = "quick-error" -version = "1.2.3" +name = "egui-winit" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" +checksum = "7d9dfbb78fe4eb9c3a39ad528b90ee5915c252e77bbab9d4ebc576541ab67e13" +dependencies = [ + "accesskit_winit", + "ahash", + "arboard", + "bytemuck", + "egui", + "log", + "profiling", + "raw-window-handle", + "serde", + "smithay-clipboard", + "web-time", + "webbrowser", + "winit", +] [[package]] -name = "quote" -version = "1.0.42" +name = "egui_glow" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" +checksum = "910906e3f042ea6d2378ec12a6fd07698e14ddae68aed2d819ffe944a73aab9e" dependencies = [ - "proc-macro2", + "ahash", + "bytemuck", + "egui", + "glow", + "log", + "memoffset", + "profiling", + "wasm-bindgen", + "web-sys", + "winit", ] [[package]] -name = "r-efi" -version = "5.3.0" +name = "either" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] -name = "rand" -version = "0.9.2" +name = "emath" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +checksum = "9e4cadcff7a5353ba72b7fea76bf2122b5ebdbc68e8155aa56dfdea90083fe1b" dependencies = [ - "rand_chacha", - "rand_core", + "bytemuck", + "serde", ] [[package]] -name = "rand_chacha" -version = "0.9.0" +name = "encode_unicode" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core", -] +checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" [[package]] -name = "rand_core" -version = "0.9.3" +name = "endi" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" -dependencies = [ - "getrandom", -] +checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099" [[package]] -name = "rand_xorshift" -version = "0.4.0" +name = "enumflags2" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" +checksum = "1027f7680c853e056ebcec683615fb6fbbc07dbaa13b4d5d9442b146ded4ecef" dependencies = [ - "rand_core", + "enumflags2_derive", + "serde", ] [[package]] -name = "rayon" -version = "1.11.0" +name = "enumflags2_derive" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f" +checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827" dependencies = [ - "either", - "rayon-core", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "rayon-core" -version = "1.13.0" +name = "enumn" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" +checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" dependencies = [ - "crossbeam-deque", - "crossbeam-utils", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "redox_syscall" -version = "0.5.18" +name = "epaint" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +checksum = "41fcc0f5a7c613afd2dee5e4b30c3e6acafb8ad6f0edb06068811f708a67c562" dependencies = [ - "bitflags", + "ab_glyph", + "ahash", + "bytemuck", + "ecolor", + "emath", + "epaint_default_fonts", + "log", + "nohash-hasher", + "parking_lot", + "profiling", + "serde", ] [[package]] -name = "regex" -version = "1.12.2" +name = "epaint_default_fonts" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] +checksum = "fc7e7a64c02cf7a5b51e745a9e45f60660a286f151c238b9d397b3e923f5082f" [[package]] -name = "regex-automata" -version = "0.4.13" +name = "equivalent" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", + "libc", + "windows-sys 0.61.2", ] [[package]] -name = "regex-syntax" -version = "0.8.8" +name = "error-code" +version = "3.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" +checksum = "dea2df4cf52843e0452895c455a1a2cfbb842a1e7329671acf418fdc53ed4c59" [[package]] -name = "rmp" -version = "0.8.14" +name = "event-listener" +version = "5.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "228ed7c16fa39782c3b3468e974aec2795e9089153cd08ee2e9aefb3613334c4" +checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab" dependencies = [ - "byteorder", - "num-traits", - "paste", + "concurrent-queue", + "parking", + "pin-project-lite", ] [[package]] -name = "rmp-serde" -version = "1.3.0" +name = "event-listener-strategy" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52e599a477cf9840e92f2cde9a7189e67b42c57532749bf90aea6ec10facd4db" +checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" dependencies = [ - "byteorder", - "rmp", - "serde", + "event-listener", + "pin-project-lite", ] [[package]] -name = "ron" -version = "0.12.0" +name = "exr" +version = "1.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd490c5b18261893f14449cbd28cb9c0b637aebf161cd77900bfdedaff21ec32" +checksum = "4300e043a56aa2cb633c01af81ca8f699a321879a7854d3896a0ba89056363be" dependencies = [ - "bitflags", - "once_cell", - "serde", - "serde_derive", - "typeid", - "unicode-ident", + "bit_field", + "half", + "lebe", + "miniz_oxide", + "rayon-core", + "smallvec", + "zune-inflate", ] [[package]] -name = "rsonpath" -version = "0.9.4" +name = "eyre" +version = "0.6.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec" dependencies = [ - "clap", - "color-eyre", - "eyre", - "log", - "rsonpath-lib", - "rsonpath-syntax", - "rustflags", - "simple_logger", - "trycmd", - "vergen", - "vergen-git2", - "vergen-gitcl", + "indenter", + "once_cell", ] [[package]] -name = "rsonpath-lib" -version = "0.9.4" +name = "fastrand" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" + +[[package]] +name = "fax" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f05de7d48f37cd6730705cbca900770cab77a89f413d23e100ad7fad7795a0ab" +dependencies = [ + "fax_derive", +] + +[[package]] +name = "fax_derive" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0aca10fb742cb43f9e7bb8467c91aa9bcb8e3ffbc6a6f7389bb93ffc920577d" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "fdeflate" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c" +dependencies = [ + "simd-adler32", +] + +[[package]] +name = "filetime" +version = "0.2.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" dependencies = [ "cfg-if", - "ciborium", - "insta", - "itertools", - "log", - "memmap2", - "pretty_assertions", - "proptest", - "rmp-serde", - "rsonpath-syntax", - "rsonpath-syntax-proptest", - "serde", - "serde_json", - "smallvec", - "static_assertions", - "test-case", - "thiserror", - "vector-map", + "libc", + "libredox", + "windows-sys 0.60.2", ] [[package]] -name = "rsonpath-syntax" -version = "0.4.0" +name = "find-msvc-tools" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" + +[[package]] +name = "flate2" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" dependencies = [ - "arbitrary", - "ciborium", - "insta", - "nom", - "owo-colors", - "pretty_assertions", - "proptest", - "rmp-serde", - "rsonpath-syntax-proptest", - "serde", - "serde_json", - "test-case", - "thiserror", - "unicode-width", + "crc32fast", + "miniz_oxide", ] [[package]] -name = "rsonpath-syntax-proptest" -version = "0.4.0" +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + +[[package]] +name = "foreign-types" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" dependencies = [ - "proptest", - "rsonpath-syntax", + "foreign-types-macros", + "foreign-types-shared", ] [[package]] -name = "rsonpath-test" -version = "0.9.4" +name = "foreign-types-macros" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" dependencies = [ - "eyre", - "glob", - "md5", - "pretty_assertions", - "rsonpath-lib", - "rsonpath-syntax", - "rsonpath-test-codegen", - "serde", - "serde_json", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "rsonpath-test-codegen" -version = "0.9.4" +name = "foreign-types-shared" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures-core" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" + +[[package]] +name = "futures-io" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" + +[[package]] +name = "futures-lite" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ - "heck", "proc-macro2", "quote", - "serde", - "toml", - "walkdir", + "syn", ] [[package]] -name = "rustc-demangle" -version = "0.1.26" +name = "futures-sink" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" [[package]] -name = "rustc_version" -version = "0.4.1" +name = "futures-task" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" + +[[package]] +name = "futures-util" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ - "semver", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", ] [[package]] -name = "rustflags" -version = "0.1.7" +name = "generic-array" +version = "0.14.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a39e0e9135d7a7208ee80aa4e3e4b88f0f5ad7be92153ed70686c38a03db2e63" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] [[package]] -name = "rustix" -version = "1.1.2" +name = "gethostname" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" +checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8" dependencies = [ - "bitflags", - "errno", + "rustix 1.1.2", + "windows-link", +] + +[[package]] +name = "getrandom" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" +dependencies = [ + "cfg-if", "libc", - "linux-raw-sys", - "windows-sys 0.61.2", + "wasi", ] [[package]] -name = "rustversion" -version = "1.0.22" +name = "getrandom" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi", + "wasip2", +] [[package]] -name = "rusty-fork" -version = "0.3.1" +name = "gif" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" +checksum = "4ae047235e33e2829703574b54fdec96bfbad892062d97fed2f76022287de61b" dependencies = [ - "fnv", - "quick-error", - "tempfile", - "wait-timeout", + "color_quant", + "weezl", ] [[package]] -name = "ryu" -version = "1.0.20" +name = "gimli" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] -name = "same-file" -version = "1.0.6" +name = "git2" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +checksum = "3e2b37e2f62729cdada11f0e6b3b6fe383c69c29fc619e391223e12856af308c" dependencies = [ - "winapi-util", + "bitflags 2.10.0", + "libc", + "libgit2-sys", + "log", + "url", ] [[package]] -name = "semver" -version = "1.0.27" +name = "gl_generator" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" +checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" dependencies = [ - "serde", - "serde_core", + "khronos_api", + "log", + "xml-rs", ] [[package]] -name = "serde" -version = "1.0.228" +name = "glob" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" + +[[package]] +name = "glow" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5e5ea60d70410161c8bf5da3fdfeaa1c72ed2c15f8bbb9d19fe3a4fad085f08" dependencies = [ - "serde_core", - "serde_derive", + "js-sys", + "slotmap", + "wasm-bindgen", + "web-sys", ] [[package]] -name = "serde_core" -version = "1.0.228" +name = "glutin" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" -dependencies = [ - "serde_derive", +checksum = "12124de845cacfebedff80e877bb37b5b75c34c5a4c89e47e1cdd67fb6041325" +dependencies = [ + "bitflags 2.10.0", + "cfg_aliases", + "cgl", + "dispatch2", + "glutin_egl_sys", + "glutin_glx_sys", + "glutin_wgl_sys", + "libloading", + "objc2 0.6.3", + "objc2-app-kit 0.3.2", + "objc2-core-foundation", + "objc2-foundation 0.3.2", + "once_cell", + "raw-window-handle", + "wayland-sys", + "windows-sys 0.52.0", + "x11-dl", ] [[package]] -name = "serde_derive" -version = "1.0.228" +name = "glutin-winit" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +checksum = "85edca7075f8fc728f28cb8fbb111a96c3b89e930574369e3e9c27eb75d3788f" dependencies = [ - "proc-macro2", - "quote", - "syn", + "cfg_aliases", + "glutin", + "raw-window-handle", + "winit", ] [[package]] -name = "serde_json" -version = "1.0.145" +name = "glutin_egl_sys" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" +checksum = "4c4680ba6195f424febdc3ba46e7a42a0e58743f2edb115297b86d7f8ecc02d2" dependencies = [ - "itoa", - "memchr", - "ryu", - "serde", - "serde_core", + "gl_generator", + "windows-sys 0.52.0", ] [[package]] -name = "serde_spanned" -version = "1.0.3" +name = "glutin_glx_sys" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e24345aa0fe688594e73770a5f6d1b216508b4f93484c0026d521acd30134392" +checksum = "8a7bb2938045a88b612499fbcba375a77198e01306f52272e692f8c1f3751185" dependencies = [ - "serde_core", + "gl_generator", + "x11-dl", ] [[package]] -name = "shlex" -version = "1.3.0" +name = "glutin_wgl_sys" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" +checksum = "2c4ee00b289aba7a9e5306d57c2d05499b2e5dc427f84ac708bd2c090212cf3e" +dependencies = [ + "gl_generator", +] [[package]] -name = "similar" -version = "2.7.0" +name = "gpu-alloc" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" +checksum = "fbcd2dba93594b227a1f57ee09b8b9da8892c34d55aa332e034a228d0fe6a171" +dependencies = [ + "bitflags 2.10.0", + "gpu-alloc-types", +] + +[[package]] +name = "gpu-alloc-types" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98ff03b468aa837d70984d55f5d3f846f6ec31fe34bbb97c4f85219caeee1ca4" +dependencies = [ + "bitflags 2.10.0", +] + +[[package]] +name = "gpu-descriptor" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b89c83349105e3732062a895becfc71a8f921bb71ecbbdd8ff99263e3b53a0ca" +dependencies = [ + "bitflags 2.10.0", + "gpu-descriptor-types", + "hashbrown 0.15.5", +] + +[[package]] +name = "gpu-descriptor-types" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdf242682df893b86f33a73828fb09ca4b2d3bb6cc95249707fc684d27484b91" +dependencies = [ + "bitflags 2.10.0", +] + +[[package]] +name = "half" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" +dependencies = [ + "cfg-if", + "crunchy", + "zerocopy", +] + +[[package]] +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "foldhash", +] + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hermit-abi" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hexf-parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" + +[[package]] +name = "home" +version = "0.5.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "humantime" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424" + +[[package]] +name = "humantime-serde" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c" +dependencies = [ + "humantime", + "serde", +] + +[[package]] +name = "icu_collections" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" +dependencies = [ + "displaydoc", + "potential_utf", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" + +[[package]] +name = "icu_properties" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "020bfc02fe870ec3a66d93e677ccca0562506e5872c650f893269e08615d74ec" +dependencies = [ + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "616c294cf8d725c6afcd8f55abc17c56464ef6211f9ed59cccffe534129c77af" + +[[package]] +name = "icu_provider" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "image" +version = "0.24.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d" +dependencies = [ + "bytemuck", + "byteorder", + "color_quant", + "exr", + "gif", + "jpeg-decoder", + "num-traits", + "png 0.17.16", + "qoi", + "tiff 0.9.1", +] + +[[package]] +name = "image" +version = "0.25.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6506c6c10786659413faa717ceebcb8f70731c0a60cbae39795fdf114519c1a" +dependencies = [ + "bytemuck", + "byteorder-lite", + "moxcms", + "num-traits", + "png 0.18.0", + "tiff 0.10.3", +] + +[[package]] +name = "immutable-chunkmap" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a3e98b1520e49e252237edc238a39869da9f3241f2ec19dc788c1d24694d1e4" +dependencies = [ + "arrayvec", +] + +[[package]] +name = "indenter" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5" + +[[package]] +name = "indexmap" +version = "2.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" +dependencies = [ + "equivalent", + "hashbrown 0.16.1", +] + +[[package]] +name = "insta" +version = "1.44.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5c943d4415edd8153251b6f197de5eb1640e56d84e8d9159bea190421c73698" +dependencies = [ + "console", + "once_cell", + "ron 0.12.0", + "serde", + "similar", +] + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" + +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" + +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni-sys" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" + +[[package]] +name = "jobserver" +version = "0.1.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" +dependencies = [ + "getrandom 0.3.4", + "libc", +] + +[[package]] +name = "jpeg-decoder" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00810f1d8b74be64b13dbf3db89ac67740615d6c891f0e7b6179326533011a07" +dependencies = [ + "rayon", +] + +[[package]] +name = "js-sys" +version = "0.3.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" +dependencies = [ + "once_cell", + "wasm-bindgen", +] + +[[package]] +name = "khronos-egl" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76" +dependencies = [ + "libc", + "libloading", + "pkg-config", +] + +[[package]] +name = "khronos_api" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" + +[[package]] +name = "lebe" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a79a3332a6609480d7d0c9eab957bca6b455b91bb84e66d19f5ff66294b85b8" + +[[package]] +name = "libc" +version = "0.2.178" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" + +[[package]] +name = "libgit2-sys" +version = "0.18.3+1.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9b3acc4b91781bb0b3386669d325163746af5f6e4f73e6d2d630e09a35f3487" +dependencies = [ + "cc", + "libc", + "libz-sys", + "pkg-config", +] + +[[package]] +name = "libloading" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" +dependencies = [ + "cfg-if", + "windows-link", +] + +[[package]] +name = "libredox" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" +dependencies = [ + "bitflags 2.10.0", + "libc", + "redox_syscall 0.5.18", +] + +[[package]] +name = "libz-sys" +version = "1.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15d118bbf3771060e7311cc7bb0545b01d08a8b4a7de949198dec1fa0ca1c0f7" +dependencies = [ + "cc", + "libc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "linux-raw-sys" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" + +[[package]] +name = "linux-raw-sys" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" + +[[package]] +name = "litemap" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" + +[[package]] +name = "litrs" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" + +[[package]] +name = "malloc_buf" +version = "0.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" +dependencies = [ + "libc", +] + +[[package]] +name = "memchr" +version = "2.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" + +[[package]] +name = "memmap2" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "744133e4a0e0a658e1374cf3bf8e415c4052a15a111acd372764c55b4177d490" +dependencies = [ + "libc", +] + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "metal" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f569fb946490b5743ad69813cb19629130ce9374034abe31614a36402d18f99e" +dependencies = [ + "bitflags 2.10.0", + "block", + "core-graphics-types", + "foreign-types", + "log", + "objc", + "paste", +] + +[[package]] +name = "miniz_oxide" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" +dependencies = [ + "adler2", + "simd-adler32", +] + +[[package]] +name = "moxcms" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80986bbbcf925ebd3be54c26613d861255284584501595cf418320c078945608" +dependencies = [ + "num-traits", + "pxfm", +] + +[[package]] +name = "naga" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e380993072e52eef724eddfcde0ed013b0c023c3f0417336ed041aa9f076994e" +dependencies = [ + "arrayvec", + "bit-set", + "bitflags 2.10.0", + "cfg_aliases", + "codespan-reporting", + "hexf-parse", + "indexmap", + "log", + "rustc-hash 1.1.0", + "spirv", + "strum", + "termcolor", + "thiserror 2.0.17", + "unicode-xid", +] + +[[package]] +name = "ndk" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" +dependencies = [ + "bitflags 2.10.0", + "jni-sys", + "log", + "ndk-sys 0.6.0+11769913", + "num_enum", + "raw-window-handle", + "thiserror 1.0.69", +] + +[[package]] +name = "ndk-context" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" + +[[package]] +name = "ndk-sys" +version = "0.5.0+25.2.9519653" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c196769dd60fd4f363e11d948139556a344e79d451aeb2fa2fd040738ef7691" +dependencies = [ + "jni-sys", +] + +[[package]] +name = "ndk-sys" +version = "0.6.0+11769913" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873" +dependencies = [ + "jni-sys", +] + +[[package]] +name = "nix" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" +dependencies = [ + "bitflags 2.10.0", + "cfg-if", + "cfg_aliases", + "libc", + "memoffset", +] + +[[package]] +name = "nohash-hasher" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" + +[[package]] +name = "nom" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" +dependencies = [ + "memchr", +] + +[[package]] +name = "normalize-line-endings" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" + +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + +[[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.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1207a7e20ad57b847bbddc6776b968420d38292bbfe2089accff5e19e82454c" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "num_threads" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" +dependencies = [ + "libc", +] + +[[package]] +name = "objc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" +dependencies = [ + "malloc_buf", +] + +[[package]] +name = "objc-sys" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310" + +[[package]] +name = "objc2" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804" +dependencies = [ + "objc-sys", + "objc2-encode", +] + +[[package]] +name = "objc2" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c2599ce0ec54857b29ce62166b0ed9b4f6f1a70ccc9a71165b6154caca8c05" +dependencies = [ + "objc2-encode", +] + +[[package]] +name = "objc2-app-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff" +dependencies = [ + "bitflags 2.10.0", + "block2", + "libc", + "objc2 0.5.2", + "objc2-core-data", + "objc2-core-image", + "objc2-foundation 0.2.2", + "objc2-quartz-core", +] + +[[package]] +name = "objc2-app-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" +dependencies = [ + "bitflags 2.10.0", + "objc2 0.6.3", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-cloud-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74dd3b56391c7a0596a295029734d3c1c5e7e510a4cb30245f8221ccea96b009" +dependencies = [ + "bitflags 2.10.0", + "block2", + "objc2 0.5.2", + "objc2-core-location", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-contacts" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5ff520e9c33812fd374d8deecef01d4a840e7b41862d849513de77e44aa4889" +dependencies = [ + "block2", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-core-data" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef" +dependencies = [ + "bitflags 2.10.0", + "block2", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags 2.10.0", + "dispatch2", + "objc2 0.6.3", +] + +[[package]] +name = "objc2-core-graphics" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" +dependencies = [ + "bitflags 2.10.0", + "dispatch2", + "objc2 0.6.3", + "objc2-core-foundation", + "objc2-io-surface", +] + +[[package]] +name = "objc2-core-image" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80" +dependencies = [ + "block2", + "objc2 0.5.2", + "objc2-foundation 0.2.2", + "objc2-metal", +] + +[[package]] +name = "objc2-core-location" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "000cfee34e683244f284252ee206a27953279d370e309649dc3ee317b37e5781" +dependencies = [ + "block2", + "objc2 0.5.2", + "objc2-contacts", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-foundation" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8" +dependencies = [ + "bitflags 2.10.0", + "block2", + "dispatch", + "libc", + "objc2 0.5.2", +] + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags 2.10.0", + "objc2 0.6.3", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-io-surface" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d" +dependencies = [ + "bitflags 2.10.0", + "objc2 0.6.3", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-link-presentation" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1a1ae721c5e35be65f01a03b6d2ac13a54cb4fa70d8a5da293d7b0020261398" +dependencies = [ + "block2", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-metal" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6" +dependencies = [ + "bitflags 2.10.0", + "block2", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-quartz-core" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a" +dependencies = [ + "bitflags 2.10.0", + "block2", + "objc2 0.5.2", + "objc2-foundation 0.2.2", + "objc2-metal", +] + +[[package]] +name = "objc2-symbols" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a684efe3dec1b305badae1a28f6555f6ddd3bb2c2267896782858d5a78404dc" +dependencies = [ + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-ui-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8bb46798b20cd6b91cbd113524c490f1686f4c4e8f49502431415f3512e2b6f" +dependencies = [ + "bitflags 2.10.0", + "block2", + "objc2 0.5.2", + "objc2-cloud-kit", + "objc2-core-data", + "objc2-core-image", + "objc2-core-location", + "objc2-foundation 0.2.2", + "objc2-link-presentation", + "objc2-quartz-core", + "objc2-symbols", + "objc2-uniform-type-identifiers", + "objc2-user-notifications", +] + +[[package]] +name = "objc2-uniform-type-identifiers" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44fa5f9748dbfe1ca6c0b79ad20725a11eca7c2218bceb4b005cb1be26273bfe" +dependencies = [ + "block2", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-user-notifications" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76cfcbf642358e8689af64cee815d139339f3ed8ad05103ed5eaf73db8d84cb3" +dependencies = [ + "bitflags 2.10.0", + "block2", + "objc2 0.5.2", + "objc2-core-location", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "object" +version = "0.37.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" + +[[package]] +name = "orbclient" +version = "0.3.49" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "247ad146e19b9437f8604c21f8652423595cf710ad108af40e77d3ae6e96b827" +dependencies = [ + "libredox", +] + +[[package]] +name = "ordered-float" +version = "4.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7bb71e1b3fa6ca1c61f383464aaf2bb0e2f8e772a1f01d486832464de363b951" +dependencies = [ + "num-traits", +] + +[[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 = "os_pipe" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "owned_ttf_parser" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36820e9051aca1014ddc75770aab4d68bc1e9e632f0f5627c4086bc216fb583b" +dependencies = [ + "ttf-parser", +] + +[[package]] +name = "owo-colors" +version = "4.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c6901729fa79e91a0913333229e9ca5dc725089d1c363b2f4b4760709dc4a52" + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall 0.5.18", + "smallvec", + "windows-link", +] + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pin-project" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677f1add503faace112b9f1373e43e9e054bfdd22ff1a63c1bc485eaec6a6a8a" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "piper" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" +dependencies = [ + "atomic-waker", + "fastrand", + "futures-io", +] + +[[package]] +name = "pkg-config" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" + +[[package]] +name = "png" +version = "0.17.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526" +dependencies = [ + "bitflags 1.3.2", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide", +] + +[[package]] +name = "png" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97baced388464909d42d89643fe4361939af9b7ce7a31ee32a168f832a70f2a0" +dependencies = [ + "bitflags 2.10.0", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide", +] + +[[package]] +name = "polling" +version = "3.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" +dependencies = [ + "cfg-if", + "concurrent-queue", + "hermit-abi", + "pin-project-lite", + "rustix 1.1.2", + "windows-sys 0.61.2", +] + +[[package]] +name = "potential_utf" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "pretty_assertions" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" +dependencies = [ + "diff", + "yansi", +] + +[[package]] +name = "proc-macro-crate" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "proc-macro2" +version = "1.0.103" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "profiling" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eb8486b569e12e2c32ad3e204dbaba5e4b5b216e9367044f25f1dba42341773" + +[[package]] +name = "proptest" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bee689443a2bd0a16ab0348b52ee43e3b2d1b1f931c8aa5c9f8de4c86fbe8c40" +dependencies = [ + "bit-set", + "bit-vec", + "bitflags 2.10.0", + "num-traits", + "rand 0.9.2", + "rand_chacha 0.9.0", + "rand_xorshift", + "regex-syntax", + "rusty-fork", + "tempfile", + "unarray", +] + +[[package]] +name = "pxfm" +version = "0.1.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7186d3822593aa4393561d186d1393b3923e9d6163d3fbfd6e825e3e6cf3e6a8" +dependencies = [ + "num-traits", +] + +[[package]] +name = "qoi" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + +[[package]] +name = "quick-error" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" + +[[package]] +name = "quick-xml" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eff6510e86862b57b210fd8cbe8ed3f0d7d600b9c2863cd4549a2e033c66e956" +dependencies = [ + "memchr", + "serde", +] + +[[package]] +name = "quick-xml" +version = "0.37.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "331e97a1af0bf59823e6eadffe373d7b27f485be8748f71471c662c1f269b7fb" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.3", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.3", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.16", +] + +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +dependencies = [ + "getrandom 0.3.4", +] + +[[package]] +name = "rand_xorshift" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" +dependencies = [ + "rand_core 0.9.3", +] + +[[package]] +name = "raw-window-handle" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" + +[[package]] +name = "rayon" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "redox_syscall" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags 2.10.0", +] + +[[package]] +name = "regex" +version = "1.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" + +[[package]] +name = "renderdoc-sys" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" + +[[package]] +name = "rmp" +version = "0.8.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "228ed7c16fa39782c3b3468e974aec2795e9089153cd08ee2e9aefb3613334c4" +dependencies = [ + "byteorder", + "num-traits", + "paste", +] + +[[package]] +name = "rmp-serde" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52e599a477cf9840e92f2cde9a7189e67b42c57532749bf90aea6ec10facd4db" +dependencies = [ + "byteorder", + "rmp", + "serde", +] + +[[package]] +name = "ron" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94" +dependencies = [ + "base64", + "bitflags 2.10.0", + "serde", + "serde_derive", +] + +[[package]] +name = "ron" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd490c5b18261893f14449cbd28cb9c0b637aebf161cd77900bfdedaff21ec32" +dependencies = [ + "bitflags 2.10.0", + "once_cell", + "serde", + "serde_derive", + "typeid", + "unicode-ident", +] + +[[package]] +name = "rsonpath" +version = "0.9.4" +dependencies = [ + "clap", + "color-eyre", + "eyre", + "log", + "rsonpath-lib", + "rsonpath-syntax", + "rustflags", + "simple_logger", + "trycmd", + "vergen", + "vergen-git2", + "vergen-gitcl", +] + +[[package]] +name = "rsonpath-lib" +version = "0.9.4" +dependencies = [ + "cfg-if", + "ciborium", + "insta", + "itertools", + "log", + "memmap2", + "pretty_assertions", + "proptest", + "rmp-serde", + "rsonpath-syntax", + "rsonpath-syntax-proptest", + "serde", + "serde_json", + "smallvec", + "static_assertions", + "test-case", + "thiserror 2.0.17", + "vector-map", +] + +[[package]] +name = "rsonpath-syntax" +version = "0.4.0" +dependencies = [ + "arbitrary", + "ciborium", + "insta", + "nom", + "owo-colors", + "pretty_assertions", + "proptest", + "rmp-serde", + "rsonpath-syntax-proptest", + "serde", + "serde_json", + "test-case", + "thiserror 2.0.17", + "unicode-width 0.2.2", +] + +[[package]] +name = "rsonpath-syntax-proptest" +version = "0.4.0" +dependencies = [ + "proptest", + "rsonpath-syntax", +] + +[[package]] +name = "rsonpath-website" +version = "0.9.4" +dependencies = [ + "console_error_panic_hook", + "eframe", + "egui", + "image 0.24.9", + "log", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "rustc-hash" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustflags" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a39e0e9135d7a7208ee80aa4e3e4b88f0f5ad7be92153ed70686c38a03db2e63" + +[[package]] +name = "rustix" +version = "0.38.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" +dependencies = [ + "bitflags 2.10.0", + "errno", + "libc", + "linux-raw-sys 0.4.15", + "windows-sys 0.59.0", +] + +[[package]] +name = "rustix" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" +dependencies = [ + "bitflags 2.10.0", + "errno", + "libc", + "linux-raw-sys 0.11.0", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustversion" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" + +[[package]] +name = "rusty-fork" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" +dependencies = [ + "fnv", + "quick-error 1.2.3", + "tempfile", + "wait-timeout", +] + +[[package]] +name = "ryu" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "semver" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.145" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" +dependencies = [ + "itoa", + "memchr", + "ryu", + "serde", + "serde_core", +] + +[[package]] +name = "serde_repr" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_spanned" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e24345aa0fe688594e73770a5f6d1b216508b4f93484c0026d521acd30134392" +dependencies = [ + "serde_core", +] + +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "signal-hook-registry" +version = "1.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad" +dependencies = [ + "libc", +] + +[[package]] +name = "simd-adler32" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2" + +[[package]] +name = "similar" +version = "2.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" + +[[package]] +name = "simple_logger" +version = "5.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291bee647ce7310b0ea721bfd7e0525517b4468eb7c7e15eb8bd774343179702" +dependencies = [ + "colored", + "log", + "time", + "windows-sys 0.61.2", +] + +[[package]] +name = "slab" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" + +[[package]] +name = "slotmap" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038" +dependencies = [ + "version_check", +] + +[[package]] +name = "smallvec" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" +dependencies = [ + "serde", +] + +[[package]] +name = "smithay-client-toolkit" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3457dea1f0eb631b4034d61d4d8c32074caa6cd1ab2d59f2327bd8461e2c0016" +dependencies = [ + "bitflags 2.10.0", + "calloop 0.13.0", + "calloop-wayland-source 0.3.0", + "cursor-icon", + "libc", + "log", + "memmap2", + "rustix 0.38.44", + "thiserror 1.0.69", + "wayland-backend", + "wayland-client", + "wayland-csd-frame", + "wayland-cursor", + "wayland-protocols", + "wayland-protocols-wlr", + "wayland-scanner", + "xkeysym", +] + +[[package]] +name = "smithay-client-toolkit" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0512da38f5e2b31201a93524adb8d3136276fa4fe4aafab4e1f727a82b534cc0" +dependencies = [ + "bitflags 2.10.0", + "calloop 0.14.3", + "calloop-wayland-source 0.4.1", + "cursor-icon", + "libc", + "log", + "memmap2", + "rustix 1.1.2", + "thiserror 2.0.17", + "wayland-backend", + "wayland-client", + "wayland-csd-frame", + "wayland-cursor", + "wayland-protocols", + "wayland-protocols-experimental", + "wayland-protocols-misc", + "wayland-protocols-wlr", + "wayland-scanner", + "xkeysym", +] + +[[package]] +name = "smithay-clipboard" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71704c03f739f7745053bde45fa203a46c58d25bc5c4efba1d9a60e9dba81226" +dependencies = [ + "libc", + "smithay-client-toolkit 0.20.0", + "wayland-backend", +] + +[[package]] +name = "smol_str" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd538fb6910ac1099850255cf94a94df6551fbdd602454387d0adb2d1ca6dead" +dependencies = [ + "serde", +] + +[[package]] +name = "snapbox" +version = "0.6.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96fa1ce81be900d083b30ec2d481e6658c2acfaa2cfc7be45ccc2cc1b820edb3" +dependencies = [ + "anstream", + "anstyle", + "content_inspector", + "dunce", + "filetime", + "libc", + "normalize-line-endings", + "os_pipe", + "similar", + "snapbox-macros", + "tempfile", + "wait-timeout", + "walkdir", + "windows-sys 0.60.2", +] + +[[package]] +name = "snapbox-macros" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b750c344002d7cc69afb9da00ebd9b5c0f8ac2eb7d115d9d45d5b5f47718d74" +dependencies = [ + "anstream", +] + +[[package]] +name = "spirv" +version = "0.3.0+sdk-1.3.268.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eda41003dc44290527a59b13432d4a0379379fa074b70174882adfbdfd917844" +dependencies = [ + "bitflags 2.10.0", +] + +[[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 = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "strum" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.26.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "rustversion", + "syn", +] + +[[package]] +name = "syn" +version = "2.0.111" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "synstructure" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tempfile" +version = "3.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" +dependencies = [ + "fastrand", + "getrandom 0.3.4", + "once_cell", + "rustix 1.1.2", + "windows-sys 0.61.2", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "terminal_size" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" +dependencies = [ + "rustix 1.1.2", + "windows-sys 0.60.2", +] + +[[package]] +name = "test-case" +version = "3.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb2550dd13afcd286853192af8601920d959b14c401fcece38071d53bf0768a8" +dependencies = [ + "test-case-macros", +] + +[[package]] +name = "test-case-core" +version = "3.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adcb7fd841cd518e279be3d5a3eb0636409487998a4aff22f3de87b81e88384f" +dependencies = [ + "cfg-if", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "test-case-macros" +version = "3.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "test-case-core", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" +dependencies = [ + "thiserror-impl 2.0.17", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tiff" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba1310fcea54c6a9a4fd1aad794ecc02c31682f6bfbecdf460bf19533eed1e3e" +dependencies = [ + "flate2", + "jpeg-decoder", + "weezl", +] + +[[package]] +name = "tiff" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af9605de7fee8d9551863fd692cce7637f548dbd9db9180fcc07ccc6d26c336f" +dependencies = [ + "fax", + "flate2", + "half", + "quick-error 2.0.1", + "weezl", + "zune-jpeg", +] + +[[package]] +name = "time" +version = "0.3.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" +dependencies = [ + "deranged", + "itoa", + "libc", + "num-conv", + "num_threads", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" + +[[package]] +name = "time-macros" +version = "0.2.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tinystr" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "toml_datetime" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2cdb639ebbc97961c51720f858597f7f24c4fc295327923af55b74c3c724533" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.23.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d7cbc3b4b49633d57a0509303158ca50de80ae32c265093b24c414705807832" +dependencies = [ + "indexmap", + "serde_core", + "serde_spanned", + "toml_datetime", + "toml_parser", + "toml_writer", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0cbe268d35bdb4bb5a56a2de88d0ad0eb70af5384a99d648cd4b3d04039800e" +dependencies = [ + "winnow", +] + +[[package]] +name = "toml_writer" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df8b2b54733674ad286d16267dcfc7a71ed5c776e4ac7aa3c3e2561f7c637bf2" + +[[package]] +name = "tracing" +version = "0.1.43" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d15d90a0b5c19378952d479dc858407149d7bb45a14de0142f6c534b16fc647" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tracing-core" +version = "0.1.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a04e24fab5c89c6a36eb8558c9656f30d81de51dfa4d3b45f26b21d61fa0a6c" +dependencies = [ + "once_cell", +] + +[[package]] +name = "trycmd" +version = "0.15.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a81ea3136ddc88e19c2cc2eb3176b72abee4e831367cd8949f2a88ac5497e64e" +dependencies = [ + "anstream", + "automod", + "glob", + "humantime", + "humantime-serde", + "rayon", + "serde", + "shlex", + "snapbox", + "toml_edit", +] + +[[package]] +name = "ttf-parser" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2df906b07856748fa3f6e0ad0cbaa047052d4a7dd609e231c4f72cee8c36f31" + +[[package]] +name = "type-map" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90" +dependencies = [ + "rustc-hash 2.1.1", +] + +[[package]] +name = "typeid" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" + +[[package]] +name = "typenum" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" + +[[package]] +name = "uds_windows" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89daebc3e6fd160ac4aa9fc8b3bf71e1f74fbf92367ae71fb83a037e8bf164b9" +dependencies = [ + "memoffset", + "tempfile", + "winapi", +] + +[[package]] +name = "unarray" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" + +[[package]] +name = "unicode-ident" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" + +[[package]] +name = "unicode-segmentation" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" + +[[package]] +name = "unicode-width" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" + +[[package]] +name = "unicode-width" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "url" +version = "2.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]] +name = "vector-map" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03b34e878e32c750bb4253be124adb9da1dc93ca5d98c210787badf1e1ccdca7" + +[[package]] +name = "vergen" +version = "9.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777" +dependencies = [ + "anyhow", + "cargo_metadata", + "derive_builder", + "regex", + "rustc_version", + "rustversion", + "vergen-lib", +] + +[[package]] +name = "vergen-git2" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f6ee511ec45098eabade8a0750e76eec671e7fb2d9360c563911336bea9cac1" +dependencies = [ + "anyhow", + "derive_builder", + "git2", + "rustversion", + "time", + "vergen", + "vergen-lib", +] [[package]] -name = "simple_logger" -version = "5.1.0" +name = "vergen-gitcl" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291bee647ce7310b0ea721bfd7e0525517b4468eb7c7e15eb8bd774343179702" +checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe" dependencies = [ - "colored", - "log", + "anyhow", + "derive_builder", + "rustversion", "time", - "windows-sys 0.61.2", + "vergen", + "vergen-lib", ] [[package]] -name = "smallvec" -version = "1.15.1" +name = "vergen-lib" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" +checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166" dependencies = [ - "serde", + "anyhow", + "derive_builder", + "rustversion", ] [[package]] -name = "snapbox" -version = "0.6.23" +name = "version_check" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96fa1ce81be900d083b30ec2d481e6658c2acfaa2cfc7be45ccc2cc1b820edb3" -dependencies = [ - "anstream", - "anstyle", - "content_inspector", - "dunce", - "filetime", - "libc", - "normalize-line-endings", - "os_pipe", - "similar", - "snapbox-macros", - "tempfile", - "wait-timeout", - "walkdir", - "windows-sys 0.60.2", -] +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] -name = "snapbox-macros" -version = "0.4.0" +name = "wait-timeout" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b750c344002d7cc69afb9da00ebd9b5c0f8ac2eb7d115d9d45d5b5f47718d74" +checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" dependencies = [ - "anstream", + "libc", ] [[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" +name = "walkdir" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] [[package]] -name = "strsim" -version = "0.11.1" +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] -name = "syn" -version = "2.0.111" +name = "wasip2" +version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", + "wit-bindgen", ] [[package]] -name = "synstructure" -version = "0.13.2" +name = "wasm-bindgen" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" dependencies = [ - "proc-macro2", - "quote", - "syn", + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", ] [[package]] -name = "tempfile" -version = "3.23.0" +name = "wasm-bindgen-futures" +version = "0.4.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" +checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c" dependencies = [ - "fastrand", - "getrandom", + "cfg-if", + "js-sys", "once_cell", - "rustix", - "windows-sys 0.61.2", + "wasm-bindgen", + "web-sys", ] [[package]] -name = "terminal_size" -version = "0.4.3" +name = "wasm-bindgen-macro" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" +checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" dependencies = [ - "rustix", - "windows-sys 0.60.2", + "quote", + "wasm-bindgen-macro-support", ] [[package]] -name = "test-case" -version = "3.3.1" +name = "wasm-bindgen-macro-support" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb2550dd13afcd286853192af8601920d959b14c401fcece38071d53bf0768a8" +checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" dependencies = [ - "test-case-macros", + "bumpalo", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", ] [[package]] -name = "test-case-core" -version = "3.3.1" +name = "wasm-bindgen-shared" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adcb7fd841cd518e279be3d5a3eb0636409487998a4aff22f3de87b81e88384f" +checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" dependencies = [ - "cfg-if", - "proc-macro2", - "quote", - "syn", + "unicode-ident", ] [[package]] -name = "test-case-macros" -version = "3.3.1" +name = "wayland-backend" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" +checksum = "673a33c33048a5ade91a6b139580fa174e19fb0d23f396dca9fa15f2e1e49b35" dependencies = [ - "proc-macro2", - "quote", - "syn", - "test-case-core", + "cc", + "downcast-rs", + "rustix 1.1.2", + "scoped-tls", + "smallvec", + "wayland-sys", ] [[package]] -name = "thiserror" -version = "2.0.17" +name = "wayland-client" +version = "0.31.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" +checksum = "c66a47e840dc20793f2264eb4b3e4ecb4b75d91c0dd4af04b456128e0bdd449d" dependencies = [ - "thiserror-impl", + "bitflags 2.10.0", + "rustix 1.1.2", + "wayland-backend", + "wayland-scanner", ] [[package]] -name = "thiserror-impl" -version = "2.0.17" +name = "wayland-csd-frame" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" +checksum = "625c5029dbd43d25e6aa9615e88b829a5cad13b2819c4ae129fdbb7c31ab4c7e" dependencies = [ - "proc-macro2", - "quote", - "syn", + "bitflags 2.10.0", + "cursor-icon", + "wayland-backend", ] [[package]] -name = "time" -version = "0.3.44" +name = "wayland-cursor" +version = "0.31.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" +checksum = "447ccc440a881271b19e9989f75726d60faa09b95b0200a9b7eb5cc47c3eeb29" dependencies = [ - "deranged", - "itoa", - "libc", - "num-conv", - "num_threads", - "powerfmt", - "serde", - "time-core", - "time-macros", + "rustix 1.1.2", + "wayland-client", + "xcursor", ] [[package]] -name = "time-core" -version = "0.1.6" +name = "wayland-protocols" +version = "0.32.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" +checksum = "efa790ed75fbfd71283bd2521a1cfdc022aabcc28bdcff00851f9e4ae88d9901" +dependencies = [ + "bitflags 2.10.0", + "wayland-backend", + "wayland-client", + "wayland-scanner", +] [[package]] -name = "time-macros" -version = "0.2.24" +name = "wayland-protocols-experimental" +version = "20250721.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" +checksum = "40a1f863128dcaaec790d7b4b396cc9b9a7a079e878e18c47e6c2d2c5a8dcbb1" dependencies = [ - "num-conv", - "time-core", + "bitflags 2.10.0", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", ] [[package]] -name = "tinystr" -version = "0.8.2" +name = "wayland-protocols-misc" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" +checksum = "2dfe33d551eb8bffd03ff067a8b44bb963919157841a99957151299a6307d19c" dependencies = [ - "displaydoc", - "zerovec", + "bitflags 2.10.0", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", ] [[package]] -name = "toml" -version = "0.9.8" +name = "wayland-protocols-plasma" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0dc8b1fb61449e27716ec0e1bdf0f6b8f3e8f6b05391e8497b8b6d7804ea6d8" +checksum = "a07a14257c077ab3279987c4f8bb987851bf57081b93710381daea94f2c2c032" dependencies = [ - "indexmap", - "serde_core", - "serde_spanned", - "toml_datetime", - "toml_parser", - "toml_writer", - "winnow", + "bitflags 2.10.0", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", ] [[package]] -name = "toml_datetime" -version = "0.7.3" +name = "wayland-protocols-wlr" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2cdb639ebbc97961c51720f858597f7f24c4fc295327923af55b74c3c724533" +checksum = "efd94963ed43cf9938a090ca4f7da58eb55325ec8200c3848963e98dc25b78ec" dependencies = [ - "serde_core", + "bitflags 2.10.0", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", ] [[package]] -name = "toml_edit" -version = "0.23.9" +name = "wayland-scanner" +version = "0.31.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d7cbc3b4b49633d57a0509303158ca50de80ae32c265093b24c414705807832" +checksum = "54cb1e9dc49da91950bdfd8b848c49330536d9d1fb03d4bfec8cae50caa50ae3" dependencies = [ - "indexmap", - "serde_core", - "serde_spanned", - "toml_datetime", - "toml_parser", - "toml_writer", - "winnow", + "proc-macro2", + "quick-xml 0.37.5", + "quote", ] [[package]] -name = "toml_parser" -version = "1.0.4" +name = "wayland-sys" +version = "0.31.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0cbe268d35bdb4bb5a56a2de88d0ad0eb70af5384a99d648cd4b3d04039800e" +checksum = "34949b42822155826b41db8e5d0c1be3a2bd296c747577a43a3e6daefc296142" dependencies = [ - "winnow", + "dlib", + "log", + "once_cell", + "pkg-config", ] [[package]] -name = "toml_writer" -version = "1.0.4" +name = "web-sys" +version = "0.3.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df8b2b54733674ad286d16267dcfc7a71ed5c776e4ac7aa3c3e2561f7c637bf2" +checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac" +dependencies = [ + "js-sys", + "wasm-bindgen", +] [[package]] -name = "trycmd" -version = "0.15.11" +name = "web-time" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a81ea3136ddc88e19c2cc2eb3176b72abee4e831367cd8949f2a88ac5497e64e" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" dependencies = [ - "anstream", - "automod", - "glob", - "humantime", - "humantime-serde", - "rayon", - "serde", - "shlex", - "snapbox", - "toml_edit", + "js-sys", + "wasm-bindgen", ] [[package]] -name = "typeid" -version = "1.0.3" +name = "webbrowser" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" +checksum = "00f1243ef785213e3a32fa0396093424a3a6ea566f9948497e5a2309261a4c97" +dependencies = [ + "core-foundation 0.10.1", + "jni", + "log", + "ndk-context", + "objc2 0.6.3", + "objc2-foundation 0.3.2", + "url", + "web-sys", +] [[package]] -name = "unarray" -version = "0.1.4" +name = "weezl" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" +checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88" [[package]] -name = "unicode-ident" -version = "1.0.22" +name = "wgpu" +version = "24.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" +checksum = "6b0b3436f0729f6cdf2e6e9201f3d39dc95813fad61d826c1ed07918b4539353" +dependencies = [ + "arrayvec", + "bitflags 2.10.0", + "cfg_aliases", + "document-features", + "js-sys", + "log", + "parking_lot", + "profiling", + "raw-window-handle", + "smallvec", + "static_assertions", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "wgpu-core", + "wgpu-hal", + "wgpu-types", +] [[package]] -name = "unicode-width" -version = "0.2.2" +name = "wgpu-core" +version = "24.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" +checksum = "7f0aa306497a238d169b9dc70659105b4a096859a34894544ca81719242e1499" +dependencies = [ + "arrayvec", + "bit-vec", + "bitflags 2.10.0", + "cfg_aliases", + "document-features", + "indexmap", + "log", + "naga", + "once_cell", + "parking_lot", + "profiling", + "raw-window-handle", + "rustc-hash 1.1.0", + "smallvec", + "thiserror 2.0.17", + "wgpu-hal", + "wgpu-types", +] + +[[package]] +name = "wgpu-hal" +version = "24.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f112f464674ca69f3533248508ee30cb84c67cf06c25ff6800685f5e0294e259" +dependencies = [ + "android_system_properties", + "arrayvec", + "ash", + "bitflags 2.10.0", + "bytemuck", + "cfg_aliases", + "core-graphics-types", + "glow", + "glutin_wgl_sys", + "gpu-alloc", + "gpu-descriptor", + "js-sys", + "khronos-egl", + "libc", + "libloading", + "log", + "metal", + "naga", + "ndk-sys 0.5.0+25.2.9519653", + "objc", + "once_cell", + "ordered-float", + "parking_lot", + "profiling", + "raw-window-handle", + "renderdoc-sys", + "rustc-hash 1.1.0", + "smallvec", + "thiserror 2.0.17", + "wasm-bindgen", + "web-sys", + "wgpu-types", + "windows", +] [[package]] -name = "url" -version = "2.5.7" +name = "wgpu-types" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" +checksum = "50ac044c0e76c03a0378e7786ac505d010a873665e2d51383dcff8dd227dc69c" dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", - "serde", + "bitflags 2.10.0", + "js-sys", + "log", + "web-sys", ] [[package]] -name = "utf8_iter" -version = "1.0.4" +name = "winapi" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] [[package]] -name = "utf8parse" -version = "0.2.2" +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] -name = "vcpkg" -version = "0.2.15" +name = "winapi-util" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] [[package]] -name = "vector-map" -version = "1.0.2" +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b34e878e32c750bb4253be124adb9da1dc93ca5d98c210787badf1e1ccdca7" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] -name = "vergen" -version = "9.0.6" +name = "windows" +version = "0.58.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777" +checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6" dependencies = [ - "anyhow", - "cargo_metadata", - "derive_builder", - "regex", - "rustc_version", - "rustversion", - "vergen-lib", + "windows-core", + "windows-targets 0.52.6", ] [[package]] -name = "vergen-git2" -version = "1.0.7" +name = "windows-core" +version = "0.58.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f6ee511ec45098eabade8a0750e76eec671e7fb2d9360c563911336bea9cac1" +checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99" dependencies = [ - "anyhow", - "derive_builder", - "git2", - "rustversion", - "time", - "vergen", - "vergen-lib", + "windows-implement", + "windows-interface", + "windows-result", + "windows-strings", + "windows-targets 0.52.6", ] [[package]] -name = "vergen-gitcl" -version = "1.0.8" +name = "windows-implement" +version = "0.58.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe" +checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" dependencies = [ - "anyhow", - "derive_builder", - "rustversion", - "time", - "vergen", - "vergen-lib", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "vergen-lib" -version = "0.1.6" +name = "windows-interface" +version = "0.58.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166" +checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" dependencies = [ - "anyhow", - "derive_builder", - "rustversion", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "wait-timeout" +name = "windows-link" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" -dependencies = [ - "libc", -] +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" [[package]] -name = "walkdir" -version = "2.5.0" +name = "windows-result" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" dependencies = [ - "same-file", - "winapi-util", + "windows-targets 0.52.6", ] [[package]] -name = "wasip2" -version = "1.0.1+wasi-0.2.4" +name = "windows-strings" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" +checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" dependencies = [ - "wit-bindgen", + "windows-result", + "windows-targets 0.52.6", ] [[package]] -name = "winapi-util" -version = "0.1.11" +name = "windows-sys" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" dependencies = [ - "windows-sys 0.61.2", + "windows-targets 0.42.2", ] [[package]] -name = "windows-link" -version = "0.2.1" +name = "windows-sys" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] [[package]] name = "windows-sys" @@ -1885,6 +4810,21 @@ dependencies = [ "windows-link", ] +[[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" @@ -1918,6 +4858,12 @@ dependencies = [ "windows_x86_64_msvc 0.53.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" @@ -1930,6 +4876,12 @@ 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" @@ -1942,6 +4894,12 @@ 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" @@ -1966,6 +4924,12 @@ 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" @@ -1978,6 +4942,12 @@ 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" @@ -1990,6 +4960,12 @@ 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" @@ -2002,6 +4978,12 @@ 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" @@ -2014,6 +4996,57 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" +[[package]] +name = "winit" +version = "0.30.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c66d4b9ed69c4009f6321f762d6e61ad8a2389cd431b97cb1e146812e9e6c732" +dependencies = [ + "ahash", + "android-activity", + "atomic-waker", + "bitflags 2.10.0", + "block2", + "bytemuck", + "calloop 0.13.0", + "cfg_aliases", + "concurrent-queue", + "core-foundation 0.9.4", + "core-graphics", + "cursor-icon", + "dpi", + "js-sys", + "libc", + "memmap2", + "ndk", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", + "objc2-ui-kit", + "orbclient", + "percent-encoding", + "pin-project", + "raw-window-handle", + "redox_syscall 0.4.1", + "rustix 0.38.44", + "smithay-client-toolkit 0.19.2", + "smol_str", + "tracing", + "unicode-segmentation", + "wasm-bindgen", + "wasm-bindgen-futures", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-protocols-plasma", + "web-sys", + "web-time", + "windows-sys 0.52.0", + "x11-dl", + "x11rb", + "xkbcommon-dl", +] + [[package]] name = "winnow" version = "0.7.14" @@ -2035,6 +5068,79 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" +[[package]] +name = "x11-dl" +version = "2.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f" +dependencies = [ + "libc", + "once_cell", + "pkg-config", +] + +[[package]] +name = "x11rb" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9993aa5be5a26815fe2c3eacfc1fde061fc1a1f094bf1ad2a18bf9c495dd7414" +dependencies = [ + "as-raw-xcb-connection", + "gethostname", + "libc", + "libloading", + "once_cell", + "rustix 1.1.2", + "x11rb-protocol", +] + +[[package]] +name = "x11rb-protocol" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea6fc2961e4ef194dcbfe56bb845534d0dc8098940c7e5c012a258bfec6701bd" + +[[package]] +name = "xcursor" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bec9e4a500ca8864c5b47b8b482a73d62e4237670e5b5f1d6b9e3cae50f28f2b" + +[[package]] +name = "xdg-home" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec1cdab258fb55c0da61328dc52c8764709b249011b2cad0454c72f0bf10a1f6" +dependencies = [ + "libc", + "windows-sys 0.59.0", +] + +[[package]] +name = "xkbcommon-dl" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039de8032a9a8856a6be89cea3e5d12fdd82306ab7c94d74e6deab2460651c5" +dependencies = [ + "bitflags 2.10.0", + "dlib", + "log", + "once_cell", + "xkeysym", +] + +[[package]] +name = "xkeysym" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9cc00251562a284751c9973bace760d86c0276c471b4be569fe6b068ee97a56" + +[[package]] +name = "xml-rs" +version = "0.8.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f" + [[package]] name = "yansi" version = "1.0.1" @@ -2064,6 +5170,105 @@ dependencies = [ "synstructure", ] +[[package]] +name = "zbus" +version = "4.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb97012beadd29e654708a0fdb4c84bc046f537aecfde2c3ee0a9e4b4d48c725" +dependencies = [ + "async-broadcast", + "async-executor", + "async-fs", + "async-io", + "async-lock", + "async-process", + "async-recursion", + "async-task", + "async-trait", + "blocking", + "enumflags2", + "event-listener", + "futures-core", + "futures-sink", + "futures-util", + "hex", + "nix", + "ordered-stream", + "rand 0.8.5", + "serde", + "serde_repr", + "sha1", + "static_assertions", + "tracing", + "uds_windows", + "windows-sys 0.52.0", + "xdg-home", + "zbus_macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zbus-lockstep" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca2c5dceb099bddaade154055c926bb8ae507a18756ba1d8963fd7b51d8ed1d" +dependencies = [ + "zbus_xml", + "zvariant", +] + +[[package]] +name = "zbus-lockstep-macros" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709ab20fc57cb22af85be7b360239563209258430bccf38d8b979c5a2ae3ecce" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "zbus-lockstep", + "zbus_xml", + "zvariant", +] + +[[package]] +name = "zbus_macros" +version = "4.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "267db9407081e90bbfa46d841d3cbc60f59c0351838c4bc65199ecd79ab1983e" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", + "zvariant_utils", +] + +[[package]] +name = "zbus_names" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b9b1fef7d021261cc16cba64c351d291b715febe0fa10dc3a443ac5a5022e6c" +dependencies = [ + "serde", + "static_assertions", + "zvariant", +] + +[[package]] +name = "zbus_xml" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab3f374552b954f6abb4bd6ce979e6c9b38fb9d0cd7cc68a7d796e70c9f3a233" +dependencies = [ + "quick-xml 0.30.0", + "serde", + "static_assertions", + "zbus_names", + "zvariant", +] + [[package]] name = "zerocopy" version = "0.8.31" @@ -2137,3 +5342,64 @@ dependencies = [ "quote", "syn", ] + +[[package]] +name = "zune-core" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f423a2c17029964870cfaabb1f13dfab7d092a62a29a89264f4d36990ca414a" + +[[package]] +name = "zune-inflate" +version = "0.2.54" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02" +dependencies = [ + "simd-adler32", +] + +[[package]] +name = "zune-jpeg" +version = "0.4.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29ce2c8a9384ad323cf564b67da86e21d3cfdff87908bc1223ed5c99bc792713" +dependencies = [ + "zune-core", +] + +[[package]] +name = "zvariant" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2084290ab9a1c471c38fc524945837734fbf124487e105daec2bb57fd48c81fe" +dependencies = [ + "endi", + "enumflags2", + "serde", + "static_assertions", + "zvariant_derive", +] + +[[package]] +name = "zvariant_derive" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73e2ba546bda683a90652bac4a279bc146adad1386f25379cf73200d2002c449" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", + "zvariant_utils", +] + +[[package]] +name = "zvariant_utils" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c51bcff7cc3dbb5055396bcf774748c3dab426b4b8659046963523cee4808340" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] diff --git a/Cargo.toml b/Cargo.toml index 5d8c3074..b2cbaf47 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,8 +4,7 @@ members = [ "crates/rsonpath", "crates/rsonpath-lib", "crates/rsonpath-syntax", - "crates/rsonpath-syntax-proptest", - "crates/rsonpath-test", + "crates/rsonpath-syntax-proptest", "crates/rsonpath-website", ] exclude = ["crates/rsonpath-benchmarks", "crates/rsonpath-test-codegen"] diff --git a/crates/rsonpath-website/Cargo.toml b/crates/rsonpath-website/Cargo.toml new file mode 100644 index 00000000..eabf38d4 --- /dev/null +++ b/crates/rsonpath-website/Cargo.toml @@ -0,0 +1,32 @@ +[package] +name = "rsonpath-website" +version.workspace = true +authors.workspace = true +readme.workspace = true +license.workspace = true +repository.workspace = true +homepage.workspace = true +edition.workspace = true + +[dependencies] +eframe = { version = "0.31", default-features = false, features = [ + "accesskit", # Make egui compatible with screen readers. NOTE: adds a lot of dependencies. + "default_fonts", # Embed the default egui fonts. + "glow", # Use the glow rendering backend. Alternative: "wgpu". + "persistence", # Enable restoring app state when restarting the app. + "wayland", # To support Linux (and CI) + "x11", # To support older Linux distributions (restores one of the default features) +] } +egui = "0.31.1" +wasm-bindgen = "0.2" +log = "0.4.27" +image = "0.24" + +[target.'cfg(target_arch = "wasm32")'.dependencies] +wasm-bindgen-futures = "0.4.50" +web-sys = "0.3.70" +console_error_panic_hook = "0.1.7" + + +[lints] +workspace = true \ No newline at end of file diff --git a/crates/rsonpath-website/src/lib.rs b/crates/rsonpath-website/src/lib.rs new file mode 100644 index 00000000..afcedd28 --- /dev/null +++ b/crates/rsonpath-website/src/lib.rs @@ -0,0 +1,172 @@ +use eframe::emath::Align; +use eframe::epaint::Color32; +use eframe::Frame; +use egui::{Button, Context, Layout, RichText, TextEdit, TopBottomPanel}; +use wasm_bindgen::prelude::*; + +pub struct WebsiteGui { + json_input: String, + query_input: String, + json_output: String, + console_output: String, + toggle_dark_mode_on: bool, + toggle_console_on: bool, +} + +impl Default for WebsiteGui { + fn default() -> Self { + Self { + json_input: String::new(), + query_input: String::new(), + json_output: String::new(), + console_output: String::new(), + toggle_dark_mode_on: true, + toggle_console_on: true, + } + } +} + +impl eframe::App for WebsiteGui { + fn update(&mut self, ctx: &Context, _frame: &mut Frame) { + //Sets the font size for buttons and menu bodies, as well as the padding + ctx.set_style({ + let mut style = (*ctx.style()).clone(); + style.spacing.button_padding = egui::vec2(12.0, 8.0); // Wider buttons + style.text_styles = [ + ( + egui::TextStyle::Button, + egui::FontId::new(15.0, egui::FontFamily::Proportional), + ), + ( + egui::TextStyle::Body, + egui::FontId::new(15.0, egui::FontFamily::Proportional), + ), + ] + .into(); + style + }); + + if self.toggle_dark_mode_on { + ctx.set_visuals(egui::Visuals::dark()); + } else { + ctx.set_visuals(egui::Visuals::light()); + } + + TopBottomPanel::top("menu bar").show(ctx, |ui| { + ui.horizontal_wrapped(|ui| { + // File menu button + ui.menu_button("File", |ui| { + if ui.button("New").clicked() { + //TODO: Add functionality for New button + ui.close_menu(); + } + if ui.button("Open...").clicked() { + //TODO: Add functionality for Open button + ui.close_menu(); + } + + ui.separator(); + + if ui.button("Export to JSON").clicked() { + //TODO: Add functionality for Export to JSON button + ui.close_menu(); + } + }); + + ui.with_layout(Layout::right_to_left(Align::Center), |ui| { + //Console toggle checkbox + let toggle_console_text = RichText::new("Toggle Console").color(Color32::GRAY).size(15.0).strong(); + + ui.checkbox(&mut self.toggle_console_on, toggle_console_text); + + ui.add_space(10.0); + + //Dark mode checkbox + let toggle_console_text = RichText::new("Toggle Dark Mode") + .color(Color32::GRAY) + .size(15.0) + .strong(); + + ui.checkbox(&mut self.toggle_dark_mode_on, toggle_console_text) + }); + }) + }); + + egui::CentralPanel::default().show(ctx, |ui| { + ui.with_layout(Layout::left_to_right(Align::Center), |ui| { + ui.vertical(|ui| { + let hint_text = RichText::new("Enter your json code here...") + .size(15.0) + .color(Color32::GRAY) + .strong(); + + //Json input window + ui.add_sized( + [ui.available_width() / 2.0, ui.available_height() / 1.5], + TextEdit::multiline(&mut self.json_input).hint_text(hint_text), + ); + + ui.add_space(10.0); + + let query_field_text = RichText::new("Enter your query here...") + .size(15.0) + .color(Color32::GRAY) + .strong(); + + //Query input field + ui.add_sized( + [ui.available_width() / 2.0, ui.available_height() - 100.0], + TextEdit::singleline(&mut self.query_input).hint_text(query_field_text), + ); + + let button_text = RichText::new("Run Query").size(20.0).color(Color32::WHITE).strong(); + + ui.add_space(10.0); + + //Run button + //TODO: Add button functionality + ui.add_sized( + [ui.available_width() / 2.0, ui.available_height()], + Button::new(button_text).fill(Color32::BROWN), + ); + }); + + ui.add_space(10.0); + + ui.vertical(|ui| { + let mut output_window_height = if self.toggle_console_on { + ui.available_height() / 2.0 + } else { + ui.available_height() + }; + + //Output window + ui.add_sized( + [ui.available_width(), output_window_height], + TextEdit::multiline(&mut self.json_output) + .desired_rows(5) + .interactive(false), //TODO: Change placeholder to result of query + ); + + //Console window + if self.toggle_console_on { + ui.add_space(10.0); + + ui.add_sized( + [ui.available_width(), ui.available_height()], + TextEdit::multiline(&mut self.console_output).interactive(false), + ); + } + }); + }) + }); + } +} + +#[cfg(test)] +mod tests { + //use super::*; + + #[test] + fn it_works() {} +} diff --git a/crates/rsonpath-website/src/main.rs b/crates/rsonpath-website/src/main.rs new file mode 100644 index 00000000..1ffda22d --- /dev/null +++ b/crates/rsonpath-website/src/main.rs @@ -0,0 +1,40 @@ +use crate::lib::WebsiteGui; +use eframe::NativeOptions; +use wasm_bindgen::prelude::wasm_bindgen; +use wasm_bindgen::JsValue; + +mod lib; + +// #[cfg(target_arch = "wasm32")] +// #[wasm_bindgen(start)] +// pub fn start() -> Result<(), JsValue> { +// +// console_error_panic_hook::set_once(); +// let web_options = eframe::WebOptions::default(); +// +// +// //TODO: Write html file with eframe::Result<()> { + let options = NativeOptions::default(); + eframe::run_native( + "RsonQuery App", + options, + Box::new(|_cc| Ok(Box::new(WebsiteGui::default()))), + ) +} diff --git a/crates/rsonpath-website/src/package.json b/crates/rsonpath-website/src/package.json new file mode 100644 index 00000000..c45c711e --- /dev/null +++ b/crates/rsonpath-website/src/package.json @@ -0,0 +1,14 @@ +{ + "name": "src", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://github.com/GeoChatzik/rsonpath.git" + }, + "private": true +} From 90b1fc0237aae1b473bb8b9915c54c52a52dc373 Mon Sep 17 00:00:00 2001 From: ge96jon Date: Tue, 22 Jul 2025 12:15:06 +0200 Subject: [PATCH 03/16] Finished website and implemented all features --- .cargo/config.toml | 5 +- Cargo.lock | 5284 +++++------------------ Cargo.toml | 4 +- crates/rsonpath-lib/Cargo.toml | 5 + crates/rsonpath-lib/src/engine/error.rs | 6 + crates/rsonpath-lib/src/error.rs | 6 + crates/rsonpath-website/Cargo.toml | 62 +- crates/rsonpath-website/Trunk.toml | 5 + crates/rsonpath-website/index.html | 67 + crates/rsonpath-website/src/lib.rs | 468 +- crates/rsonpath-website/src/main.rs | 69 +- crates/rsonpath/Cargo.toml | 3 + crates/rsonpath/src/args.rs | 6 +- crates/rsonpath/src/lib.rs | 102 + crates/rsonpath/src/main.rs | 130 +- crates/rsonpath/src/runner.rs | 89 +- 16 files changed, 1785 insertions(+), 4526 deletions(-) create mode 100644 crates/rsonpath-website/Trunk.toml create mode 100644 crates/rsonpath-website/index.html create mode 100644 crates/rsonpath/src/lib.rs diff --git a/.cargo/config.toml b/.cargo/config.toml index 5dd1f1ef..7415ec50 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -5,12 +5,13 @@ #linker = "rust-lld" #rustflags = ["-C", "link-arg=--export-table"] -[build] -rustflags = ["-C", "link-arg=-fuse-ld=lld"] +#[build] +#rustflags = ["-C", "link-arg=-fuse-ld=lld"] [alias] rsontest = "hack test -q --feature-powerset --skip default -F arbitrary -F serde --ignore-unknown-features" +build-website = "build -p rsonpath-website --target wasm32-unknown-unknown" [env] RUST_BACKTRACE = "1" diff --git a/Cargo.lock b/Cargo.lock index 34912058..b58d1bf7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,118 +2,6 @@ # It is not intended for manual editing. version = 3 -[[package]] -name = "ab_glyph" -version = "0.2.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01c0457472c38ea5bd1c3b5ada5e368271cb550be7a4ca4a0b4634e9913f6cc2" -dependencies = [ - "ab_glyph_rasterizer", - "owned_ttf_parser", -] - -[[package]] -name = "ab_glyph_rasterizer" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618" - -[[package]] -name = "accesskit" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3d3b8f9bae46a948369bc4a03e815d4ed6d616bd00de4051133a5019dc31c5a" -dependencies = [ - "enumn", - "serde", -] - -[[package]] -name = "accesskit_atspi_common" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c5dd55e6e94949498698daf4d48fb5659e824d7abec0d394089656ceaf99d4f" -dependencies = [ - "accesskit", - "accesskit_consumer", - "atspi-common", - "serde", - "thiserror 1.0.69", - "zvariant", -] - -[[package]] -name = "accesskit_consumer" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f47983a1084940ba9a39c077a8c63e55c619388be5476ac04c804cfbd1e63459" -dependencies = [ - "accesskit", - "hashbrown 0.15.5", - "immutable-chunkmap", -] - -[[package]] -name = "accesskit_macos" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7329821f3bd1101e03a7d2e03bd339e3ac0dc64c70b4c9f9ae1949e3ba8dece1" -dependencies = [ - "accesskit", - "accesskit_consumer", - "hashbrown 0.15.5", - "objc2 0.5.2", - "objc2-app-kit 0.2.2", - "objc2-foundation 0.2.2", -] - -[[package]] -name = "accesskit_unix" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcee751cc20d88678c33edaf9c07e8b693cd02819fe89053776f5313492273f5" -dependencies = [ - "accesskit", - "accesskit_atspi_common", - "async-channel", - "async-executor", - "async-task", - "atspi", - "futures-lite", - "futures-util", - "serde", - "zbus", -] - -[[package]] -name = "accesskit_windows" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24fcd5d23d70670992b823e735e859374d694a3d12bfd8dd32bd3bd8bedb5d81" -dependencies = [ - "accesskit", - "accesskit_consumer", - "hashbrown 0.15.5", - "paste", - "static_assertions", - "windows", - "windows-core", -] - -[[package]] -name = "accesskit_winit" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6a48dad5530b6deb9fc7a52cc6c3bf72cdd9eb8157ac9d32d69f2427a5e879" -dependencies = [ - "accesskit", - "accesskit_macos", - "accesskit_unix", - "accesskit_windows", - "raw-window-handle", - "winit", -] - [[package]] name = "addr2line" version = "0.25.1" @@ -129,20 +17,6 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" -[[package]] -name = "ahash" -version = "0.8.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" -dependencies = [ - "cfg-if", - "getrandom 0.3.4", - "once_cell", - "serde", - "version_check", - "zerocopy", -] - [[package]] name = "aho-corasick" version = "1.1.4" @@ -152,42 +26,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "android-activity" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef6978589202a00cd7e118380c448a08b6ed394c3a8df3a430d0898e3a42d046" -dependencies = [ - "android-properties", - "bitflags 2.10.0", - "cc", - "cesu8", - "jni", - "jni-sys", - "libc", - "log", - "ndk", - "ndk-context", - "ndk-sys 0.6.0+11769913", - "num_enum", - "thiserror 1.0.69", -] - -[[package]] -name = "android-properties" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04" - -[[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - [[package]] name = "anstream" version = "0.6.21" @@ -254,376 +92,362 @@ dependencies = [ ] [[package]] -name = "arboard" -version = "3.6.1" +name = "autocfg" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0348a1c054491f4bfe6ab86a7b6ab1e44e45d899005de92f58b3df180b36ddaf" -dependencies = [ - "clipboard-win", - "image 0.25.9", - "log", - "objc2 0.6.3", - "objc2-app-kit 0.3.2", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-foundation 0.3.2", - "parking_lot", - "percent-encoding", - "windows-sys 0.60.2", - "x11rb", -] +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] -name = "arrayvec" -version = "0.7.6" +name = "automod" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" +checksum = "ebb4bd301db2e2ca1f5be131c24eb8ebf2d9559bc3744419e93baf8ddea7e670" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] [[package]] -name = "as-raw-xcb-connection" -version = "1.0.1" +name = "backtrace" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "175571dd1d178ced59193a6fc02dde1b972eb0bc56c892cde9beeceac5bf0f6b" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" +dependencies = [ + "addr2line", + "cfg-if", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", + "windows-link", +] [[package]] -name = "ash" -version = "0.38.0+1.3.281" +name = "bit-set" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f" +checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" dependencies = [ - "libloading", + "bit-vec", ] [[package]] -name = "async-broadcast" -version = "0.7.2" +name = "bit-vec" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532" -dependencies = [ - "event-listener", - "event-listener-strategy", - "futures-core", - "pin-project-lite", -] +checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" [[package]] -name = "async-channel" -version = "2.5.0" +name = "bitflags" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" dependencies = [ - "concurrent-queue", - "event-listener-strategy", - "futures-core", - "pin-project-lite", + "serde_core", ] [[package]] -name = "async-executor" -version = "1.13.3" +name = "byteorder" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497c00e0fd83a72a79a39fcbd8e3e2f055d6f6c7e025f3b3d91f4f8e76527fb8" -dependencies = [ - "async-task", - "concurrent-queue", - "fastrand", - "futures-lite", - "pin-project-lite", - "slab", -] +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] -name = "async-fs" -version = "2.2.0" +name = "camino" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8034a681df4aed8b8edbd7fbe472401ecf009251c8b40556b304567052e294c5" +checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609" dependencies = [ - "async-lock", - "blocking", - "futures-lite", + "serde_core", ] [[package]] -name = "async-io" -version = "2.6.0" +name = "cargo-platform" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" +checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" dependencies = [ - "autocfg", - "cfg-if", - "concurrent-queue", - "futures-io", - "futures-lite", - "parking", - "polling", - "rustix 1.1.2", - "slab", - "windows-sys 0.61.2", + "serde", ] [[package]] -name = "async-lock" -version = "3.4.1" +name = "cargo_metadata" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd03604047cee9b6ce9de9f70c6cd540a0520c813cbd49bae61f33ab80ed1dc" +checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" dependencies = [ - "event-listener", - "event-listener-strategy", - "pin-project-lite", + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror", ] [[package]] -name = "async-process" -version = "2.5.0" +name = "cc" +version = "1.2.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75" +checksum = "90583009037521a116abf44494efecd645ba48b6622457080f080b85544e2215" dependencies = [ - "async-channel", - "async-io", - "async-lock", - "async-signal", - "async-task", - "blocking", - "cfg-if", - "event-listener", - "futures-lite", - "rustix 1.1.2", + "find-msvc-tools", + "jobserver", + "libc", + "shlex", ] [[package]] -name = "async-recursion" -version = "1.1.1" +name = "cfg-if" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] -name = "async-signal" -version = "0.2.13" +name = "ciborium" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43c070bbf59cd3570b6b2dd54cd772527c7c3620fce8be898406dd3ed6adc64c" +checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" dependencies = [ - "async-io", - "async-lock", - "atomic-waker", - "cfg-if", - "futures-core", - "futures-io", - "rustix 1.1.2", - "signal-hook-registry", - "slab", - "windows-sys 0.61.2", + "ciborium-io", + "ciborium-ll", + "serde", ] [[package]] -name = "async-task" -version = "4.7.1" +name = "ciborium-io" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" +checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" [[package]] -name = "async-trait" -version = "0.1.89" +name = "ciborium-ll" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" +checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" dependencies = [ - "proc-macro2", - "quote", - "syn", + "ciborium-io", + "half", ] [[package]] -name = "atomic-waker" -version = "1.1.2" +name = "clap" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" +checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" +dependencies = [ + "clap_builder", + "clap_derive", +] [[package]] -name = "atspi" -version = "0.22.0" +name = "clap_builder" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be534b16650e35237bb1ed189ba2aab86ce65e88cc84c66f4935ba38575cecbf" +checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" dependencies = [ - "atspi-common", - "atspi-connection", - "atspi-proxies", + "anstream", + "anstyle", + "clap_lex", + "strsim", + "terminal_size", ] [[package]] -name = "atspi-common" -version = "0.6.0" +name = "clap_derive" +version = "4.5.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1909ed2dc01d0a17505d89311d192518507e8a056a48148e3598fef5e7bb6ba7" +checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" dependencies = [ - "enumflags2", - "serde", - "static_assertions", - "zbus", - "zbus-lockstep", - "zbus-lockstep-macros", - "zbus_names", - "zvariant", + "heck", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "atspi-connection" -version = "0.6.0" +name = "clap_lex" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "430c5960624a4baaa511c9c0fcc2218e3b58f5dbcc47e6190cafee344b873333" -dependencies = [ - "atspi-common", - "atspi-proxies", - "futures-lite", - "zbus", -] +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] -name = "atspi-proxies" -version = "0.6.0" +name = "color-eyre" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5e6c5de3e524cf967569722446bcd458d5032348554d9a17d7d72b041ab7496" +checksum = "e5920befb47832a6d61ee3a3a846565cfa39b331331e68a3b1d1116630f2f26d" dependencies = [ - "atspi-common", - "serde", - "zbus", - "zvariant", + "backtrace", + "eyre", + "indenter", + "once_cell", + "owo-colors", ] [[package]] -name = "autocfg" -version = "1.5.0" +name = "colorchoice" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" +checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] -name = "automod" -version = "1.0.15" +name = "colored" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb4bd301db2e2ca1f5be131c24eb8ebf2d9559bc3744419e93baf8ddea7e670" +checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e" dependencies = [ - "proc-macro2", - "quote", - "syn", + "windows-sys 0.59.0", ] [[package]] -name = "backtrace" -version = "0.3.76" +name = "console" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" +checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8" dependencies = [ - "addr2line", - "cfg-if", + "encode_unicode", "libc", - "miniz_oxide", - "object", - "rustc-demangle", - "windows-link", + "once_cell", + "windows-sys 0.59.0", ] [[package]] -name = "base64" -version = "0.21.7" +name = "content_inspector" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - +checksum = "b7bda66e858c683005a53a9a60c69a4aca7eeaa45d124526e389f7aec8e62f38" +dependencies = [ + "memchr", +] + [[package]] -name = "bit-set" -version = "0.8.0" +name = "crossbeam-deque" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" dependencies = [ - "bit-vec", + "crossbeam-epoch", + "crossbeam-utils", ] [[package]] -name = "bit-vec" -version = "0.8.0" +name = "crossbeam-epoch" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +dependencies = [ + "crossbeam-utils", +] [[package]] -name = "bit_field" -version = "0.10.3" +name = "crossbeam-utils" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e4b40c7323adcfc0a41c4b88143ed58346ff65a288fc144329c5c45e05d70c6" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] -name = "bitflags" -version = "1.3.2" +name = "crunchy" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] -name = "bitflags" -version = "2.10.0" +name = "darling" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ - "serde_core", + "darling_core", + "darling_macro", ] [[package]] -name = "block" -version = "0.1.6" +name = "darling_core" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn", +] + +[[package]] +name = "darling_macro" +version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" +dependencies = [ + "darling_core", + "quote", + "syn", +] [[package]] -name = "block-buffer" -version = "0.10.4" +name = "deranged" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" dependencies = [ - "generic-array", + "powerfmt", ] [[package]] -name = "block2" -version = "0.5.1" +name = "derive_arbitrary" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f" +checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a" dependencies = [ - "objc2 0.5.2", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "blocking" -version = "1.6.2" +name = "derive_builder" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e83f8d02be6967315521be875afa792a316e28d57b5a2d401897e2a7921b7f21" +checksum = "507dfb09ea8b7fa618fcf76e953f4f5e192547945816d5358edffe39f6f94947" dependencies = [ - "async-channel", - "async-task", - "futures-io", - "futures-lite", - "piper", + "derive_builder_macro", ] [[package]] -name = "bumpalo" -version = "3.19.0" +name = "derive_builder_core" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" +checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn", +] [[package]] -name = "bytemuck" -version = "1.24.0" +name = "derive_builder_macro" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4" +checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" dependencies = [ - "bytemuck_derive", + "derive_builder_core", + "syn", ] [[package]] -name = "bytemuck_derive" -version = "1.10.2" +name = "diff" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" + +[[package]] +name = "displaydoc" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9abbd1bc6865053c427f7198e6af43bfdedc55ab791faed4fbd361d789575ff" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", @@ -631,4157 +455,1360 @@ dependencies = [ ] [[package]] -name = "byteorder" -version = "1.5.0" +name = "dunce" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" [[package]] -name = "byteorder-lite" -version = "0.1.0" +name = "either" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] -name = "bytes" -version = "1.11.0" +name = "encode_unicode" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" +checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" [[package]] -name = "calloop" -version = "0.13.0" +name = "equivalent" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b99da2f8558ca23c71f4fd15dc57c906239752dd27ff3c00a1d56b685b7cbfec" -dependencies = [ - "bitflags 2.10.0", - "log", - "polling", - "rustix 0.38.44", - "slab", - "thiserror 1.0.69", -] +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] -name = "calloop" -version = "0.14.3" +name = "errno" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb9f6e1368bd4621d2c86baa7e37de77a938adf5221e5dd3d6133340101b309e" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ - "bitflags 2.10.0", - "polling", - "rustix 1.1.2", - "slab", - "tracing", + "libc", + "windows-sys 0.61.2", ] [[package]] -name = "calloop-wayland-source" -version = "0.3.0" +name = "eyre" +version = "0.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95a66a987056935f7efce4ab5668920b5d0dac4a7c99991a67395f13702ddd20" +checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec" dependencies = [ - "calloop 0.13.0", - "rustix 0.38.44", - "wayland-backend", - "wayland-client", + "indenter", + "once_cell", ] [[package]] -name = "calloop-wayland-source" -version = "0.4.1" +name = "fastrand" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138efcf0940a02ebf0cc8d1eff41a1682a46b431630f4c52450d6265876021fa" -dependencies = [ - "calloop 0.14.3", - "rustix 1.1.2", - "wayland-backend", - "wayland-client", -] +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] -name = "camino" -version = "1.2.1" +name = "filetime" +version = "0.2.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609" +checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" dependencies = [ - "serde_core", + "cfg-if", + "libc", + "libredox", + "windows-sys 0.60.2", ] [[package]] -name = "cargo-platform" -version = "0.1.9" +name = "find-msvc-tools" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" -dependencies = [ - "serde", -] +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" [[package]] -name = "cargo_metadata" -version = "0.19.2" +name = "fnv" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" dependencies = [ - "camino", - "cargo-platform", - "semver", - "serde", - "serde_json", - "thiserror 2.0.17", + "percent-encoding", ] [[package]] -name = "cc" -version = "1.2.49" +name = "getrandom" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90583009037521a116abf44494efecd645ba48b6622457080f080b85544e2215" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" dependencies = [ - "find-msvc-tools", - "jobserver", + "cfg-if", "libc", - "shlex", + "r-efi", + "wasip2", ] [[package]] -name = "cesu8" -version = "1.1.0" +name = "gimli" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] -name = "cfg-if" -version = "1.0.4" +name = "git2" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" +checksum = "3e2b37e2f62729cdada11f0e6b3b6fe383c69c29fc619e391223e12856af308c" +dependencies = [ + "bitflags", + "libc", + "libgit2-sys", + "log", + "url", +] [[package]] -name = "cfg_aliases" -version = "0.2.1" +name = "glob" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] -name = "cgl" -version = "0.3.2" +name = "half" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ced0551234e87afee12411d535648dd89d2e7f34c78b753395567aff3d447ff" +checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" dependencies = [ - "libc", + "cfg-if", + "crunchy", + "zerocopy", ] [[package]] -name = "ciborium" -version = "0.2.2" +name = "hashbrown" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" -dependencies = [ - "ciborium-io", - "ciborium-ll", - "serde", -] +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" [[package]] -name = "ciborium-io" -version = "0.2.2" +name = "heck" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] -name = "ciborium-ll" -version = "0.2.2" +name = "humantime" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" -dependencies = [ - "ciborium-io", - "half", -] +checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424" [[package]] -name = "clap" -version = "4.5.53" +name = "humantime-serde" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" +checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c" dependencies = [ - "clap_builder", - "clap_derive", + "humantime", + "serde", ] [[package]] -name = "clap_builder" -version = "4.5.53" +name = "icu_collections" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", - "terminal_size", + "displaydoc", + "potential_utf", + "yoke", + "zerofrom", + "zerovec", ] [[package]] -name = "clap_derive" -version = "4.5.49" +name = "icu_locale_core" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", ] [[package]] -name = "clap_lex" -version = "0.7.6" +name = "icu_normalizer" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] [[package]] -name = "clipboard-win" -version = "5.4.1" +name = "icu_normalizer_data" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bde03770d3df201d4fb868f2c9c59e66a3e4e2bd06692a0fe701e7103c7e84d4" -dependencies = [ - "error-code", -] +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" [[package]] -name = "codespan-reporting" -version = "0.11.1" +name = "icu_properties" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" +checksum = "020bfc02fe870ec3a66d93e677ccca0562506e5872c650f893269e08615d74ec" dependencies = [ - "termcolor", - "unicode-width 0.1.14", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", ] [[package]] -name = "color-eyre" -version = "0.6.5" +name = "icu_properties_data" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5920befb47832a6d61ee3a3a846565cfa39b331331e68a3b1d1116630f2f26d" -dependencies = [ - "backtrace", - "eyre", - "indenter", - "once_cell", - "owo-colors", -] +checksum = "616c294cf8d725c6afcd8f55abc17c56464ef6211f9ed59cccffe534129c77af" [[package]] -name = "color_quant" -version = "1.1.0" +name = "icu_provider" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] [[package]] -name = "colorchoice" -version = "1.0.4" +name = "ident_case" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] -name = "colored" -version = "3.0.0" +name = "idna" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" dependencies = [ - "windows-sys 0.59.0", + "idna_adapter", + "smallvec", + "utf8_iter", ] [[package]] -name = "combine" -version = "4.6.7" +name = "idna_adapter" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" dependencies = [ - "bytes", - "memchr", + "icu_normalizer", + "icu_properties", ] [[package]] -name = "concurrent-queue" -version = "2.5.0" +name = "indenter" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5" + +[[package]] +name = "indexmap" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" dependencies = [ - "crossbeam-utils", + "equivalent", + "hashbrown", ] [[package]] -name = "console" -version = "0.15.11" +name = "insta" +version = "1.44.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8" +checksum = "b5c943d4415edd8153251b6f197de5eb1640e56d84e8d9159bea190421c73698" dependencies = [ - "encode_unicode", - "libc", + "console", "once_cell", - "windows-sys 0.59.0", + "ron", + "serde", + "similar", ] [[package]] -name = "console_error_panic_hook" -version = "0.1.7" +name = "is_terminal_polyfill" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" -dependencies = [ - "cfg-if", - "wasm-bindgen", -] +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] -name = "content_inspector" -version = "0.2.4" +name = "itertools" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7bda66e858c683005a53a9a60c69a4aca7eeaa45d124526e389f7aec8e62f38" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" dependencies = [ - "memchr", + "either", ] [[package]] -name = "core-foundation" -version = "0.9.4" +name = "itoa" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" -dependencies = [ - "core-foundation-sys", - "libc", -] +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] -name = "core-foundation" -version = "0.10.1" +name = "jobserver" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" dependencies = [ - "core-foundation-sys", + "getrandom", "libc", ] [[package]] -name = "core-foundation-sys" -version = "0.8.7" +name = "libc" +version = "0.2.178" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" +checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" [[package]] -name = "core-graphics" -version = "0.23.2" +name = "libgit2-sys" +version = "0.18.3+1.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081" +checksum = "c9b3acc4b91781bb0b3386669d325163746af5f6e4f73e6d2d630e09a35f3487" dependencies = [ - "bitflags 1.3.2", - "core-foundation 0.9.4", - "core-graphics-types", - "foreign-types", + "cc", "libc", + "libz-sys", + "pkg-config", ] [[package]] -name = "core-graphics-types" -version = "0.1.3" +name = "libredox" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf" +checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" dependencies = [ - "bitflags 1.3.2", - "core-foundation 0.9.4", + "bitflags", "libc", + "redox_syscall", ] [[package]] -name = "cpufeatures" -version = "0.2.17" +name = "libz-sys" +version = "1.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +checksum = "15d118bbf3771060e7311cc7bb0545b01d08a8b4a7de949198dec1fa0ca1c0f7" dependencies = [ + "cc", "libc", + "pkg-config", + "vcpkg", ] [[package]] -name = "crc32fast" -version = "1.5.0" +name = "linux-raw-sys" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" + +[[package]] +name = "litemap" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" + +[[package]] +name = "log" +version = "0.4.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" + +[[package]] +name = "memchr" +version = "2.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" + +[[package]] +name = "memmap2" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" +checksum = "744133e4a0e0a658e1374cf3bf8e415c4052a15a111acd372764c55b4177d490" dependencies = [ - "cfg-if", + "libc", ] [[package]] -name = "crossbeam-deque" -version = "0.8.6" +name = "miniz_oxide" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", + "adler2", ] [[package]] -name = "crossbeam-epoch" -version = "0.9.18" +name = "nom" +version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" dependencies = [ - "crossbeam-utils", + "memchr", ] [[package]] -name = "crossbeam-utils" -version = "0.8.21" +name = "normalize-line-endings" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" +checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" [[package]] -name = "crunchy" -version = "0.2.4" +name = "num-conv" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" [[package]] -name = "crypto-common" -version = "0.1.7" +name = "num-traits" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ - "generic-array", - "typenum", + "autocfg", ] [[package]] -name = "cursor-icon" -version = "1.2.0" +name = "num_threads" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f27ae1dd37df86211c42e150270f82743308803d90a6f6e6651cd730d5e1732f" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" +dependencies = [ + "libc", +] [[package]] -name = "darling" -version = "0.20.11" +name = "object" +version = "0.37.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" dependencies = [ - "darling_core", - "darling_macro", + "memchr", ] [[package]] -name = "darling_core" -version = "0.20.11" +name = "once_cell" +version = "1.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim", - "syn", -] - -[[package]] -name = "darling_macro" -version = "0.20.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" -dependencies = [ - "darling_core", - "quote", - "syn", -] +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" [[package]] -name = "deranged" -version = "0.5.5" +name = "once_cell_polyfill" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" -dependencies = [ - "powerfmt", -] +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] -name = "derive_arbitrary" -version = "1.4.2" +name = "os_pipe" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a" +checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" dependencies = [ - "proc-macro2", - "quote", - "syn", + "libc", + "windows-sys 0.61.2", ] [[package]] -name = "derive_builder" -version = "0.20.2" +name = "owo-colors" +version = "4.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "507dfb09ea8b7fa618fcf76e953f4f5e192547945816d5358edffe39f6f94947" -dependencies = [ - "derive_builder_macro", -] +checksum = "9c6901729fa79e91a0913333229e9ca5dc725089d1c363b2f4b4760709dc4a52" [[package]] -name = "derive_builder_core" -version = "0.20.2" +name = "paste" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn", -] +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] -name = "derive_builder_macro" -version = "0.20.2" +name = "percent-encoding" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" -dependencies = [ - "derive_builder_core", - "syn", -] +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] -name = "diff" -version = "0.1.13" +name = "pkg-config" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" +checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] -name = "digest" -version = "0.10.7" +name = "potential_utf" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" dependencies = [ - "block-buffer", - "crypto-common", + "zerovec", ] [[package]] -name = "dispatch" +name = "powerfmt" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] -name = "dispatch2" -version = "0.3.0" +name = "ppv-lite86" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89a09f22a6c6069a18470eb92d2298acf25463f14256d24778e1230d789a2aec" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" dependencies = [ - "bitflags 2.10.0", - "objc2 0.6.3", + "zerocopy", ] [[package]] -name = "displaydoc" -version = "0.2.5" +name = "pretty_assertions" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" dependencies = [ - "proc-macro2", - "quote", - "syn", + "diff", + "yansi", ] [[package]] -name = "dlib" -version = "0.5.2" +name = "proc-macro2" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ - "libloading", + "unicode-ident", ] [[package]] -name = "document-features" -version = "0.2.12" +name = "proptest" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" +checksum = "bee689443a2bd0a16ab0348b52ee43e3b2d1b1f931c8aa5c9f8de4c86fbe8c40" dependencies = [ - "litrs", + "bit-set", + "bit-vec", + "bitflags", + "num-traits", + "rand", + "rand_chacha", + "rand_xorshift", + "regex-syntax", + "rusty-fork", + "tempfile", + "unarray", ] [[package]] -name = "downcast-rs" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" - -[[package]] -name = "dpi" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" - -[[package]] -name = "dunce" -version = "1.0.5" +name = "quick-error" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] -name = "ecolor" -version = "0.31.1" +name = "quote" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc4feb366740ded31a004a0e4452fbf84e80ef432ecf8314c485210229672fd1" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" dependencies = [ - "bytemuck", - "emath", - "serde", + "proc-macro2", ] [[package]] -name = "eframe" -version = "0.31.1" +name = "r-efi" +version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0dfe0859f3fb1bc6424c57d41e10e9093fe938f426b691e42272c2f336d915c" -dependencies = [ - "ahash", - "bytemuck", - "document-features", - "egui", - "egui-wgpu", - "egui-winit", - "egui_glow", - "glow", - "glutin", - "glutin-winit", - "home", - "image 0.25.9", - "js-sys", - "log", - "objc2 0.5.2", - "objc2-app-kit 0.2.2", - "objc2-foundation 0.2.2", - "parking_lot", - "percent-encoding", - "profiling", - "raw-window-handle", - "ron 0.8.1", - "serde", - "static_assertions", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "web-time", - "winapi", - "windows-sys 0.59.0", - "winit", -] +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" [[package]] -name = "egui" -version = "0.31.1" +name = "rand" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25dd34cec49ab55d85ebf70139cb1ccd29c977ef6b6ba4fe85489d6877ee9ef3" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" dependencies = [ - "accesskit", - "ahash", - "bitflags 2.10.0", - "emath", - "epaint", - "log", - "nohash-hasher", - "profiling", - "ron 0.8.1", - "serde", + "rand_chacha", + "rand_core", ] [[package]] -name = "egui-wgpu" -version = "0.31.1" +name = "rand_chacha" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d319dfef570f699b6e9114e235e862a2ddcf75f0d1a061de9e1328d92146d820" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" dependencies = [ - "ahash", - "bytemuck", - "document-features", - "egui", - "epaint", - "log", - "profiling", - "thiserror 1.0.69", - "type-map", - "web-time", - "wgpu", - "winit", + "ppv-lite86", + "rand_core", ] [[package]] -name = "egui-winit" -version = "0.31.1" +name = "rand_core" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d9dfbb78fe4eb9c3a39ad528b90ee5915c252e77bbab9d4ebc576541ab67e13" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" dependencies = [ - "accesskit_winit", - "ahash", - "arboard", - "bytemuck", - "egui", - "log", - "profiling", - "raw-window-handle", - "serde", - "smithay-clipboard", - "web-time", - "webbrowser", - "winit", + "getrandom", ] [[package]] -name = "egui_glow" -version = "0.31.1" +name = "rand_xorshift" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "910906e3f042ea6d2378ec12a6fd07698e14ddae68aed2d819ffe944a73aab9e" +checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" dependencies = [ - "ahash", - "bytemuck", - "egui", - "glow", - "log", - "memoffset", - "profiling", - "wasm-bindgen", - "web-sys", - "winit", + "rand_core", ] [[package]] -name = "either" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" - -[[package]] -name = "emath" -version = "0.31.1" +name = "rayon" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e4cadcff7a5353ba72b7fea76bf2122b5ebdbc68e8155aa56dfdea90083fe1b" +checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f" dependencies = [ - "bytemuck", - "serde", + "either", + "rayon-core", ] [[package]] -name = "encode_unicode" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" - -[[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" +name = "rayon-core" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1027f7680c853e056ebcec683615fb6fbbc07dbaa13b4d5d9442b146ded4ecef" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" dependencies = [ - "enumflags2_derive", - "serde", + "crossbeam-deque", + "crossbeam-utils", ] [[package]] -name = "enumflags2_derive" -version = "0.7.12" +name = "redox_syscall" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "proc-macro2", - "quote", - "syn", + "bitflags", ] [[package]] -name = "enumn" -version = "0.1.14" +name = "regex" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ - "proc-macro2", - "quote", - "syn", + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", ] [[package]] -name = "epaint" -version = "0.31.1" +name = "regex-automata" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41fcc0f5a7c613afd2dee5e4b30c3e6acafb8ad6f0edb06068811f708a67c562" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ - "ab_glyph", - "ahash", - "bytemuck", - "ecolor", - "emath", - "epaint_default_fonts", - "log", - "nohash-hasher", - "parking_lot", - "profiling", - "serde", + "aho-corasick", + "memchr", + "regex-syntax", ] [[package]] -name = "epaint_default_fonts" -version = "0.31.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7e7a64c02cf7a5b51e745a9e45f60660a286f151c238b9d397b3e923f5082f" - -[[package]] -name = "equivalent" -version = "1.0.2" +name = "regex-syntax" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] -name = "errno" -version = "0.3.14" +name = "rmp" +version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +checksum = "228ed7c16fa39782c3b3468e974aec2795e9089153cd08ee2e9aefb3613334c4" dependencies = [ - "libc", - "windows-sys 0.61.2", + "byteorder", + "num-traits", + "paste", ] [[package]] -name = "error-code" -version = "3.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dea2df4cf52843e0452895c455a1a2cfbb842a1e7329671acf418fdc53ed4c59" - -[[package]] -name = "event-listener" -version = "5.4.1" +name = "rmp-serde" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab" +checksum = "52e599a477cf9840e92f2cde9a7189e67b42c57532749bf90aea6ec10facd4db" dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", + "byteorder", + "rmp", + "serde", ] [[package]] -name = "event-listener-strategy" -version = "0.5.4" +name = "ron" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" +checksum = "fd490c5b18261893f14449cbd28cb9c0b637aebf161cd77900bfdedaff21ec32" dependencies = [ - "event-listener", - "pin-project-lite", + "bitflags", + "once_cell", + "serde", + "serde_derive", + "typeid", + "unicode-ident", ] [[package]] -name = "exr" -version = "1.74.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4300e043a56aa2cb633c01af81ca8f699a321879a7854d3896a0ba89056363be" +name = "rsonpath" +version = "0.9.4" dependencies = [ - "bit_field", - "half", - "lebe", - "miniz_oxide", - "rayon-core", - "smallvec", - "zune-inflate", -] - -[[package]] -name = "eyre" -version = "0.6.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec" -dependencies = [ - "indenter", - "once_cell", -] - -[[package]] -name = "fastrand" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" - -[[package]] -name = "fax" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f05de7d48f37cd6730705cbca900770cab77a89f413d23e100ad7fad7795a0ab" -dependencies = [ - "fax_derive", -] - -[[package]] -name = "fax_derive" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0aca10fb742cb43f9e7bb8467c91aa9bcb8e3ffbc6a6f7389bb93ffc920577d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "fdeflate" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c" -dependencies = [ - "simd-adler32", + "clap", + "color-eyre", + "eyre", + "log", + "rsonpath-lib", + "rsonpath-syntax", + "rustflags", + "simple_logger", + "trycmd", + "vergen", + "vergen-git2", + "vergen-gitcl", ] [[package]] -name = "filetime" -version = "0.2.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" +name = "rsonpath-lib" +version = "0.9.4" dependencies = [ "cfg-if", - "libc", - "libredox", - "windows-sys 0.60.2", -] - -[[package]] -name = "find-msvc-tools" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" - -[[package]] -name = "flate2" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foldhash" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" - -[[package]] -name = "foreign-types" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" -dependencies = [ - "foreign-types-macros", - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-macros" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[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", + "ciborium", + "insta", + "itertools", + "log", + "memmap2", + "pretty_assertions", + "proptest", + "rmp-serde", + "rsonpath-syntax", + "rsonpath-syntax-proptest", + "serde", + "serde_json", + "smallvec", + "static_assertions", + "test-case", + "thiserror", + "vector-map", ] [[package]] -name = "futures-core" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" - -[[package]] -name = "futures-io" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" - -[[package]] -name = "futures-lite" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +name = "rsonpath-syntax" +version = "0.4.0" dependencies = [ - "fastrand", - "futures-core", - "futures-io", - "parking", - "pin-project-lite", + "arbitrary", + "ciborium", + "insta", + "nom", + "owo-colors", + "pretty_assertions", + "proptest", + "rmp-serde", + "rsonpath-syntax-proptest", + "serde", + "serde_json", + "test-case", + "thiserror", + "unicode-width", ] [[package]] -name = "futures-macro" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" +name = "rsonpath-syntax-proptest" +version = "0.4.0" dependencies = [ - "proc-macro2", - "quote", - "syn", + "proptest", + "rsonpath-syntax", ] [[package]] -name = "futures-sink" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" - -[[package]] -name = "futures-task" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" - -[[package]] -name = "futures-util" -version = "0.3.31" +name = "rustc-demangle" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" -dependencies = [ - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" [[package]] -name = "generic-array" -version = "0.14.7" +name = "rustc_version" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "typenum", - "version_check", + "semver", ] [[package]] -name = "gethostname" -version = "1.1.0" +name = "rustflags" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8" -dependencies = [ - "rustix 1.1.2", - "windows-link", -] +checksum = "a39e0e9135d7a7208ee80aa4e3e4b88f0f5ad7be92153ed70686c38a03db2e63" [[package]] -name = "getrandom" -version = "0.2.16" +name = "rustix" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" dependencies = [ - "cfg-if", + "bitflags", + "errno", "libc", - "wasi", + "linux-raw-sys", + "windows-sys 0.61.2", ] [[package]] -name = "getrandom" -version = "0.3.4" +name = "rustversion" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" -dependencies = [ - "cfg-if", - "libc", - "r-efi", - "wasip2", -] +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] -name = "gif" -version = "0.13.3" +name = "rusty-fork" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ae047235e33e2829703574b54fdec96bfbad892062d97fed2f76022287de61b" +checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" dependencies = [ - "color_quant", - "weezl", + "fnv", + "quick-error", + "tempfile", + "wait-timeout", ] [[package]] -name = "gimli" -version = "0.32.3" +name = "ryu" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] -name = "git2" -version = "0.20.3" +name = "same-file" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e2b37e2f62729cdada11f0e6b3b6fe383c69c29fc619e391223e12856af308c" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" dependencies = [ - "bitflags 2.10.0", - "libc", - "libgit2-sys", - "log", - "url", + "winapi-util", ] [[package]] -name = "gl_generator" -version = "0.14.0" +name = "semver" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" dependencies = [ - "khronos_api", - "log", - "xml-rs", + "serde", + "serde_core", ] [[package]] -name = "glob" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" - -[[package]] -name = "glow" -version = "0.16.0" +name = "serde" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e5ea60d70410161c8bf5da3fdfeaa1c72ed2c15f8bbb9d19fe3a4fad085f08" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" dependencies = [ - "js-sys", - "slotmap", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "glutin" -version = "0.32.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12124de845cacfebedff80e877bb37b5b75c34c5a4c89e47e1cdd67fb6041325" -dependencies = [ - "bitflags 2.10.0", - "cfg_aliases", - "cgl", - "dispatch2", - "glutin_egl_sys", - "glutin_glx_sys", - "glutin_wgl_sys", - "libloading", - "objc2 0.6.3", - "objc2-app-kit 0.3.2", - "objc2-core-foundation", - "objc2-foundation 0.3.2", - "once_cell", - "raw-window-handle", - "wayland-sys", - "windows-sys 0.52.0", - "x11-dl", + "serde_core", + "serde_derive", ] [[package]] -name = "glutin-winit" -version = "0.5.0" +name = "serde_core" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85edca7075f8fc728f28cb8fbb111a96c3b89e930574369e3e9c27eb75d3788f" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ - "cfg_aliases", - "glutin", - "raw-window-handle", - "winit", + "serde_derive", ] [[package]] -name = "glutin_egl_sys" -version = "0.7.1" +name = "serde_derive" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c4680ba6195f424febdc3ba46e7a42a0e58743f2edb115297b86d7f8ecc02d2" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ - "gl_generator", - "windows-sys 0.52.0", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "glutin_glx_sys" -version = "0.6.1" +name = "serde_json" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a7bb2938045a88b612499fbcba375a77198e01306f52272e692f8c1f3751185" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" dependencies = [ - "gl_generator", - "x11-dl", -] - -[[package]] -name = "glutin_wgl_sys" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4ee00b289aba7a9e5306d57c2d05499b2e5dc427f84ac708bd2c090212cf3e" -dependencies = [ - "gl_generator", -] - -[[package]] -name = "gpu-alloc" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbcd2dba93594b227a1f57ee09b8b9da8892c34d55aa332e034a228d0fe6a171" -dependencies = [ - "bitflags 2.10.0", - "gpu-alloc-types", -] - -[[package]] -name = "gpu-alloc-types" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98ff03b468aa837d70984d55f5d3f846f6ec31fe34bbb97c4f85219caeee1ca4" -dependencies = [ - "bitflags 2.10.0", -] - -[[package]] -name = "gpu-descriptor" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b89c83349105e3732062a895becfc71a8f921bb71ecbbdd8ff99263e3b53a0ca" -dependencies = [ - "bitflags 2.10.0", - "gpu-descriptor-types", - "hashbrown 0.15.5", -] - -[[package]] -name = "gpu-descriptor-types" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdf242682df893b86f33a73828fb09ca4b2d3bb6cc95249707fc684d27484b91" -dependencies = [ - "bitflags 2.10.0", -] - -[[package]] -name = "half" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" -dependencies = [ - "cfg-if", - "crunchy", - "zerocopy", -] - -[[package]] -name = "hashbrown" -version = "0.15.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" -dependencies = [ - "foldhash", -] - -[[package]] -name = "hashbrown" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "hermit-abi" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "hexf-parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" - -[[package]] -name = "home" -version = "0.5.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d" -dependencies = [ - "windows-sys 0.61.2", -] - -[[package]] -name = "humantime" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424" - -[[package]] -name = "humantime-serde" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c" -dependencies = [ - "humantime", - "serde", -] - -[[package]] -name = "icu_collections" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" -dependencies = [ - "displaydoc", - "potential_utf", - "yoke", - "zerofrom", - "zerovec", -] - -[[package]] -name = "icu_locale_core" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" -dependencies = [ - "displaydoc", - "litemap", - "tinystr", - "writeable", - "zerovec", -] - -[[package]] -name = "icu_normalizer" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" -dependencies = [ - "icu_collections", - "icu_normalizer_data", - "icu_properties", - "icu_provider", - "smallvec", - "zerovec", -] - -[[package]] -name = "icu_normalizer_data" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" - -[[package]] -name = "icu_properties" -version = "2.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "020bfc02fe870ec3a66d93e677ccca0562506e5872c650f893269e08615d74ec" -dependencies = [ - "icu_collections", - "icu_locale_core", - "icu_properties_data", - "icu_provider", - "zerotrie", - "zerovec", -] - -[[package]] -name = "icu_properties_data" -version = "2.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "616c294cf8d725c6afcd8f55abc17c56464ef6211f9ed59cccffe534129c77af" - -[[package]] -name = "icu_provider" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" -dependencies = [ - "displaydoc", - "icu_locale_core", - "writeable", - "yoke", - "zerofrom", - "zerotrie", - "zerovec", -] - -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - -[[package]] -name = "idna" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" -dependencies = [ - "idna_adapter", - "smallvec", - "utf8_iter", -] - -[[package]] -name = "idna_adapter" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" -dependencies = [ - "icu_normalizer", - "icu_properties", -] - -[[package]] -name = "image" -version = "0.24.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d" -dependencies = [ - "bytemuck", - "byteorder", - "color_quant", - "exr", - "gif", - "jpeg-decoder", - "num-traits", - "png 0.17.16", - "qoi", - "tiff 0.9.1", -] - -[[package]] -name = "image" -version = "0.25.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6506c6c10786659413faa717ceebcb8f70731c0a60cbae39795fdf114519c1a" -dependencies = [ - "bytemuck", - "byteorder-lite", - "moxcms", - "num-traits", - "png 0.18.0", - "tiff 0.10.3", -] - -[[package]] -name = "immutable-chunkmap" -version = "2.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3e98b1520e49e252237edc238a39869da9f3241f2ec19dc788c1d24694d1e4" -dependencies = [ - "arrayvec", -] - -[[package]] -name = "indenter" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5" - -[[package]] -name = "indexmap" -version = "2.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" -dependencies = [ - "equivalent", - "hashbrown 0.16.1", -] - -[[package]] -name = "insta" -version = "1.44.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5c943d4415edd8153251b6f197de5eb1640e56d84e8d9159bea190421c73698" -dependencies = [ - "console", - "once_cell", - "ron 0.12.0", - "serde", - "similar", -] - -[[package]] -name = "is_terminal_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" - -[[package]] -name = "itertools" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" - -[[package]] -name = "jni" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" -dependencies = [ - "cesu8", - "cfg-if", - "combine", - "jni-sys", - "log", - "thiserror 1.0.69", - "walkdir", - "windows-sys 0.45.0", -] - -[[package]] -name = "jni-sys" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" - -[[package]] -name = "jobserver" -version = "0.1.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" -dependencies = [ - "getrandom 0.3.4", - "libc", -] - -[[package]] -name = "jpeg-decoder" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00810f1d8b74be64b13dbf3db89ac67740615d6c891f0e7b6179326533011a07" -dependencies = [ - "rayon", -] - -[[package]] -name = "js-sys" -version = "0.3.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" -dependencies = [ - "once_cell", - "wasm-bindgen", -] - -[[package]] -name = "khronos-egl" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76" -dependencies = [ - "libc", - "libloading", - "pkg-config", -] - -[[package]] -name = "khronos_api" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" - -[[package]] -name = "lebe" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a79a3332a6609480d7d0c9eab957bca6b455b91bb84e66d19f5ff66294b85b8" - -[[package]] -name = "libc" -version = "0.2.178" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" - -[[package]] -name = "libgit2-sys" -version = "0.18.3+1.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9b3acc4b91781bb0b3386669d325163746af5f6e4f73e6d2d630e09a35f3487" -dependencies = [ - "cc", - "libc", - "libz-sys", - "pkg-config", -] - -[[package]] -name = "libloading" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" -dependencies = [ - "cfg-if", - "windows-link", -] - -[[package]] -name = "libredox" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" -dependencies = [ - "bitflags 2.10.0", - "libc", - "redox_syscall 0.5.18", -] - -[[package]] -name = "libz-sys" -version = "1.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15d118bbf3771060e7311cc7bb0545b01d08a8b4a7de949198dec1fa0ca1c0f7" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "linux-raw-sys" -version = "0.4.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" - -[[package]] -name = "linux-raw-sys" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" - -[[package]] -name = "litemap" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" - -[[package]] -name = "litrs" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092" - -[[package]] -name = "lock_api" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" -dependencies = [ - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" - -[[package]] -name = "malloc_buf" -version = "0.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" -dependencies = [ - "libc", -] - -[[package]] -name = "memchr" -version = "2.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" - -[[package]] -name = "memmap2" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "744133e4a0e0a658e1374cf3bf8e415c4052a15a111acd372764c55b4177d490" -dependencies = [ - "libc", -] - -[[package]] -name = "memoffset" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" -dependencies = [ - "autocfg", -] - -[[package]] -name = "metal" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f569fb946490b5743ad69813cb19629130ce9374034abe31614a36402d18f99e" -dependencies = [ - "bitflags 2.10.0", - "block", - "core-graphics-types", - "foreign-types", - "log", - "objc", - "paste", -] - -[[package]] -name = "miniz_oxide" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" -dependencies = [ - "adler2", - "simd-adler32", -] - -[[package]] -name = "moxcms" -version = "0.7.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80986bbbcf925ebd3be54c26613d861255284584501595cf418320c078945608" -dependencies = [ - "num-traits", - "pxfm", -] - -[[package]] -name = "naga" -version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e380993072e52eef724eddfcde0ed013b0c023c3f0417336ed041aa9f076994e" -dependencies = [ - "arrayvec", - "bit-set", - "bitflags 2.10.0", - "cfg_aliases", - "codespan-reporting", - "hexf-parse", - "indexmap", - "log", - "rustc-hash 1.1.0", - "spirv", - "strum", - "termcolor", - "thiserror 2.0.17", - "unicode-xid", -] - -[[package]] -name = "ndk" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" -dependencies = [ - "bitflags 2.10.0", - "jni-sys", - "log", - "ndk-sys 0.6.0+11769913", - "num_enum", - "raw-window-handle", - "thiserror 1.0.69", -] - -[[package]] -name = "ndk-context" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" - -[[package]] -name = "ndk-sys" -version = "0.5.0+25.2.9519653" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c196769dd60fd4f363e11d948139556a344e79d451aeb2fa2fd040738ef7691" -dependencies = [ - "jni-sys", -] - -[[package]] -name = "ndk-sys" -version = "0.6.0+11769913" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873" -dependencies = [ - "jni-sys", -] - -[[package]] -name = "nix" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" -dependencies = [ - "bitflags 2.10.0", - "cfg-if", - "cfg_aliases", - "libc", - "memoffset", -] - -[[package]] -name = "nohash-hasher" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" - -[[package]] -name = "nom" -version = "8.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" -dependencies = [ - "memchr", -] - -[[package]] -name = "normalize-line-endings" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" - -[[package]] -name = "num-conv" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" - -[[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.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1207a7e20ad57b847bbddc6776b968420d38292bbfe2089accff5e19e82454c" -dependencies = [ - "num_enum_derive", - "rustversion", -] - -[[package]] -name = "num_enum_derive" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "num_threads" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" -dependencies = [ - "libc", -] - -[[package]] -name = "objc" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" -dependencies = [ - "malloc_buf", -] - -[[package]] -name = "objc-sys" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310" - -[[package]] -name = "objc2" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804" -dependencies = [ - "objc-sys", - "objc2-encode", -] - -[[package]] -name = "objc2" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7c2599ce0ec54857b29ce62166b0ed9b4f6f1a70ccc9a71165b6154caca8c05" -dependencies = [ - "objc2-encode", -] - -[[package]] -name = "objc2-app-kit" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff" -dependencies = [ - "bitflags 2.10.0", - "block2", - "libc", - "objc2 0.5.2", - "objc2-core-data", - "objc2-core-image", - "objc2-foundation 0.2.2", - "objc2-quartz-core", -] - -[[package]] -name = "objc2-app-kit" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" -dependencies = [ - "bitflags 2.10.0", - "objc2 0.6.3", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-foundation 0.3.2", -] - -[[package]] -name = "objc2-cloud-kit" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74dd3b56391c7a0596a295029734d3c1c5e7e510a4cb30245f8221ccea96b009" -dependencies = [ - "bitflags 2.10.0", - "block2", - "objc2 0.5.2", - "objc2-core-location", - "objc2-foundation 0.2.2", -] - -[[package]] -name = "objc2-contacts" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5ff520e9c33812fd374d8deecef01d4a840e7b41862d849513de77e44aa4889" -dependencies = [ - "block2", - "objc2 0.5.2", - "objc2-foundation 0.2.2", -] - -[[package]] -name = "objc2-core-data" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef" -dependencies = [ - "bitflags 2.10.0", - "block2", - "objc2 0.5.2", - "objc2-foundation 0.2.2", -] - -[[package]] -name = "objc2-core-foundation" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" -dependencies = [ - "bitflags 2.10.0", - "dispatch2", - "objc2 0.6.3", -] - -[[package]] -name = "objc2-core-graphics" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" -dependencies = [ - "bitflags 2.10.0", - "dispatch2", - "objc2 0.6.3", - "objc2-core-foundation", - "objc2-io-surface", -] - -[[package]] -name = "objc2-core-image" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80" -dependencies = [ - "block2", - "objc2 0.5.2", - "objc2-foundation 0.2.2", - "objc2-metal", -] - -[[package]] -name = "objc2-core-location" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "000cfee34e683244f284252ee206a27953279d370e309649dc3ee317b37e5781" -dependencies = [ - "block2", - "objc2 0.5.2", - "objc2-contacts", - "objc2-foundation 0.2.2", -] - -[[package]] -name = "objc2-encode" -version = "4.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" - -[[package]] -name = "objc2-foundation" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8" -dependencies = [ - "bitflags 2.10.0", - "block2", - "dispatch", - "libc", - "objc2 0.5.2", -] - -[[package]] -name = "objc2-foundation" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" -dependencies = [ - "bitflags 2.10.0", - "objc2 0.6.3", - "objc2-core-foundation", -] - -[[package]] -name = "objc2-io-surface" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d" -dependencies = [ - "bitflags 2.10.0", - "objc2 0.6.3", - "objc2-core-foundation", -] - -[[package]] -name = "objc2-link-presentation" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1a1ae721c5e35be65f01a03b6d2ac13a54cb4fa70d8a5da293d7b0020261398" -dependencies = [ - "block2", - "objc2 0.5.2", - "objc2-app-kit 0.2.2", - "objc2-foundation 0.2.2", -] - -[[package]] -name = "objc2-metal" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6" -dependencies = [ - "bitflags 2.10.0", - "block2", - "objc2 0.5.2", - "objc2-foundation 0.2.2", -] - -[[package]] -name = "objc2-quartz-core" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a" -dependencies = [ - "bitflags 2.10.0", - "block2", - "objc2 0.5.2", - "objc2-foundation 0.2.2", - "objc2-metal", -] - -[[package]] -name = "objc2-symbols" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a684efe3dec1b305badae1a28f6555f6ddd3bb2c2267896782858d5a78404dc" -dependencies = [ - "objc2 0.5.2", - "objc2-foundation 0.2.2", -] - -[[package]] -name = "objc2-ui-kit" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8bb46798b20cd6b91cbd113524c490f1686f4c4e8f49502431415f3512e2b6f" -dependencies = [ - "bitflags 2.10.0", - "block2", - "objc2 0.5.2", - "objc2-cloud-kit", - "objc2-core-data", - "objc2-core-image", - "objc2-core-location", - "objc2-foundation 0.2.2", - "objc2-link-presentation", - "objc2-quartz-core", - "objc2-symbols", - "objc2-uniform-type-identifiers", - "objc2-user-notifications", -] - -[[package]] -name = "objc2-uniform-type-identifiers" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44fa5f9748dbfe1ca6c0b79ad20725a11eca7c2218bceb4b005cb1be26273bfe" -dependencies = [ - "block2", - "objc2 0.5.2", - "objc2-foundation 0.2.2", -] - -[[package]] -name = "objc2-user-notifications" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76cfcbf642358e8689af64cee815d139339f3ed8ad05103ed5eaf73db8d84cb3" -dependencies = [ - "bitflags 2.10.0", - "block2", - "objc2 0.5.2", - "objc2-core-location", - "objc2-foundation 0.2.2", -] - -[[package]] -name = "object" -version = "0.37.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.21.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" - -[[package]] -name = "once_cell_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" - -[[package]] -name = "orbclient" -version = "0.3.49" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "247ad146e19b9437f8604c21f8652423595cf710ad108af40e77d3ae6e96b827" -dependencies = [ - "libredox", -] - -[[package]] -name = "ordered-float" -version = "4.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bb71e1b3fa6ca1c61f383464aaf2bb0e2f8e772a1f01d486832464de363b951" -dependencies = [ - "num-traits", -] - -[[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 = "os_pipe" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" -dependencies = [ - "libc", - "windows-sys 0.61.2", -] - -[[package]] -name = "owned_ttf_parser" -version = "0.25.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36820e9051aca1014ddc75770aab4d68bc1e9e632f0f5627c4086bc216fb583b" -dependencies = [ - "ttf-parser", -] - -[[package]] -name = "owo-colors" -version = "4.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c6901729fa79e91a0913333229e9ca5dc725089d1c363b2f4b4760709dc4a52" - -[[package]] -name = "parking" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" - -[[package]] -name = "parking_lot" -version = "0.12.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall 0.5.18", - "smallvec", - "windows-link", -] - -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - -[[package]] -name = "percent-encoding" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" - -[[package]] -name = "pin-project" -version = "1.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677f1add503faace112b9f1373e43e9e054bfdd22ff1a63c1bc485eaec6a6a8a" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "piper" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" -dependencies = [ - "atomic-waker", - "fastrand", - "futures-io", -] - -[[package]] -name = "pkg-config" -version = "0.3.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" - -[[package]] -name = "png" -version = "0.17.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526" -dependencies = [ - "bitflags 1.3.2", - "crc32fast", - "fdeflate", - "flate2", - "miniz_oxide", -] - -[[package]] -name = "png" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97baced388464909d42d89643fe4361939af9b7ce7a31ee32a168f832a70f2a0" -dependencies = [ - "bitflags 2.10.0", - "crc32fast", - "fdeflate", - "flate2", - "miniz_oxide", -] - -[[package]] -name = "polling" -version = "3.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" -dependencies = [ - "cfg-if", - "concurrent-queue", - "hermit-abi", - "pin-project-lite", - "rustix 1.1.2", - "windows-sys 0.61.2", -] - -[[package]] -name = "potential_utf" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" -dependencies = [ - "zerovec", -] - -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - -[[package]] -name = "ppv-lite86" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] - -[[package]] -name = "pretty_assertions" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" -dependencies = [ - "diff", - "yansi", -] - -[[package]] -name = "proc-macro-crate" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" -dependencies = [ - "toml_edit", -] - -[[package]] -name = "proc-macro2" -version = "1.0.103" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "profiling" -version = "1.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eb8486b569e12e2c32ad3e204dbaba5e4b5b216e9367044f25f1dba42341773" - -[[package]] -name = "proptest" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bee689443a2bd0a16ab0348b52ee43e3b2d1b1f931c8aa5c9f8de4c86fbe8c40" -dependencies = [ - "bit-set", - "bit-vec", - "bitflags 2.10.0", - "num-traits", - "rand 0.9.2", - "rand_chacha 0.9.0", - "rand_xorshift", - "regex-syntax", - "rusty-fork", - "tempfile", - "unarray", -] - -[[package]] -name = "pxfm" -version = "0.1.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7186d3822593aa4393561d186d1393b3923e9d6163d3fbfd6e825e3e6cf3e6a8" -dependencies = [ - "num-traits", -] - -[[package]] -name = "qoi" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001" -dependencies = [ - "bytemuck", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - -[[package]] -name = "quick-error" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" - -[[package]] -name = "quick-xml" -version = "0.30.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eff6510e86862b57b210fd8cbe8ed3f0d7d600b9c2863cd4549a2e033c66e956" -dependencies = [ - "memchr", - "serde", -] - -[[package]] -name = "quick-xml" -version = "0.37.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "331e97a1af0bf59823e6eadffe373d7b27f485be8748f71471c662c1f269b7fb" -dependencies = [ - "memchr", -] - -[[package]] -name = "quote" -version = "1.0.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "r-efi" -version = "5.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", -] - -[[package]] -name = "rand" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" -dependencies = [ - "rand_chacha 0.9.0", - "rand_core 0.9.3", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core 0.9.3", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.16", -] - -[[package]] -name = "rand_core" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" -dependencies = [ - "getrandom 0.3.4", -] - -[[package]] -name = "rand_xorshift" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" -dependencies = [ - "rand_core 0.9.3", -] - -[[package]] -name = "raw-window-handle" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" - -[[package]] -name = "rayon" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" -dependencies = [ - "crossbeam-deque", - "crossbeam-utils", -] - -[[package]] -name = "redox_syscall" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.5.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" -dependencies = [ - "bitflags 2.10.0", -] - -[[package]] -name = "regex" -version = "1.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" - -[[package]] -name = "renderdoc-sys" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" - -[[package]] -name = "rmp" -version = "0.8.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "228ed7c16fa39782c3b3468e974aec2795e9089153cd08ee2e9aefb3613334c4" -dependencies = [ - "byteorder", - "num-traits", - "paste", -] - -[[package]] -name = "rmp-serde" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52e599a477cf9840e92f2cde9a7189e67b42c57532749bf90aea6ec10facd4db" -dependencies = [ - "byteorder", - "rmp", - "serde", -] - -[[package]] -name = "ron" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94" -dependencies = [ - "base64", - "bitflags 2.10.0", - "serde", - "serde_derive", -] - -[[package]] -name = "ron" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd490c5b18261893f14449cbd28cb9c0b637aebf161cd77900bfdedaff21ec32" -dependencies = [ - "bitflags 2.10.0", - "once_cell", - "serde", - "serde_derive", - "typeid", - "unicode-ident", -] - -[[package]] -name = "rsonpath" -version = "0.9.4" -dependencies = [ - "clap", - "color-eyre", - "eyre", - "log", - "rsonpath-lib", - "rsonpath-syntax", - "rustflags", - "simple_logger", - "trycmd", - "vergen", - "vergen-git2", - "vergen-gitcl", -] - -[[package]] -name = "rsonpath-lib" -version = "0.9.4" -dependencies = [ - "cfg-if", - "ciborium", - "insta", - "itertools", - "log", - "memmap2", - "pretty_assertions", - "proptest", - "rmp-serde", - "rsonpath-syntax", - "rsonpath-syntax-proptest", - "serde", - "serde_json", - "smallvec", - "static_assertions", - "test-case", - "thiserror 2.0.17", - "vector-map", -] - -[[package]] -name = "rsonpath-syntax" -version = "0.4.0" -dependencies = [ - "arbitrary", - "ciborium", - "insta", - "nom", - "owo-colors", - "pretty_assertions", - "proptest", - "rmp-serde", - "rsonpath-syntax-proptest", - "serde", - "serde_json", - "test-case", - "thiserror 2.0.17", - "unicode-width 0.2.2", -] - -[[package]] -name = "rsonpath-syntax-proptest" -version = "0.4.0" -dependencies = [ - "proptest", - "rsonpath-syntax", -] - -[[package]] -name = "rsonpath-website" -version = "0.9.4" -dependencies = [ - "console_error_panic_hook", - "eframe", - "egui", - "image 0.24.9", - "log", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" - -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - -[[package]] -name = "rustc-hash" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" - -[[package]] -name = "rustc_version" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" -dependencies = [ - "semver", -] - -[[package]] -name = "rustflags" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a39e0e9135d7a7208ee80aa4e3e4b88f0f5ad7be92153ed70686c38a03db2e63" - -[[package]] -name = "rustix" -version = "0.38.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" -dependencies = [ - "bitflags 2.10.0", - "errno", - "libc", - "linux-raw-sys 0.4.15", - "windows-sys 0.59.0", -] - -[[package]] -name = "rustix" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" -dependencies = [ - "bitflags 2.10.0", - "errno", - "libc", - "linux-raw-sys 0.11.0", - "windows-sys 0.61.2", -] - -[[package]] -name = "rustversion" -version = "1.0.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" - -[[package]] -name = "rusty-fork" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" -dependencies = [ - "fnv", - "quick-error 1.2.3", - "tempfile", - "wait-timeout", -] - -[[package]] -name = "ryu" -version = "1.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "scoped-tls" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "semver" -version = "1.0.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" -dependencies = [ - "serde", - "serde_core", -] - -[[package]] -name = "serde" -version = "1.0.228" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" -dependencies = [ - "serde_core", - "serde_derive", -] - -[[package]] -name = "serde_core" -version = "1.0.228" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.228" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.145" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" -dependencies = [ - "itoa", - "memchr", - "ryu", - "serde", - "serde_core", -] - -[[package]] -name = "serde_repr" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_spanned" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e24345aa0fe688594e73770a5f6d1b216508b4f93484c0026d521acd30134392" -dependencies = [ - "serde_core", -] - -[[package]] -name = "sha1" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "shlex" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" - -[[package]] -name = "signal-hook-registry" -version = "1.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad" -dependencies = [ - "libc", -] - -[[package]] -name = "simd-adler32" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2" - -[[package]] -name = "similar" -version = "2.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" - -[[package]] -name = "simple_logger" -version = "5.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291bee647ce7310b0ea721bfd7e0525517b4468eb7c7e15eb8bd774343179702" -dependencies = [ - "colored", - "log", - "time", - "windows-sys 0.61.2", -] - -[[package]] -name = "slab" -version = "0.4.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" - -[[package]] -name = "slotmap" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038" -dependencies = [ - "version_check", -] - -[[package]] -name = "smallvec" -version = "1.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" -dependencies = [ - "serde", -] - -[[package]] -name = "smithay-client-toolkit" -version = "0.19.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3457dea1f0eb631b4034d61d4d8c32074caa6cd1ab2d59f2327bd8461e2c0016" -dependencies = [ - "bitflags 2.10.0", - "calloop 0.13.0", - "calloop-wayland-source 0.3.0", - "cursor-icon", - "libc", - "log", - "memmap2", - "rustix 0.38.44", - "thiserror 1.0.69", - "wayland-backend", - "wayland-client", - "wayland-csd-frame", - "wayland-cursor", - "wayland-protocols", - "wayland-protocols-wlr", - "wayland-scanner", - "xkeysym", -] - -[[package]] -name = "smithay-client-toolkit" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0512da38f5e2b31201a93524adb8d3136276fa4fe4aafab4e1f727a82b534cc0" -dependencies = [ - "bitflags 2.10.0", - "calloop 0.14.3", - "calloop-wayland-source 0.4.1", - "cursor-icon", - "libc", - "log", - "memmap2", - "rustix 1.1.2", - "thiserror 2.0.17", - "wayland-backend", - "wayland-client", - "wayland-csd-frame", - "wayland-cursor", - "wayland-protocols", - "wayland-protocols-experimental", - "wayland-protocols-misc", - "wayland-protocols-wlr", - "wayland-scanner", - "xkeysym", -] - -[[package]] -name = "smithay-clipboard" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71704c03f739f7745053bde45fa203a46c58d25bc5c4efba1d9a60e9dba81226" -dependencies = [ - "libc", - "smithay-client-toolkit 0.20.0", - "wayland-backend", -] - -[[package]] -name = "smol_str" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd538fb6910ac1099850255cf94a94df6551fbdd602454387d0adb2d1ca6dead" -dependencies = [ - "serde", -] - -[[package]] -name = "snapbox" -version = "0.6.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96fa1ce81be900d083b30ec2d481e6658c2acfaa2cfc7be45ccc2cc1b820edb3" -dependencies = [ - "anstream", - "anstyle", - "content_inspector", - "dunce", - "filetime", - "libc", - "normalize-line-endings", - "os_pipe", - "similar", - "snapbox-macros", - "tempfile", - "wait-timeout", - "walkdir", - "windows-sys 0.60.2", -] - -[[package]] -name = "snapbox-macros" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b750c344002d7cc69afb9da00ebd9b5c0f8ac2eb7d115d9d45d5b5f47718d74" -dependencies = [ - "anstream", -] - -[[package]] -name = "spirv" -version = "0.3.0+sdk-1.3.268.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eda41003dc44290527a59b13432d4a0379379fa074b70174882adfbdfd917844" -dependencies = [ - "bitflags 2.10.0", -] - -[[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 = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - -[[package]] -name = "strum" -version = "0.26.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" -dependencies = [ - "strum_macros", -] - -[[package]] -name = "strum_macros" -version = "0.26.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn", -] - -[[package]] -name = "syn" -version = "2.0.111" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "synstructure" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tempfile" -version = "3.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" -dependencies = [ - "fastrand", - "getrandom 0.3.4", - "once_cell", - "rustix 1.1.2", - "windows-sys 0.61.2", -] - -[[package]] -name = "termcolor" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "terminal_size" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" -dependencies = [ - "rustix 1.1.2", - "windows-sys 0.60.2", -] - -[[package]] -name = "test-case" -version = "3.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb2550dd13afcd286853192af8601920d959b14c401fcece38071d53bf0768a8" -dependencies = [ - "test-case-macros", -] - -[[package]] -name = "test-case-core" -version = "3.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adcb7fd841cd518e279be3d5a3eb0636409487998a4aff22f3de87b81e88384f" -dependencies = [ - "cfg-if", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "test-case-macros" -version = "3.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "test-case-core", -] - -[[package]] -name = "thiserror" -version = "1.0.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" -dependencies = [ - "thiserror-impl 1.0.69", -] - -[[package]] -name = "thiserror" -version = "2.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" -dependencies = [ - "thiserror-impl 2.0.17", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "thiserror-impl" -version = "2.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tiff" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba1310fcea54c6a9a4fd1aad794ecc02c31682f6bfbecdf460bf19533eed1e3e" -dependencies = [ - "flate2", - "jpeg-decoder", - "weezl", -] - -[[package]] -name = "tiff" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af9605de7fee8d9551863fd692cce7637f548dbd9db9180fcc07ccc6d26c336f" -dependencies = [ - "fax", - "flate2", - "half", - "quick-error 2.0.1", - "weezl", - "zune-jpeg", -] - -[[package]] -name = "time" -version = "0.3.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" -dependencies = [ - "deranged", - "itoa", - "libc", - "num-conv", - "num_threads", - "powerfmt", - "serde", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" - -[[package]] -name = "time-macros" -version = "0.2.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" -dependencies = [ - "num-conv", - "time-core", -] - -[[package]] -name = "tinystr" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" -dependencies = [ - "displaydoc", - "zerovec", -] - -[[package]] -name = "toml_datetime" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2cdb639ebbc97961c51720f858597f7f24c4fc295327923af55b74c3c724533" -dependencies = [ - "serde_core", -] - -[[package]] -name = "toml_edit" -version = "0.23.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d7cbc3b4b49633d57a0509303158ca50de80ae32c265093b24c414705807832" -dependencies = [ - "indexmap", - "serde_core", - "serde_spanned", - "toml_datetime", - "toml_parser", - "toml_writer", - "winnow", -] - -[[package]] -name = "toml_parser" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0cbe268d35bdb4bb5a56a2de88d0ad0eb70af5384a99d648cd4b3d04039800e" -dependencies = [ - "winnow", -] - -[[package]] -name = "toml_writer" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df8b2b54733674ad286d16267dcfc7a71ed5c776e4ac7aa3c3e2561f7c637bf2" - -[[package]] -name = "tracing" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d15d90a0b5c19378952d479dc858407149d7bb45a14de0142f6c534b16fc647" -dependencies = [ - "log", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tracing-core" -version = "0.1.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a04e24fab5c89c6a36eb8558c9656f30d81de51dfa4d3b45f26b21d61fa0a6c" -dependencies = [ - "once_cell", -] - -[[package]] -name = "trycmd" -version = "0.15.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a81ea3136ddc88e19c2cc2eb3176b72abee4e831367cd8949f2a88ac5497e64e" -dependencies = [ - "anstream", - "automod", - "glob", - "humantime", - "humantime-serde", - "rayon", - "serde", - "shlex", - "snapbox", - "toml_edit", -] - -[[package]] -name = "ttf-parser" -version = "0.25.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2df906b07856748fa3f6e0ad0cbaa047052d4a7dd609e231c4f72cee8c36f31" - -[[package]] -name = "type-map" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90" -dependencies = [ - "rustc-hash 2.1.1", -] - -[[package]] -name = "typeid" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" - -[[package]] -name = "typenum" -version = "1.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" - -[[package]] -name = "uds_windows" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89daebc3e6fd160ac4aa9fc8b3bf71e1f74fbf92367ae71fb83a037e8bf164b9" -dependencies = [ - "memoffset", - "tempfile", - "winapi", -] - -[[package]] -name = "unarray" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" - -[[package]] -name = "unicode-ident" -version = "1.0.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" - -[[package]] -name = "unicode-segmentation" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" - -[[package]] -name = "unicode-width" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" - -[[package]] -name = "unicode-width" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" - -[[package]] -name = "unicode-xid" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" - -[[package]] -name = "url" -version = "2.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", - "serde", -] - -[[package]] -name = "utf8_iter" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" - -[[package]] -name = "utf8parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "vector-map" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b34e878e32c750bb4253be124adb9da1dc93ca5d98c210787badf1e1ccdca7" - -[[package]] -name = "vergen" -version = "9.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777" -dependencies = [ - "anyhow", - "cargo_metadata", - "derive_builder", - "regex", - "rustc_version", - "rustversion", - "vergen-lib", -] - -[[package]] -name = "vergen-git2" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f6ee511ec45098eabade8a0750e76eec671e7fb2d9360c563911336bea9cac1" -dependencies = [ - "anyhow", - "derive_builder", - "git2", - "rustversion", - "time", - "vergen", - "vergen-lib", -] - -[[package]] -name = "vergen-gitcl" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe" -dependencies = [ - "anyhow", - "derive_builder", - "rustversion", - "time", - "vergen", - "vergen-lib", + "itoa", + "memchr", + "ryu", + "serde", + "serde_core", ] [[package]] -name = "vergen-lib" -version = "0.1.6" +name = "serde_spanned" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166" +checksum = "e24345aa0fe688594e73770a5f6d1b216508b4f93484c0026d521acd30134392" dependencies = [ - "anyhow", - "derive_builder", - "rustversion", + "serde_core", ] [[package]] -name = "version_check" -version = "0.9.5" +name = "shlex" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] -name = "wait-timeout" -version = "0.2.1" +name = "similar" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" -dependencies = [ - "libc", -] +checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" [[package]] -name = "walkdir" -version = "2.5.0" +name = "simple_logger" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +checksum = "291bee647ce7310b0ea721bfd7e0525517b4468eb7c7e15eb8bd774343179702" dependencies = [ - "same-file", - "winapi-util", + "colored", + "log", + "time", + "windows-sys 0.61.2", ] [[package]] -name = "wasi" -version = "0.11.1+wasi-snapshot-preview1" +name = "smallvec" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" +dependencies = [ + "serde", +] [[package]] -name = "wasip2" -version = "1.0.1+wasi-0.2.4" +name = "snapbox" +version = "0.6.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" +checksum = "96fa1ce81be900d083b30ec2d481e6658c2acfaa2cfc7be45ccc2cc1b820edb3" dependencies = [ - "wit-bindgen", + "anstream", + "anstyle", + "content_inspector", + "dunce", + "filetime", + "libc", + "normalize-line-endings", + "os_pipe", + "similar", + "snapbox-macros", + "tempfile", + "wait-timeout", + "walkdir", + "windows-sys 0.60.2", ] [[package]] -name = "wasm-bindgen" -version = "0.2.106" +name = "snapbox-macros" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" +checksum = "3b750c344002d7cc69afb9da00ebd9b5c0f8ac2eb7d115d9d45d5b5f47718d74" dependencies = [ - "cfg-if", - "once_cell", - "rustversion", - "wasm-bindgen-macro", - "wasm-bindgen-shared", + "anstream", ] [[package]] -name = "wasm-bindgen-futures" -version = "0.4.56" +name = "stable_deref_trait" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c" -dependencies = [ - "cfg-if", - "js-sys", - "once_cell", - "wasm-bindgen", - "web-sys", -] +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] -name = "wasm-bindgen-macro" -version = "0.2.106" +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "strsim" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "syn" +version = "2.0.111" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" dependencies = [ + "proc-macro2", "quote", - "wasm-bindgen-macro-support", + "unicode-ident", ] [[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.106" +name = "synstructure" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ - "bumpalo", "proc-macro2", "quote", "syn", - "wasm-bindgen-shared", ] [[package]] -name = "wasm-bindgen-shared" -version = "0.2.106" +name = "tempfile" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ - "unicode-ident", + "fastrand", + "getrandom", + "once_cell", + "rustix", + "windows-sys 0.61.2", ] [[package]] -name = "wayland-backend" -version = "0.3.11" +name = "terminal_size" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "673a33c33048a5ade91a6b139580fa174e19fb0d23f396dca9fa15f2e1e49b35" +checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" dependencies = [ - "cc", - "downcast-rs", - "rustix 1.1.2", - "scoped-tls", - "smallvec", - "wayland-sys", + "rustix", + "windows-sys 0.60.2", ] [[package]] -name = "wayland-client" -version = "0.31.11" +name = "test-case" +version = "3.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c66a47e840dc20793f2264eb4b3e4ecb4b75d91c0dd4af04b456128e0bdd449d" +checksum = "eb2550dd13afcd286853192af8601920d959b14c401fcece38071d53bf0768a8" dependencies = [ - "bitflags 2.10.0", - "rustix 1.1.2", - "wayland-backend", - "wayland-scanner", + "test-case-macros", ] [[package]] -name = "wayland-csd-frame" -version = "0.3.0" +name = "test-case-core" +version = "3.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "625c5029dbd43d25e6aa9615e88b829a5cad13b2819c4ae129fdbb7c31ab4c7e" +checksum = "adcb7fd841cd518e279be3d5a3eb0636409487998a4aff22f3de87b81e88384f" dependencies = [ - "bitflags 2.10.0", - "cursor-icon", - "wayland-backend", + "cfg-if", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "wayland-cursor" -version = "0.31.11" +name = "test-case-macros" +version = "3.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "447ccc440a881271b19e9989f75726d60faa09b95b0200a9b7eb5cc47c3eeb29" +checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" dependencies = [ - "rustix 1.1.2", - "wayland-client", - "xcursor", + "proc-macro2", + "quote", + "syn", + "test-case-core", ] [[package]] -name = "wayland-protocols" -version = "0.32.9" +name = "thiserror" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efa790ed75fbfd71283bd2521a1cfdc022aabcc28bdcff00851f9e4ae88d9901" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "bitflags 2.10.0", - "wayland-backend", - "wayland-client", - "wayland-scanner", + "thiserror-impl", ] [[package]] -name = "wayland-protocols-experimental" -version = "20250721.0.1" +name = "thiserror-impl" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40a1f863128dcaaec790d7b4b396cc9b9a7a079e878e18c47e6c2d2c5a8dcbb1" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ - "bitflags 2.10.0", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "wayland-scanner", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "wayland-protocols-misc" -version = "0.3.9" +name = "time" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dfe33d551eb8bffd03ff067a8b44bb963919157841a99957151299a6307d19c" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ - "bitflags 2.10.0", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "wayland-scanner", + "deranged", + "itoa", + "libc", + "num-conv", + "num_threads", + "powerfmt", + "serde", + "time-core", + "time-macros", ] [[package]] -name = "wayland-protocols-plasma" -version = "0.3.9" +name = "time-core" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a07a14257c077ab3279987c4f8bb987851bf57081b93710381daea94f2c2c032" -dependencies = [ - "bitflags 2.10.0", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "wayland-scanner", -] +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] -name = "wayland-protocols-wlr" -version = "0.3.9" +name = "time-macros" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efd94963ed43cf9938a090ca4f7da58eb55325ec8200c3848963e98dc25b78ec" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ - "bitflags 2.10.0", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "wayland-scanner", + "num-conv", + "time-core", ] [[package]] -name = "wayland-scanner" -version = "0.31.7" +name = "tinystr" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54cb1e9dc49da91950bdfd8b848c49330536d9d1fb03d4bfec8cae50caa50ae3" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" dependencies = [ - "proc-macro2", - "quick-xml 0.37.5", - "quote", + "displaydoc", + "zerovec", ] [[package]] -name = "wayland-sys" -version = "0.31.7" +name = "toml_datetime" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34949b42822155826b41db8e5d0c1be3a2bd296c747577a43a3e6daefc296142" +checksum = "f2cdb639ebbc97961c51720f858597f7f24c4fc295327923af55b74c3c724533" dependencies = [ - "dlib", - "log", - "once_cell", - "pkg-config", + "serde_core", ] [[package]] -name = "web-sys" -version = "0.3.83" +name = "toml_edit" +version = "0.23.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac" +checksum = "5d7cbc3b4b49633d57a0509303158ca50de80ae32c265093b24c414705807832" dependencies = [ - "js-sys", - "wasm-bindgen", + "indexmap", + "serde_core", + "serde_spanned", + "toml_datetime", + "toml_parser", + "toml_writer", + "winnow", ] [[package]] -name = "web-time" -version = "1.1.0" +name = "toml_parser" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +checksum = "c0cbe268d35bdb4bb5a56a2de88d0ad0eb70af5384a99d648cd4b3d04039800e" dependencies = [ - "js-sys", - "wasm-bindgen", + "winnow", ] [[package]] -name = "webbrowser" -version = "1.0.6" +name = "toml_writer" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df8b2b54733674ad286d16267dcfc7a71ed5c776e4ac7aa3c3e2561f7c637bf2" + +[[package]] +name = "trycmd" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00f1243ef785213e3a32fa0396093424a3a6ea566f9948497e5a2309261a4c97" +checksum = "a81ea3136ddc88e19c2cc2eb3176b72abee4e831367cd8949f2a88ac5497e64e" dependencies = [ - "core-foundation 0.10.1", - "jni", - "log", - "ndk-context", - "objc2 0.6.3", - "objc2-foundation 0.3.2", - "url", - "web-sys", + "anstream", + "automod", + "glob", + "humantime", + "humantime-serde", + "rayon", + "serde", + "shlex", + "snapbox", + "toml_edit", ] [[package]] -name = "weezl" -version = "0.1.12" +name = "typeid" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" [[package]] -name = "wgpu" -version = "24.0.5" +name = "unarray" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b0b3436f0729f6cdf2e6e9201f3d39dc95813fad61d826c1ed07918b4539353" -dependencies = [ - "arrayvec", - "bitflags 2.10.0", - "cfg_aliases", - "document-features", - "js-sys", - "log", - "parking_lot", - "profiling", - "raw-window-handle", - "smallvec", - "static_assertions", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "wgpu-core", - "wgpu-hal", - "wgpu-types", -] +checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" [[package]] -name = "wgpu-core" -version = "24.0.5" +name = "unicode-ident" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f0aa306497a238d169b9dc70659105b4a096859a34894544ca81719242e1499" -dependencies = [ - "arrayvec", - "bit-vec", - "bitflags 2.10.0", - "cfg_aliases", - "document-features", - "indexmap", - "log", - "naga", - "once_cell", - "parking_lot", - "profiling", - "raw-window-handle", - "rustc-hash 1.1.0", - "smallvec", - "thiserror 2.0.17", - "wgpu-hal", - "wgpu-types", -] - -[[package]] -name = "wgpu-hal" -version = "24.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f112f464674ca69f3533248508ee30cb84c67cf06c25ff6800685f5e0294e259" -dependencies = [ - "android_system_properties", - "arrayvec", - "ash", - "bitflags 2.10.0", - "bytemuck", - "cfg_aliases", - "core-graphics-types", - "glow", - "glutin_wgl_sys", - "gpu-alloc", - "gpu-descriptor", - "js-sys", - "khronos-egl", - "libc", - "libloading", - "log", - "metal", - "naga", - "ndk-sys 0.5.0+25.2.9519653", - "objc", - "once_cell", - "ordered-float", - "parking_lot", - "profiling", - "raw-window-handle", - "renderdoc-sys", - "rustc-hash 1.1.0", - "smallvec", - "thiserror 2.0.17", - "wasm-bindgen", - "web-sys", - "wgpu-types", - "windows", -] +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] -name = "wgpu-types" -version = "24.0.0" +name = "unicode-width" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50ac044c0e76c03a0378e7786ac505d010a873665e2d51383dcff8dd227dc69c" -dependencies = [ - "bitflags 2.10.0", - "js-sys", - "log", - "web-sys", -] +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" [[package]] -name = "winapi" -version = "0.3.9" +name = "url" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", + "form_urlencoded", + "idna", + "percent-encoding", + "serde", ] [[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "utf8parse" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] -name = "winapi-util" -version = "0.1.11" +name = "vcpkg" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" -dependencies = [ - "windows-sys 0.61.2", -] +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" +name = "vector-map" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +checksum = "03b34e878e32c750bb4253be124adb9da1dc93ca5d98c210787badf1e1ccdca7" [[package]] -name = "windows" -version = "0.58.0" +name = "vergen" +version = "9.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6" +checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777" dependencies = [ - "windows-core", - "windows-targets 0.52.6", + "anyhow", + "cargo_metadata", + "derive_builder", + "regex", + "rustc_version", + "rustversion", + "vergen-lib", ] [[package]] -name = "windows-core" -version = "0.58.0" +name = "vergen-git2" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99" +checksum = "4f6ee511ec45098eabade8a0750e76eec671e7fb2d9360c563911336bea9cac1" dependencies = [ - "windows-implement", - "windows-interface", - "windows-result", - "windows-strings", - "windows-targets 0.52.6", + "anyhow", + "derive_builder", + "git2", + "rustversion", + "time", + "vergen", + "vergen-lib", ] [[package]] -name = "windows-implement" -version = "0.58.0" +name = "vergen-gitcl" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" +checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe" dependencies = [ - "proc-macro2", - "quote", - "syn", + "anyhow", + "derive_builder", + "rustversion", + "time", + "vergen", + "vergen-lib", ] [[package]] -name = "windows-interface" -version = "0.58.0" +name = "vergen-lib" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" +checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166" dependencies = [ - "proc-macro2", - "quote", - "syn", + "anyhow", + "derive_builder", + "rustversion", ] [[package]] -name = "windows-link" +name = "wait-timeout" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" +checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" +dependencies = [ + "libc", +] [[package]] -name = "windows-result" -version = "0.2.0" +name = "walkdir" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" dependencies = [ - "windows-targets 0.52.6", + "same-file", + "winapi-util", ] [[package]] -name = "windows-strings" -version = "0.1.0" +name = "wasip2" +version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" dependencies = [ - "windows-result", - "windows-targets 0.52.6", + "wit-bindgen", ] [[package]] -name = "windows-sys" -version = "0.45.0" +name = "winapi-util" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-targets 0.42.2", + "windows-sys 0.61.2", ] [[package]] -name = "windows-sys" -version = "0.52.0" +name = "windows-link" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.6", -] +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" [[package]] name = "windows-sys" @@ -4810,21 +1837,6 @@ dependencies = [ "windows-link", ] -[[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" @@ -4858,12 +1870,6 @@ dependencies = [ "windows_x86_64_msvc 0.53.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" @@ -4876,12 +1882,6 @@ 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" @@ -4894,12 +1894,6 @@ 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" @@ -4924,12 +1918,6 @@ 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" @@ -4942,12 +1930,6 @@ 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" @@ -4960,12 +1942,6 @@ 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" @@ -4978,12 +1954,6 @@ 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" @@ -4996,57 +1966,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" -[[package]] -name = "winit" -version = "0.30.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c66d4b9ed69c4009f6321f762d6e61ad8a2389cd431b97cb1e146812e9e6c732" -dependencies = [ - "ahash", - "android-activity", - "atomic-waker", - "bitflags 2.10.0", - "block2", - "bytemuck", - "calloop 0.13.0", - "cfg_aliases", - "concurrent-queue", - "core-foundation 0.9.4", - "core-graphics", - "cursor-icon", - "dpi", - "js-sys", - "libc", - "memmap2", - "ndk", - "objc2 0.5.2", - "objc2-app-kit 0.2.2", - "objc2-foundation 0.2.2", - "objc2-ui-kit", - "orbclient", - "percent-encoding", - "pin-project", - "raw-window-handle", - "redox_syscall 0.4.1", - "rustix 0.38.44", - "smithay-client-toolkit 0.19.2", - "smol_str", - "tracing", - "unicode-segmentation", - "wasm-bindgen", - "wasm-bindgen-futures", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "wayland-protocols-plasma", - "web-sys", - "web-time", - "windows-sys 0.52.0", - "x11-dl", - "x11rb", - "xkbcommon-dl", -] - [[package]] name = "winnow" version = "0.7.14" @@ -5068,79 +1987,6 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" -[[package]] -name = "x11-dl" -version = "2.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f" -dependencies = [ - "libc", - "once_cell", - "pkg-config", -] - -[[package]] -name = "x11rb" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9993aa5be5a26815fe2c3eacfc1fde061fc1a1f094bf1ad2a18bf9c495dd7414" -dependencies = [ - "as-raw-xcb-connection", - "gethostname", - "libc", - "libloading", - "once_cell", - "rustix 1.1.2", - "x11rb-protocol", -] - -[[package]] -name = "x11rb-protocol" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6fc2961e4ef194dcbfe56bb845534d0dc8098940c7e5c012a258bfec6701bd" - -[[package]] -name = "xcursor" -version = "0.3.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec9e4a500ca8864c5b47b8b482a73d62e4237670e5b5f1d6b9e3cae50f28f2b" - -[[package]] -name = "xdg-home" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec1cdab258fb55c0da61328dc52c8764709b249011b2cad0454c72f0bf10a1f6" -dependencies = [ - "libc", - "windows-sys 0.59.0", -] - -[[package]] -name = "xkbcommon-dl" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d039de8032a9a8856a6be89cea3e5d12fdd82306ab7c94d74e6deab2460651c5" -dependencies = [ - "bitflags 2.10.0", - "dlib", - "log", - "once_cell", - "xkeysym", -] - -[[package]] -name = "xkeysym" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9cc00251562a284751c9973bace760d86c0276c471b4be569fe6b068ee97a56" - -[[package]] -name = "xml-rs" -version = "0.8.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f" - [[package]] name = "yansi" version = "1.0.1" @@ -5170,105 +2016,6 @@ dependencies = [ "synstructure", ] -[[package]] -name = "zbus" -version = "4.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb97012beadd29e654708a0fdb4c84bc046f537aecfde2c3ee0a9e4b4d48c725" -dependencies = [ - "async-broadcast", - "async-executor", - "async-fs", - "async-io", - "async-lock", - "async-process", - "async-recursion", - "async-task", - "async-trait", - "blocking", - "enumflags2", - "event-listener", - "futures-core", - "futures-sink", - "futures-util", - "hex", - "nix", - "ordered-stream", - "rand 0.8.5", - "serde", - "serde_repr", - "sha1", - "static_assertions", - "tracing", - "uds_windows", - "windows-sys 0.52.0", - "xdg-home", - "zbus_macros", - "zbus_names", - "zvariant", -] - -[[package]] -name = "zbus-lockstep" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ca2c5dceb099bddaade154055c926bb8ae507a18756ba1d8963fd7b51d8ed1d" -dependencies = [ - "zbus_xml", - "zvariant", -] - -[[package]] -name = "zbus-lockstep-macros" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "709ab20fc57cb22af85be7b360239563209258430bccf38d8b979c5a2ae3ecce" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "zbus-lockstep", - "zbus_xml", - "zvariant", -] - -[[package]] -name = "zbus_macros" -version = "4.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267db9407081e90bbfa46d841d3cbc60f59c0351838c4bc65199ecd79ab1983e" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", - "zvariant_utils", -] - -[[package]] -name = "zbus_names" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b9b1fef7d021261cc16cba64c351d291b715febe0fa10dc3a443ac5a5022e6c" -dependencies = [ - "serde", - "static_assertions", - "zvariant", -] - -[[package]] -name = "zbus_xml" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab3f374552b954f6abb4bd6ce979e6c9b38fb9d0cd7cc68a7d796e70c9f3a233" -dependencies = [ - "quick-xml 0.30.0", - "serde", - "static_assertions", - "zbus_names", - "zvariant", -] - [[package]] name = "zerocopy" version = "0.8.31" @@ -5342,64 +2089,3 @@ dependencies = [ "quote", "syn", ] - -[[package]] -name = "zune-core" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f423a2c17029964870cfaabb1f13dfab7d092a62a29a89264f4d36990ca414a" - -[[package]] -name = "zune-inflate" -version = "0.2.54" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02" -dependencies = [ - "simd-adler32", -] - -[[package]] -name = "zune-jpeg" -version = "0.4.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29ce2c8a9384ad323cf564b67da86e21d3cfdff87908bc1223ed5c99bc792713" -dependencies = [ - "zune-core", -] - -[[package]] -name = "zvariant" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2084290ab9a1c471c38fc524945837734fbf124487e105daec2bb57fd48c81fe" -dependencies = [ - "endi", - "enumflags2", - "serde", - "static_assertions", - "zvariant_derive", -] - -[[package]] -name = "zvariant_derive" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73e2ba546bda683a90652bac4a279bc146adad1386f25379cf73200d2002c449" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", - "zvariant_utils", -] - -[[package]] -name = "zvariant_utils" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c51bcff7cc3dbb5055396bcf774748c3dab426b4b8659046963523cee4808340" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] diff --git a/Cargo.toml b/Cargo.toml index b2cbaf47..33b68154 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,10 +4,10 @@ members = [ "crates/rsonpath", "crates/rsonpath-lib", "crates/rsonpath-syntax", - "crates/rsonpath-syntax-proptest", "crates/rsonpath-website", + "crates/rsonpath-syntax-proptest", ] -exclude = ["crates/rsonpath-benchmarks", "crates/rsonpath-test-codegen"] +exclude = ["crates/rsonpath-benchmarks", "crates/rsonpath-test-codegen", "crates/rsonpath-website"] resolver = "2" diff --git a/crates/rsonpath-lib/Cargo.toml b/crates/rsonpath-lib/Cargo.toml index 6a60f6b4..880f505a 100644 --- a/crates/rsonpath-lib/Cargo.toml +++ b/crates/rsonpath-lib/Cargo.toml @@ -48,6 +48,11 @@ rsonpath-syntax-proptest = { workspace = true } serde_json = { workspace = true } test-case = { workspace = true } +[patch.crates-io] +getrandom_v03 = { package = "getrandom", version = "0.3.3", features = ["wasm_js"] } +getrandom_v02 = { package = "getrandom", version = "0.2.12", features = ["wasm_js"] } +getrandom_v01 = { package = "getrandom", version = "0.1.16", features = ["wasm_js"] } + [features] default = ["simd"] serde = ["dep:serde", "smallvec/serde", "rsonpath-syntax/serde"] diff --git a/crates/rsonpath-lib/src/engine/error.rs b/crates/rsonpath-lib/src/engine/error.rs index beb21ffa..4e53f9e9 100644 --- a/crates/rsonpath-lib/src/engine/error.rs +++ b/crates/rsonpath-lib/src/engine/error.rs @@ -62,3 +62,9 @@ pub enum EngineError { InternalRsonpathError, ), } + +impl From for EngineError { + fn from(e: std::io::Error) -> Self { + EngineError::InternalError(InternalRsonpathError::from_error(e, "IO error during output write")) + } +} diff --git a/crates/rsonpath-lib/src/error.rs b/crates/rsonpath-lib/src/error.rs index e999f436..0843dc31 100644 --- a/crates/rsonpath-lib/src/error.rs +++ b/crates/rsonpath-lib/src/error.rs @@ -31,6 +31,12 @@ pub enum DepthError { struct InternalErrorSource(Box); +impl From for InternalRsonpathError { + fn from(e: std::io::Error) -> Self { + InternalRsonpathError::from_error(e, "IO error during output write") + } +} + impl fmt::Debug for InternalErrorSource { #[inline(always)] fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { diff --git a/crates/rsonpath-website/Cargo.toml b/crates/rsonpath-website/Cargo.toml index eabf38d4..bb0121d5 100644 --- a/crates/rsonpath-website/Cargo.toml +++ b/crates/rsonpath-website/Cargo.toml @@ -1,32 +1,56 @@ [package] name = "rsonpath-website" -version.workspace = true -authors.workspace = true -readme.workspace = true -license.workspace = true -repository.workspace = true -homepage.workspace = true -edition.workspace = true +version = "0.1.0" +authors = ["Georgios Chatzikyriakou"] +#add readme +license = "MIT" +repository = "https://github.com/GeoChatzik/rsonpath" +edition = "2024" [dependencies] -eframe = { version = "0.31", default-features = false, features = [ - "accesskit", # Make egui compatible with screen readers. NOTE: adds a lot of dependencies. - "default_fonts", # Embed the default egui fonts. - "glow", # Use the glow rendering backend. Alternative: "wgpu". - "persistence", # Enable restoring app state when restarting the app. - "wayland", # To support Linux (and CI) - "x11", # To support older Linux distributions (restores one of the default features) +eframe = { version = "0.32.0", default-features = false, features = [ + "accesskit", + "default_fonts", + "glow", + "persistence", + "wayland", + "x11", ] } -egui = "0.31.1" +egui = "0.32.0" wasm-bindgen = "0.2" -log = "0.4.27" -image = "0.24" +rsonpath = { path = "../rsonpath" } +rfd = { version = "0.15.3", optional = true } +js-sys = "0.3.77" +color-eyre = { version = "0.6", default-features = false, features = ["track-caller"] } +eyre = "0.6" +strip-ansi-escapes = "0.2.1" [target.'cfg(target_arch = "wasm32")'.dependencies] wasm-bindgen-futures = "0.4.50" web-sys = "0.3.70" console_error_panic_hook = "0.1.7" +gloo-timers = "0.3" +[dependencies.web-sys] +version = "0.3" +features = [ + "Url", + "Blob", + "FileReader", + "HtmlInputElement", + "HtmlAnchorElement", + "Event", + "Document", + "Window", + "Node", +] -[lints] -workspace = true \ No newline at end of file +[target.'cfg(not(target_arch = "wasm32"))'.dependencies] +rfd = "0.15.3" + +#[lints] +#workspace = true + +[lib] +path = "src/lib.rs" +crate-type = ["cdylib", "rlib"] diff --git a/crates/rsonpath-website/Trunk.toml b/crates/rsonpath-website/Trunk.toml new file mode 100644 index 00000000..57156014 --- /dev/null +++ b/crates/rsonpath-website/Trunk.toml @@ -0,0 +1,5 @@ +[build] +target = "index.html" + +#[watch] +#ignore = ["target/"] \ No newline at end of file diff --git a/crates/rsonpath-website/index.html b/crates/rsonpath-website/index.html new file mode 100644 index 00000000..60ee9af2 --- /dev/null +++ b/crates/rsonpath-website/index.html @@ -0,0 +1,67 @@ + + + + + + RsonQuery Web + + + + + + + + + \ No newline at end of file diff --git a/crates/rsonpath-website/src/lib.rs b/crates/rsonpath-website/src/lib.rs index afcedd28..bfa0dd08 100644 --- a/crates/rsonpath-website/src/lib.rs +++ b/crates/rsonpath-website/src/lib.rs @@ -1,8 +1,12 @@ use eframe::emath::Align; use eframe::epaint::Color32; use eframe::Frame; -use egui::{Button, Context, Layout, RichText, TextEdit, TopBottomPanel}; +use egui::{Button, ComboBox, Context, Layout, RichText, ScrollArea, TextEdit, TopBottomPanel}; +use rsonpath::*; +use std::sync::{Mutex, OnceLock}; +use strip_ansi_escapes::strip; use wasm_bindgen::prelude::*; +use web_sys::window; pub struct WebsiteGui { json_input: String, @@ -11,6 +15,78 @@ pub struct WebsiteGui { console_output: String, toggle_dark_mode_on: bool, toggle_console_on: bool, + argument_verbose: bool, + argument_compile: bool, + argument_result_arg: ResultArg, +} + +//File select for native version +#[cfg(not(target_arch = "wasm32"))] +impl WebsiteGui { + fn open_file(&mut self, _ctx: &egui::Context) { + if let Some(path) = rfd::FileDialog::new().add_filter("JSON", &["json"]).pick_file() { + if let Ok(contents) = std::fs::read_to_string(path) { + self.json_input = contents; + } else { + self.console_output = "Failed to read the selected file.".to_owned(); + } + } + } +} + +#[cfg(target_arch = "wasm32")] +//For drag and dropping files +pub static JSON_INPUT_REF: OnceLock>> = OnceLock::new(); +//For importing files +pub static FILE_INPUT_REF: OnceLock>> = OnceLock::new(); + +//File select for web version +#[cfg(target_arch = "wasm32")] +impl WebsiteGui { + fn open_file(&mut self, _ctx: &Context) { + use wasm_bindgen::JsCast; + use web_sys::{FileReader, HtmlInputElement}; + + let document = window().unwrap().document().unwrap(); + let body = document.body().unwrap(); + + let file_input = document + .create_element("input") + .unwrap() + .dyn_into::() + .unwrap(); + + file_input.set_type("file"); + file_input.set_accept(".json"); + + let reader = FileReader::new().unwrap(); + let reader_clone = reader.clone(); + + let onloadend_cb = Closure::wrap(Box::new(move |_event: web_sys::Event| { + if let Ok(result) = reader_clone.result() { + if let Some(text) = result.as_string() { + let cell = FILE_INPUT_REF.get_or_init(|| Mutex::new(None)); + *cell.lock().unwrap() = Some(text); + } + } + }) as Box); + reader.set_onloadend(Some(onloadend_cb.as_ref().unchecked_ref())); + onloadend_cb.forget(); + + let file_input_clone = file_input.clone(); + let onchange_cb = Closure::wrap(Box::new(move |_event: web_sys::Event| { + let files = file_input_clone.files().unwrap(); + if let Some(file) = files.get(0) { + reader.read_as_text(&file).unwrap(); + } + }) as Box); + + file_input.set_onchange(Some(onchange_cb.as_ref().unchecked_ref())); + onchange_cb.forget(); + + body.append_child(&file_input).unwrap(); + file_input.click(); + } } impl Default for WebsiteGui { @@ -22,6 +98,9 @@ impl Default for WebsiteGui { console_output: String::new(), toggle_dark_mode_on: true, toggle_console_on: true, + argument_verbose: false, + argument_compile: false, + argument_result_arg: ResultArg::Nodes, } } } @@ -46,6 +125,22 @@ impl eframe::App for WebsiteGui { style }); + //Checks for imported files file + #[cfg(target_arch = "wasm32")] + if let Some(cell) = FILE_INPUT_REF.get() { + if let Some(contents) = cell.lock().unwrap().take() { + self.json_input = contents; + } + } + + //Checks for drag & dropped files + #[cfg(target_arch = "wasm32")] + if let Some(cell) = JSON_INPUT_REF.get() { + if let Some(contents) = cell.lock().unwrap().take() { + self.json_input = contents; + } + } + if self.toggle_dark_mode_on { ctx.set_visuals(egui::Visuals::dark()); } else { @@ -57,19 +152,24 @@ impl eframe::App for WebsiteGui { // File menu button ui.menu_button("File", |ui| { if ui.button("New").clicked() { - //TODO: Add functionality for New button - ui.close_menu(); + self.json_input.clear(); + self.query_input.clear(); + self.json_output.clear(); + self.console_output.clear(); + + ui.close(); } if ui.button("Open...").clicked() { - //TODO: Add functionality for Open button - ui.close_menu(); + self.open_file(ctx); + ui.close(); } ui.separator(); if ui.button("Export to JSON").clicked() { - //TODO: Add functionality for Export to JSON button - ui.close_menu(); + web_sys::console::log_1(&"Export button clicked".into()); // Debug + export_to_json(&self.json_input); + ui.close(); } }); @@ -93,76 +193,316 @@ impl eframe::App for WebsiteGui { }); egui::CentralPanel::default().show(ctx, |ui| { - ui.with_layout(Layout::left_to_right(Align::Center), |ui| { - ui.vertical(|ui| { - let hint_text = RichText::new("Enter your json code here...") - .size(15.0) - .color(Color32::GRAY) - .strong(); + ScrollArea::both().auto_shrink([false; 2]).show(ui, |ui| { + let screen_width = ctx.screen_rect().width(); + let screen_height = ctx.screen_rect().height(); - //Json input window - ui.add_sized( - [ui.available_width() / 2.0, ui.available_height() / 1.5], - TextEdit::multiline(&mut self.json_input).hint_text(hint_text), - ); + ui.with_layout(Layout::left_to_right(Align::Center), |ui| { + ui.vertical(|ui| { + let hint_text = RichText::new("Enter your json code here...") + .size(15.0) + .color(Color32::GRAY) + .strong(); - ui.add_space(10.0); + let left_side_width = screen_width * 0.5; - let query_field_text = RichText::new("Enter your query here...") - .size(15.0) - .color(Color32::GRAY) - .strong(); + let json_box_height = screen_height * 0.65; + + //Json input window + ScrollArea::vertical() + .id_salt("Json input window") + .max_height(json_box_height) + .show(ui, |ui| { + ui.add_sized( + [left_side_width, json_box_height], + TextEdit::multiline(&mut self.json_input).hint_text(hint_text), + ); + }); + + ui.add_space(15.0); + + // Query input + arguments + ui.horizontal(|ui| { + ui.vertical(|ui| { + let query_label = RichText::new("Enter your query here...") + .size(15.0) + .color(Color32::GRAY) + .strong(); + + //Query input + ScrollArea::vertical() + .id_salt("query_input_scroll") + .max_height(ui.available_height()) + .show(ui, |ui| { + ui.add_sized( + [left_side_width * 0.75, screen_height * 0.077], + TextEdit::multiline(&mut self.query_input) + .hint_text(query_label) + .desired_rows(1), + ); + }); + }); - //Query input field - ui.add_sized( - [ui.available_width() / 2.0, ui.available_height() - 100.0], - TextEdit::singleline(&mut self.query_input).hint_text(query_field_text), - ); + ui.add_space(10.0); - let button_text = RichText::new("Run Query").size(20.0).color(Color32::WHITE).strong(); + ui.vertical(|ui| { + //Arguments + ui.horizontal(|ui| { + + ui.vertical(|ui| { + ui.checkbox(&mut self.argument_compile, "Compile only"); + }); + }); + + ui.add_space(10.0); + + ui.horizontal(|ui| { + ui.vertical(|ui| { + ComboBox::from_label("Result Mode") + .selected_text(format!("{:?}", self.argument_result_arg)) + .show_ui(ui, |ui| { + ui.selectable_value( + &mut self.argument_result_arg, + ResultArg::Nodes, + "Nodes", + ); + ui.selectable_value( + &mut self.argument_result_arg, + ResultArg::Count, + "Count", + ); + ui.selectable_value( + &mut self.argument_result_arg, + ResultArg::Indices, + "Indices", + ); + }); + }); + }); + }); + }); + + ui.add_space(20.0); + + let button_text = RichText::new("Run Query").size(20.0).color(Color32::WHITE).strong(); + + //Run button + if ui + .add_sized( + [left_side_width, screen_height * 0.144], + Button::new(button_text).fill(Color32::BROWN), + ) + .clicked() + { + match run_with_args(&create_args( + self.query_input.clone(), + None, + Option::from(self.json_input.clone()), + self.argument_verbose, + self.argument_compile, + self.argument_result_arg, + None, + )) { + Ok(run_output) => { + self.json_output = run_output.stdout; + self.console_output = run_output.stderr; + } + Err(e) => { + self.json_output.clear(); + + let report = format!("{:?}", eyre::Report::from(e)); + let stripped_bytes = strip(report.as_bytes()); + let cleaned_report = String::from_utf8_lossy(&stripped_bytes).into_owned(); + let no_location = strip_location_paragraph(&cleaned_report); + + self.console_output = strip_last_paragraph(&no_location); + } + }; + } + }); ui.add_space(10.0); - //Run button - //TODO: Add button functionality - ui.add_sized( - [ui.available_width() / 2.0, ui.available_height()], - Button::new(button_text).fill(Color32::BROWN), - ); - }); + ui.vertical(|ui| { + //Output window + let output_window_height = if self.toggle_console_on { + screen_height * 0.50 + } else { + screen_height + }; + let output_window_width = screen_width * 0.48; - ui.add_space(10.0); - - ui.vertical(|ui| { - let mut output_window_height = if self.toggle_console_on { - ui.available_height() / 2.0 - } else { - ui.available_height() - }; - - //Output window - ui.add_sized( - [ui.available_width(), output_window_height], - TextEdit::multiline(&mut self.json_output) - .desired_rows(5) - .interactive(false), //TODO: Change placeholder to result of query - ); - - //Console window - if self.toggle_console_on { - ui.add_space(10.0); - - ui.add_sized( - [ui.available_width(), ui.available_height()], - TextEdit::multiline(&mut self.console_output).interactive(false), - ); - } - }); - }) + let query_output_hint_text = RichText::new("The result of your query will appear here...") + .size(15.0) + .color(Color32::GRAY) + .strong(); + + ScrollArea::vertical() + .id_salt("Query output window") + .max_height(output_window_height) + .show(ui, |ui| { + ui.add_sized( + [output_window_width, output_window_height], + TextEdit::multiline(&mut self.json_output) + .desired_rows(5) + .interactive(false) + .hint_text(query_output_hint_text), + ); + }); + + //Console window + if self.toggle_console_on { + ui.add_space(15.0); + + let console_output_hint_text = RichText::new("Console output will appear here...") + .size(15.0) + .color(Color32::GRAY) + .strong(); + + ScrollArea::vertical() + .id_salt("Console output window") + .max_height(output_window_height) + .show(ui, |ui| { + ui.add_sized( + [output_window_width, screen_height * 0.40], + TextEdit::multiline(&mut self.console_output) + .interactive(false) + .hint_text(console_output_hint_text), + ); + }); + } + }); + }) + }); + }); + + for file in &ctx.input(|i| i.raw.dropped_files.clone()) { + if let Some(path_buf) = &file.path { + if let Ok(contents) = std::fs::read_to_string(path_buf) { + self.json_input = contents; + } + } + } + } +} + +//Removes the backtrace message from error +fn strip_last_paragraph(error: &str) -> String { + let mut paragraphs: Vec<&str> = error.split("\n\n").collect(); + if paragraphs.len() > 1 { + paragraphs.pop(); + } + paragraphs.join("\n\n") +} + +//Removes the location of the error (security risk) +fn strip_location_paragraph(error: &str) -> String { + let mut result = String::new(); + let mut skip = false; + + for line in error.lines() { + if line.trim().starts_with("Location:") { + skip = true; + continue; + } + + if skip { + if line.trim().is_empty() { + skip = false; + } + continue; + } + + result.push_str(line); + result.push('\n'); + } + + result.trim_end().to_owned() +} + +//Export to JSON for native version +#[cfg(not(target_arch = "wasm32"))] +fn export_to_json(json_input: &str) { + if let Some(path) = rfd::FileDialog::new() + .set_title("Save JSON File") + .add_filter("JSON", &["json"]) + .save_file() + { + std::fs::write(path, json_input).unwrap_or_else(|err| { + eprintln!("Failed to save file: {err}"); }); } } +//Export to JSON for web version +#[cfg(target_arch = "wasm32")] +fn export_to_json(json_input: &str) { + use wasm_bindgen::JsCast; + use web_sys::{Blob, BlobPropertyBag, HtmlAnchorElement, Url}; + + web_sys::console::log_1(&"Export triggered".into()); + + let window = window().unwrap(); + let document = window.document().unwrap(); + let body = document.body().unwrap(); + + // Create JSON blob + let array = js_sys::Array::new(); + array.push(&JsValue::from_str(json_input)); + + let bag = BlobPropertyBag::new(); + bag.set_type("application/json"); + + let blob = Blob::new_with_str_sequence_and_options(&array, &bag).expect("Failed to create Blob"); + + let url = Url::create_object_url_with_blob(&blob).expect("Failed to create URL"); + + // Create invisible link + let link = document + .create_element("a") + .unwrap() + .dyn_into::() + .unwrap(); + link.set_href(&url); + link.set_download("data.json"); + link.style().set_property("display", "none").unwrap(); + + // Append link to DOM *before* clicking + body.append_child(&link).unwrap(); + link.click(); + body.remove_child(&link).unwrap(); // Clean up + Url::revoke_object_url(&url).unwrap(); // Free memory +} + +//Logic for enabling drag-and-dropping files into the app +#[cfg(target_arch = "wasm32")] +#[wasm_bindgen(js_name = handle_dropped_file)] +pub fn handle_dropped_file(contents: String) { + web_sys::console::log_1(&format!("📦 Received dropped file with length: {}", contents.len()).into()); + let cell = JSON_INPUT_REF.get_or_init(|| Mutex::new(None)); + *cell.lock().unwrap() = Some(contents); +} + +#[cfg(target_arch = "wasm32")] +#[wasm_bindgen] +pub fn register_file_handler() { + let closure = Closure::wrap(Box::new(move |text: JsValue| { + if let Some(text_str) = text.as_string() { + handle_dropped_file(text_str); + } + }) as Box); + + let window = window().expect("no global window"); + let func = closure.as_ref().unchecked_ref::(); + + // Use Reflect to set the global function + js_sys::Reflect::set(&window, &JsValue::from_str("handle_dropped_file"), func) + .expect("Failed to assign handle_dropped_file to window"); + + closure.forget(); // Leak the closure to keep it alive + web_sys::console::log_1(&"✅ Registered handle_dropped_file".into()); +} + #[cfg(test)] mod tests { //use super::*; diff --git a/crates/rsonpath-website/src/main.rs b/crates/rsonpath-website/src/main.rs index 1ffda22d..8862c2fb 100644 --- a/crates/rsonpath-website/src/main.rs +++ b/crates/rsonpath-website/src/main.rs @@ -1,40 +1,37 @@ -use crate::lib::WebsiteGui; -use eframe::NativeOptions; -use wasm_bindgen::prelude::wasm_bindgen; -use wasm_bindgen::JsValue; +use wasm_bindgen::prelude::*; -mod lib; +#[cfg(target_arch = "wasm32")] +#[wasm_bindgen(start)] +pub fn start() -> Result<(), JsValue> { + console_error_panic_hook::set_once(); -// #[cfg(target_arch = "wasm32")] -// #[wasm_bindgen(start)] -// pub fn start() -> Result<(), JsValue> { -// -// console_error_panic_hook::set_once(); -// let web_options = eframe::WebOptions::default(); -// -// -// //TODO: Write html file with eframe::Result<()> { - let options = NativeOptions::default(); - eframe::run_native( - "RsonQuery App", - options, - Box::new(|_cc| Ok(Box::new(WebsiteGui::default()))), - ) + let window = web_sys::window().expect("no global `window` exists"); + let document = window.document().expect("should have a document"); + let canvas = document + .get_element_by_id("rsonquery_web") + .expect("Canvas with ID `rsonquery_web` not found") + .dyn_into::()?; + + wasm_bindgen_futures::spawn_local(async move { + let runner = eframe::WebRunner::new(); + runner + .start( + canvas, + eframe::WebOptions::default(), + Box::new(|_cc| Ok(Box::new(rsonpath_website::WebsiteGui::default()))), + ) + .await + .expect("Failed to start eframe WebRunner"); + + rsonpath_website::register_file_handler(); + }); + + Ok(()) +} + +#[cfg(target_arch = "wasm32")] +fn main() { + start().expect("TODO: panic message"); } diff --git a/crates/rsonpath/Cargo.toml b/crates/rsonpath/Cargo.toml index 6849cf1a..7873d2cd 100644 --- a/crates/rsonpath/Cargo.toml +++ b/crates/rsonpath/Cargo.toml @@ -47,3 +47,6 @@ simd = ["rsonpath-lib/simd"] [lints] workspace = true + +[lib] +path = "src/lib.rs" diff --git a/crates/rsonpath/src/args.rs b/crates/rsonpath/src/args.rs index e5f801a6..3eff6119 100644 --- a/crates/rsonpath/src/args.rs +++ b/crates/rsonpath/src/args.rs @@ -7,7 +7,7 @@ use clap::{Parser, ValueEnum}; /// Blazing fast JSONPath CLI tool powered by SIMD. /// /// A usage guide is available at . -pub(super) struct Args { +pub struct Args { /// JSONPath query to run against the input JSON. pub query: String, /// Input JSON file to query. @@ -41,7 +41,7 @@ pub(super) struct Args { } #[derive(ValueEnum, Debug, Clone, Copy, PartialEq, Eq)] -pub(super) enum ResultArg { +pub enum ResultArg { /// Return only the number of matches. Count, /// Return a list of all bytes at which a match occurred. @@ -51,7 +51,7 @@ pub(super) enum ResultArg { } #[derive(ValueEnum, Debug, Clone, Copy, PartialEq, Eq)] -pub(super) enum InputArg { +pub enum InputArg { /// Use a memory map over a file. /// /// This is preferred by default, if available on a given platform. diff --git a/crates/rsonpath/src/lib.rs b/crates/rsonpath/src/lib.rs new file mode 100644 index 00000000..4fae1467 --- /dev/null +++ b/crates/rsonpath/src/lib.rs @@ -0,0 +1,102 @@ +pub use crate::args::{Args, InputArg, ResultArg}; +use crate::error::{report_compiler_error, report_parser_error}; +use crate::runner::Runner; +use clap::Parser; +use color_eyre::{eyre::Result, Help}; +use log::*; +use rsonpath_lib::automaton::Automaton; +use rsonpath_syntax::{JsonPathQuery, ParserBuilder}; + +pub mod args; +mod error; +mod input; +mod logger; +mod runner; +mod version; + +pub fn run_main() -> Result { + use color_eyre::owo_colors::OwoColorize; + // color_eyre::install()?; + + let args = Args::parse(); + + logger::configure(args.verbose)?; + + run_with_args(&args).map_err(|err| err.with_note(|| format!("Query string: '{}'.", args.query.dimmed()))) +} + +pub fn run_with_args(args: &Args) -> Result { + let query = parse_query(&args.query)?; + info!("Preparing query: `{query}`\n"); + + let automaton = compile_query(&query)?; + info!("Automaton: {automaton}"); + + let out = String::new(); + let err = String::new(); + + if args.compile { + // Only compilation was requested, so we print the automaton and exit. + println!("{automaton}"); + debug!("{automaton:?}"); + Ok(RunOutput { + stdout: out, + stderr: err, + }) + } else { + // Actual query execution. + let input = runner::resolve_input( + args.file_path.as_deref(), + args.json.as_deref(), + args.force_input.as_ref(), + )?; + let engine = runner::resolve_engine(); + let output = runner::resolve_output(args.result); + + Runner { + with_compiled_query: automaton, + with_engine: engine, + with_input: input, + with_output: output, + } + .run() + } +} + +pub fn parse_query(query_string: &str) -> Result { + let mut parser_builder = ParserBuilder::default(); + parser_builder.allow_surrounding_whitespace(true); + let parser: rsonpath_syntax::Parser = parser_builder.into(); + parser + .parse(query_string) + .map_err(|err| report_parser_error(err).wrap_err("Could not parse JSONPath query.")) +} + +pub fn compile_query(query: &JsonPathQuery) -> Result { + Automaton::new(query).map_err(|err| report_compiler_error(query, err).wrap_err("Error compiling the query.")) +} + +pub fn create_args( + query: String, + file_path: Option, + json: Option, + verbose: bool, + compile: bool, + result: ResultArg, + force_input: Option, +) -> Args { + Args { + query, + file_path, + json, + verbose, + compile, + result, + force_input, + } +} + +pub struct RunOutput { + pub stdout: String, + pub stderr: String, +} diff --git a/crates/rsonpath/src/main.rs b/crates/rsonpath/src/main.rs index 6f7fe5b6..79a4e1ed 100644 --- a/crates/rsonpath/src/main.rs +++ b/crates/rsonpath/src/main.rs @@ -1,71 +1,63 @@ -use args::Args; -use clap::Parser; -use color_eyre::{eyre::Result, Help}; -use error::{report_compiler_error, report_parser_error}; -use log::*; -use rsonpath_lib::automaton::Automaton; -use rsonpath_syntax::{JsonPathQuery, ParserBuilder}; -use runner::Runner; - -mod args; -mod error; -mod input; -mod logger; -mod runner; -mod version; - -fn main() -> Result<()> { - use color_eyre::owo_colors::OwoColorize; - color_eyre::install()?; - - let args = Args::parse(); - - logger::configure(args.verbose)?; - - run_with_args(&args).map_err(|err| err.with_note(|| format!("Query string: '{}'.", args.query.dimmed()))) +// use args::Args; +use color_eyre::eyre::Result; +use rsonpath::{run_main, RunOutput}; +// use rsonpath_lib::automaton::Automaton; +// use rsonpath_syntax::{JsonPathQuery, ParserBuilder}; +// use runner::Runner; + +// mod args; +// mod error; +// mod input; +// mod logger; +// mod runner; +// mod version; + +fn main() -> Result<(), std::io::Error> { + run_main().expect("panic"); + Ok(()) } -fn run_with_args(args: &Args) -> Result<()> { - let query = parse_query(&args.query)?; - info!("Preparing query: `{query}`\n"); - - let automaton = compile_query(&query)?; - info!("Automaton: {automaton}"); - - if args.compile { - // Only compilation was requested, so we print the automaton and exit. - println!("{automaton}"); - debug!("{automaton:?}"); - Ok(()) - } else { - // Actual query execution. - let input = runner::resolve_input( - args.file_path.as_deref(), - args.json.as_deref(), - args.force_input.as_ref(), - )?; - let engine = runner::resolve_engine(); - let output = runner::resolve_output(args.result); - - Runner { - with_compiled_query: automaton, - with_engine: engine, - with_input: input, - with_output: output, - } - .run() - } -} - -fn parse_query(query_string: &str) -> Result { - let mut parser_builder = ParserBuilder::default(); - parser_builder.allow_surrounding_whitespace(true); - let parser: rsonpath_syntax::Parser = parser_builder.into(); - parser - .parse(query_string) - .map_err(|err| report_parser_error(err).wrap_err("Could not parse JSONPath query.")) -} - -fn compile_query(query: &JsonPathQuery) -> Result { - Automaton::new(query).map_err(|err| report_compiler_error(query, err).wrap_err("Error compiling the query.")) -} +// fn run_with_args(args: &Args) -> Result<()> { +// let query = parse_query(&args.query)?; +// info!("Preparing query: `{query}`\n"); +// +// let automaton = compile_query(&query)?; +// info!("Automaton: {automaton}"); +// +// if args.compile { +// // Only compilation was requested, so we print the automaton and exit. +// println!("{automaton}"); +// debug!("{automaton:?}"); +// Ok(()) +// } else { +// // Actual query execution. +// let input = runner::resolve_input( +// args.file_path.as_deref(), +// args.json.as_deref(), +// args.force_input.as_ref(), +// )?; +// let engine = runner::resolve_engine(); +// let output = runner::resolve_output(args.result); +// +// Runner { +// with_compiled_query: automaton, +// with_engine: engine, +// with_input: input, +// with_output: output, +// } +// .run() +// } +// } +// +// fn parse_query(query_string: &str) -> Result { +// let mut parser_builder = ParserBuilder::default(); +// parser_builder.allow_surrounding_whitespace(true); +// let parser: rsonpath_syntax::Parser = parser_builder.into(); +// parser +// .parse(query_string) +// .map_err(|err| report_parser_error(err).wrap_err("Could not parse JSONPath query.")) +// } +// +// fn compile_query(query: &JsonPathQuery) -> Result { +// Automaton::new(query).map_err(|err| report_compiler_error(query, err).wrap_err("Error compiling the query.")) +// } diff --git a/crates/rsonpath/src/runner.rs b/crates/rsonpath/src/runner.rs index b939942b..7c0074f2 100644 --- a/crates/rsonpath/src/runner.rs +++ b/crates/rsonpath/src/runner.rs @@ -2,13 +2,14 @@ use crate::input::{self, JsonSource, ResolvedInputKind}; use crate::{ args::{InputArg, ResultArg}, error::report_engine_error, + RunOutput, }; use eyre::{Result, WrapErr}; -use log::warn; +// use log::warn; use rsonpath_lib::{ automaton::Automaton, engine::{error::EngineError, main::MainEngine, Compiler, Engine}, - input::{BorrowedBytes, BufferedInput, Input, MmapInput, OwnedBytes}, + input::{BorrowedBytes, BufferedInput, Input, OwnedBytes}, result::MatchWriter, }; use std::{ @@ -25,7 +26,7 @@ pub(super) struct Runner { } impl> Runner { - pub(super) fn run(self) -> Result<()> { + pub(super) fn run(self) -> Result { match self.with_engine { ResolvedEngine::Main => { let engine = MainEngine::from_compiled_query(self.with_compiled_query); @@ -87,33 +88,37 @@ pub(super) enum ResolvedOutput { } impl> ResolvedInput { - fn run_engine(mut self, engine: E, with_output: ResolvedOutput) -> Result<()> { + fn run_engine(mut self, engine: E, with_output: ResolvedOutput) -> Result { match self.kind { ResolvedInputKind::Mmap => { - let raw_desc = self - .file - .try_as_raw_desc() - .ok_or_else(|| eyre::eyre!("Attempt to create a memory map on inline JSON input."))?; + // let raw_desc = self + // .file + // .try_as_raw_desc() + // .ok_or_else(|| eyre::eyre!("Attempt to create a memory map on inline JSON input."))?; // SAFETY: The file is open for at least as long as self exists, so the fd should remain valid // throughout this function. - let mmap_result = unsafe { MmapInput::map_file(raw_desc) }; - - match mmap_result { - Ok(input) => with_output.run_and_output(&engine, &input), - Err(err) => match self.fallback_kind { - Some(fallback_kind) => { - warn!("Creating a memory map failed: '{err}'. Falling back to a slower input strategy."); - let new_input = Self { - kind: fallback_kind, - fallback_kind: None, - file: self.file, - }; - - new_input.run_engine(engine, with_output) - } - None => Err(err).wrap_err("Creating a memory map failed."), - }, - } + // let mmap_result = unsafe { MmapInput::map_file(raw_desc) }; + + // match mmap_result { + // Ok(input) => with_output.run_and_output(&engine, &input), + // Err(err) => match self.fallback_kind { + // Some(fallback_kind) => { + // warn!( + // "Creating a memory map failed: '{}'. Falling back to a slower input strategy.", + // err + // ); + // let new_input = Self { + // kind: fallback_kind, + // fallback_kind: None, + // file: self.file, + // }; + // + // new_input.run_engine(engine, with_output) + // } + // None => Err(err).wrap_err("Creating a memory map failed."), + // }, + // } + Err(eyre::eyre!("This operation is not possible on this version")) } ResolvedInputKind::Owned => match self.file { JsonSource::File(f) => { @@ -143,20 +148,32 @@ impl> ResolvedInput { } } +use std::io::Write; + impl ResolvedOutput { - fn run_and_output(self, engine: &E, input: &I) -> Result<()> { - fn run_impl(out: &ResolvedOutput, engine: &E, input: &I) -> Result<(), EngineError> { + fn run_and_output(self, engine: &E, input: &I) -> eyre::Result { + // Allocate buffers + let mut stdout_buf = Vec::new(); + let stderr_buf = Vec::new(); // unused for now + + // Inner implementation — takes a writer + fn run_impl( + out: &ResolvedOutput, + engine: &E, + input: &I, + writer: &mut dyn Write, + ) -> Result<(), EngineError> { match out { ResolvedOutput::Count => { let result = engine.count(input)?; - print!("{result}"); + write!(writer, "{result}")?; } ResolvedOutput::Index => { - let mut sink = MatchWriter::from(io::stdout().lock()); + let mut sink = MatchWriter::from(writer); engine.indices(input, &mut sink)?; } ResolvedOutput::Nodes => { - let mut sink = MatchWriter::from(io::stdout().lock()); + let mut sink = MatchWriter::from(writer); engine.matches(input, &mut sink)?; } } @@ -164,7 +181,15 @@ impl ResolvedOutput { Ok(()) } - run_impl(&self, engine, input).map_err(|err| report_engine_error(err).wrap_err("Error executing the query.")) + // Run and collect output + run_impl(&self, engine, input, &mut stdout_buf) + .map_err(|err| report_engine_error(err).wrap_err("Error executing the query."))?; + + // Convert buffers to strings + let stdout = String::from_utf8(stdout_buf).unwrap_or_else(|_| "".to_string()); + let stderr = String::from_utf8(stderr_buf).unwrap_or_else(|_| "".to_string()); + + Ok(RunOutput { stdout, stderr }) } } From 99ba467a4be4c0dfbb50152987315a2634e27cd9 Mon Sep 17 00:00:00 2001 From: ge96jon Date: Tue, 22 Jul 2025 19:04:39 +0200 Subject: [PATCH 04/16] Added indicator that drag & drop works --- crates/rsonpath-website/.cargo/config.toml | 2 + crates/rsonpath-website/src/lib.rs | 70 +++++++++++++++------- 2 files changed, 49 insertions(+), 23 deletions(-) create mode 100644 crates/rsonpath-website/.cargo/config.toml diff --git a/crates/rsonpath-website/.cargo/config.toml b/crates/rsonpath-website/.cargo/config.toml new file mode 100644 index 00000000..435ed755 --- /dev/null +++ b/crates/rsonpath-website/.cargo/config.toml @@ -0,0 +1,2 @@ +[build] +target = "wasm32-unknown-unknown" \ No newline at end of file diff --git a/crates/rsonpath-website/src/lib.rs b/crates/rsonpath-website/src/lib.rs index bfa0dd08..0a31a097 100644 --- a/crates/rsonpath-website/src/lib.rs +++ b/crates/rsonpath-website/src/lib.rs @@ -13,6 +13,7 @@ pub struct WebsiteGui { query_input: String, json_output: String, console_output: String, + is_dragging_file: bool, toggle_dark_mode_on: bool, toggle_console_on: bool, argument_verbose: bool, @@ -20,6 +21,23 @@ pub struct WebsiteGui { argument_result_arg: ResultArg, } +impl Default for WebsiteGui { + fn default() -> Self { + Self { + json_input: String::new(), + query_input: String::new(), + json_output: String::new(), + console_output: String::new(), + is_dragging_file: false, + toggle_dark_mode_on: true, + toggle_console_on: true, + argument_verbose: false, + argument_compile: false, + argument_result_arg: ResultArg::Nodes, + } + } +} + //File select for native version #[cfg(not(target_arch = "wasm32"))] impl WebsiteGui { @@ -89,28 +107,14 @@ impl WebsiteGui { } } -impl Default for WebsiteGui { - fn default() -> Self { - Self { - json_input: String::new(), - query_input: String::new(), - json_output: String::new(), - console_output: String::new(), - toggle_dark_mode_on: true, - toggle_console_on: true, - argument_verbose: false, - argument_compile: false, - argument_result_arg: ResultArg::Nodes, - } - } -} + impl eframe::App for WebsiteGui { fn update(&mut self, ctx: &Context, _frame: &mut Frame) { //Sets the font size for buttons and menu bodies, as well as the padding ctx.set_style({ let mut style = (*ctx.style()).clone(); - style.spacing.button_padding = egui::vec2(12.0, 8.0); // Wider buttons + style.spacing.button_padding = egui::vec2(12.0, 8.0); style.text_styles = [ ( egui::TextStyle::Button, @@ -149,8 +153,11 @@ impl eframe::App for WebsiteGui { TopBottomPanel::top("menu bar").show(ctx, |ui| { ui.horizontal_wrapped(|ui| { + // File menu button ui.menu_button("File", |ui| { + + //Wipes all text windows to allow user to start anew if ui.button("New").clicked() { self.json_input.clear(); self.query_input.clear(); @@ -159,6 +166,8 @@ impl eframe::App for WebsiteGui { ui.close(); } + + //Opens JSON file from computer if ui.button("Open...").clicked() { self.open_file(ctx); ui.close(); @@ -166,8 +175,8 @@ impl eframe::App for WebsiteGui { ui.separator(); + //Exports input text into a JSON file if ui.button("Export to JSON").clicked() { - web_sys::console::log_1(&"Export button clicked".into()); // Debug export_to_json(&self.json_input); ui.close(); } @@ -383,6 +392,26 @@ impl eframe::App for WebsiteGui { } } } + + //Checks if any files are dragged over and if yes, darkens the screen and displays a piece of text to confirm something happened + let input = ctx.input(|i| i.clone()); + self.is_dragging_file = input.raw.hovered_files.len() > 0; + + if self.is_dragging_file { + use egui::{Align2, Color32}; + + let screen_rect = ctx.screen_rect(); + let painter = ctx.layer_painter(egui::LayerId::new(egui::Order::Foreground, egui::Id::new("drag_overlay"))); + painter.rect_filled(screen_rect, 0.0, Color32::from_black_alpha(180)); + + painter.text( + screen_rect.center(), + Align2::CENTER_CENTER, + "📂 Drop your file here", + egui::FontId::proportional(32.0), + Color32::WHITE, + ); + } } } @@ -440,8 +469,6 @@ fn export_to_json(json_input: &str) { use wasm_bindgen::JsCast; use web_sys::{Blob, BlobPropertyBag, HtmlAnchorElement, Url}; - web_sys::console::log_1(&"Export triggered".into()); - let window = window().unwrap(); let document = window.document().unwrap(); let body = document.body().unwrap(); @@ -478,7 +505,6 @@ fn export_to_json(json_input: &str) { #[cfg(target_arch = "wasm32")] #[wasm_bindgen(js_name = handle_dropped_file)] pub fn handle_dropped_file(contents: String) { - web_sys::console::log_1(&format!("📦 Received dropped file with length: {}", contents.len()).into()); let cell = JSON_INPUT_REF.get_or_init(|| Mutex::new(None)); *cell.lock().unwrap() = Some(contents); } @@ -495,12 +521,10 @@ pub fn register_file_handler() { let window = window().expect("no global window"); let func = closure.as_ref().unchecked_ref::(); - // Use Reflect to set the global function js_sys::Reflect::set(&window, &JsValue::from_str("handle_dropped_file"), func) .expect("Failed to assign handle_dropped_file to window"); - closure.forget(); // Leak the closure to keep it alive - web_sys::console::log_1(&"✅ Registered handle_dropped_file".into()); + closure.forget(); } #[cfg(test)] From 6a4a542b9510b66d39c2f8ec433777ff9e9f1356 Mon Sep 17 00:00:00 2001 From: ge96jon Date: Mon, 28 Jul 2025 12:11:53 +0200 Subject: [PATCH 05/16] Added benchmarking --- Cargo.lock | 72 ++++++++++++++++++++++++++++++ crates/rsonpath-website/index.html | 5 ++- crates/rsonpath-website/src/lib.rs | 70 ++++++++++++++++++++++++----- crates/rsonpath/Cargo.toml | 1 + crates/rsonpath/src/lib.rs | 44 ++++++++++++++---- crates/rsonpath/src/runner.rs | 53 ++++++++++++++++++---- 6 files changed, 217 insertions(+), 28 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b58d1bf7..b56e4b75 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -147,6 +147,12 @@ dependencies = [ "serde_core", ] +[[package]] +name = "bumpalo" +version = "3.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" + [[package]] name = "byteorder" version = "1.5.0" @@ -781,6 +787,16 @@ dependencies = [ "libc", ] +[[package]] +name = "js-sys" +version = "0.3.82" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" +dependencies = [ + "once_cell", + "wasm-bindgen", +] + [[package]] name = "libc" version = "0.2.178" @@ -1189,6 +1205,7 @@ dependencies = [ "vergen", "vergen-git2", "vergen-gitcl", + "web-time", ] [[package]] @@ -1795,6 +1812,61 @@ dependencies = [ "wit-bindgen", ] +[[package]] +name = "wasm-bindgen" +version = "0.2.105" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.105" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.105" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.105" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + [[package]] name = "winapi-util" version = "0.1.11" diff --git a/crates/rsonpath-website/index.html b/crates/rsonpath-website/index.html index 60ee9af2..7a4a5de5 100644 --- a/crates/rsonpath-website/index.html +++ b/crates/rsonpath-website/index.html @@ -38,11 +38,14 @@ const file = event.dataTransfer.files[0]; if (file && file.name.endsWith(".json")) { - + const start = performance.now(); // Start timer before reading file const text = await file.text(); if (typeof window.handle_dropped_file === "function") { window.handle_dropped_file(text); + + // If you want to print elapsed time from JS side: + console.log(`File read took ${(performance.now() - start).toFixed(2)} ms`); } else { console.warn("Rust WASM not ready yet — drop ignored."); } diff --git a/crates/rsonpath-website/src/lib.rs b/crates/rsonpath-website/src/lib.rs index 0a31a097..5c63b438 100644 --- a/crates/rsonpath-website/src/lib.rs +++ b/crates/rsonpath-website/src/lib.rs @@ -1,3 +1,4 @@ +use std::cell::{OnceCell, RefCell}; use eframe::emath::Align; use eframe::epaint::Color32; use eframe::Frame; @@ -23,6 +24,10 @@ pub struct WebsiteGui { impl Default for WebsiteGui { fn default() -> Self { + FILE_BUFFER.with(|cell| { + cell.get_or_init(|| RefCell::new(None)); + }); + Self { json_input: String::new(), query_input: String::new(), @@ -58,12 +63,18 @@ pub static JSON_INPUT_REF: OnceLock>> = OnceLock::new(); //For importing files pub static FILE_INPUT_REF: OnceLock>> = OnceLock::new(); +thread_local! { + static FILE_BUFFER: OnceCell>> = OnceCell::new(); + static FILE_START: std::cell::Cell = std::cell::Cell::new(0.0); +} + + //File select for web version #[cfg(target_arch = "wasm32")] impl WebsiteGui { - fn open_file(&mut self, _ctx: &Context) { + pub fn open_file() { use wasm_bindgen::JsCast; - use web_sys::{FileReader, HtmlInputElement}; + use web_sys::{window, FileReader, HtmlInputElement}; let document = window().unwrap().document().unwrap(); let body = document.body().unwrap(); @@ -73,32 +84,47 @@ impl WebsiteGui { .unwrap() .dyn_into::() .unwrap(); - file_input.set_type("file"); file_input.set_accept(".json"); let reader = FileReader::new().unwrap(); let reader_clone = reader.clone(); + // reader.onloadend callback let onloadend_cb = Closure::wrap(Box::new(move |_event: web_sys::Event| { if let Ok(result) = reader_clone.result() { if let Some(text) = result.as_string() { - let cell = FILE_INPUT_REF.get_or_init(|| Mutex::new(None)); - *cell.lock().unwrap() = Some(text); + // Get elapsed time saved earlier in FILE_START + let elapsed = FILE_START.with(|start_cell| { + let start = start_cell.get(); + window().unwrap().performance().unwrap().now() - start + }); + + FILE_BUFFER.with(|cell| { + if let Some(buf) = cell.get() { + *buf.borrow_mut() = Some((text, elapsed)); + } + }); } } }) as Box); reader.set_onloadend(Some(onloadend_cb.as_ref().unchecked_ref())); onloadend_cb.forget(); + // Save the start time right before reading the file let file_input_clone = file_input.clone(); + let reader_clone = reader.clone(); let onchange_cb = Closure::wrap(Box::new(move |_event: web_sys::Event| { let files = file_input_clone.files().unwrap(); if let Some(file) = files.get(0) { - reader.read_as_text(&file).unwrap(); + // Start the timer *right before* reading the file + FILE_START.with(|cell| { + cell.set(window().unwrap().performance().unwrap().now()); + }); + + reader_clone.read_as_text(&file).unwrap(); } }) as Box); - file_input.set_onchange(Some(onchange_cb.as_ref().unchecked_ref())); onchange_cb.forget(); @@ -108,7 +134,6 @@ impl WebsiteGui { } - impl eframe::App for WebsiteGui { fn update(&mut self, ctx: &Context, _frame: &mut Frame) { //Sets the font size for buttons and menu bodies, as well as the padding @@ -169,7 +194,7 @@ impl eframe::App for WebsiteGui { //Opens JSON file from computer if ui.button("Open...").clicked() { - self.open_file(ctx); + WebsiteGui::open_file(); ui.close(); } @@ -313,8 +338,24 @@ impl eframe::App for WebsiteGui { None, )) { Ok(run_output) => { + self.json_output = run_output.stdout; - self.console_output = run_output.stderr; + + if let Some(benchmarks) = run_output.benchmark_stats { + self.console_output = format!( + "{}Benchmark Stats:\n\n\t- Parse time: {:?}\n\t- Compile time: {:?}\n\t- Run time: {:?}", + run_output.stderr, + benchmarks.parse_time, + benchmarks.compile_time, + benchmarks.run_time + ); + } else { + self.console_output = run_output.stderr; + } + + if self.json_output.is_empty() && !self.argument_compile { + self.console_output = String::from("ERROR: No result found. Please make sure all the variable names in your query are correct.") + } } Err(e) => { self.json_output.clear(); @@ -393,6 +434,15 @@ impl eframe::App for WebsiteGui { } } + FILE_BUFFER.with(|cell| { + if let Some(buf) = cell.get() { + if let Some((text, elapsed)) = buf.borrow_mut().take() { + self.json_input = text; + self.console_output = format!("File opened in {:.2} ms", elapsed); + } + } + }); + //Checks if any files are dragged over and if yes, darkens the screen and displays a piece of text to confirm something happened let input = ctx.input(|i| i.clone()); self.is_dragging_file = input.raw.hovered_files.len() > 0; diff --git a/crates/rsonpath/Cargo.toml b/crates/rsonpath/Cargo.toml index 7873d2cd..ca52b7c3 100644 --- a/crates/rsonpath/Cargo.toml +++ b/crates/rsonpath/Cargo.toml @@ -31,6 +31,7 @@ log = { workspace = true } rsonpath-lib = { workspace = true } rsonpath-syntax = { workspace = true, features = ["color"] } simple_logger = "5.1.0" +web-time = "1.0" [build-dependencies] rustflags = { version = "0.1.7" } diff --git a/crates/rsonpath/src/lib.rs b/crates/rsonpath/src/lib.rs index 4fae1467..f3d3313c 100644 --- a/crates/rsonpath/src/lib.rs +++ b/crates/rsonpath/src/lib.rs @@ -1,11 +1,12 @@ pub use crate::args::{Args, InputArg, ResultArg}; use crate::error::{report_compiler_error, report_parser_error}; -use crate::runner::Runner; +use crate::runner::{BenchmarkRunOutput, Runner}; use clap::Parser; use color_eyre::{eyre::Result, Help}; use log::*; use rsonpath_lib::automaton::Automaton; use rsonpath_syntax::{JsonPathQuery, ParserBuilder}; +use web_time::{Duration, Instant}; pub mod args; mod error; @@ -16,7 +17,6 @@ mod version; pub fn run_main() -> Result { use color_eyre::owo_colors::OwoColorize; - // color_eyre::install()?; let args = Args::parse(); @@ -26,25 +26,31 @@ pub fn run_main() -> Result { } pub fn run_with_args(args: &Args) -> Result { + // Benchmark parsing + let parse_start = Instant::now(); let query = parse_query(&args.query)?; - info!("Preparing query: `{query}`\n"); + let parse_time = parse_start.elapsed(); + let compile_start = Instant::now(); let automaton = compile_query(&query)?; - info!("Automaton: {automaton}"); + let compile_time = compile_start.elapsed(); let out = String::new(); let err = String::new(); if args.compile { - // Only compilation was requested, so we print the automaton and exit. println!("{automaton}"); debug!("{automaton:?}"); Ok(RunOutput { stdout: out, stderr: err, + benchmark_stats: Some(BenchmarkStats { + parse_time, + compile_time, + run_time: Duration::ZERO, + }), }) } else { - // Actual query execution. let input = runner::resolve_input( args.file_path.as_deref(), args.json.as_deref(), @@ -53,13 +59,26 @@ pub fn run_with_args(args: &Args) -> Result { let engine = runner::resolve_engine(); let output = runner::resolve_output(args.result); - Runner { + let runner = Runner { with_compiled_query: automaton, with_engine: engine, with_input: input, with_output: output, - } - .run() + }; + + // Benchmark execution + let BenchmarkRunOutput { + mut run_output, + duration: run_time, + } = runner.run_with_benchmark()?; + + run_output.benchmark_stats = Some(BenchmarkStats { + parse_time, + compile_time, + run_time, + }); + + Ok(run_output) } } @@ -96,7 +115,14 @@ pub fn create_args( } } +pub struct BenchmarkStats { + pub parse_time: Duration, + pub compile_time: Duration, + pub run_time: Duration, +} + pub struct RunOutput { pub stdout: String, pub stderr: String, + pub benchmark_stats: Option, } diff --git a/crates/rsonpath/src/runner.rs b/crates/rsonpath/src/runner.rs index 7c0074f2..126e516b 100644 --- a/crates/rsonpath/src/runner.rs +++ b/crates/rsonpath/src/runner.rs @@ -12,11 +12,16 @@ use rsonpath_lib::{ input::{BorrowedBytes, BufferedInput, Input, OwnedBytes}, result::MatchWriter, }; +use std::io::Write; +#[cfg(not(target_arch = "wasm32"))] +use std::time::Instant; use std::{ fs, io::{self, Read}, path::Path, }; +#[cfg(target_arch = "wasm32")] +use web_time::Instant; pub(super) struct Runner { pub with_compiled_query: Automaton, @@ -25,6 +30,21 @@ pub(super) struct Runner { pub with_output: ResolvedOutput, } +pub(super) struct BenchmarkRunOutput { + pub run_output: RunOutput, + pub duration: std::time::Duration, +} + +impl> Runner { + pub(super) fn run_with_benchmark(self) -> Result { + let start = Instant::now(); + let run_output = self.run()?; + let duration = start.elapsed(); + + Ok(BenchmarkRunOutput { run_output, duration }) + } +} + impl> Runner { pub(super) fn run(self) -> Result { match self.with_engine { @@ -124,16 +144,16 @@ impl> ResolvedInput { JsonSource::File(f) => { let contents = get_contents(f)?; let input = OwnedBytes::new(contents.into_bytes()); - with_output.run_and_output(&engine, &input) + Ok(with_output.run_and_output_with_benchmark(&engine, &input)?.run_output) } JsonSource::Stdin(s) => { let contents = get_contents(s)?; let input = OwnedBytes::new(contents.into_bytes()); - with_output.run_and_output(&engine, &input) + Ok(with_output.run_and_output_with_benchmark(&engine, &input)?.run_output) } JsonSource::Inline(j) => { let input = BorrowedBytes::new(j.as_ref().as_bytes()); - with_output.run_and_output(&engine, &input) + Ok(with_output.run_and_output_with_benchmark(&engine, &input)?.run_output) } }, ResolvedInputKind::Buffered => { @@ -142,16 +162,14 @@ impl> ResolvedInput { .try_as_read() .ok_or_else(|| eyre::eyre!("Attempt to buffer reads on inline JSON input."))?; let input = BufferedInput::new(read); - with_output.run_and_output(&engine, &input) + Ok(with_output.run_and_output_with_benchmark(&engine, &input)?.run_output) } } } } -use std::io::Write; - impl ResolvedOutput { - fn run_and_output(self, engine: &E, input: &I) -> eyre::Result { + fn run_and_output(self, engine: &E, input: &I) -> Result { // Allocate buffers let mut stdout_buf = Vec::new(); let stderr_buf = Vec::new(); // unused for now @@ -189,7 +207,26 @@ impl ResolvedOutput { let stdout = String::from_utf8(stdout_buf).unwrap_or_else(|_| "".to_string()); let stderr = String::from_utf8(stderr_buf).unwrap_or_else(|_| "".to_string()); - Ok(RunOutput { stdout, stderr }) + Ok(RunOutput { + stdout, + stderr, + benchmark_stats: None, + }) + } + + pub(crate) fn run_and_output_with_benchmark( + self, + engine: &E, + input: &I, + ) -> Result { + let start = Instant::now(); + let output = self.run_and_output(engine, input)?; + let duration = start.elapsed(); + + Ok(BenchmarkRunOutput { + run_output: output, + duration, + }) } } From b89ec433f5f6adcf2cf00a00f31f565bde25f1e5 Mon Sep 17 00:00:00 2001 From: ge96jon Date: Thu, 21 Aug 2025 11:17:52 +0200 Subject: [PATCH 06/16] Implemented SIMD for WASM32 --- .../rsonpath-lib/src/classification/depth.rs | 2 + .../src/classification/depth/shared.rs | 4 +- .../classification/depth/shared/mask_32.rs | 3 + .../classification/depth/shared/vector_128.rs | 40 ++++ .../src/classification/depth/wasm_32.rs | 63 ++++++ .../rsonpath-lib/src/classification/memmem.rs | 2 + .../src/classification/memmem/shared.rs | 4 +- .../memmem/shared/vector_128.rs | 35 ++++ .../src/classification/memmem/wasm_32.rs | 183 ++++++++++++++++++ .../rsonpath-lib/src/classification/simd.rs | 85 ++++++++ crates/rsonpath-website/.cargo/config.toml | 5 +- 11 files changed, 421 insertions(+), 5 deletions(-) create mode 100644 crates/rsonpath-lib/src/classification/depth/wasm_32.rs create mode 100644 crates/rsonpath-lib/src/classification/memmem/wasm_32.rs diff --git a/crates/rsonpath-lib/src/classification/depth.rs b/crates/rsonpath-lib/src/classification/depth.rs index 43b3aaea..1f14fa21 100644 --- a/crates/rsonpath-lib/src/classification/depth.rs +++ b/crates/rsonpath-lib/src/classification/depth.rs @@ -79,6 +79,8 @@ pub(crate) mod avx2_64; pub(crate) mod sse2_32; #[cfg(target_arch = "x86_64")] pub(crate) mod sse2_64; +#[cfg(target_arch = "wasm32")] +pub(crate) mod wasm_32; pub(crate) trait DepthImpl { type Classifier<'i, I, Q>: DepthIterator<'i, I, Q, MaskType, BLOCK_SIZE> diff --git a/crates/rsonpath-lib/src/classification/depth/shared.rs b/crates/rsonpath-lib/src/classification/depth/shared.rs index 149ae08d..2e8fdae5 100644 --- a/crates/rsonpath-lib/src/classification/depth/shared.rs +++ b/crates/rsonpath-lib/src/classification/depth/shared.rs @@ -1,8 +1,8 @@ -#[cfg(target_arch = "x86")] +#[cfg(any(target_arch = "x86", target_arch = "wasm32"))] pub(super) mod mask_32; #[cfg(target_arch = "x86_64")] pub(super) mod mask_64; -#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] +#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "wasm32"))] pub(super) mod vector_128; #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] pub(super) mod vector_256; diff --git a/crates/rsonpath-lib/src/classification/depth/shared/mask_32.rs b/crates/rsonpath-lib/src/classification/depth/shared/mask_32.rs index 8bbeb8f4..d336f5fa 100644 --- a/crates/rsonpath-lib/src/classification/depth/shared/mask_32.rs +++ b/crates/rsonpath-lib/src/classification/depth/shared/mask_32.rs @@ -29,6 +29,7 @@ pub(crate) struct DepthVector32<'a, B: InputBlock<'a, SIZE>> { impl<'a, B: InputBlock<'a, SIZE>> DepthBlock<'a> for DepthVector32<'a, B> { #[inline(always)] fn advance_to_next_depth_decrease(&mut self) -> bool { + #[cfg(target_arch = "x86")] debug_assert!(is_x86_feature_detected!("popcnt")); let next_closing = self.closing_mask.trailing_zeros() as usize; @@ -68,6 +69,7 @@ impl<'a, B: InputBlock<'a, SIZE>> DepthBlock<'a> for DepthVector32<'a, B> { #[inline(always)] fn depth_at_end(&self) -> isize { + #[cfg(target_arch = "x86")] debug_assert!(is_x86_feature_detected!("popcnt")); (((self.opening_count as i32) - self.closing_mask.count_ones() as i32) + self.depth) as isize } @@ -79,6 +81,7 @@ impl<'a, B: InputBlock<'a, SIZE>> DepthBlock<'a> for DepthVector32<'a, B> { #[inline(always)] fn estimate_lowest_possible_depth(&self) -> isize { + #[cfg(target_arch = "x86")] debug_assert!(is_x86_feature_detected!("popcnt")); (self.depth - self.closing_mask.count_ones() as i32) as isize } diff --git a/crates/rsonpath-lib/src/classification/depth/shared/vector_128.rs b/crates/rsonpath-lib/src/classification/depth/shared/vector_128.rs index dec12a16..16373e43 100644 --- a/crates/rsonpath-lib/src/classification/depth/shared/vector_128.rs +++ b/crates/rsonpath-lib/src/classification/depth/shared/vector_128.rs @@ -1,5 +1,7 @@ use crate::classification::structural::BracketType; +#[cfg(target_arch = "wasm32")] +use core::arch::wasm32::*; #[cfg(target_arch = "x86")] use core::arch::x86::*; #[cfg(target_arch = "x86_64")] @@ -9,6 +11,7 @@ pub(crate) struct DelimiterClassifierImpl128 { opening: i8, } +#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] impl DelimiterClassifierImpl128 { pub(crate) fn new(opening: BracketType) -> Self { let opening = match opening { @@ -45,3 +48,40 @@ impl DelimiterClassifierImpl128 { } } } + +#[cfg(target_arch = "wasm32")] +impl DelimiterClassifierImpl128 { + pub(crate) fn new(opening: BracketType) -> Self { + let opening = match opening { + BracketType::Square => b'[', + BracketType::Curly => b'{', + }; + Self { opening: opening as i8 } + } + + #[inline(always)] + unsafe fn opening_mask(&self) -> v128 { + i8x16_splat(self.opening) + } + + #[inline(always)] + unsafe fn closing_mask(&self) -> v128 { + i8x16_splat(self.opening + 2) + } + + #[target_feature(enable = "simd128")] + #[inline] + pub(crate) unsafe fn get_opening_and_closing_masks(&self, bytes: &[u8]) -> (u16, u16) { + assert_eq!(16, bytes.len()); + + let byte_vector = v128_load(bytes.as_ptr() as *const v128); + + let opening_brace_cmp = i8x16_eq(byte_vector, self.opening_mask()); + let closing_brace_cmp = i8x16_eq(byte_vector, self.closing_mask()); + + let opening_mask = i8x16_bitmask(opening_brace_cmp) as u16; + let closing_mask = i8x16_bitmask(closing_brace_cmp) as u16; + + (opening_mask, closing_mask) + } +} diff --git a/crates/rsonpath-lib/src/classification/depth/wasm_32.rs b/crates/rsonpath-lib/src/classification/depth/wasm_32.rs new file mode 100644 index 00000000..48988361 --- /dev/null +++ b/crates/rsonpath-lib/src/classification/depth/wasm_32.rs @@ -0,0 +1,63 @@ +//The errors about mask_32 don't need to be fixed because they go away when the website is compiled +use super::{ + shared::{mask_32::DepthVector32, vector_128::DelimiterClassifierImpl128}, + *, +}; +use crate::{ + classification::{mask::m32, QuoteClassifiedBlock, ResumeClassifierBlockState}, + debug, + input::InputBlock, +}; +use core::marker::PhantomData; + +const SIZE: usize = 32; + +shared::depth_classifier!(WasmVectorIterator32, DelimiterClassifierImpl128, DepthVector32, 32, u32); + +#[inline(always)] +fn new_vector<'a, B: InputBlock<'a, SIZE>>( + bytes: QuoteClassifiedBlock, + classifier: &DelimiterClassifierImpl128, +) -> DepthVector32<'a, B> { + new_vector_from(bytes, classifier, 0) +} + +#[inline(always)] +fn new_vector_from<'a, B: InputBlock<'a, SIZE>>( + bytes: QuoteClassifiedBlock, + classifier: &DelimiterClassifierImpl128, + idx: usize, +) -> DepthVector32<'a, B> { + // SAFETY: target_feature invariant + unsafe { new_wasm(bytes, classifier, idx) } +} + +#[inline(always)] +unsafe fn new_wasm<'a, B: InputBlock<'a, SIZE>>( + bytes: QuoteClassifiedBlock, + classifier: &DelimiterClassifierImpl128, + start_idx: usize, +) -> DepthVector32<'a, B> { + let idx_mask = 0xFFFF_FFFF_u32 << start_idx; + + let (block1, block2) = bytes.block.halves(); + + let (opening_mask1, closing_mask1) = classifier.get_opening_and_closing_masks(block1); + let (opening_mask2, closing_mask2) = classifier.get_opening_and_closing_masks(block2); + + let combined_opening_mask = m32::combine_16(opening_mask1, opening_mask2); + let combined_closing_mask = m32::combine_16(closing_mask1, closing_mask2); + + let opening_mask = combined_opening_mask & (!bytes.within_quotes_mask) & idx_mask; + let closing_mask = combined_closing_mask & (!bytes.within_quotes_mask) & idx_mask; + + DepthVector32 { + quote_classified: bytes, + opening_mask, + closing_mask, + opening_count: opening_mask.count_ones(), + depth: 0, + idx: 0, + phantom: PhantomData, + } +} diff --git a/crates/rsonpath-lib/src/classification/memmem.rs b/crates/rsonpath-lib/src/classification/memmem.rs index 7ffc9980..e3de1b0c 100644 --- a/crates/rsonpath-lib/src/classification/memmem.rs +++ b/crates/rsonpath-lib/src/classification/memmem.rs @@ -37,6 +37,8 @@ pub(crate) mod avx2_64; pub(crate) mod sse2_32; #[cfg(target_arch = "x86_64")] pub(crate) mod sse2_64; +#[cfg(target_arch = "wasm32")] +pub(crate) mod wasm_32; pub(crate) trait MemmemImpl { type Classifier<'i, 'b, 'r, I, R>: Memmem<'i, 'b, 'r, I, BLOCK_SIZE> diff --git a/crates/rsonpath-lib/src/classification/memmem/shared.rs b/crates/rsonpath-lib/src/classification/memmem/shared.rs index adef4b2b..2455e780 100644 --- a/crates/rsonpath-lib/src/classification/memmem/shared.rs +++ b/crates/rsonpath-lib/src/classification/memmem/shared.rs @@ -6,11 +6,11 @@ use crate::{ string_pattern::StringPattern, }; -#[cfg(target_arch = "x86")] +#[cfg(any(target_arch = "x86", target_arch = "wasm32"))] pub(super) mod mask_32; #[cfg(target_arch = "x86_64")] pub(super) mod mask_64; -#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] +#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "wasm32"))] pub(super) mod vector_128; #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] pub(super) mod vector_256; diff --git a/crates/rsonpath-lib/src/classification/memmem/shared/vector_128.rs b/crates/rsonpath-lib/src/classification/memmem/shared/vector_128.rs index e87d4c8a..1b52c58e 100644 --- a/crates/rsonpath-lib/src/classification/memmem/shared/vector_128.rs +++ b/crates/rsonpath-lib/src/classification/memmem/shared/vector_128.rs @@ -1,13 +1,23 @@ +#[cfg(target_arch = "wasm32")] +use ::core::arch::wasm32::*; #[cfg(target_arch = "x86")] use ::core::arch::x86::*; #[cfg(target_arch = "x86_64")] use ::core::arch::x86_64::*; +#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] pub(crate) struct BlockClassifier128 { first: __m128i, second: __m128i, } +#[cfg(target_arch = "wasm32")] +pub(crate) struct BlockClassifier128 { + first: v128, + second: v128, +} + +#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] impl BlockClassifier128 { #[target_feature(enable = "sse2")] pub(crate) unsafe fn new(first: u8, second: u8) -> Self { @@ -31,6 +41,31 @@ impl BlockClassifier128 { } } +#[cfg(target_arch = "wasm32")] +impl BlockClassifier128 { + #[target_feature(enable = "simd128")] + pub(crate) unsafe fn new(first: u8, second: u8) -> Self { + Self { + first: i8x16_splat(first as i8), + second: i8x16_splat(second as i8), + } + } + + #[target_feature(enable = "simd128")] + pub(crate) unsafe fn classify_block(&self, block: &[u8]) -> BlockClassification128 { + debug_assert_eq!(block.len(), 16); + let byte_vector = v128_load(block.as_ptr() as *const v128); + + let first_cmp_vector = i8x16_eq(byte_vector, self.first); + let second_cmp_vector = i8x16_eq(byte_vector, self.second); + + let first = i8x16_bitmask(first_cmp_vector) as u16; + let second = i8x16_bitmask(second_cmp_vector) as u16; + + BlockClassification128 { first, second } + } +} + pub(crate) struct BlockClassification128 { pub(crate) first: u16, pub(crate) second: u16, diff --git a/crates/rsonpath-lib/src/classification/memmem/wasm_32.rs b/crates/rsonpath-lib/src/classification/memmem/wasm_32.rs new file mode 100644 index 00000000..da088397 --- /dev/null +++ b/crates/rsonpath-lib/src/classification/memmem/wasm_32.rs @@ -0,0 +1,183 @@ +use super::{shared::mask_32, shared::vector_128, *}; +use crate::{ + classification::mask::m32, + input::{error::InputErrorConvertible, InputBlock, InputBlockIterator}, +}; + +const SIZE: usize = 32; + +pub(crate) struct Constructor; + +impl MemmemImpl for Constructor { + type Classifier<'i, 'b, 'r, I, R> + = WasmMemmemClassifier32<'i, 'b, 'r, I, R> + where + I: Input + 'i, + ::BlockIterator<'i, 'r, R, BLOCK_SIZE>: 'b, + R: InputRecorder<::Block<'i, BLOCK_SIZE>> + 'r, + 'i: 'r; + + fn memmem<'i, 'b, 'r, I, R>( + input: &'i I, + iter: &'b mut ::BlockIterator<'i, 'r, R, BLOCK_SIZE>, + ) -> Self::Classifier<'i, 'b, 'r, I, R> + where + I: Input, + R: InputRecorder<::Block<'i, BLOCK_SIZE>>, + 'i: 'r, + { + Self::Classifier { input, iter } + } +} + +pub(crate) struct WasmMemmemClassifier32<'i, 'b, 'r, I, R> +where + I: Input, + R: InputRecorder> + 'r, +{ + input: &'i I, + iter: &'b mut I::BlockIterator<'i, 'r, R, SIZE>, +} + +impl<'i, 'b, 'r, I, R> WasmMemmemClassifier32<'i, 'b, 'r, I, R> +where + I: Input, + R: InputRecorder>, + 'i: 'r, +{ + #[inline] + #[allow(dead_code)] + pub(crate) fn new(input: &'i I, iter: &'b mut I::BlockIterator<'i, 'r, R, SIZE>) -> Self { + Self { input, iter } + } + + #[inline(always)] + unsafe fn find_empty( + &mut self, + label: &StringPattern, + mut offset: usize, + ) -> Result)>, InputError> { + // first='"', second='"' + let classifier = vector_128::BlockClassifier128::new(b'"', b'"'); + let mut previous_block: u32 = 0; + + while let Some(block) = self.iter.next().e()? { + let (block1, block2) = block.halves(); + let classified1 = classifier.classify_block(block1); + let classified2 = classifier.classify_block(block2); + + let first_bitmask = m32::combine_16(classified1.first, classified2.first); + let second_bitmask = m32::combine_16(classified1.second, classified2.second); + + let mut result = (previous_block | (first_bitmask << 1)) & second_bitmask; + while result != 0 { + let idx = result.trailing_zeros() as usize; + if self + .input + .is_member_match(offset + idx - 1, offset + idx + 1, label) + .e()? + { + return Ok(Some((offset + idx - 1, block))); + } + result &= !(1 << idx); + } + + offset += SIZE; + previous_block = first_bitmask >> (SIZE - 1); + } + + Ok(None) + } + + #[inline(always)] + unsafe fn find_letter( + &mut self, + label: &StringPattern, + mut offset: usize, + ) -> Result)>, InputError> { + // first=label[0], second='"' + let classifier = vector_128::BlockClassifier128::new(label.unquoted()[0], b'"'); + let mut previous_block: u32 = 0; + + while let Some(block) = self.iter.next().e()? { + let (block1, block2) = block.halves(); + let classified1 = classifier.classify_block(block1); + let classified2 = classifier.classify_block(block2); + + let first_bitmask = m32::combine_16(classified1.first, classified2.first); + let second_bitmask = m32::combine_16(classified1.second, classified2.second); + + if let Some(res) = + mask_32::find_in_mask(self.input, label, previous_block, first_bitmask, second_bitmask, offset)? + { + return Ok(Some((res, block))); + } + + offset += SIZE; + previous_block = first_bitmask >> (SIZE - 1); + } + + Ok(None) + } + + #[inline(always)] + unsafe fn find_label_wasm( + &mut self, + label: &StringPattern, + mut offset: usize, + ) -> Result)>, InputError> { + if label.unquoted().is_empty() { + return self.find_empty(label, offset); + } else if label.unquoted().len() == 1 { + return self.find_letter(label, offset); + } + + // first=label[0], second=label[1] + let classifier = vector_128::BlockClassifier128::new(label.unquoted()[0], label.unquoted()[1]); + let mut previous_block: u32 = 0; + + while let Some(block) = self.iter.next().e()? { + let (block1, block2) = block.halves(); + let classified1 = classifier.classify_block(block1); + let classified2 = classifier.classify_block(block2); + + let first_bitmask = m32::combine_16(classified1.first, classified2.first); + let second_bitmask = m32::combine_16(classified1.second, classified2.second); + + if let Some(res) = + mask_32::find_in_mask(self.input, label, previous_block, first_bitmask, second_bitmask, offset)? + { + return Ok(Some((res, block))); + } + + offset += SIZE; + previous_block = first_bitmask >> (SIZE - 1); + } + + Ok(None) + } +} + +impl<'i, 'b, 'r, I, R> Memmem<'i, 'b, 'r, I, SIZE> for WasmMemmemClassifier32<'i, 'b, 'r, I, R> +where + I: Input, + R: InputRecorder>, + 'i: 'r, +{ + #[inline(always)] + fn find_label( + &mut self, + first_block: Option>, + start_idx: usize, + label: &StringPattern, + ) -> Result)>, InputError> { + if let Some(b) = first_block { + if let Some(res) = shared::find_label_in_first_block(self.input, b, start_idx, label)? { + return Ok(Some(res)); + } + } + let next_block_offset = self.iter.get_offset(); + // SAFETY: wasm SIMD invariant handled in vector_128 with #[target_feature(enable="simd128")]. + unsafe { self.find_label_wasm(label, next_block_offset) } + } +} diff --git a/crates/rsonpath-lib/src/classification/simd.rs b/crates/rsonpath-lib/src/classification/simd.rs index d8f98945..448d3b1c 100644 --- a/crates/rsonpath-lib/src/classification/simd.rs +++ b/crates/rsonpath-lib/src/classification/simd.rs @@ -458,6 +458,8 @@ pub(crate) enum SimdTag { Ssse3, /// AVX2 detected. Avx2, + ///WASM32 detected + Wasm32, } /// Runtime-detected SIMD configuration guiding how to construct a [`Simd`] implementation for the engine. @@ -562,6 +564,12 @@ pub(crate) fn configure() -> SimdConfiguration { let fast_quotes = is_x86_feature_detected!("pclmulqdq"); let fast_popcnt = is_x86_feature_detected!("popcnt"); } + else if #[cfg(target_arch = "wasm32")] + { + let highest_simd = SimdTag::Wasm32; + let fast_quotes = false; + let fast_popcnt = false; + } else { let highest_simd = SimdTag::Nosimd; @@ -585,6 +593,7 @@ impl Display for SimdConfiguration { SimdTag::Sse2 => "sse2", SimdTag::Ssse3 => "ssse3", SimdTag::Avx2 => "avx2", + SimdTag::Wasm32 => "wasm32", }; let quote_desc = if self.fast_quotes { "fast_quotes" } else { "slow_quotes" }; let popcnt_desc = if self.fast_popcnt { "fast_popcnt" } else { "slow_popcnt" }; @@ -659,6 +668,26 @@ cfg_if! { }}; } } + else if #[cfg(target_arch = "wasm32")] { + pub(crate) const WASM32_SIMD128: usize = 1; + + macro_rules! dispatch_simd { + ($simd:expr; $( $arg:expr ),* => fn $( $fn:tt )*) => {{ + #[target_feature(enable = "simd128")] + unsafe fn wasm32_simd $($fn)* + fn nosimd $($fn)* + + let simd = $simd; + + unsafe { + match simd.dispatch_tag() { + $crate::classification::simd::WASM32_SIMD128 => wasm32_simd($($arg),*), + _ => nosimd($($arg),*), + } + } + }}; + } + } else { macro_rules! dispatch_simd { ($simd:expr; $( $arg:expr ),* => fn $( $fn:tt )*) => {{ @@ -792,6 +821,16 @@ cfg_if! { >::new(); $b } + $crate::classification::simd::SimdTag::Wasm32 => { + let $simd = $crate::classification::simd::ResolvedSimd::< + $crate::classification::quotes::nosimd::Constructor, + $crate::classification::structural::nosimd::Constructor, + $crate::classification::depth::nosimd::Constructor, + $crate::classification::memmem::nosimd::Constructor, + {$crate::classification::simd::NOSIMD} + >::new(); + $b + } } } }; @@ -919,6 +958,52 @@ cfg_if! { >::new(); $b } + $crate::classification::simd::SimdTag::Wasm32 => { + let $simd = $crate::classification::simd::ResolvedSimd::< + $crate::classification::quotes::nosimd::Constructor, + $crate::classification::structural::nosimd::Constructor, + $crate::classification::depth::nosimd::Constructor, + $crate::classification::memmem::nosimd::Constructor, + {$crate::classification::simd::NOSIMD} + >::new(); + $b + } + } + } + }; + } + } + else if #[cfg(target_arch = "wasm32")] { + macro_rules! config_simd { + ($conf:expr => |$simd:ident| $b:block) => { + { + let conf = $conf; + + match conf.highest_simd() { + $crate::classification::simd::SimdTag::Wasm32 => { + let $simd = $crate::classification::simd::ResolvedSimd::< + $crate::classification::quotes::nosimd::Constructor, + $crate::classification::structural::nosimd::Constructor, + $crate::classification::depth::wasm_32::Constructor, + $crate::classification::memmem::wasm_32::Constructor, + {$crate::classification::simd::WASM32_SIMD128}, + >::new(); + $b + } + + $crate::classification::simd::SimdTag::Avx2 + | $crate::classification::simd::SimdTag::Ssse3 + | $crate::classification::simd::SimdTag::Sse2 + | $crate::classification::simd::SimdTag::Nosimd => { + let $simd = $crate::classification::simd::ResolvedSimd::< + $crate::classification::quotes::nosimd::Constructor, + $crate::classification::structural::nosimd::Constructor, + $crate::classification::depth::nosimd::Constructor, + $crate::classification::memmem::nosimd::Constructor, + {$crate::classification::simd::NOSIMD}, + >::new(); + $b + } } } }; diff --git a/crates/rsonpath-website/.cargo/config.toml b/crates/rsonpath-website/.cargo/config.toml index 435ed755..2d7e589d 100644 --- a/crates/rsonpath-website/.cargo/config.toml +++ b/crates/rsonpath-website/.cargo/config.toml @@ -1,2 +1,5 @@ [build] -target = "wasm32-unknown-unknown" \ No newline at end of file +target = "wasm32-unknown-unknown" + +[env] +RUSTFLAGS = "--cfg target_feature=\"simd128\"" \ No newline at end of file From d8419225597cd744d2056ed71d0c3ae9645f31cc Mon Sep 17 00:00:00 2001 From: ge96jon Date: Sat, 6 Sep 2025 16:54:09 +0200 Subject: [PATCH 07/16] Implemented repetition button --- crates/rsonpath-website/src/lib.rs | 125 ++++++++++++++++++----------- 1 file changed, 80 insertions(+), 45 deletions(-) diff --git a/crates/rsonpath-website/src/lib.rs b/crates/rsonpath-website/src/lib.rs index 5c63b438..35045618 100644 --- a/crates/rsonpath-website/src/lib.rs +++ b/crates/rsonpath-website/src/lib.rs @@ -20,6 +20,7 @@ pub struct WebsiteGui { argument_verbose: bool, argument_compile: bool, argument_result_arg: ResultArg, + benchmark_repetitions: usize, } impl Default for WebsiteGui { @@ -39,6 +40,7 @@ impl Default for WebsiteGui { argument_verbose: false, argument_compile: false, argument_result_arg: ResultArg::Nodes, + benchmark_repetitions: 1, } } } @@ -154,7 +156,7 @@ impl eframe::App for WebsiteGui { style }); - //Checks for imported files file + //Checks for imported files #[cfg(target_arch = "wasm32")] if let Some(cell) = FILE_INPUT_REF.get() { if let Some(contents) = cell.lock().unwrap().take() { @@ -240,7 +242,7 @@ impl eframe::App for WebsiteGui { let left_side_width = screen_width * 0.5; - let json_box_height = screen_height * 0.65; + let json_box_height = screen_height * 0.620; //Json input window ScrollArea::vertical() @@ -280,13 +282,14 @@ impl eframe::App for WebsiteGui { ui.add_space(10.0); ui.vertical(|ui| { - //Arguments - ui.horizontal(|ui| { - ui.vertical(|ui| { - ui.checkbox(&mut self.argument_compile, "Compile only"); - }); - }); + //Arguments + // ui.horizontal(|ui| { + // + // ui.vertical(|ui| { + // ui.checkbox(&mut self.argument_compile, "Compile only"); + // }); + // }); ui.add_space(10.0); @@ -313,6 +316,16 @@ impl eframe::App for WebsiteGui { }); }); }); + + ui.add_space(10.0); + + //Repeat query x times + ui.add( + egui::DragValue::new(&mut self.benchmark_repetitions) + .speed(1) + .range(1..=10000) + .prefix("Repetitions: ") + ); }); }); @@ -328,46 +341,68 @@ impl eframe::App for WebsiteGui { ) .clicked() { - match run_with_args(&create_args( - self.query_input.clone(), - None, - Option::from(self.json_input.clone()), - self.argument_verbose, - self.argument_compile, - self.argument_result_arg, - None, - )) { - Ok(run_output) => { - - self.json_output = run_output.stdout; - - if let Some(benchmarks) = run_output.benchmark_stats { - self.console_output = format!( - "{}Benchmark Stats:\n\n\t- Parse time: {:?}\n\t- Compile time: {:?}\n\t- Run time: {:?}", - run_output.stderr, - benchmarks.parse_time, - benchmarks.compile_time, - benchmarks.run_time - ); - } else { - self.console_output = run_output.stderr; + let mut total_parse = std::time::Duration::ZERO; + let mut total_compile = std::time::Duration::ZERO; + let mut total_run = std::time::Duration::ZERO; + + let mut last_stdout = String::new(); + let mut last_stderr = String::new(); + + for _ in 0..self.benchmark_repetitions { + match run_with_args(&create_args( + self.query_input.clone(), + None, + Option::from(self.json_input.clone()), + self.argument_verbose, + self.argument_compile, + self.argument_result_arg, + None, + )) { + Ok(run_output) => { + last_stdout = run_output.stdout.clone(); + last_stderr = run_output.stderr.clone(); + + if let Some(benchmarks) = run_output.benchmark_stats { + total_parse += benchmarks.parse_time; + total_compile += benchmarks.compile_time; + total_run += benchmarks.run_time; + } } + Err(e) => { + self.json_output.clear(); - if self.json_output.is_empty() && !self.argument_compile { - self.console_output = String::from("ERROR: No result found. Please make sure all the variable names in your query are correct.") + let report = format!("{:?}", eyre::Report::from(e)); + let stripped_bytes = strip(report.as_bytes()); + let cleaned_report = + String::from_utf8_lossy(&stripped_bytes).into_owned(); + let no_location = strip_location_paragraph(&cleaned_report); + + self.console_output = strip_last_paragraph(&no_location); + return; } - } - Err(e) => { - self.json_output.clear(); - - let report = format!("{:?}", eyre::Report::from(e)); - let stripped_bytes = strip(report.as_bytes()); - let cleaned_report = String::from_utf8_lossy(&stripped_bytes).into_owned(); - let no_location = strip_location_paragraph(&cleaned_report); - - self.console_output = strip_last_paragraph(&no_location); - } - }; + }; + } + + self.json_output = last_stdout; + + if self.json_output.is_empty() && !self.argument_compile { + self.console_output = String::from( + "ERROR: No result found. Please make sure all the variable names in your query are correct." + ); + } else { + self.console_output = format!( + "{}Benchmark Stats{}:\n\n\t- Parse time: {:?}\n\t- Compile time: {:?}\n\t- Run time: {:?}", + last_stderr, + if self.benchmark_repetitions > 1 { + format!(" (averaged over {} runs)", self.benchmark_repetitions) + } else { + "".to_string() + }, + total_parse / self.benchmark_repetitions as u32, + total_compile / self.benchmark_repetitions as u32, + total_run / self.benchmark_repetitions as u32, + ); + } } }); From ed2033216c5965505066a706e219a0a0202f25ca Mon Sep 17 00:00:00 2001 From: ge96jon Date: Mon, 8 Sep 2025 15:50:55 +0200 Subject: [PATCH 08/16] Fixed benchmarking bug --- crates/rsonpath-website/index.html | 3 +-- crates/rsonpath-website/src/lib.rs | 42 ++++++++++++++---------------- 2 files changed, 20 insertions(+), 25 deletions(-) diff --git a/crates/rsonpath-website/index.html b/crates/rsonpath-website/index.html index 7a4a5de5..87efdca4 100644 --- a/crates/rsonpath-website/index.html +++ b/crates/rsonpath-website/index.html @@ -38,13 +38,12 @@ const file = event.dataTransfer.files[0]; if (file && file.name.endsWith(".json")) { - const start = performance.now(); // Start timer before reading file + const start = performance.now(); const text = await file.text(); if (typeof window.handle_dropped_file === "function") { window.handle_dropped_file(text); - // If you want to print elapsed time from JS side: console.log(`File read took ${(performance.now() - start).toFixed(2)} ms`); } else { console.warn("Rust WASM not ready yet — drop ignored."); diff --git a/crates/rsonpath-website/src/lib.rs b/crates/rsonpath-website/src/lib.rs index 35045618..78f5e7e8 100644 --- a/crates/rsonpath-website/src/lib.rs +++ b/crates/rsonpath-website/src/lib.rs @@ -17,10 +17,9 @@ pub struct WebsiteGui { is_dragging_file: bool, toggle_dark_mode_on: bool, toggle_console_on: bool, - argument_verbose: bool, - argument_compile: bool, argument_result_arg: ResultArg, benchmark_repetitions: usize, + warmup: bool, } impl Default for WebsiteGui { @@ -37,10 +36,9 @@ impl Default for WebsiteGui { is_dragging_file: false, toggle_dark_mode_on: true, toggle_console_on: true, - argument_verbose: false, - argument_compile: false, argument_result_arg: ResultArg::Nodes, benchmark_repetitions: 1, + warmup: true, } } } @@ -156,14 +154,6 @@ impl eframe::App for WebsiteGui { style }); - //Checks for imported files - #[cfg(target_arch = "wasm32")] - if let Some(cell) = FILE_INPUT_REF.get() { - if let Some(contents) = cell.lock().unwrap().take() { - self.json_input = contents; - } - } - //Checks for drag & dropped files #[cfg(target_arch = "wasm32")] if let Some(cell) = JSON_INPUT_REF.get() { @@ -283,14 +273,6 @@ impl eframe::App for WebsiteGui { ui.vertical(|ui| { - //Arguments - // ui.horizontal(|ui| { - // - // ui.vertical(|ui| { - // ui.checkbox(&mut self.argument_compile, "Compile only"); - // }); - // }); - ui.add_space(10.0); ui.horizontal(|ui| { @@ -349,12 +331,26 @@ impl eframe::App for WebsiteGui { let mut last_stderr = String::new(); for _ in 0..self.benchmark_repetitions { + + if self.warmup { + let _ = run_with_args(&create_args( + self.query_input.clone(), + None, + Some(self.json_input.clone()), + false, + false, + self.argument_result_arg, + None, + )); + self.warmup = false; + } + match run_with_args(&create_args( self.query_input.clone(), None, Option::from(self.json_input.clone()), - self.argument_verbose, - self.argument_compile, + false, + false, self.argument_result_arg, None, )) { @@ -385,7 +381,7 @@ impl eframe::App for WebsiteGui { self.json_output = last_stdout; - if self.json_output.is_empty() && !self.argument_compile { + if self.json_output.is_empty() { self.console_output = String::from( "ERROR: No result found. Please make sure all the variable names in your query are correct." ); From 3eb4c0fb40a4fb6f8dbaa8888788a68f39aba67c Mon Sep 17 00:00:00 2001 From: ge96jon Date: Sun, 14 Sep 2025 16:57:20 +0200 Subject: [PATCH 09/16] Fixed freezing for very large files --- crates/rsonpath-website/.cargo/config.toml | 2 +- crates/rsonpath-website/Cargo.toml | 3 +++ crates/rsonpath-website/src/lib.rs | 19 +++++++++++++++---- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/crates/rsonpath-website/.cargo/config.toml b/crates/rsonpath-website/.cargo/config.toml index 2d7e589d..837fe3fe 100644 --- a/crates/rsonpath-website/.cargo/config.toml +++ b/crates/rsonpath-website/.cargo/config.toml @@ -2,4 +2,4 @@ target = "wasm32-unknown-unknown" [env] -RUSTFLAGS = "--cfg target_feature=\"simd128\"" \ No newline at end of file +RUSTFLAGS = "-C target-feature=+simd128" \ No newline at end of file diff --git a/crates/rsonpath-website/Cargo.toml b/crates/rsonpath-website/Cargo.toml index bb0121d5..a38c9880 100644 --- a/crates/rsonpath-website/Cargo.toml +++ b/crates/rsonpath-website/Cargo.toml @@ -54,3 +54,6 @@ rfd = "0.15.3" [lib] path = "src/lib.rs" crate-type = ["cdylib", "rlib"] + +[profile.release] +incremental = true diff --git a/crates/rsonpath-website/src/lib.rs b/crates/rsonpath-website/src/lib.rs index 78f5e7e8..ef283051 100644 --- a/crates/rsonpath-website/src/lib.rs +++ b/crates/rsonpath-website/src/lib.rs @@ -239,10 +239,21 @@ impl eframe::App for WebsiteGui { .id_salt("Json input window") .max_height(json_box_height) .show(ui, |ui| { - ui.add_sized( - [left_side_width, json_box_height], - TextEdit::multiline(&mut self.json_input).hint_text(hint_text), - ); + + //Truncates the input to the first 10,000 characters if imported file is > 10MB + if self.json_input.len() > 10_000_000 { + let preview: String = self.json_input.chars().take(10_000).collect(); + ui.add_sized( + [left_side_width, json_box_height], + TextEdit::multiline(&mut preview.clone()).hint_text(hint_text).interactive(false), + ); + } + else { + ui.add_sized( + [left_side_width, json_box_height], + TextEdit::multiline(&mut self.json_input).hint_text(hint_text) + ); + } }); ui.add_space(15.0); From 78c006db2cae287944c5b6bcbcd33b26bc4dc5d2 Mon Sep 17 00:00:00 2001 From: ge96jon Date: Mon, 15 Sep 2025 15:01:32 +0200 Subject: [PATCH 10/16] Fixed issue of native benchmarks not compiling --- .../rsonpath-lib/src/engine/tail_skipping.rsy | 147 ++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 crates/rsonpath-lib/src/engine/tail_skipping.rsy diff --git a/crates/rsonpath-lib/src/engine/tail_skipping.rsy b/crates/rsonpath-lib/src/engine/tail_skipping.rsy new file mode 100644 index 00000000..a539819c --- /dev/null +++ b/crates/rsonpath-lib/src/engine/tail_skipping.rsy @@ -0,0 +1,147 @@ +#![allow(clippy::expect_used)] // Enforcing the classifier invariant is clunky without this. +use crate::{ + classification::{ + depth::{DepthBlock, DepthIterator, DepthIteratorResumeOutcome}, + quotes::QuoteClassifiedIterator, + simd::{dispatch_simd, Simd}, + structural::{BracketType, StructuralIterator}, + ResumeClassifierState, + }, + debug, + engine::error::EngineError, + input::InputBlockIterator, + FallibleIterator, MaskType, BLOCK_SIZE, +}; +use std::marker::PhantomData; + +pub(crate) struct TailSkip<'i, I, Q, S, V, const N: usize> { + classifier: Option, + simd: V, + _phantom: (PhantomData<&'i ()>, PhantomData<(I, Q)>), +} + +impl<'i, I, V> TailSkip<'i, I, V::QuotesClassifier<'i, I>, V::StructuralClassifier<'i, I>, V, BLOCK_SIZE> +where + I: InputBlockIterator<'i, BLOCK_SIZE>, + V: Simd, +{ + pub(crate) fn new(classifier: V::StructuralClassifier<'i, I>, simd: V) -> Self { + Self { + classifier: Some(classifier), + simd, + _phantom: (PhantomData, PhantomData), + } + } + + pub(crate) fn skip(&mut self, opening: BracketType) -> Result { + dispatch_simd!(self.simd; self, opening => + fn <'i, I, V>( + tail_skip: &mut TailSkip<'i, I, V::QuotesClassifier<'i, I>, V::StructuralClassifier<'i, I>, V, BLOCK_SIZE>, + opening: BracketType) -> Result + where + I: InputBlockIterator<'i, BLOCK_SIZE>, + V: Simd + { + debug!("Skipping"); + let mut idx = 0; + let mut err = None; + + let classifier = tail_skip.classifier.take().expect("tail skip must always hold a classifier"); + + tail_skip.classifier = Some('a: { + let resume_state = classifier.stop(); + let DepthIteratorResumeOutcome(first_vector, mut depth_classifier) = + tail_skip.simd.resume_depth_classification(resume_state, opening); + + let mut current_vector = match first_vector { + Some(v) => Some(v), + None => match depth_classifier.next() { + Ok(v) => v, + Err(e) => { + err = Some(e); + let resume_state = depth_classifier.stop(None); + break 'a tail_skip.simd.resume_structural_classification(resume_state); + } + }, + }; + let mut current_depth = 1; + + 'outer: while let Some(ref mut vector) = current_vector { + vector.add_depth(current_depth); + + debug!("Fetched vector, current depth is {current_depth}"); + debug!("Estimate: {}", vector.estimate_lowest_possible_depth()); + + if vector.estimate_lowest_possible_depth() <= 0 { + while vector.advance_to_next_depth_decrease() { + if vector.get_depth() == 0 { + debug!("Encountered depth 0, breaking."); + break 'outer; + } + } + } + + current_depth = vector.depth_at_end(); + current_vector = match depth_classifier.next() { + Ok(v) => v, + Err(e) => { + err = Some(e); + let resume_state = depth_classifier.stop(None); + break 'a tail_skip.simd.resume_structural_classification(resume_state); + } + }; + } + + debug!("Skipping complete, resuming structural classification."); + let resume_state = depth_classifier.stop(current_vector); + debug!("Finished at {}", resume_state.get_idx()); + idx = resume_state.get_idx(); + if idx == 0 { + panic!("dupa"); + } + idx -= 1; + tail_skip.simd.resume_structural_classification(resume_state) + }); + + if let Some(err) = err { + Err(err.into()) + } else { + Ok(idx) + } + }) + } + + pub(crate) fn stop(self) -> ResumeClassifierState<'i, I, V::QuotesClassifier<'i, I>, MaskType, BLOCK_SIZE> { + self.classifier.expect("tail skip must always hold a classifier").stop() + } +} + +impl<'i, I, Q, S, V, const N: usize> std::ops::Deref for TailSkip<'i, I, Q, S, V, N> +where + I: InputBlockIterator<'i, N>, + Q: QuoteClassifiedIterator<'i, I, MaskType, N>, + S: StructuralIterator<'i, I, Q, MaskType, N>, + V: Simd, +{ + type Target = S; + + fn deref(&self) -> &Self::Target { + self.classifier + .as_ref() + .expect("tail skip must always hold a classifier") + } +} + +impl<'i, I, Q, S, V, const N: usize> std::ops::DerefMut for TailSkip<'i, I, Q, S, V, N> +where + I: InputBlockIterator<'i, N>, + Q: QuoteClassifiedIterator<'i, I, MaskType, N>, + S: StructuralIterator<'i, I, Q, MaskType, N>, + V: Simd, +{ + fn deref_mut(&mut self) -> &mut Self::Target { + self.classifier + .as_mut() + .expect("tail skip must always hold a classifier") + } +} From f24ab134841984560068fc86297e42729911839f Mon Sep 17 00:00:00 2001 From: Mateusz Gienieczko Date: Mon, 24 Nov 2025 17:21:54 +0100 Subject: [PATCH 11/16] chore: move from crates to web --- .cargo/config.toml | 11 - Cargo.toml | 2 +- crates/rsonpath-website/Trunk.toml | 5 - .../rsonpath-website/.cargo/config.toml | 0 web/rsonpath-website/.gitignore | 3 + web/rsonpath-website/Cargo.lock | 5184 +++++++++++++++++ {crates => web}/rsonpath-website/Cargo.toml | 3 +- web/rsonpath-website/Trunk.toml | 2 + .../assets/rsonquery-rq-logo.svg | 82 + {crates => web}/rsonpath-website/index.html | 0 web/rsonpath-website/rust-toolchain.toml | 3 + {crates => web}/rsonpath-website/src/lib.rs | 26 +- {crates => web}/rsonpath-website/src/main.rs | 0 .../rsonpath-website/src/package.json | 0 14 files changed, 5293 insertions(+), 28 deletions(-) delete mode 100644 crates/rsonpath-website/Trunk.toml rename {crates => web}/rsonpath-website/.cargo/config.toml (100%) create mode 100644 web/rsonpath-website/.gitignore create mode 100644 web/rsonpath-website/Cargo.lock rename {crates => web}/rsonpath-website/Cargo.toml (90%) create mode 100644 web/rsonpath-website/Trunk.toml create mode 100644 web/rsonpath-website/assets/rsonquery-rq-logo.svg rename {crates => web}/rsonpath-website/index.html (100%) create mode 100644 web/rsonpath-website/rust-toolchain.toml rename {crates => web}/rsonpath-website/src/lib.rs (97%) rename {crates => web}/rsonpath-website/src/main.rs (100%) rename {crates => web}/rsonpath-website/src/package.json (100%) diff --git a/.cargo/config.toml b/.cargo/config.toml index 7415ec50..09b4be71 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,14 +1,3 @@ -#[build] -#target = "wasm32-unknown-unknown" -# -#[target.wasm32-unknown-unknown] -#linker = "rust-lld" -#rustflags = ["-C", "link-arg=--export-table"] - -#[build] -#rustflags = ["-C", "link-arg=-fuse-ld=lld"] - - [alias] rsontest = "hack test -q --feature-powerset --skip default -F arbitrary -F serde --ignore-unknown-features" build-website = "build -p rsonpath-website --target wasm32-unknown-unknown" diff --git a/Cargo.toml b/Cargo.toml index 33b68154..2e221d0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ "crates/rsonpath-syntax-proptest", ] -exclude = ["crates/rsonpath-benchmarks", "crates/rsonpath-test-codegen", "crates/rsonpath-website"] +exclude = ["crates/rsonpath-benchmarks", "crates/rsonpath-test-codegen", "web/rsonpath-website"] resolver = "2" diff --git a/crates/rsonpath-website/Trunk.toml b/crates/rsonpath-website/Trunk.toml deleted file mode 100644 index 57156014..00000000 --- a/crates/rsonpath-website/Trunk.toml +++ /dev/null @@ -1,5 +0,0 @@ -[build] -target = "index.html" - -#[watch] -#ignore = ["target/"] \ No newline at end of file diff --git a/crates/rsonpath-website/.cargo/config.toml b/web/rsonpath-website/.cargo/config.toml similarity index 100% rename from crates/rsonpath-website/.cargo/config.toml rename to web/rsonpath-website/.cargo/config.toml diff --git a/web/rsonpath-website/.gitignore b/web/rsonpath-website/.gitignore new file mode 100644 index 00000000..db57ccf1 --- /dev/null +++ b/web/rsonpath-website/.gitignore @@ -0,0 +1,3 @@ +/target +/.vscode/*.log +/dist \ No newline at end of file diff --git a/web/rsonpath-website/Cargo.lock b/web/rsonpath-website/Cargo.lock new file mode 100644 index 00000000..f8ab6167 --- /dev/null +++ b/web/rsonpath-website/Cargo.lock @@ -0,0 +1,5184 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "ab_glyph" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01c0457472c38ea5bd1c3b5ada5e368271cb550be7a4ca4a0b4634e9913f6cc2" +dependencies = [ + "ab_glyph_rasterizer", + "owned_ttf_parser", +] + +[[package]] +name = "ab_glyph_rasterizer" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618" + +[[package]] +name = "accesskit" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e25ae84c0260bdf5df07796d7cc4882460de26a2b406ec0e6c42461a723b271b" +dependencies = [ + "enumn", + "serde", +] + +[[package]] +name = "accesskit_atspi_common" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29bd41de2e54451a8ca0dd95ebf45b54d349d29ebceb7f20be264eee14e3d477" +dependencies = [ + "accesskit", + "accesskit_consumer", + "atspi-common", + "serde", + "thiserror 1.0.69", + "zvariant", +] + +[[package]] +name = "accesskit_consumer" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bfae7c152994a31dc7d99b8eeac7784a919f71d1b306f4b83217e110fd3824c" +dependencies = [ + "accesskit", + "hashbrown 0.15.5", +] + +[[package]] +name = "accesskit_macos" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "692dd318ff8a7a0ffda67271c4bd10cf32249656f4e49390db0b26ca92b095f2" +dependencies = [ + "accesskit", + "accesskit_consumer", + "hashbrown 0.15.5", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "accesskit_unix" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5f7474c36606d0fe4f438291d667bae7042ea2760f506650ad2366926358fc8" +dependencies = [ + "accesskit", + "accesskit_atspi_common", + "async-channel", + "async-executor", + "async-task", + "atspi", + "futures-lite", + "futures-util", + "serde", + "zbus", +] + +[[package]] +name = "accesskit_windows" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70a042b62c9c05bf7b616f015515c17d2813f3ba89978d6f4fc369735d60700a" +dependencies = [ + "accesskit", + "accesskit_consumer", + "hashbrown 0.15.5", + "static_assertions", + "windows", + "windows-core", +] + +[[package]] +name = "accesskit_winit" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c1f0d3d13113d8857542a4f8d1a1c24d1dc1527b77aee8426127f4901588708" +dependencies = [ + "accesskit", + "accesskit_macos", + "accesskit_unix", + "accesskit_windows", + "raw-window-handle", + "winit", +] + +[[package]] +name = "addr2line" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + +[[package]] +name = "ahash" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" +dependencies = [ + "cfg-if", + "getrandom 0.3.4", + "once_cell", + "serde", + "version_check", + "zerocopy", +] + +[[package]] +name = "aho-corasick" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" +dependencies = [ + "memchr", +] + +[[package]] +name = "android-activity" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef6978589202a00cd7e118380c448a08b6ed394c3a8df3a430d0898e3a42d046" +dependencies = [ + "android-properties", + "bitflags 2.10.0", + "cc", + "cesu8", + "jni", + "jni-sys", + "libc", + "log", + "ndk", + "ndk-context", + "ndk-sys", + "num_enum", + "thiserror 1.0.69", +] + +[[package]] +name = "android-properties" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04" + +[[package]] +name = "anstream" +version = "0.6.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" + +[[package]] +name = "anstyle-parse" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" +dependencies = [ + "anstyle", + "once_cell_polyfill", + "windows-sys 0.61.2", +] + +[[package]] +name = "anyhow" +version = "1.0.100" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" + +[[package]] +name = "arboard" +version = "3.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0348a1c054491f4bfe6ab86a7b6ab1e44e45d899005de92f58b3df180b36ddaf" +dependencies = [ + "clipboard-win", + "image", + "log", + "objc2 0.6.3", + "objc2-app-kit 0.3.2", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation 0.3.2", + "parking_lot", + "percent-encoding", + "windows-sys 0.60.2", + "x11rb", +] + +[[package]] +name = "arrayref" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" + +[[package]] +name = "arrayvec" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" + +[[package]] +name = "as-raw-xcb-connection" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "175571dd1d178ced59193a6fc02dde1b972eb0bc56c892cde9beeceac5bf0f6b" + +[[package]] +name = "ashpd" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6cbdf310d77fd3aaee6ea2093db7011dc2d35d2eb3481e5607f1f8d942ed99df" +dependencies = [ + "async-fs", + "async-net", + "enumflags2", + "futures-channel", + "futures-util", + "rand 0.9.2", + "raw-window-handle", + "serde", + "serde_repr", + "url", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "zbus", +] + +[[package]] +name = "async-broadcast" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532" +dependencies = [ + "event-listener", + "event-listener-strategy", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-channel" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" +dependencies = [ + "concurrent-queue", + "event-listener-strategy", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-executor" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "497c00e0fd83a72a79a39fcbd8e3e2f055d6f6c7e025f3b3d91f4f8e76527fb8" +dependencies = [ + "async-task", + "concurrent-queue", + "fastrand", + "futures-lite", + "pin-project-lite", + "slab", +] + +[[package]] +name = "async-fs" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8034a681df4aed8b8edbd7fbe472401ecf009251c8b40556b304567052e294c5" +dependencies = [ + "async-lock", + "blocking", + "futures-lite", +] + +[[package]] +name = "async-io" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" +dependencies = [ + "autocfg", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite", + "parking", + "polling", + "rustix 1.1.2", + "slab", + "windows-sys 0.61.2", +] + +[[package]] +name = "async-lock" +version = "3.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fd03604047cee9b6ce9de9f70c6cd540a0520c813cbd49bae61f33ab80ed1dc" +dependencies = [ + "event-listener", + "event-listener-strategy", + "pin-project-lite", +] + +[[package]] +name = "async-net" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b948000fad4873c1c9339d60f2623323a0cfd3816e5181033c6a5cb68b2accf7" +dependencies = [ + "async-io", + "blocking", + "futures-lite", +] + +[[package]] +name = "async-process" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75" +dependencies = [ + "async-channel", + "async-io", + "async-lock", + "async-signal", + "async-task", + "blocking", + "cfg-if", + "event-listener", + "futures-lite", + "rustix 1.1.2", +] + +[[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", +] + +[[package]] +name = "async-signal" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43c070bbf59cd3570b6b2dd54cd772527c7c3620fce8be898406dd3ed6adc64c" +dependencies = [ + "async-io", + "async-lock", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix 1.1.2", + "signal-hook-registry", + "slab", + "windows-sys 0.61.2", +] + +[[package]] +name = "async-task" +version = "4.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" + +[[package]] +name = "async-trait" +version = "0.1.89" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "atspi" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c83247582e7508838caf5f316c00791eee0e15c0bf743e6880585b867e16815c" +dependencies = [ + "atspi-common", + "atspi-connection", + "atspi-proxies", +] + +[[package]] +name = "atspi-common" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33dfc05e7cdf90988a197803bf24f5788f94f7c94a69efa95683e8ffe76cfdfb" +dependencies = [ + "enumflags2", + "serde", + "static_assertions", + "zbus", + "zbus-lockstep", + "zbus-lockstep-macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "atspi-connection" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4193d51303d8332304056ae0004714256b46b6635a5c556109b319c0d3784938" +dependencies = [ + "atspi-common", + "atspi-proxies", + "futures-lite", + "zbus", +] + +[[package]] +name = "atspi-proxies" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2eebcb9e7e76f26d0bcfd6f0295e1cd1e6f33bedbc5698a971db8dc43d7751c" +dependencies = [ + "atspi-common", + "serde", + "zbus", +] + +[[package]] +name = "autocfg" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" + +[[package]] +name = "backtrace" +version = "0.3.76" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" +dependencies = [ + "addr2line", + "cfg-if", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", + "windows-link 0.2.1", +] + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[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.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" +dependencies = [ + "serde_core", +] + +[[package]] +name = "block2" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f" +dependencies = [ + "objc2 0.5.2", +] + +[[package]] +name = "block2" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2 0.6.3", +] + +[[package]] +name = "blocking" +version = "1.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e83f8d02be6967315521be875afa792a316e28d57b5a2d401897e2a7921b7f21" +dependencies = [ + "async-channel", + "async-task", + "futures-io", + "futures-lite", + "piper", +] + +[[package]] +name = "bumpalo" +version = "3.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" + +[[package]] +name = "bytemuck" +version = "1.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4" +dependencies = [ + "bytemuck_derive", +] + +[[package]] +name = "bytemuck_derive" +version = "1.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9abbd1bc6865053c427f7198e6af43bfdedc55ab791faed4fbd361d789575ff" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "byteorder-lite" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" + +[[package]] +name = "bytes" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" + +[[package]] +name = "calloop" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b99da2f8558ca23c71f4fd15dc57c906239752dd27ff3c00a1d56b685b7cbfec" +dependencies = [ + "bitflags 2.10.0", + "log", + "polling", + "rustix 0.38.44", + "slab", + "thiserror 1.0.69", +] + +[[package]] +name = "calloop" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb9f6e1368bd4621d2c86baa7e37de77a938adf5221e5dd3d6133340101b309e" +dependencies = [ + "bitflags 2.10.0", + "polling", + "rustix 1.1.2", + "slab", + "tracing", +] + +[[package]] +name = "calloop-wayland-source" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95a66a987056935f7efce4ab5668920b5d0dac4a7c99991a67395f13702ddd20" +dependencies = [ + "calloop 0.13.0", + "rustix 0.38.44", + "wayland-backend", + "wayland-client", +] + +[[package]] +name = "calloop-wayland-source" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138efcf0940a02ebf0cc8d1eff41a1682a46b431630f4c52450d6265876021fa" +dependencies = [ + "calloop 0.14.3", + "rustix 1.1.2", + "wayland-backend", + "wayland-client", +] + +[[package]] +name = "camino" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609" +dependencies = [ + "serde_core", +] + +[[package]] +name = "cargo-platform" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo_metadata" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" +dependencies = [ + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror 2.0.17", +] + +[[package]] +name = "cc" +version = "1.2.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd405d82c84ff7f35739f175f67d8b9fb7687a0e84ccdc78bd3568839827cf07" +dependencies = [ + "find-msvc-tools", + "jobserver", + "libc", + "shlex", +] + +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + +[[package]] +name = "cfg-if" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" + +[[package]] +name = "cfg_aliases" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" + +[[package]] +name = "cgl" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ced0551234e87afee12411d535648dd89d2e7f34c78b753395567aff3d447ff" +dependencies = [ + "libc", +] + +[[package]] +name = "clap" +version = "4.5.53" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.5.53" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", + "terminal_size", +] + +[[package]] +name = "clap_derive" +version = "4.5.49" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "clap_lex" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" + +[[package]] +name = "clipboard-win" +version = "5.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bde03770d3df201d4fb868f2c9c59e66a3e4e2bd06692a0fe701e7103c7e84d4" +dependencies = [ + "error-code", +] + +[[package]] +name = "codespan-reporting" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81" +dependencies = [ + "serde", + "termcolor", + "unicode-width", +] + +[[package]] +name = "color-eyre" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5920befb47832a6d61ee3a3a846565cfa39b331331e68a3b1d1116630f2f26d" +dependencies = [ + "backtrace", + "eyre", + "indenter", + "once_cell", + "owo-colors", +] + +[[package]] +name = "color_quant" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" + +[[package]] +name = "colorchoice" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" + +[[package]] +name = "colored" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e" +dependencies = [ + "windows-sys 0.59.0", +] + +[[package]] +name = "combine" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "concurrent-queue" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "console_error_panic_hook" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" +dependencies = [ + "cfg-if", + "wasm-bindgen", +] + +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "core-graphics" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081" +dependencies = [ + "bitflags 1.3.2", + "core-foundation 0.9.4", + "core-graphics-types", + "foreign-types", + "libc", +] + +[[package]] +name = "core-graphics-types" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf" +dependencies = [ + "bitflags 1.3.2", + "core-foundation 0.9.4", + "libc", +] + +[[package]] +name = "crc32fast" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" + +[[package]] +name = "crunchy" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" + +[[package]] +name = "cursor-icon" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f27ae1dd37df86211c42e150270f82743308803d90a6f6e6651cd730d5e1732f" + +[[package]] +name = "darling" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn", +] + +[[package]] +name = "darling_macro" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" +dependencies = [ + "darling_core", + "quote", + "syn", +] + +[[package]] +name = "data-url" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be1e0bca6c3637f992fc1cc7cbc52a78c1ef6db076dbf1059c4323d6a2048376" + +[[package]] +name = "deranged" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" +dependencies = [ + "powerfmt", +] + +[[package]] +name = "derive_builder" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "507dfb09ea8b7fa618fcf76e953f4f5e192547945816d5358edffe39f6f94947" +dependencies = [ + "derive_builder_macro", +] + +[[package]] +name = "derive_builder_core" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "derive_builder_macro" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" +dependencies = [ + "derive_builder_core", + "syn", +] + +[[package]] +name = "dispatch" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" + +[[package]] +name = "dispatch2" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89a09f22a6c6069a18470eb92d2298acf25463f14256d24778e1230d789a2aec" +dependencies = [ + "bitflags 2.10.0", + "block2 0.6.2", + "libc", + "objc2 0.6.3", +] + +[[package]] +name = "displaydoc" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "dlib" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412" +dependencies = [ + "libloading", +] + +[[package]] +name = "document-features" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" +dependencies = [ + "litrs", +] + +[[package]] +name = "downcast-rs" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" + +[[package]] +name = "dpi" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" + +[[package]] +name = "ecolor" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94bdf37f8d5bd9aa7f753573fdda9cf7343afa73dd28d7bfe9593bd9798fc07e" +dependencies = [ + "bytemuck", + "emath", + "serde", +] + +[[package]] +name = "eframe" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14d1c15e7bd136b309bd3487e6ffe5f668b354cd9768636a836dd738ac90eb0b" +dependencies = [ + "ahash", + "bytemuck", + "document-features", + "egui", + "egui-wgpu", + "egui-winit", + "egui_glow", + "glow", + "glutin", + "glutin-winit", + "home", + "image", + "js-sys", + "log", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", + "parking_lot", + "percent-encoding", + "profiling", + "raw-window-handle", + "ron", + "serde", + "static_assertions", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "web-time", + "winapi", + "windows-sys 0.59.0", + "winit", +] + +[[package]] +name = "egui" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d5d0306cd61ca75e29682926d71f2390160247f135965242e904a636f51c0dc" +dependencies = [ + "accesskit", + "ahash", + "bitflags 2.10.0", + "emath", + "epaint", + "log", + "nohash-hasher", + "profiling", + "ron", + "serde", + "smallvec", + "unicode-segmentation", +] + +[[package]] +name = "egui-wgpu" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c12eca13293f8eba27a32aaaa1c765bfbf31acd43e8d30d5881dcbe5e99ca0c7" +dependencies = [ + "ahash", + "bytemuck", + "document-features", + "egui", + "epaint", + "log", + "profiling", + "thiserror 1.0.69", + "type-map", + "web-time", + "wgpu", + "winit", +] + +[[package]] +name = "egui-winit" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f95d0a91f9cb0dc2e732d49c2d521ac8948e1f0b758f306fb7b14d6f5db3927f" +dependencies = [ + "accesskit_winit", + "ahash", + "arboard", + "bytemuck", + "egui", + "log", + "profiling", + "raw-window-handle", + "serde", + "smithay-clipboard", + "web-time", + "webbrowser", + "winit", +] + +[[package]] +name = "egui_extras" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dddbceddf39805fc6c62b1f7f9c05e23590b40844dc9ed89c6dc6dbc886e3e3b" +dependencies = [ + "ahash", + "egui", + "ehttp", + "enum-map", + "image", + "log", + "mime_guess2", + "profiling", + "resvg", +] + +[[package]] +name = "egui_glow" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc7037813341727937f9e22f78d912f3e29bc3c46e2f40a9e82bb51cbf5e4cfb" +dependencies = [ + "ahash", + "bytemuck", + "egui", + "glow", + "log", + "memoffset", + "profiling", + "wasm-bindgen", + "web-sys", + "winit", +] + +[[package]] +name = "ehttp" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59a81c221a1e4dad06cb9c9deb19aea1193a5eea084e8cd42d869068132bf876" +dependencies = [ + "document-features", + "js-sys", + "ureq", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "emath" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45fd7bc25f769a3c198fe1cf183124bf4de3bd62ef7b4f1eaf6b08711a3af8db" +dependencies = [ + "bytemuck", + "serde", +] + +[[package]] +name = "endi" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3d8a32ae18130a3c84dd492d4215c3d913c3b07c6b63c2eb3eb7ff1101ab7bf" + +[[package]] +name = "enum-map" +version = "2.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6866f3bfdf8207509a033af1a75a7b08abda06bbaaeae6669323fd5a097df2e9" +dependencies = [ + "enum-map-derive", +] + +[[package]] +name = "enum-map-derive" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f282cfdfe92516eb26c2af8589c274c7c17681f5ecc03c18255fe741c6aa64eb" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[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", +] + +[[package]] +name = "enumn" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "epaint" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63adcea970b7a13094fe97a36ab9307c35a750f9e24bf00bb7ef3de573e0fddb" +dependencies = [ + "ab_glyph", + "ahash", + "bytemuck", + "ecolor", + "emath", + "epaint_default_fonts", + "log", + "nohash-hasher", + "parking_lot", + "profiling", + "serde", +] + +[[package]] +name = "epaint_default_fonts" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1537accc50c9cab5a272c39300bdd0dd5dca210f6e5e8d70be048df9596e7ca2" + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "error-code" +version = "3.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dea2df4cf52843e0452895c455a1a2cfbb842a1e7329671acf418fdc53ed4c59" + +[[package]] +name = "euclid" +version = "0.22.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad9cdb4b747e485a12abb0e6566612956c7a1bafa3bdb8d682c5b6d403589e48" +dependencies = [ + "num-traits", +] + +[[package]] +name = "event-listener" +version = "5.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" +dependencies = [ + "event-listener", + "pin-project-lite", +] + +[[package]] +name = "eyre" +version = "0.6.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec" +dependencies = [ + "indenter", + "once_cell", +] + +[[package]] +name = "fastrand" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" + +[[package]] +name = "fax" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f05de7d48f37cd6730705cbca900770cab77a89f413d23e100ad7fad7795a0ab" +dependencies = [ + "fax_derive", +] + +[[package]] +name = "fax_derive" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0aca10fb742cb43f9e7bb8467c91aa9bcb8e3ffbc6a6f7389bb93ffc920577d" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "fdeflate" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c" +dependencies = [ + "simd-adler32", +] + +[[package]] +name = "find-msvc-tools" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" + +[[package]] +name = "flate2" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + +[[package]] +name = "float-cmp" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + +[[package]] +name = "foreign-types" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" +dependencies = [ + "foreign-types-macros", + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-macros" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[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-channel" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" +dependencies = [ + "futures-core", +] + +[[package]] +name = "futures-core" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" + +[[package]] +name = "futures-io" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" + +[[package]] +name = "futures-lite" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "futures-task" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" + +[[package]] +name = "futures-util" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" +dependencies = [ + "futures-core", + "futures-io", + "futures-macro", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", +] + +[[package]] +name = "gethostname" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8" +dependencies = [ + "rustix 1.1.2", + "windows-link 0.2.1", +] + +[[package]] +name = "getrandom" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" +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", + "wasip2", +] + +[[package]] +name = "gif" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f954a9e9159ec994f73a30a12b96a702dde78f5547bcb561174597924f7d4162" +dependencies = [ + "color_quant", + "weezl", +] + +[[package]] +name = "gimli" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" + +[[package]] +name = "git2" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2deb07a133b1520dc1a5690e9bd08950108873d7ed5de38dcc74d3b5ebffa110" +dependencies = [ + "bitflags 2.10.0", + "libc", + "libgit2-sys", + "log", + "url", +] + +[[package]] +name = "gl_generator" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" +dependencies = [ + "khronos_api", + "log", + "xml-rs", +] + +[[package]] +name = "gloo-timers" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "glow" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5e5ea60d70410161c8bf5da3fdfeaa1c72ed2c15f8bbb9d19fe3a4fad085f08" +dependencies = [ + "js-sys", + "slotmap", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "glutin" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12124de845cacfebedff80e877bb37b5b75c34c5a4c89e47e1cdd67fb6041325" +dependencies = [ + "bitflags 2.10.0", + "cfg_aliases", + "cgl", + "dispatch2", + "glutin_egl_sys", + "glutin_glx_sys", + "glutin_wgl_sys", + "libloading", + "objc2 0.6.3", + "objc2-app-kit 0.3.2", + "objc2-core-foundation", + "objc2-foundation 0.3.2", + "once_cell", + "raw-window-handle", + "wayland-sys", + "windows-sys 0.52.0", + "x11-dl", +] + +[[package]] +name = "glutin-winit" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85edca7075f8fc728f28cb8fbb111a96c3b89e930574369e3e9c27eb75d3788f" +dependencies = [ + "cfg_aliases", + "glutin", + "raw-window-handle", + "winit", +] + +[[package]] +name = "glutin_egl_sys" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c4680ba6195f424febdc3ba46e7a42a0e58743f2edb115297b86d7f8ecc02d2" +dependencies = [ + "gl_generator", + "windows-sys 0.52.0", +] + +[[package]] +name = "glutin_glx_sys" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7bb2938045a88b612499fbcba375a77198e01306f52272e692f8c1f3751185" +dependencies = [ + "gl_generator", + "x11-dl", +] + +[[package]] +name = "glutin_wgl_sys" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c4ee00b289aba7a9e5306d57c2d05499b2e5dc427f84ac708bd2c090212cf3e" +dependencies = [ + "gl_generator", +] + +[[package]] +name = "half" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" +dependencies = [ + "cfg-if", + "crunchy", + "num-traits", + "zerocopy", +] + +[[package]] +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "foldhash", +] + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hermit-abi" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hexf-parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" + +[[package]] +name = "home" +version = "0.5.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "icu_collections" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" +dependencies = [ + "displaydoc", + "potential_utf", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" + +[[package]] +name = "icu_properties" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99" +dependencies = [ + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899" + +[[package]] +name = "icu_provider" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "image" +version = "0.25.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6506c6c10786659413faa717ceebcb8f70731c0a60cbae39795fdf114519c1a" +dependencies = [ + "bytemuck", + "byteorder-lite", + "color_quant", + "gif", + "image-webp", + "moxcms", + "num-traits", + "png 0.18.0", + "tiff", +] + +[[package]] +name = "image-webp" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "525e9ff3e1a4be2fbea1fdf0e98686a6d98b4d8f937e1bf7402245af1909e8c3" +dependencies = [ + "byteorder-lite", + "quick-error", +] + +[[package]] +name = "imagesize" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edcd27d72f2f071c64249075f42e205ff93c9a4c5f6c6da53e79ed9f9832c285" + +[[package]] +name = "indenter" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5" + +[[package]] +name = "indexmap" +version = "2.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" +dependencies = [ + "equivalent", + "hashbrown 0.16.1", +] + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" + +[[package]] +name = "itoa" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" + +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni-sys" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" + +[[package]] +name = "jobserver" +version = "0.1.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" +dependencies = [ + "getrandom 0.3.4", + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.82" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" +dependencies = [ + "once_cell", + "wasm-bindgen", +] + +[[package]] +name = "khronos_api" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" + +[[package]] +name = "kurbo" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c62026ae44756f8a599ba21140f350303d4f08dcdcc71b5ad9c9bb8128c13c62" +dependencies = [ + "arrayvec", + "euclid", + "smallvec", +] + +[[package]] +name = "libc" +version = "0.2.177" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" + +[[package]] +name = "libgit2-sys" +version = "0.18.2+1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c42fe03df2bd3c53a3a9c7317ad91d80c81cd1fb0caec8d7cc4cd2bfa10c222" +dependencies = [ + "cc", + "libc", + "libz-sys", + "pkg-config", +] + +[[package]] +name = "libloading" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" +dependencies = [ + "cfg-if", + "windows-link 0.2.1", +] + +[[package]] +name = "libm" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" + +[[package]] +name = "libredox" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" +dependencies = [ + "bitflags 2.10.0", + "libc", + "redox_syscall 0.5.18", +] + +[[package]] +name = "libz-sys" +version = "1.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15d118bbf3771060e7311cc7bb0545b01d08a8b4a7de949198dec1fa0ca1c0f7" +dependencies = [ + "cc", + "libc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "linux-raw-sys" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" + +[[package]] +name = "linux-raw-sys" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" + +[[package]] +name = "litemap" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" + +[[package]] +name = "litrs" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" + +[[package]] +name = "memchr" +version = "2.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" + +[[package]] +name = "memmap2" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "744133e4a0e0a658e1374cf3bf8e415c4052a15a111acd372764c55b4177d490" +dependencies = [ + "libc", +] + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "mime" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" + +[[package]] +name = "mime_guess2" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1706dc14a2e140dec0a7a07109d9a3d5890b81e85bd6c60b906b249a77adf0ca" +dependencies = [ + "mime", + "phf", + "phf_shared", + "unicase", +] + +[[package]] +name = "miniz_oxide" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" +dependencies = [ + "adler2", + "simd-adler32", +] + +[[package]] +name = "moxcms" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fbdd3d7436f8b5e892b8b7ea114271ff0fa00bc5acae845d53b07d498616ef6" +dependencies = [ + "num-traits", + "pxfm", +] + +[[package]] +name = "naga" +version = "25.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b977c445f26e49757f9aca3631c3b8b836942cb278d69a92e7b80d3b24da632" +dependencies = [ + "arrayvec", + "bit-set", + "bitflags 2.10.0", + "cfg_aliases", + "codespan-reporting", + "half", + "hashbrown 0.15.5", + "hexf-parse", + "indexmap", + "log", + "num-traits", + "once_cell", + "rustc-hash 1.1.0", + "strum", + "thiserror 2.0.17", + "unicode-ident", +] + +[[package]] +name = "ndk" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" +dependencies = [ + "bitflags 2.10.0", + "jni-sys", + "log", + "ndk-sys", + "num_enum", + "raw-window-handle", + "thiserror 1.0.69", +] + +[[package]] +name = "ndk-context" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" + +[[package]] +name = "ndk-sys" +version = "0.6.0+11769913" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873" +dependencies = [ + "jni-sys", +] + +[[package]] +name = "nix" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" +dependencies = [ + "bitflags 2.10.0", + "cfg-if", + "cfg_aliases", + "libc", + "memoffset", +] + +[[package]] +name = "nohash-hasher" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" + +[[package]] +name = "nom" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" +dependencies = [ + "memchr", +] + +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_enum" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1207a7e20ad57b847bbddc6776b968420d38292bbfe2089accff5e19e82454c" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "num_threads" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" +dependencies = [ + "libc", +] + +[[package]] +name = "objc-sys" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310" + +[[package]] +name = "objc2" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804" +dependencies = [ + "objc-sys", + "objc2-encode", +] + +[[package]] +name = "objc2" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c2599ce0ec54857b29ce62166b0ed9b4f6f1a70ccc9a71165b6154caca8c05" +dependencies = [ + "objc2-encode", +] + +[[package]] +name = "objc2-app-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff" +dependencies = [ + "bitflags 2.10.0", + "block2 0.5.1", + "libc", + "objc2 0.5.2", + "objc2-core-data", + "objc2-core-image", + "objc2-foundation 0.2.2", + "objc2-quartz-core", +] + +[[package]] +name = "objc2-app-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" +dependencies = [ + "bitflags 2.10.0", + "block2 0.6.2", + "objc2 0.6.3", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-cloud-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74dd3b56391c7a0596a295029734d3c1c5e7e510a4cb30245f8221ccea96b009" +dependencies = [ + "bitflags 2.10.0", + "block2 0.5.1", + "objc2 0.5.2", + "objc2-core-location", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-contacts" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5ff520e9c33812fd374d8deecef01d4a840e7b41862d849513de77e44aa4889" +dependencies = [ + "block2 0.5.1", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-core-data" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef" +dependencies = [ + "bitflags 2.10.0", + "block2 0.5.1", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags 2.10.0", + "dispatch2", + "objc2 0.6.3", +] + +[[package]] +name = "objc2-core-graphics" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" +dependencies = [ + "bitflags 2.10.0", + "dispatch2", + "objc2 0.6.3", + "objc2-core-foundation", + "objc2-io-surface", +] + +[[package]] +name = "objc2-core-image" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80" +dependencies = [ + "block2 0.5.1", + "objc2 0.5.2", + "objc2-foundation 0.2.2", + "objc2-metal", +] + +[[package]] +name = "objc2-core-location" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "000cfee34e683244f284252ee206a27953279d370e309649dc3ee317b37e5781" +dependencies = [ + "block2 0.5.1", + "objc2 0.5.2", + "objc2-contacts", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-foundation" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8" +dependencies = [ + "bitflags 2.10.0", + "block2 0.5.1", + "dispatch", + "libc", + "objc2 0.5.2", +] + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags 2.10.0", + "objc2 0.6.3", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-io-surface" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d" +dependencies = [ + "bitflags 2.10.0", + "objc2 0.6.3", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-link-presentation" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1a1ae721c5e35be65f01a03b6d2ac13a54cb4fa70d8a5da293d7b0020261398" +dependencies = [ + "block2 0.5.1", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-metal" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6" +dependencies = [ + "bitflags 2.10.0", + "block2 0.5.1", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-quartz-core" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a" +dependencies = [ + "bitflags 2.10.0", + "block2 0.5.1", + "objc2 0.5.2", + "objc2-foundation 0.2.2", + "objc2-metal", +] + +[[package]] +name = "objc2-symbols" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a684efe3dec1b305badae1a28f6555f6ddd3bb2c2267896782858d5a78404dc" +dependencies = [ + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-ui-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8bb46798b20cd6b91cbd113524c490f1686f4c4e8f49502431415f3512e2b6f" +dependencies = [ + "bitflags 2.10.0", + "block2 0.5.1", + "objc2 0.5.2", + "objc2-cloud-kit", + "objc2-core-data", + "objc2-core-image", + "objc2-core-location", + "objc2-foundation 0.2.2", + "objc2-link-presentation", + "objc2-quartz-core", + "objc2-symbols", + "objc2-uniform-type-identifiers", + "objc2-user-notifications", +] + +[[package]] +name = "objc2-uniform-type-identifiers" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44fa5f9748dbfe1ca6c0b79ad20725a11eca7c2218bceb4b005cb1be26273bfe" +dependencies = [ + "block2 0.5.1", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-user-notifications" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76cfcbf642358e8689af64cee815d139339f3ed8ad05103ed5eaf73db8d84cb3" +dependencies = [ + "bitflags 2.10.0", + "block2 0.5.1", + "objc2 0.5.2", + "objc2-core-location", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "object" +version = "0.37.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" + +[[package]] +name = "orbclient" +version = "0.3.49" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "247ad146e19b9437f8604c21f8652423595cf710ad108af40e77d3ae6e96b827" +dependencies = [ + "libredox", +] + +[[package]] +name = "ordered-stream" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aa2b01e1d916879f73a53d01d1d6cee68adbb31d6d9177a8cfce093cced1d50" +dependencies = [ + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "owned_ttf_parser" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36820e9051aca1014ddc75770aab4d68bc1e9e632f0f5627c4086bc216fb583b" +dependencies = [ + "ttf-parser", +] + +[[package]] +name = "owo-colors" +version = "4.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c6901729fa79e91a0913333229e9ca5dc725089d1c363b2f4b4760709dc4a52" + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall 0.5.18", + "smallvec", + "windows-link 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.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" +dependencies = [ + "phf_macros", + "phf_shared", +] + +[[package]] +name = "phf_generator" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" +dependencies = [ + "phf_shared", + "rand 0.8.5", +] + +[[package]] +name = "phf_macros" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216" +dependencies = [ + "phf_generator", + "phf_shared", + "proc-macro2", + "quote", + "syn", + "unicase", +] + +[[package]] +name = "phf_shared" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" +dependencies = [ + "siphasher", + "unicase", +] + +[[package]] +name = "pico-args" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315" + +[[package]] +name = "pin-project" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677f1add503faace112b9f1373e43e9e054bfdd22ff1a63c1bc485eaec6a6a8a" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "piper" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" +dependencies = [ + "atomic-waker", + "fastrand", + "futures-io", +] + +[[package]] +name = "pkg-config" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" + +[[package]] +name = "png" +version = "0.17.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526" +dependencies = [ + "bitflags 1.3.2", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide", +] + +[[package]] +name = "png" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97baced388464909d42d89643fe4361939af9b7ce7a31ee32a168f832a70f2a0" +dependencies = [ + "bitflags 2.10.0", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide", +] + +[[package]] +name = "polling" +version = "3.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" +dependencies = [ + "cfg-if", + "concurrent-queue", + "hermit-abi", + "pin-project-lite", + "rustix 1.1.2", + "windows-sys 0.61.2", +] + +[[package]] +name = "pollster" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f3a9f18d041e6d0e102a0a46750538147e5e8992d3b4873aaafee2520b00ce3" + +[[package]] +name = "portable-atomic" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" + +[[package]] +name = "potential_utf" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "proc-macro-crate" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "proc-macro2" +version = "1.0.103" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "profiling" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eb8486b569e12e2c32ad3e204dbaba5e4b5b216e9367044f25f1dba42341773" + +[[package]] +name = "pxfm" +version = "0.1.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3cbdf373972bf78df4d3b518d07003938e2c7d1fb5891e55f9cb6df57009d84" +dependencies = [ + "num-traits", +] + +[[package]] +name = "quick-error" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" + +[[package]] +name = "quick-xml" +version = "0.36.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7649a7b4df05aed9ea7ec6f628c67c9953a43869b8bc50929569b2999d443fe" +dependencies = [ + "memchr", + "serde", +] + +[[package]] +name = "quick-xml" +version = "0.37.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "331e97a1af0bf59823e6eadffe373d7b27f485be8748f71471c662c1f269b7fb" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +dependencies = [ + "rand_chacha", + "rand_core 0.9.3", +] + +[[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 0.9.3", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" + +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +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.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags 2.10.0", +] + +[[package]] +name = "regex" +version = "1.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" + +[[package]] +name = "renderdoc-sys" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" + +[[package]] +name = "resvg" +version = "0.45.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8928798c0a55e03c9ca6c4c6846f76377427d2c1e1f7e6de3c06ae57942df43" +dependencies = [ + "log", + "pico-args", + "rgb", + "svgtypes", + "tiny-skia", + "usvg", +] + +[[package]] +name = "rfd" +version = "0.15.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef2bee61e6cffa4635c72d7d81a84294e28f0930db0ddcb0f66d10244674ebed" +dependencies = [ + "ashpd", + "block2 0.6.2", + "dispatch2", + "js-sys", + "log", + "objc2 0.6.3", + "objc2-app-kit 0.3.2", + "objc2-core-foundation", + "objc2-foundation 0.3.2", + "pollster", + "raw-window-handle", + "urlencoding", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "windows-sys 0.59.0", +] + +[[package]] +name = "rgb" +version = "0.8.52" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c6a884d2998352bb4daf0183589aec883f16a6da1f4dde84d8e2e9a5409a1ce" +dependencies = [ + "bytemuck", +] + +[[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.16", + "libc", + "untrusted", + "windows-sys 0.52.0", +] + +[[package]] +name = "ron" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "beceb6f7bf81c73e73aeef6dd1356d9a1b2b4909e1f0fc3e59b034f9572d7b7f" +dependencies = [ + "base64", + "bitflags 2.10.0", + "serde", + "serde_derive", + "unicode-ident", +] + +[[package]] +name = "roxmltree" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97" + +[[package]] +name = "rsonpath" +version = "0.9.4" +dependencies = [ + "clap", + "color-eyre", + "eyre", + "log", + "rsonpath-lib", + "rsonpath-syntax", + "rustflags", + "simple_logger", + "vergen", + "vergen-git2", + "vergen-gitcl", + "web-time", +] + +[[package]] +name = "rsonpath-lib" +version = "0.9.4" +dependencies = [ + "cfg-if", + "log", + "memmap2", + "rsonpath-syntax", + "smallvec", + "static_assertions", + "thiserror 2.0.17", + "vector-map", +] + +[[package]] +name = "rsonpath-syntax" +version = "0.4.0" +dependencies = [ + "nom", + "owo-colors", + "thiserror 2.0.17", + "unicode-width", +] + +[[package]] +name = "rsonpath-website" +version = "0.1.0" +dependencies = [ + "color-eyre", + "console_error_panic_hook", + "eframe", + "egui", + "egui_extras", + "eyre", + "gloo-timers", + "js-sys", + "rfd", + "rsonpath", + "strip-ansi-escapes", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "rustc-hash" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustflags" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a39e0e9135d7a7208ee80aa4e3e4b88f0f5ad7be92153ed70686c38a03db2e63" + +[[package]] +name = "rustix" +version = "0.38.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" +dependencies = [ + "bitflags 2.10.0", + "errno", + "libc", + "linux-raw-sys 0.4.15", + "windows-sys 0.59.0", +] + +[[package]] +name = "rustix" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" +dependencies = [ + "bitflags 2.10.0", + "errno", + "libc", + "linux-raw-sys 0.11.0", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls" +version = "0.23.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f" +dependencies = [ + "log", + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-pki-types" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94182ad936a0c91c324cd46c6511b9510ed16af436d7b5bab34beab0afd55f7a" +dependencies = [ + "zeroize", +] + +[[package]] +name = "rustls-webpki" +version = "0.103.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" + +[[package]] +name = "ryu" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "semver" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.145" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" +dependencies = [ + "itoa", + "memchr", + "ryu", + "serde", + "serde_core", +] + +[[package]] +name = "serde_repr" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "signal-hook-registry" +version = "1.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad" +dependencies = [ + "libc", +] + +[[package]] +name = "simd-adler32" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" + +[[package]] +name = "simple_logger" +version = "5.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291bee647ce7310b0ea721bfd7e0525517b4468eb7c7e15eb8bd774343179702" +dependencies = [ + "colored", + "log", + "time", + "windows-sys 0.61.2", +] + +[[package]] +name = "simplecss" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a9c6883ca9c3c7c90e888de77b7a5c849c779d25d74a1269b0218b14e8b136c" +dependencies = [ + "log", +] + +[[package]] +name = "siphasher" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" + +[[package]] +name = "slab" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" + +[[package]] +name = "slotmap" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbff4acf519f630b3a3ddcfaea6c06b42174d9a44bc70c620e9ed1649d58b82a" +dependencies = [ + "version_check", +] + +[[package]] +name = "smallvec" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" + +[[package]] +name = "smithay-client-toolkit" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3457dea1f0eb631b4034d61d4d8c32074caa6cd1ab2d59f2327bd8461e2c0016" +dependencies = [ + "bitflags 2.10.0", + "calloop 0.13.0", + "calloop-wayland-source 0.3.0", + "cursor-icon", + "libc", + "log", + "memmap2", + "rustix 0.38.44", + "thiserror 1.0.69", + "wayland-backend", + "wayland-client", + "wayland-csd-frame", + "wayland-cursor", + "wayland-protocols", + "wayland-protocols-wlr", + "wayland-scanner", + "xkeysym", +] + +[[package]] +name = "smithay-client-toolkit" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0512da38f5e2b31201a93524adb8d3136276fa4fe4aafab4e1f727a82b534cc0" +dependencies = [ + "bitflags 2.10.0", + "calloop 0.14.3", + "calloop-wayland-source 0.4.1", + "cursor-icon", + "libc", + "log", + "memmap2", + "rustix 1.1.2", + "thiserror 2.0.17", + "wayland-backend", + "wayland-client", + "wayland-csd-frame", + "wayland-cursor", + "wayland-protocols", + "wayland-protocols-experimental", + "wayland-protocols-misc", + "wayland-protocols-wlr", + "wayland-scanner", + "xkeysym", +] + +[[package]] +name = "smithay-clipboard" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71704c03f739f7745053bde45fa203a46c58d25bc5c4efba1d9a60e9dba81226" +dependencies = [ + "libc", + "smithay-client-toolkit 0.20.0", + "wayland-backend", +] + +[[package]] +name = "smol_str" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd538fb6910ac1099850255cf94a94df6551fbdd602454387d0adb2d1ca6dead" +dependencies = [ + "serde", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "strict-num" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6637bab7722d379c8b41ba849228d680cc12d0a45ba1fa2b48f2a30577a06731" +dependencies = [ + "float-cmp", +] + +[[package]] +name = "strip-ansi-escapes" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a8f8038e7e7969abb3f1b7c2a811225e9296da208539e0f79c5251d6cac0025" +dependencies = [ + "vte", +] + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "strum" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.26.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "rustversion", + "syn", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "svgtypes" +version = "0.15.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68c7541fff44b35860c1a7a47a7cadf3e4a304c457b58f9870d9706ece028afc" +dependencies = [ + "kurbo", + "siphasher", +] + +[[package]] +name = "syn" +version = "2.0.111" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "synstructure" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tempfile" +version = "3.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" +dependencies = [ + "fastrand", + "getrandom 0.3.4", + "once_cell", + "rustix 1.1.2", + "windows-sys 0.61.2", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "terminal_size" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" +dependencies = [ + "rustix 1.1.2", + "windows-sys 0.60.2", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" +dependencies = [ + "thiserror-impl 2.0.17", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tiff" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af9605de7fee8d9551863fd692cce7637f548dbd9db9180fcc07ccc6d26c336f" +dependencies = [ + "fax", + "flate2", + "half", + "quick-error", + "weezl", + "zune-jpeg", +] + +[[package]] +name = "time" +version = "0.3.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" +dependencies = [ + "deranged", + "itoa", + "libc", + "num-conv", + "num_threads", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" + +[[package]] +name = "time-macros" +version = "0.2.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tiny-skia" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83d13394d44dae3207b52a326c0c85a8bf87f1541f23b0d143811088497b09ab" +dependencies = [ + "arrayref", + "arrayvec", + "bytemuck", + "cfg-if", + "log", + "png 0.17.16", + "tiny-skia-path", +] + +[[package]] +name = "tiny-skia-path" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c9e7fc0c2e86a30b117d0462aa261b72b7a99b7ebd7deb3a14ceda95c5bdc93" +dependencies = [ + "arrayref", + "bytemuck", + "strict-num", +] + +[[package]] +name = "tinystr" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "toml_datetime" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2cdb639ebbc97961c51720f858597f7f24c4fc295327923af55b74c3c724533" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.23.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6485ef6d0d9b5d0ec17244ff7eb05310113c3f316f2d14200d4de56b3cb98f8d" +dependencies = [ + "indexmap", + "toml_datetime", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0cbe268d35bdb4bb5a56a2de88d0ad0eb70af5384a99d648cd4b3d04039800e" +dependencies = [ + "winnow", +] + +[[package]] +name = "tracing" +version = "0.1.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tracing-core" +version = "0.1.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" +dependencies = [ + "once_cell", +] + +[[package]] +name = "ttf-parser" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2df906b07856748fa3f6e0ad0cbaa047052d4a7dd609e231c4f72cee8c36f31" + +[[package]] +name = "type-map" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90" +dependencies = [ + "rustc-hash 2.1.1", +] + +[[package]] +name = "uds_windows" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89daebc3e6fd160ac4aa9fc8b3bf71e1f74fbf92367ae71fb83a037e8bf164b9" +dependencies = [ + "memoffset", + "tempfile", + "winapi", +] + +[[package]] +name = "unicase" +version = "2.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" + +[[package]] +name = "unicode-ident" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" + +[[package]] +name = "unicode-segmentation" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" + +[[package]] +name = "unicode-width" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "ureq" +version = "2.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02d1a66277ed75f640d608235660df48c8e3c19f3b4edb6a263315626cc3c01d" +dependencies = [ + "base64", + "flate2", + "log", + "once_cell", + "rustls", + "rustls-pki-types", + "url", + "webpki-roots 0.26.11", +] + +[[package]] +name = "url" +version = "2.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "urlencoding" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" + +[[package]] +name = "usvg" +version = "0.45.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80be9b06fbae3b8b303400ab20778c80bbaf338f563afe567cf3c9eea17b47ef" +dependencies = [ + "base64", + "data-url", + "flate2", + "imagesize", + "kurbo", + "log", + "pico-args", + "roxmltree", + "simplecss", + "siphasher", + "strict-num", + "svgtypes", + "tiny-skia-path", + "xmlwriter", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + +[[package]] +name = "uuid" +version = "1.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" +dependencies = [ + "js-sys", + "serde", + "wasm-bindgen", +] + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]] +name = "vector-map" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03b34e878e32c750bb4253be124adb9da1dc93ca5d98c210787badf1e1ccdca7" + +[[package]] +name = "vergen" +version = "9.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777" +dependencies = [ + "anyhow", + "cargo_metadata", + "derive_builder", + "regex", + "rustc_version", + "rustversion", + "vergen-lib", +] + +[[package]] +name = "vergen-git2" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f6ee511ec45098eabade8a0750e76eec671e7fb2d9360c563911336bea9cac1" +dependencies = [ + "anyhow", + "derive_builder", + "git2", + "rustversion", + "time", + "vergen", + "vergen-lib", +] + +[[package]] +name = "vergen-gitcl" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe" +dependencies = [ + "anyhow", + "derive_builder", + "rustversion", + "time", + "vergen", + "vergen-lib", +] + +[[package]] +name = "vergen-lib" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166" +dependencies = [ + "anyhow", + "derive_builder", + "rustversion", +] + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "vte" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "231fdcd7ef3037e8330d8e17e61011a2c244126acc0a982f4040ac3f9f0bc077" +dependencies = [ + "memchr", +] + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.1+wasi-0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.105" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0" +dependencies = [ + "cfg-if", + "js-sys", + "once_cell", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.105" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.105" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.105" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wayland-backend" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "673a33c33048a5ade91a6b139580fa174e19fb0d23f396dca9fa15f2e1e49b35" +dependencies = [ + "cc", + "downcast-rs", + "rustix 1.1.2", + "scoped-tls", + "smallvec", + "wayland-sys", +] + +[[package]] +name = "wayland-client" +version = "0.31.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c66a47e840dc20793f2264eb4b3e4ecb4b75d91c0dd4af04b456128e0bdd449d" +dependencies = [ + "bitflags 2.10.0", + "rustix 1.1.2", + "wayland-backend", + "wayland-scanner", +] + +[[package]] +name = "wayland-csd-frame" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625c5029dbd43d25e6aa9615e88b829a5cad13b2819c4ae129fdbb7c31ab4c7e" +dependencies = [ + "bitflags 2.10.0", + "cursor-icon", + "wayland-backend", +] + +[[package]] +name = "wayland-cursor" +version = "0.31.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "447ccc440a881271b19e9989f75726d60faa09b95b0200a9b7eb5cc47c3eeb29" +dependencies = [ + "rustix 1.1.2", + "wayland-client", + "xcursor", +] + +[[package]] +name = "wayland-protocols" +version = "0.32.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efa790ed75fbfd71283bd2521a1cfdc022aabcc28bdcff00851f9e4ae88d9901" +dependencies = [ + "bitflags 2.10.0", + "wayland-backend", + "wayland-client", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-experimental" +version = "20250721.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40a1f863128dcaaec790d7b4b396cc9b9a7a079e878e18c47e6c2d2c5a8dcbb1" +dependencies = [ + "bitflags 2.10.0", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-misc" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dfe33d551eb8bffd03ff067a8b44bb963919157841a99957151299a6307d19c" +dependencies = [ + "bitflags 2.10.0", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-plasma" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a07a14257c077ab3279987c4f8bb987851bf57081b93710381daea94f2c2c032" +dependencies = [ + "bitflags 2.10.0", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-wlr" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efd94963ed43cf9938a090ca4f7da58eb55325ec8200c3848963e98dc25b78ec" +dependencies = [ + "bitflags 2.10.0", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-scanner" +version = "0.31.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54cb1e9dc49da91950bdfd8b848c49330536d9d1fb03d4bfec8cae50caa50ae3" +dependencies = [ + "proc-macro2", + "quick-xml 0.37.5", + "quote", +] + +[[package]] +name = "wayland-sys" +version = "0.31.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34949b42822155826b41db8e5d0c1be3a2bd296c747577a43a3e6daefc296142" +dependencies = [ + "dlib", + "log", + "once_cell", + "pkg-config", +] + +[[package]] +name = "web-sys" +version = "0.3.82" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webbrowser" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00f1243ef785213e3a32fa0396093424a3a6ea566f9948497e5a2309261a4c97" +dependencies = [ + "core-foundation 0.10.1", + "jni", + "log", + "ndk-context", + "objc2 0.6.3", + "objc2-foundation 0.3.2", + "url", + "web-sys", +] + +[[package]] +name = "webpki-roots" +version = "0.26.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" +dependencies = [ + "webpki-roots 1.0.4", +] + +[[package]] +name = "webpki-roots" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "weezl" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88" + +[[package]] +name = "wgpu" +version = "25.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8fb398f119472be4d80bc3647339f56eb63b2a331f6a3d16e25d8144197dd9" +dependencies = [ + "arrayvec", + "bitflags 2.10.0", + "cfg_aliases", + "document-features", + "hashbrown 0.15.5", + "js-sys", + "log", + "parking_lot", + "portable-atomic", + "profiling", + "raw-window-handle", + "smallvec", + "static_assertions", + "wasm-bindgen", + "web-sys", + "wgpu-core", + "wgpu-hal", + "wgpu-types", +] + +[[package]] +name = "wgpu-core" +version = "25.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7b882196f8368511d613c6aeec80655160db6646aebddf8328879a88d54e500" +dependencies = [ + "arrayvec", + "bit-set", + "bit-vec", + "bitflags 2.10.0", + "cfg_aliases", + "document-features", + "hashbrown 0.15.5", + "indexmap", + "log", + "naga", + "once_cell", + "parking_lot", + "portable-atomic", + "profiling", + "raw-window-handle", + "rustc-hash 1.1.0", + "smallvec", + "thiserror 2.0.17", + "wgpu-core-deps-windows-linux-android", + "wgpu-hal", + "wgpu-types", +] + +[[package]] +name = "wgpu-core-deps-windows-linux-android" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cba5fb5f7f9c98baa7c889d444f63ace25574833df56f5b817985f641af58e46" +dependencies = [ + "wgpu-hal", +] + +[[package]] +name = "wgpu-hal" +version = "25.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f968767fe4d3d33747bbd1473ccd55bf0f6451f55d733b5597e67b5deab4ad17" +dependencies = [ + "bitflags 2.10.0", + "cfg_aliases", + "libloading", + "log", + "naga", + "parking_lot", + "portable-atomic", + "raw-window-handle", + "renderdoc-sys", + "thiserror 2.0.17", + "wgpu-types", +] + +[[package]] +name = "wgpu-types" +version = "25.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2aa49460c2a8ee8edba3fca54325540d904dd85b2e086ada762767e17d06e8bc" +dependencies = [ + "bitflags 2.10.0", + "bytemuck", + "js-sys", + "log", + "thiserror 2.0.17", + "web-sys", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows" +version = "0.61.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" +dependencies = [ + "windows-collections", + "windows-core", + "windows-future", + "windows-link 0.1.3", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" +dependencies = [ + "windows-core", +] + +[[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", + "windows-strings", +] + +[[package]] +name = "windows-future" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" +dependencies = [ + "windows-core", + "windows-link 0.1.3", + "windows-threading", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[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", +] + +[[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", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-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-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_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 = "winit" +version = "0.30.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c66d4b9ed69c4009f6321f762d6e61ad8a2389cd431b97cb1e146812e9e6c732" +dependencies = [ + "ahash", + "android-activity", + "atomic-waker", + "bitflags 2.10.0", + "block2 0.5.1", + "bytemuck", + "calloop 0.13.0", + "cfg_aliases", + "concurrent-queue", + "core-foundation 0.9.4", + "core-graphics", + "cursor-icon", + "dpi", + "js-sys", + "libc", + "memmap2", + "ndk", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", + "objc2-ui-kit", + "orbclient", + "percent-encoding", + "pin-project", + "raw-window-handle", + "redox_syscall 0.4.1", + "rustix 0.38.44", + "smithay-client-toolkit 0.19.2", + "smol_str", + "tracing", + "unicode-segmentation", + "wasm-bindgen", + "wasm-bindgen-futures", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-protocols-plasma", + "web-sys", + "web-time", + "windows-sys 0.52.0", + "x11-dl", + "x11rb", + "xkbcommon-dl", +] + +[[package]] +name = "winnow" +version = "0.7.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21a0236b59786fed61e2a80582dd500fe61f18b5dca67a4a067d0bc9039339cf" +dependencies = [ + "memchr", +] + +[[package]] +name = "wit-bindgen" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" + +[[package]] +name = "writeable" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" + +[[package]] +name = "x11-dl" +version = "2.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f" +dependencies = [ + "libc", + "once_cell", + "pkg-config", +] + +[[package]] +name = "x11rb" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9993aa5be5a26815fe2c3eacfc1fde061fc1a1f094bf1ad2a18bf9c495dd7414" +dependencies = [ + "as-raw-xcb-connection", + "gethostname", + "libc", + "libloading", + "once_cell", + "rustix 1.1.2", + "x11rb-protocol", +] + +[[package]] +name = "x11rb-protocol" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea6fc2961e4ef194dcbfe56bb845534d0dc8098940c7e5c012a258bfec6701bd" + +[[package]] +name = "xcursor" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bec9e4a500ca8864c5b47b8b482a73d62e4237670e5b5f1d6b9e3cae50f28f2b" + +[[package]] +name = "xkbcommon-dl" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039de8032a9a8856a6be89cea3e5d12fdd82306ab7c94d74e6deab2460651c5" +dependencies = [ + "bitflags 2.10.0", + "dlib", + "log", + "once_cell", + "xkeysym", +] + +[[package]] +name = "xkeysym" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9cc00251562a284751c9973bace760d86c0276c471b4be569fe6b068ee97a56" + +[[package]] +name = "xml-rs" +version = "0.8.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f" + +[[package]] +name = "xmlwriter" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec7a2a501ed189703dba8b08142f057e887dfc4b2cc4db2d343ac6376ba3e0b9" + +[[package]] +name = "yoke" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "synstructure", +] + +[[package]] +name = "zbus" +version = "5.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b622b18155f7a93d1cd2dc8c01d2d6a44e08fb9ebb7b3f9e6ed101488bad6c91" +dependencies = [ + "async-broadcast", + "async-executor", + "async-io", + "async-lock", + "async-process", + "async-recursion", + "async-task", + "async-trait", + "blocking", + "enumflags2", + "event-listener", + "futures-core", + "futures-lite", + "hex", + "nix", + "ordered-stream", + "serde", + "serde_repr", + "tracing", + "uds_windows", + "uuid", + "windows-sys 0.61.2", + "winnow", + "zbus_macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zbus-lockstep" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29e96e38ded30eeab90b6ba88cb888d70aef4e7489b6cd212c5e5b5ec38045b6" +dependencies = [ + "zbus_xml", + "zvariant", +] + +[[package]] +name = "zbus-lockstep-macros" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc6821851fa840b708b4cbbaf6241868cabc85a2dc22f426361b0292bfc0b836" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "zbus-lockstep", + "zbus_xml", + "zvariant", +] + +[[package]] +name = "zbus_macros" +version = "5.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cdb94821ca8a87ca9c298b5d1cbd80e2a8b67115d99f6e4551ac49e42b6a314" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", + "zbus_names", + "zvariant", + "zvariant_utils", +] + +[[package]] +name = "zbus_names" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7be68e64bf6ce8db94f63e72f0c7eb9a60d733f7e0499e628dfab0f84d6bcb97" +dependencies = [ + "serde", + "static_assertions", + "winnow", + "zvariant", +] + +[[package]] +name = "zbus_xml" +version = "5.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589e9a02bfafb9754bb2340a9e3b38f389772684c63d9637e76b1870377bec29" +dependencies = [ + "quick-xml 0.36.2", + "serde", + "static_assertions", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zerocopy" +version = "0.8.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "zerofrom" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" + +[[package]] +name = "zerotrie" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "zune-core" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f423a2c17029964870cfaabb1f13dfab7d092a62a29a89264f4d36990ca414a" + +[[package]] +name = "zune-jpeg" +version = "0.4.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29ce2c8a9384ad323cf564b67da86e21d3cfdff87908bc1223ed5c99bc792713" +dependencies = [ + "zune-core", +] + +[[package]] +name = "zvariant" +version = "5.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2be61892e4f2b1772727be11630a62664a1826b62efa43a6fe7449521cb8744c" +dependencies = [ + "endi", + "enumflags2", + "serde", + "url", + "winnow", + "zvariant_derive", + "zvariant_utils", +] + +[[package]] +name = "zvariant_derive" +version = "5.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da58575a1b2b20766513b1ec59d8e2e68db2745379f961f86650655e862d2006" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", + "zvariant_utils", +] + +[[package]] +name = "zvariant_utils" +version = "3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6949d142f89f6916deca2232cf26a8afacf2b9fdc35ce766105e104478be599" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "syn", + "winnow", +] diff --git a/crates/rsonpath-website/Cargo.toml b/web/rsonpath-website/Cargo.toml similarity index 90% rename from crates/rsonpath-website/Cargo.toml rename to web/rsonpath-website/Cargo.toml index a38c9880..cf446640 100644 --- a/crates/rsonpath-website/Cargo.toml +++ b/web/rsonpath-website/Cargo.toml @@ -17,8 +17,9 @@ eframe = { version = "0.32.0", default-features = false, features = [ "x11", ] } egui = "0.32.0" +egui_extras = { version = "0.32.0", features = ["all_loaders", "svg"] } wasm-bindgen = "0.2" -rsonpath = { path = "../rsonpath" } +rsonpath = { path = "../../crates/rsonpath" } rfd = { version = "0.15.3", optional = true } js-sys = "0.3.77" color-eyre = { version = "0.6", default-features = false, features = ["track-caller"] } diff --git a/web/rsonpath-website/Trunk.toml b/web/rsonpath-website/Trunk.toml new file mode 100644 index 00000000..47e2d9cf --- /dev/null +++ b/web/rsonpath-website/Trunk.toml @@ -0,0 +1,2 @@ +[build] +target = "index.html" \ No newline at end of file diff --git a/web/rsonpath-website/assets/rsonquery-rq-logo.svg b/web/rsonpath-website/assets/rsonquery-rq-logo.svg new file mode 100644 index 00000000..020e0cee --- /dev/null +++ b/web/rsonpath-website/assets/rsonquery-rq-logo.svg @@ -0,0 +1,82 @@ + + + + diff --git a/crates/rsonpath-website/index.html b/web/rsonpath-website/index.html similarity index 100% rename from crates/rsonpath-website/index.html rename to web/rsonpath-website/index.html diff --git a/web/rsonpath-website/rust-toolchain.toml b/web/rsonpath-website/rust-toolchain.toml new file mode 100644 index 00000000..3c2cf442 --- /dev/null +++ b/web/rsonpath-website/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "nightly" # Required for wasm128 SIMD +components = [ "cargo", "rustfmt", "clippy" ] \ No newline at end of file diff --git a/crates/rsonpath-website/src/lib.rs b/web/rsonpath-website/src/lib.rs similarity index 97% rename from crates/rsonpath-website/src/lib.rs rename to web/rsonpath-website/src/lib.rs index ef283051..bf3562f1 100644 --- a/crates/rsonpath-website/src/lib.rs +++ b/web/rsonpath-website/src/lib.rs @@ -1,10 +1,10 @@ -use std::cell::{OnceCell, RefCell}; +use eframe::Frame; use eframe::emath::Align; use eframe::epaint::Color32; -use eframe::Frame; -use egui::{Button, ComboBox, Context, Layout, RichText, ScrollArea, TextEdit, TopBottomPanel}; +use egui::{Button, ComboBox, Context, Layout, RichText, ScrollArea, TextEdit, TopBottomPanel, Vec2}; use rsonpath::*; -use std::sync::{Mutex, OnceLock}; +use std::cell::{OnceCell, RefCell}; +use std::sync::{Arc, Mutex, OnceLock}; use strip_ansi_escapes::strip; use wasm_bindgen::prelude::*; use web_sys::window; @@ -68,13 +68,12 @@ thread_local! { static FILE_START: std::cell::Cell = std::cell::Cell::new(0.0); } - //File select for web version #[cfg(target_arch = "wasm32")] impl WebsiteGui { pub fn open_file() { use wasm_bindgen::JsCast; - use web_sys::{window, FileReader, HtmlInputElement}; + use web_sys::{FileReader, HtmlInputElement, window}; let document = window().unwrap().document().unwrap(); let body = document.body().unwrap(); @@ -133,9 +132,10 @@ impl WebsiteGui { } } - impl eframe::App for WebsiteGui { fn update(&mut self, ctx: &Context, _frame: &mut Frame) { + // Set image loaders. + egui_extras::install_image_loaders(ctx); //Sets the font size for buttons and menu bodies, as well as the padding ctx.set_style({ let mut style = (*ctx.style()).clone(); @@ -170,10 +170,13 @@ impl eframe::App for WebsiteGui { TopBottomPanel::top("menu bar").show(ctx, |ui| { ui.horizontal_wrapped(|ui| { - + let logo_src = egui::include_image!("../assets/rsonquery-rq-logo.svg"); + let logo_image = egui::Image::new(logo_src) + .max_height(100.0) + .fit_to_exact_size(Vec2::new(200.0, 40.0)); + ui.add(logo_image); // File menu button ui.menu_button("File", |ui| { - //Wipes all text windows to allow user to start anew if ui.button("New").clicked() { self.json_input.clear(); @@ -493,7 +496,10 @@ impl eframe::App for WebsiteGui { use egui::{Align2, Color32}; let screen_rect = ctx.screen_rect(); - let painter = ctx.layer_painter(egui::LayerId::new(egui::Order::Foreground, egui::Id::new("drag_overlay"))); + let painter = ctx.layer_painter(egui::LayerId::new( + egui::Order::Foreground, + egui::Id::new("drag_overlay"), + )); painter.rect_filled(screen_rect, 0.0, Color32::from_black_alpha(180)); painter.text( diff --git a/crates/rsonpath-website/src/main.rs b/web/rsonpath-website/src/main.rs similarity index 100% rename from crates/rsonpath-website/src/main.rs rename to web/rsonpath-website/src/main.rs diff --git a/crates/rsonpath-website/src/package.json b/web/rsonpath-website/src/package.json similarity index 100% rename from crates/rsonpath-website/src/package.json rename to web/rsonpath-website/src/package.json From cafb458b5d6db2b5516fce666f8a6f7a0c5541a0 Mon Sep 17 00:00:00 2001 From: Mateusz Gienieczko Date: Mon, 24 Nov 2025 17:32:45 +0100 Subject: [PATCH 12/16] chore: change Run Query button colour --- web/rsonpath-website/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/rsonpath-website/src/lib.rs b/web/rsonpath-website/src/lib.rs index bf3562f1..cb5e40c8 100644 --- a/web/rsonpath-website/src/lib.rs +++ b/web/rsonpath-website/src/lib.rs @@ -333,7 +333,7 @@ impl eframe::App for WebsiteGui { if ui .add_sized( [left_side_width, screen_height * 0.144], - Button::new(button_text).fill(Color32::BROWN), + Button::new(button_text).fill(Color32::from_rgb(227, 60, 38)), ) .clicked() { From dda0462a2d53c5aa206654a1012340937e064170 Mon Sep 17 00:00:00 2001 From: Mateusz Gienieczko Date: Mon, 24 Nov 2025 19:00:38 +0100 Subject: [PATCH 13/16] chore: polish wasm simd resolution --- .cargo/config.toml | 4 +- Cargo.lock | 48 ++++++ Cargo.toml | 1 + .../gradle/wrapper/gradle-wrapper.properties | 4 +- .../src/implementations/jsurferShim/gradlew | 37 ++--- .../implementations/jsurferShim/gradlew.bat | 23 ++- crates/rsonpath-lib/Cargo.toml | 5 - .../classification/depth/shared/mask_32.rs | 8 +- .../rsonpath-lib/src/classification/simd.rs | 40 ++--- .../rsonpath-lib/src/engine/tail_skipping.rsy | 147 ------------------ crates/rsonpath-test/tests/generated.rs | 1 - web/rsonpath-website/.cargo/config.toml | 3 + 12 files changed, 97 insertions(+), 224 deletions(-) delete mode 100644 crates/rsonpath-lib/src/engine/tail_skipping.rsy delete mode 100644 crates/rsonpath-test/tests/generated.rs diff --git a/.cargo/config.toml b/.cargo/config.toml index 09b4be71..a30ab5b5 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,6 +1,8 @@ +[build] +rustflags = ["-C", "link-arg=-fuse-ld=lld"] + [alias] rsontest = "hack test -q --feature-powerset --skip default -F arbitrary -F serde --ignore-unknown-features" -build-website = "build -p rsonpath-website --target wasm32-unknown-unknown" [env] RUST_BACKTRACE = "1" diff --git a/Cargo.lock b/Cargo.lock index b56e4b75..c757a9fc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -856,6 +856,12 @@ version = "0.4.29" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" +[[package]] +name = "md5" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae960838283323069879657ca3de837e9f7bbb4c7bf6ea7f1b290d5e9476d2e0" + [[package]] name = "memchr" version = "2.7.6" @@ -1260,6 +1266,33 @@ dependencies = [ "rsonpath-syntax", ] +[[package]] +name = "rsonpath-test" +version = "0.9.4" +dependencies = [ + "eyre", + "glob", + "md5", + "pretty_assertions", + "rsonpath-lib", + "rsonpath-syntax", + "rsonpath-test-codegen", + "serde", + "serde_json", +] + +[[package]] +name = "rsonpath-test-codegen" +version = "0.9.4" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "serde", + "toml", + "walkdir", +] + [[package]] name = "rustc-demangle" version = "0.1.26" @@ -1612,6 +1645,21 @@ dependencies = [ "zerovec", ] +[[package]] +name = "toml" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0dc8b1fb61449e27716ec0e1bdf0f6b8f3e8f6b05391e8497b8b6d7804ea6d8" +dependencies = [ + "indexmap", + "serde_core", + "serde_spanned", + "toml_datetime", + "toml_parser", + "toml_writer", + "winnow", +] + [[package]] name = "toml_datetime" version = "0.7.3" diff --git a/Cargo.toml b/Cargo.toml index 2e221d0d..82a304eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ members = [ "crates/rsonpath-lib", "crates/rsonpath-syntax", "crates/rsonpath-syntax-proptest", + "crates/rsonpath-test" ] exclude = ["crates/rsonpath-benchmarks", "crates/rsonpath-test-codegen", "web/rsonpath-website"] diff --git a/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradle/wrapper/gradle-wrapper.properties b/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradle/wrapper/gradle-wrapper.properties index 37f853b1..8049c684 100644 --- a/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradle/wrapper/gradle-wrapper.properties +++ b/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip -networkTimeout=10000 -validateDistributionUrl=true +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew b/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew index faf93008..a69d9cb6 100755 --- a/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew +++ b/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew @@ -15,8 +15,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# SPDX-License-Identifier: Apache-2.0 -# ############################################################################## # @@ -57,7 +55,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/. @@ -82,11 +80,13 @@ do esac done -# This is normally unused -# shellcheck disable=SC2034 +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit + +APP_NAME="Gradle" APP_BASE_NAME=${0##*/} -# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum @@ -133,29 +133,22 @@ location of your Java installation." fi else JAVACMD=java - if ! command -v java >/dev/null 2>&1 - then - die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." - fi fi # Increase the maximum file descriptors if we can. if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then case $MAX_FD in #( max*) - # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. - # shellcheck disable=SC2039,SC3045 MAX_FD=$( ulimit -H -n ) || warn "Could not query maximum file descriptor limit" esac case $MAX_FD in #( '' | soft) :;; #( *) - # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. - # shellcheck disable=SC2039,SC3045 ulimit -n "$MAX_FD" || warn "Could not set maximum file descriptor limit to $MAX_FD" esac @@ -200,15 +193,11 @@ if "$cygwin" || "$msys" ; then done fi - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Collect all arguments for the java command: -# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, -# and any embedded shellness will be escaped. -# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be -# treated as '${Hostname}' itself on the command line. +# Collect all arguments for the java command; +# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \ diff --git a/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew.bat b/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew.bat index 9d21a218..f127cfd4 100644 --- a/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew.bat +++ b/crates/rsonpath-benchmarks/src/implementations/jsurferShim/gradlew.bat @@ -13,8 +13,6 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem -@rem SPDX-License-Identifier: Apache-2.0 -@rem @if "%DEBUG%"=="" @echo off @rem ########################################################################## @@ -28,7 +26,6 @@ if "%OS%"=="Windows_NT" setlocal set DIRNAME=%~dp0 if "%DIRNAME%"=="" set DIRNAME=. -@rem This is normally unused set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% @@ -45,11 +42,11 @@ set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 if %ERRORLEVEL% equ 0 goto execute -echo. 1>&2 -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. goto fail @@ -59,11 +56,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute -echo. 1>&2 -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. goto fail diff --git a/crates/rsonpath-lib/Cargo.toml b/crates/rsonpath-lib/Cargo.toml index 880f505a..6a60f6b4 100644 --- a/crates/rsonpath-lib/Cargo.toml +++ b/crates/rsonpath-lib/Cargo.toml @@ -48,11 +48,6 @@ rsonpath-syntax-proptest = { workspace = true } serde_json = { workspace = true } test-case = { workspace = true } -[patch.crates-io] -getrandom_v03 = { package = "getrandom", version = "0.3.3", features = ["wasm_js"] } -getrandom_v02 = { package = "getrandom", version = "0.2.12", features = ["wasm_js"] } -getrandom_v01 = { package = "getrandom", version = "0.1.16", features = ["wasm_js"] } - [features] default = ["simd"] serde = ["dep:serde", "smallvec/serde", "rsonpath-syntax/serde"] diff --git a/crates/rsonpath-lib/src/classification/depth/shared/mask_32.rs b/crates/rsonpath-lib/src/classification/depth/shared/mask_32.rs index d336f5fa..67caf643 100644 --- a/crates/rsonpath-lib/src/classification/depth/shared/mask_32.rs +++ b/crates/rsonpath-lib/src/classification/depth/shared/mask_32.rs @@ -29,8 +29,8 @@ pub(crate) struct DepthVector32<'a, B: InputBlock<'a, SIZE>> { impl<'a, B: InputBlock<'a, SIZE>> DepthBlock<'a> for DepthVector32<'a, B> { #[inline(always)] fn advance_to_next_depth_decrease(&mut self) -> bool { - #[cfg(target_arch = "x86")] - debug_assert!(is_x86_feature_detected!("popcnt")); + #[cfg(target_arch = "x86")] // On wasm32 popcnt is built-in. + debug_assert!(!is_x86_feature_detected!("popcnt")); let next_closing = self.closing_mask.trailing_zeros() as usize; if next_closing == SIZE { @@ -69,7 +69,7 @@ impl<'a, B: InputBlock<'a, SIZE>> DepthBlock<'a> for DepthVector32<'a, B> { #[inline(always)] fn depth_at_end(&self) -> isize { - #[cfg(target_arch = "x86")] + #[cfg(target_arch = "x86")] // On wasm32 popcnt is built-in. debug_assert!(is_x86_feature_detected!("popcnt")); (((self.opening_count as i32) - self.closing_mask.count_ones() as i32) + self.depth) as isize } @@ -81,7 +81,7 @@ impl<'a, B: InputBlock<'a, SIZE>> DepthBlock<'a> for DepthVector32<'a, B> { #[inline(always)] fn estimate_lowest_possible_depth(&self) -> isize { - #[cfg(target_arch = "x86")] + #[cfg(target_arch = "x86")] // On wasm32 popcnt is built-in. debug_assert!(is_x86_feature_detected!("popcnt")); (self.depth - self.closing_mask.count_ones() as i32) as isize } diff --git a/crates/rsonpath-lib/src/classification/simd.rs b/crates/rsonpath-lib/src/classification/simd.rs index 448d3b1c..db07f43c 100644 --- a/crates/rsonpath-lib/src/classification/simd.rs +++ b/crates/rsonpath-lib/src/classification/simd.rs @@ -458,8 +458,8 @@ pub(crate) enum SimdTag { Ssse3, /// AVX2 detected. Avx2, - ///WASM32 detected - Wasm32, + /// WasmSimd128 detected + WasmSimd128, } /// Runtime-detected SIMD configuration guiding how to construct a [`Simd`] implementation for the engine. @@ -502,6 +502,7 @@ impl SimdConfiguration { "sse2" => Some(SimdTag::Sse2), "ssse3" => Some(SimdTag::Ssse3), "avx2" => Some(SimdTag::Avx2), + "wasmsimd128" => Some(SimdTag::WasmSimd128), _ => None, }; let quotes = match quotes_str.to_ascii_lowercase().as_ref() { @@ -564,11 +565,14 @@ pub(crate) fn configure() -> SimdConfiguration { let fast_quotes = is_x86_feature_detected!("pclmulqdq"); let fast_popcnt = is_x86_feature_detected!("popcnt"); } - else if #[cfg(target_arch = "wasm32")] + // Wasm lacks dynamic feature detection (see https://doc.rust-lang.org/stable/core/arch/wasm32/index.html) + // Since SIMD is technically a proposal, to keep rsonpath usable as a library from Wasm contexts + // without simd128 we require the target_feature on compile-time to enable SIMD. + else if #[cfg(all(target_arch = "wasm32", target_feature = "simd128"))] { - let highest_simd = SimdTag::Wasm32; + let highest_simd = SimdTag::SimdWasm32; let fast_quotes = false; - let fast_popcnt = false; + let fast_popcnt = true; // popcnt is built-in on Wasm32 } else { @@ -593,7 +597,7 @@ impl Display for SimdConfiguration { SimdTag::Sse2 => "sse2", SimdTag::Ssse3 => "ssse3", SimdTag::Avx2 => "avx2", - SimdTag::Wasm32 => "wasm32", + SimdTag::WasmSimd128 => "wasmsimd128", }; let quote_desc = if self.fast_quotes { "fast_quotes" } else { "slow_quotes" }; let popcnt_desc = if self.fast_popcnt { "fast_popcnt" } else { "slow_popcnt" }; @@ -821,16 +825,8 @@ cfg_if! { >::new(); $b } - $crate::classification::simd::SimdTag::Wasm32 => { - let $simd = $crate::classification::simd::ResolvedSimd::< - $crate::classification::quotes::nosimd::Constructor, - $crate::classification::structural::nosimd::Constructor, - $crate::classification::depth::nosimd::Constructor, - $crate::classification::memmem::nosimd::Constructor, - {$crate::classification::simd::NOSIMD} - >::new(); - $b - } + $crate::classification::simd::SimdTag::WasmSimd128 => + unreachable!("WasmSimd128 tag on x86_64 arch; this is an error in SIMD configuration") } } }; @@ -958,16 +954,8 @@ cfg_if! { >::new(); $b } - $crate::classification::simd::SimdTag::Wasm32 => { - let $simd = $crate::classification::simd::ResolvedSimd::< - $crate::classification::quotes::nosimd::Constructor, - $crate::classification::structural::nosimd::Constructor, - $crate::classification::depth::nosimd::Constructor, - $crate::classification::memmem::nosimd::Constructor, - {$crate::classification::simd::NOSIMD} - >::new(); - $b - } + $crate::classification::simd::SimdTag::WasmSimd128 => + unreachable!("WasmSimd128 tag on x86_64 arch; this is an error in SIMD configuration") } } }; diff --git a/crates/rsonpath-lib/src/engine/tail_skipping.rsy b/crates/rsonpath-lib/src/engine/tail_skipping.rsy deleted file mode 100644 index a539819c..00000000 --- a/crates/rsonpath-lib/src/engine/tail_skipping.rsy +++ /dev/null @@ -1,147 +0,0 @@ -#![allow(clippy::expect_used)] // Enforcing the classifier invariant is clunky without this. -use crate::{ - classification::{ - depth::{DepthBlock, DepthIterator, DepthIteratorResumeOutcome}, - quotes::QuoteClassifiedIterator, - simd::{dispatch_simd, Simd}, - structural::{BracketType, StructuralIterator}, - ResumeClassifierState, - }, - debug, - engine::error::EngineError, - input::InputBlockIterator, - FallibleIterator, MaskType, BLOCK_SIZE, -}; -use std::marker::PhantomData; - -pub(crate) struct TailSkip<'i, I, Q, S, V, const N: usize> { - classifier: Option, - simd: V, - _phantom: (PhantomData<&'i ()>, PhantomData<(I, Q)>), -} - -impl<'i, I, V> TailSkip<'i, I, V::QuotesClassifier<'i, I>, V::StructuralClassifier<'i, I>, V, BLOCK_SIZE> -where - I: InputBlockIterator<'i, BLOCK_SIZE>, - V: Simd, -{ - pub(crate) fn new(classifier: V::StructuralClassifier<'i, I>, simd: V) -> Self { - Self { - classifier: Some(classifier), - simd, - _phantom: (PhantomData, PhantomData), - } - } - - pub(crate) fn skip(&mut self, opening: BracketType) -> Result { - dispatch_simd!(self.simd; self, opening => - fn <'i, I, V>( - tail_skip: &mut TailSkip<'i, I, V::QuotesClassifier<'i, I>, V::StructuralClassifier<'i, I>, V, BLOCK_SIZE>, - opening: BracketType) -> Result - where - I: InputBlockIterator<'i, BLOCK_SIZE>, - V: Simd - { - debug!("Skipping"); - let mut idx = 0; - let mut err = None; - - let classifier = tail_skip.classifier.take().expect("tail skip must always hold a classifier"); - - tail_skip.classifier = Some('a: { - let resume_state = classifier.stop(); - let DepthIteratorResumeOutcome(first_vector, mut depth_classifier) = - tail_skip.simd.resume_depth_classification(resume_state, opening); - - let mut current_vector = match first_vector { - Some(v) => Some(v), - None => match depth_classifier.next() { - Ok(v) => v, - Err(e) => { - err = Some(e); - let resume_state = depth_classifier.stop(None); - break 'a tail_skip.simd.resume_structural_classification(resume_state); - } - }, - }; - let mut current_depth = 1; - - 'outer: while let Some(ref mut vector) = current_vector { - vector.add_depth(current_depth); - - debug!("Fetched vector, current depth is {current_depth}"); - debug!("Estimate: {}", vector.estimate_lowest_possible_depth()); - - if vector.estimate_lowest_possible_depth() <= 0 { - while vector.advance_to_next_depth_decrease() { - if vector.get_depth() == 0 { - debug!("Encountered depth 0, breaking."); - break 'outer; - } - } - } - - current_depth = vector.depth_at_end(); - current_vector = match depth_classifier.next() { - Ok(v) => v, - Err(e) => { - err = Some(e); - let resume_state = depth_classifier.stop(None); - break 'a tail_skip.simd.resume_structural_classification(resume_state); - } - }; - } - - debug!("Skipping complete, resuming structural classification."); - let resume_state = depth_classifier.stop(current_vector); - debug!("Finished at {}", resume_state.get_idx()); - idx = resume_state.get_idx(); - if idx == 0 { - panic!("dupa"); - } - idx -= 1; - tail_skip.simd.resume_structural_classification(resume_state) - }); - - if let Some(err) = err { - Err(err.into()) - } else { - Ok(idx) - } - }) - } - - pub(crate) fn stop(self) -> ResumeClassifierState<'i, I, V::QuotesClassifier<'i, I>, MaskType, BLOCK_SIZE> { - self.classifier.expect("tail skip must always hold a classifier").stop() - } -} - -impl<'i, I, Q, S, V, const N: usize> std::ops::Deref for TailSkip<'i, I, Q, S, V, N> -where - I: InputBlockIterator<'i, N>, - Q: QuoteClassifiedIterator<'i, I, MaskType, N>, - S: StructuralIterator<'i, I, Q, MaskType, N>, - V: Simd, -{ - type Target = S; - - fn deref(&self) -> &Self::Target { - self.classifier - .as_ref() - .expect("tail skip must always hold a classifier") - } -} - -impl<'i, I, Q, S, V, const N: usize> std::ops::DerefMut for TailSkip<'i, I, Q, S, V, N> -where - I: InputBlockIterator<'i, N>, - Q: QuoteClassifiedIterator<'i, I, MaskType, N>, - S: StructuralIterator<'i, I, Q, MaskType, N>, - V: Simd, -{ - fn deref_mut(&mut self) -> &mut Self::Target { - self.classifier - .as_mut() - .expect("tail skip must always hold a classifier") - } -} diff --git a/crates/rsonpath-test/tests/generated.rs b/crates/rsonpath-test/tests/generated.rs deleted file mode 100644 index 37d7f22e..00000000 --- a/crates/rsonpath-test/tests/generated.rs +++ /dev/null @@ -1 +0,0 @@ -//Generated to suppress the error in ./tests.rs, might not be needed diff --git a/web/rsonpath-website/.cargo/config.toml b/web/rsonpath-website/.cargo/config.toml index 837fe3fe..1094721a 100644 --- a/web/rsonpath-website/.cargo/config.toml +++ b/web/rsonpath-website/.cargo/config.toml @@ -1,5 +1,8 @@ [build] target = "wasm32-unknown-unknown" +[alias] +build-website = "build -p rsonpath-website --target wasm32-unknown-unknown" + [env] RUSTFLAGS = "-C target-feature=+simd128" \ No newline at end of file From c34b617090651c7ea7c98ccd5ea8d26abf766355 Mon Sep 17 00:00:00 2001 From: Mateusz Gienieczko Date: Tue, 25 Nov 2025 15:31:52 +0100 Subject: [PATCH 14/16] chore: refactor web to use lib instead of rsonpath --- .cargo/config.toml | 2 +- Cargo.lock | 72 --- .../rsonpath-lib/src/classification/simd.rs | 6 +- crates/rsonpath/Cargo.toml | 4 - crates/rsonpath/src/args.rs | 6 +- crates/rsonpath/src/lib.rs | 128 ----- crates/rsonpath/src/main.rs | 130 +++-- crates/rsonpath/src/runner.rs | 134 ++--- web/rsonpath-website/.cargo/config.toml | 6 +- web/rsonpath-website/Cargo.lock | 540 +----------------- web/rsonpath-website/Cargo.toml | 9 +- web/rsonpath-website/src/lib.rs | 114 +++- 12 files changed, 208 insertions(+), 943 deletions(-) delete mode 100644 crates/rsonpath/src/lib.rs diff --git a/.cargo/config.toml b/.cargo/config.toml index a30ab5b5..3696d0ec 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,4 +1,4 @@ -[build] +[target.'cfg(not(target_arch = "wasm32"))'] # lld is not supported for wasm rustflags = ["-C", "link-arg=-fuse-ld=lld"] [alias] diff --git a/Cargo.lock b/Cargo.lock index c757a9fc..97c21cb0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -147,12 +147,6 @@ dependencies = [ "serde_core", ] -[[package]] -name = "bumpalo" -version = "3.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" - [[package]] name = "byteorder" version = "1.5.0" @@ -787,16 +781,6 @@ dependencies = [ "libc", ] -[[package]] -name = "js-sys" -version = "0.3.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" -dependencies = [ - "once_cell", - "wasm-bindgen", -] - [[package]] name = "libc" version = "0.2.178" @@ -1211,7 +1195,6 @@ dependencies = [ "vergen", "vergen-git2", "vergen-gitcl", - "web-time", ] [[package]] @@ -1860,61 +1843,6 @@ dependencies = [ "wit-bindgen", ] -[[package]] -name = "wasm-bindgen" -version = "0.2.105" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" -dependencies = [ - "cfg-if", - "once_cell", - "rustversion", - "wasm-bindgen-macro", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.105" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.105" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" -dependencies = [ - "bumpalo", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.105" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "web-time" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - [[package]] name = "winapi-util" version = "0.1.11" diff --git a/crates/rsonpath-lib/src/classification/simd.rs b/crates/rsonpath-lib/src/classification/simd.rs index db07f43c..8f0c7d21 100644 --- a/crates/rsonpath-lib/src/classification/simd.rs +++ b/crates/rsonpath-lib/src/classification/simd.rs @@ -570,7 +570,7 @@ pub(crate) fn configure() -> SimdConfiguration { // without simd128 we require the target_feature on compile-time to enable SIMD. else if #[cfg(all(target_arch = "wasm32", target_feature = "simd128"))] { - let highest_simd = SimdTag::SimdWasm32; + let highest_simd = SimdTag::WasmSimd128; let fast_quotes = false; let fast_popcnt = true; // popcnt is built-in on Wasm32 } @@ -968,7 +968,9 @@ cfg_if! { let conf = $conf; match conf.highest_simd() { - $crate::classification::simd::SimdTag::Wasm32 => { + $crate::classification::simd::SimdTag::WasmSimd128 => { + assert!(!conf.fast_quotes()); + assert!(conf.fast_popcnt()); let $simd = $crate::classification::simd::ResolvedSimd::< $crate::classification::quotes::nosimd::Constructor, $crate::classification::structural::nosimd::Constructor, diff --git a/crates/rsonpath/Cargo.toml b/crates/rsonpath/Cargo.toml index ca52b7c3..6849cf1a 100644 --- a/crates/rsonpath/Cargo.toml +++ b/crates/rsonpath/Cargo.toml @@ -31,7 +31,6 @@ log = { workspace = true } rsonpath-lib = { workspace = true } rsonpath-syntax = { workspace = true, features = ["color"] } simple_logger = "5.1.0" -web-time = "1.0" [build-dependencies] rustflags = { version = "0.1.7" } @@ -48,6 +47,3 @@ simd = ["rsonpath-lib/simd"] [lints] workspace = true - -[lib] -path = "src/lib.rs" diff --git a/crates/rsonpath/src/args.rs b/crates/rsonpath/src/args.rs index 3eff6119..e5f801a6 100644 --- a/crates/rsonpath/src/args.rs +++ b/crates/rsonpath/src/args.rs @@ -7,7 +7,7 @@ use clap::{Parser, ValueEnum}; /// Blazing fast JSONPath CLI tool powered by SIMD. /// /// A usage guide is available at . -pub struct Args { +pub(super) struct Args { /// JSONPath query to run against the input JSON. pub query: String, /// Input JSON file to query. @@ -41,7 +41,7 @@ pub struct Args { } #[derive(ValueEnum, Debug, Clone, Copy, PartialEq, Eq)] -pub enum ResultArg { +pub(super) enum ResultArg { /// Return only the number of matches. Count, /// Return a list of all bytes at which a match occurred. @@ -51,7 +51,7 @@ pub enum ResultArg { } #[derive(ValueEnum, Debug, Clone, Copy, PartialEq, Eq)] -pub enum InputArg { +pub(super) enum InputArg { /// Use a memory map over a file. /// /// This is preferred by default, if available on a given platform. diff --git a/crates/rsonpath/src/lib.rs b/crates/rsonpath/src/lib.rs deleted file mode 100644 index f3d3313c..00000000 --- a/crates/rsonpath/src/lib.rs +++ /dev/null @@ -1,128 +0,0 @@ -pub use crate::args::{Args, InputArg, ResultArg}; -use crate::error::{report_compiler_error, report_parser_error}; -use crate::runner::{BenchmarkRunOutput, Runner}; -use clap::Parser; -use color_eyre::{eyre::Result, Help}; -use log::*; -use rsonpath_lib::automaton::Automaton; -use rsonpath_syntax::{JsonPathQuery, ParserBuilder}; -use web_time::{Duration, Instant}; - -pub mod args; -mod error; -mod input; -mod logger; -mod runner; -mod version; - -pub fn run_main() -> Result { - use color_eyre::owo_colors::OwoColorize; - - let args = Args::parse(); - - logger::configure(args.verbose)?; - - run_with_args(&args).map_err(|err| err.with_note(|| format!("Query string: '{}'.", args.query.dimmed()))) -} - -pub fn run_with_args(args: &Args) -> Result { - // Benchmark parsing - let parse_start = Instant::now(); - let query = parse_query(&args.query)?; - let parse_time = parse_start.elapsed(); - - let compile_start = Instant::now(); - let automaton = compile_query(&query)?; - let compile_time = compile_start.elapsed(); - - let out = String::new(); - let err = String::new(); - - if args.compile { - println!("{automaton}"); - debug!("{automaton:?}"); - Ok(RunOutput { - stdout: out, - stderr: err, - benchmark_stats: Some(BenchmarkStats { - parse_time, - compile_time, - run_time: Duration::ZERO, - }), - }) - } else { - let input = runner::resolve_input( - args.file_path.as_deref(), - args.json.as_deref(), - args.force_input.as_ref(), - )?; - let engine = runner::resolve_engine(); - let output = runner::resolve_output(args.result); - - let runner = Runner { - with_compiled_query: automaton, - with_engine: engine, - with_input: input, - with_output: output, - }; - - // Benchmark execution - let BenchmarkRunOutput { - mut run_output, - duration: run_time, - } = runner.run_with_benchmark()?; - - run_output.benchmark_stats = Some(BenchmarkStats { - parse_time, - compile_time, - run_time, - }); - - Ok(run_output) - } -} - -pub fn parse_query(query_string: &str) -> Result { - let mut parser_builder = ParserBuilder::default(); - parser_builder.allow_surrounding_whitespace(true); - let parser: rsonpath_syntax::Parser = parser_builder.into(); - parser - .parse(query_string) - .map_err(|err| report_parser_error(err).wrap_err("Could not parse JSONPath query.")) -} - -pub fn compile_query(query: &JsonPathQuery) -> Result { - Automaton::new(query).map_err(|err| report_compiler_error(query, err).wrap_err("Error compiling the query.")) -} - -pub fn create_args( - query: String, - file_path: Option, - json: Option, - verbose: bool, - compile: bool, - result: ResultArg, - force_input: Option, -) -> Args { - Args { - query, - file_path, - json, - verbose, - compile, - result, - force_input, - } -} - -pub struct BenchmarkStats { - pub parse_time: Duration, - pub compile_time: Duration, - pub run_time: Duration, -} - -pub struct RunOutput { - pub stdout: String, - pub stderr: String, - pub benchmark_stats: Option, -} diff --git a/crates/rsonpath/src/main.rs b/crates/rsonpath/src/main.rs index 79a4e1ed..6f7fe5b6 100644 --- a/crates/rsonpath/src/main.rs +++ b/crates/rsonpath/src/main.rs @@ -1,63 +1,71 @@ -// use args::Args; -use color_eyre::eyre::Result; -use rsonpath::{run_main, RunOutput}; -// use rsonpath_lib::automaton::Automaton; -// use rsonpath_syntax::{JsonPathQuery, ParserBuilder}; -// use runner::Runner; - -// mod args; -// mod error; -// mod input; -// mod logger; -// mod runner; -// mod version; - -fn main() -> Result<(), std::io::Error> { - run_main().expect("panic"); - Ok(()) +use args::Args; +use clap::Parser; +use color_eyre::{eyre::Result, Help}; +use error::{report_compiler_error, report_parser_error}; +use log::*; +use rsonpath_lib::automaton::Automaton; +use rsonpath_syntax::{JsonPathQuery, ParserBuilder}; +use runner::Runner; + +mod args; +mod error; +mod input; +mod logger; +mod runner; +mod version; + +fn main() -> Result<()> { + use color_eyre::owo_colors::OwoColorize; + color_eyre::install()?; + + let args = Args::parse(); + + logger::configure(args.verbose)?; + + run_with_args(&args).map_err(|err| err.with_note(|| format!("Query string: '{}'.", args.query.dimmed()))) } -// fn run_with_args(args: &Args) -> Result<()> { -// let query = parse_query(&args.query)?; -// info!("Preparing query: `{query}`\n"); -// -// let automaton = compile_query(&query)?; -// info!("Automaton: {automaton}"); -// -// if args.compile { -// // Only compilation was requested, so we print the automaton and exit. -// println!("{automaton}"); -// debug!("{automaton:?}"); -// Ok(()) -// } else { -// // Actual query execution. -// let input = runner::resolve_input( -// args.file_path.as_deref(), -// args.json.as_deref(), -// args.force_input.as_ref(), -// )?; -// let engine = runner::resolve_engine(); -// let output = runner::resolve_output(args.result); -// -// Runner { -// with_compiled_query: automaton, -// with_engine: engine, -// with_input: input, -// with_output: output, -// } -// .run() -// } -// } -// -// fn parse_query(query_string: &str) -> Result { -// let mut parser_builder = ParserBuilder::default(); -// parser_builder.allow_surrounding_whitespace(true); -// let parser: rsonpath_syntax::Parser = parser_builder.into(); -// parser -// .parse(query_string) -// .map_err(|err| report_parser_error(err).wrap_err("Could not parse JSONPath query.")) -// } -// -// fn compile_query(query: &JsonPathQuery) -> Result { -// Automaton::new(query).map_err(|err| report_compiler_error(query, err).wrap_err("Error compiling the query.")) -// } +fn run_with_args(args: &Args) -> Result<()> { + let query = parse_query(&args.query)?; + info!("Preparing query: `{query}`\n"); + + let automaton = compile_query(&query)?; + info!("Automaton: {automaton}"); + + if args.compile { + // Only compilation was requested, so we print the automaton and exit. + println!("{automaton}"); + debug!("{automaton:?}"); + Ok(()) + } else { + // Actual query execution. + let input = runner::resolve_input( + args.file_path.as_deref(), + args.json.as_deref(), + args.force_input.as_ref(), + )?; + let engine = runner::resolve_engine(); + let output = runner::resolve_output(args.result); + + Runner { + with_compiled_query: automaton, + with_engine: engine, + with_input: input, + with_output: output, + } + .run() + } +} + +fn parse_query(query_string: &str) -> Result { + let mut parser_builder = ParserBuilder::default(); + parser_builder.allow_surrounding_whitespace(true); + let parser: rsonpath_syntax::Parser = parser_builder.into(); + parser + .parse(query_string) + .map_err(|err| report_parser_error(err).wrap_err("Could not parse JSONPath query.")) +} + +fn compile_query(query: &JsonPathQuery) -> Result { + Automaton::new(query).map_err(|err| report_compiler_error(query, err).wrap_err("Error compiling the query.")) +} diff --git a/crates/rsonpath/src/runner.rs b/crates/rsonpath/src/runner.rs index 126e516b..b939942b 100644 --- a/crates/rsonpath/src/runner.rs +++ b/crates/rsonpath/src/runner.rs @@ -2,26 +2,20 @@ use crate::input::{self, JsonSource, ResolvedInputKind}; use crate::{ args::{InputArg, ResultArg}, error::report_engine_error, - RunOutput, }; use eyre::{Result, WrapErr}; -// use log::warn; +use log::warn; use rsonpath_lib::{ automaton::Automaton, engine::{error::EngineError, main::MainEngine, Compiler, Engine}, - input::{BorrowedBytes, BufferedInput, Input, OwnedBytes}, + input::{BorrowedBytes, BufferedInput, Input, MmapInput, OwnedBytes}, result::MatchWriter, }; -use std::io::Write; -#[cfg(not(target_arch = "wasm32"))] -use std::time::Instant; use std::{ fs, io::{self, Read}, path::Path, }; -#[cfg(target_arch = "wasm32")] -use web_time::Instant; pub(super) struct Runner { pub with_compiled_query: Automaton, @@ -30,23 +24,8 @@ pub(super) struct Runner { pub with_output: ResolvedOutput, } -pub(super) struct BenchmarkRunOutput { - pub run_output: RunOutput, - pub duration: std::time::Duration, -} - -impl> Runner { - pub(super) fn run_with_benchmark(self) -> Result { - let start = Instant::now(); - let run_output = self.run()?; - let duration = start.elapsed(); - - Ok(BenchmarkRunOutput { run_output, duration }) - } -} - impl> Runner { - pub(super) fn run(self) -> Result { + pub(super) fn run(self) -> Result<()> { match self.with_engine { ResolvedEngine::Main => { let engine = MainEngine::from_compiled_query(self.with_compiled_query); @@ -108,52 +87,48 @@ pub(super) enum ResolvedOutput { } impl> ResolvedInput { - fn run_engine(mut self, engine: E, with_output: ResolvedOutput) -> Result { + fn run_engine(mut self, engine: E, with_output: ResolvedOutput) -> Result<()> { match self.kind { ResolvedInputKind::Mmap => { - // let raw_desc = self - // .file - // .try_as_raw_desc() - // .ok_or_else(|| eyre::eyre!("Attempt to create a memory map on inline JSON input."))?; + let raw_desc = self + .file + .try_as_raw_desc() + .ok_or_else(|| eyre::eyre!("Attempt to create a memory map on inline JSON input."))?; // SAFETY: The file is open for at least as long as self exists, so the fd should remain valid // throughout this function. - // let mmap_result = unsafe { MmapInput::map_file(raw_desc) }; - - // match mmap_result { - // Ok(input) => with_output.run_and_output(&engine, &input), - // Err(err) => match self.fallback_kind { - // Some(fallback_kind) => { - // warn!( - // "Creating a memory map failed: '{}'. Falling back to a slower input strategy.", - // err - // ); - // let new_input = Self { - // kind: fallback_kind, - // fallback_kind: None, - // file: self.file, - // }; - // - // new_input.run_engine(engine, with_output) - // } - // None => Err(err).wrap_err("Creating a memory map failed."), - // }, - // } - Err(eyre::eyre!("This operation is not possible on this version")) + let mmap_result = unsafe { MmapInput::map_file(raw_desc) }; + + match mmap_result { + Ok(input) => with_output.run_and_output(&engine, &input), + Err(err) => match self.fallback_kind { + Some(fallback_kind) => { + warn!("Creating a memory map failed: '{err}'. Falling back to a slower input strategy."); + let new_input = Self { + kind: fallback_kind, + fallback_kind: None, + file: self.file, + }; + + new_input.run_engine(engine, with_output) + } + None => Err(err).wrap_err("Creating a memory map failed."), + }, + } } ResolvedInputKind::Owned => match self.file { JsonSource::File(f) => { let contents = get_contents(f)?; let input = OwnedBytes::new(contents.into_bytes()); - Ok(with_output.run_and_output_with_benchmark(&engine, &input)?.run_output) + with_output.run_and_output(&engine, &input) } JsonSource::Stdin(s) => { let contents = get_contents(s)?; let input = OwnedBytes::new(contents.into_bytes()); - Ok(with_output.run_and_output_with_benchmark(&engine, &input)?.run_output) + with_output.run_and_output(&engine, &input) } JsonSource::Inline(j) => { let input = BorrowedBytes::new(j.as_ref().as_bytes()); - Ok(with_output.run_and_output_with_benchmark(&engine, &input)?.run_output) + with_output.run_and_output(&engine, &input) } }, ResolvedInputKind::Buffered => { @@ -162,36 +137,26 @@ impl> ResolvedInput { .try_as_read() .ok_or_else(|| eyre::eyre!("Attempt to buffer reads on inline JSON input."))?; let input = BufferedInput::new(read); - Ok(with_output.run_and_output_with_benchmark(&engine, &input)?.run_output) + with_output.run_and_output(&engine, &input) } } } } impl ResolvedOutput { - fn run_and_output(self, engine: &E, input: &I) -> Result { - // Allocate buffers - let mut stdout_buf = Vec::new(); - let stderr_buf = Vec::new(); // unused for now - - // Inner implementation — takes a writer - fn run_impl( - out: &ResolvedOutput, - engine: &E, - input: &I, - writer: &mut dyn Write, - ) -> Result<(), EngineError> { + fn run_and_output(self, engine: &E, input: &I) -> Result<()> { + fn run_impl(out: &ResolvedOutput, engine: &E, input: &I) -> Result<(), EngineError> { match out { ResolvedOutput::Count => { let result = engine.count(input)?; - write!(writer, "{result}")?; + print!("{result}"); } ResolvedOutput::Index => { - let mut sink = MatchWriter::from(writer); + let mut sink = MatchWriter::from(io::stdout().lock()); engine.indices(input, &mut sink)?; } ResolvedOutput::Nodes => { - let mut sink = MatchWriter::from(writer); + let mut sink = MatchWriter::from(io::stdout().lock()); engine.matches(input, &mut sink)?; } } @@ -199,34 +164,7 @@ impl ResolvedOutput { Ok(()) } - // Run and collect output - run_impl(&self, engine, input, &mut stdout_buf) - .map_err(|err| report_engine_error(err).wrap_err("Error executing the query."))?; - - // Convert buffers to strings - let stdout = String::from_utf8(stdout_buf).unwrap_or_else(|_| "".to_string()); - let stderr = String::from_utf8(stderr_buf).unwrap_or_else(|_| "".to_string()); - - Ok(RunOutput { - stdout, - stderr, - benchmark_stats: None, - }) - } - - pub(crate) fn run_and_output_with_benchmark( - self, - engine: &E, - input: &I, - ) -> Result { - let start = Instant::now(); - let output = self.run_and_output(engine, input)?; - let duration = start.elapsed(); - - Ok(BenchmarkRunOutput { - run_output: output, - duration, - }) + run_impl(&self, engine, input).map_err(|err| report_engine_error(err).wrap_err("Error executing the query.")) } } diff --git a/web/rsonpath-website/.cargo/config.toml b/web/rsonpath-website/.cargo/config.toml index 1094721a..97c82f61 100644 --- a/web/rsonpath-website/.cargo/config.toml +++ b/web/rsonpath-website/.cargo/config.toml @@ -1,8 +1,6 @@ [build] target = "wasm32-unknown-unknown" +rustflags = ["-C", "target-feature=+simd128"] [alias] -build-website = "build -p rsonpath-website --target wasm32-unknown-unknown" - -[env] -RUSTFLAGS = "-C target-feature=+simd128" \ No newline at end of file +build-website = "build -p rsonpath-website --target wasm32-unknown-unknown" \ No newline at end of file diff --git a/web/rsonpath-website/Cargo.lock b/web/rsonpath-website/Cargo.lock index f8ab6167..03e88ab7 100644 --- a/web/rsonpath-website/Cargo.lock +++ b/web/rsonpath-website/Cargo.lock @@ -141,15 +141,6 @@ dependencies = [ "zerocopy", ] -[[package]] -name = "aho-corasick" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" -dependencies = [ - "memchr", -] - [[package]] name = "android-activity" version = "0.6.0" @@ -177,62 +168,6 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04" -[[package]] -name = "anstream" -version = "0.6.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" - -[[package]] -name = "anstyle-parse" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" -dependencies = [ - "windows-sys 0.61.2", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" -dependencies = [ - "anstyle", - "once_cell_polyfill", - "windows-sys 0.61.2", -] - -[[package]] -name = "anyhow" -version = "1.0.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" - [[package]] name = "arboard" version = "3.6.1" @@ -679,38 +614,6 @@ dependencies = [ "wayland-client", ] -[[package]] -name = "camino" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609" -dependencies = [ - "serde_core", -] - -[[package]] -name = "cargo-platform" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo_metadata" -version = "0.19.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" -dependencies = [ - "camino", - "cargo-platform", - "semver", - "serde", - "serde_json", - "thiserror 2.0.17", -] - [[package]] name = "cc" version = "1.2.47" @@ -750,47 +653,6 @@ dependencies = [ "libc", ] -[[package]] -name = "clap" -version = "4.5.53" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap_builder" -version = "4.5.53" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", - "terminal_size", -] - -[[package]] -name = "clap_derive" -version = "4.5.49" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_lex" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" - [[package]] name = "clipboard-win" version = "5.4.1" @@ -830,21 +692,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" -[[package]] -name = "colorchoice" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" - -[[package]] -name = "colored" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e" -dependencies = [ - "windows-sys 0.59.0", -] - [[package]] name = "combine" version = "4.6.7" @@ -951,87 +798,12 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f27ae1dd37df86211c42e150270f82743308803d90a6f6e6651cd730d5e1732f" -[[package]] -name = "darling" -version = "0.20.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.20.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim", - "syn", -] - -[[package]] -name = "darling_macro" -version = "0.20.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" -dependencies = [ - "darling_core", - "quote", - "syn", -] - [[package]] name = "data-url" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be1e0bca6c3637f992fc1cc7cbc52a78c1ef6db076dbf1059c4323d6a2048376" -[[package]] -name = "deranged" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" -dependencies = [ - "powerfmt", -] - -[[package]] -name = "derive_builder" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "507dfb09ea8b7fa618fcf76e953f4f5e192547945816d5358edffe39f6f94947" -dependencies = [ - "derive_builder_macro", -] - -[[package]] -name = "derive_builder_core" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "derive_builder_macro" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" -dependencies = [ - "derive_builder_core", - "syn", -] - [[package]] name = "dispatch" version = "0.2.0" @@ -1463,12 +1235,6 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - [[package]] name = "foldhash" version = "0.1.5" @@ -1627,19 +1393,6 @@ version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" -[[package]] -name = "git2" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2deb07a133b1520dc1a5690e9bd08950108873d7ed5de38dcc74d3b5ebffa110" -dependencies = [ - "bitflags 2.10.0", - "libc", - "libgit2-sys", - "log", - "url", -] - [[package]] name = "gl_generator" version = "0.14.0" @@ -1880,12 +1633,6 @@ dependencies = [ "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" @@ -1956,18 +1703,6 @@ dependencies = [ "hashbrown 0.16.1", ] -[[package]] -name = "is_terminal_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" - -[[package]] -name = "itoa" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" - [[package]] name = "jni" version = "0.21.1" @@ -2033,18 +1768,6 @@ version = "0.2.177" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" -[[package]] -name = "libgit2-sys" -version = "0.18.2+1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c42fe03df2bd3c53a3a9c7317ad91d80c81cd1fb0caec8d7cc4cd2bfa10c222" -dependencies = [ - "cc", - "libc", - "libz-sys", - "pkg-config", -] - [[package]] name = "libloading" version = "0.8.9" @@ -2072,18 +1795,6 @@ dependencies = [ "redox_syscall 0.5.18", ] -[[package]] -name = "libz-sys" -version = "1.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15d118bbf3771060e7311cc7bb0545b01d08a8b4a7de949198dec1fa0ca1c0f7" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - [[package]] name = "linux-raw-sys" version = "0.4.15" @@ -2267,12 +1978,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "num-conv" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" - [[package]] name = "num-traits" version = "0.2.19" @@ -2305,15 +2010,6 @@ dependencies = [ "syn", ] -[[package]] -name = "num_threads" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" -dependencies = [ - "libc", -] - [[package]] name = "objc-sys" version = "0.3.5" @@ -2601,12 +2297,6 @@ version = "1.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" -[[package]] -name = "once_cell_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" - [[package]] name = "orbclient" version = "0.3.49" @@ -2836,12 +2526,6 @@ 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" @@ -2992,35 +2676,6 @@ dependencies = [ "bitflags 2.10.0", ] -[[package]] -name = "regex" -version = "1.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" - [[package]] name = "renderdoc-sys" version = "1.1.0" @@ -3107,24 +2762,6 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97" -[[package]] -name = "rsonpath" -version = "0.9.4" -dependencies = [ - "clap", - "color-eyre", - "eyre", - "log", - "rsonpath-lib", - "rsonpath-syntax", - "rustflags", - "simple_logger", - "vergen", - "vergen-git2", - "vergen-gitcl", - "web-time", -] - [[package]] name = "rsonpath-lib" version = "0.9.4" @@ -3144,7 +2781,6 @@ name = "rsonpath-syntax" version = "0.4.0" dependencies = [ "nom", - "owo-colors", "thiserror 2.0.17", "unicode-width", ] @@ -3162,11 +2798,13 @@ dependencies = [ "gloo-timers", "js-sys", "rfd", - "rsonpath", + "rsonpath-lib", + "rsonpath-syntax", "strip-ansi-escapes", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", + "web-time", ] [[package]] @@ -3187,21 +2825,6 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" -[[package]] -name = "rustc_version" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" -dependencies = [ - "semver", -] - -[[package]] -name = "rustflags" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a39e0e9135d7a7208ee80aa4e3e4b88f0f5ad7be92153ed70686c38a03db2e63" - [[package]] name = "rustix" version = "0.38.44" @@ -3269,12 +2892,6 @@ version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" -[[package]] -name = "ryu" -version = "1.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" - [[package]] name = "same-file" version = "1.0.6" @@ -3296,16 +2913,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -[[package]] -name = "semver" -version = "1.0.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" -dependencies = [ - "serde", - "serde_core", -] - [[package]] name = "serde" version = "1.0.228" @@ -3336,19 +2943,6 @@ dependencies = [ "syn", ] -[[package]] -name = "serde_json" -version = "1.0.145" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" -dependencies = [ - "itoa", - "memchr", - "ryu", - "serde", - "serde_core", -] - [[package]] name = "serde_repr" version = "0.1.20" @@ -3381,18 +2975,6 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" -[[package]] -name = "simple_logger" -version = "5.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291bee647ce7310b0ea721bfd7e0525517b4468eb7c7e15eb8bd774343179702" -dependencies = [ - "colored", - "log", - "time", - "windows-sys 0.61.2", -] - [[package]] name = "simplecss" version = "0.2.2" @@ -3531,12 +3113,6 @@ dependencies = [ "vte", ] -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - [[package]] name = "strum" version = "0.26.3" @@ -3619,16 +3195,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "terminal_size" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" -dependencies = [ - "rustix 1.1.2", - "windows-sys 0.60.2", -] - [[package]] name = "thiserror" version = "1.0.69" @@ -3683,39 +3249,6 @@ dependencies = [ "zune-jpeg", ] -[[package]] -name = "time" -version = "0.3.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" -dependencies = [ - "deranged", - "itoa", - "libc", - "num-conv", - "num_threads", - "powerfmt", - "serde", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" - -[[package]] -name = "time-macros" -version = "0.2.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" -dependencies = [ - "num-conv", - "time-core", -] - [[package]] name = "tiny-skia" version = "0.11.4" @@ -3932,12 +3465,6 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" -[[package]] -name = "utf8parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" - [[package]] name = "uuid" version = "1.18.1" @@ -3949,73 +3476,12 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - [[package]] name = "vector-map" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03b34e878e32c750bb4253be124adb9da1dc93ca5d98c210787badf1e1ccdca7" -[[package]] -name = "vergen" -version = "9.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b2bf58be11fc9414104c6d3a2e464163db5ef74b12296bda593cac37b6e4777" -dependencies = [ - "anyhow", - "cargo_metadata", - "derive_builder", - "regex", - "rustc_version", - "rustversion", - "vergen-lib", -] - -[[package]] -name = "vergen-git2" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f6ee511ec45098eabade8a0750e76eec671e7fb2d9360c563911336bea9cac1" -dependencies = [ - "anyhow", - "derive_builder", - "git2", - "rustversion", - "time", - "vergen", - "vergen-lib", -] - -[[package]] -name = "vergen-gitcl" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9dfc1de6eb2e08a4ddf152f1b179529638bedc0ea95e6d667c014506377aefe" -dependencies = [ - "anyhow", - "derive_builder", - "rustversion", - "time", - "vergen", - "vergen-lib", -] - -[[package]] -name = "vergen-lib" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b07e6010c0f3e59fcb164e0163834597da68d1f864e2b8ca49f74de01e9c166" -dependencies = [ - "anyhow", - "derive_builder", - "rustversion", -] - [[package]] name = "version_check" version = "0.9.5" diff --git a/web/rsonpath-website/Cargo.toml b/web/rsonpath-website/Cargo.toml index cf446640..24c5542f 100644 --- a/web/rsonpath-website/Cargo.toml +++ b/web/rsonpath-website/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "rsonpath-website" version = "0.1.0" -authors = ["Georgios Chatzikyriakou"] +authors = ["Georgios Chatzikyriakou", "Mateusz Gienieczko "] #add readme license = "MIT" -repository = "https://github.com/GeoChatzik/rsonpath" +repository = "https://github.com/rsonquery/rsonpath" +homepage = "https://rsonquery.github.io/web" edition = "2024" [dependencies] @@ -19,12 +20,14 @@ eframe = { version = "0.32.0", default-features = false, features = [ egui = "0.32.0" egui_extras = { version = "0.32.0", features = ["all_loaders", "svg"] } wasm-bindgen = "0.2" -rsonpath = { path = "../../crates/rsonpath" } +rsonpath = { path = "../../crates/rsonpath-lib", package = "rsonpath-lib" } +rsonpath-syntax = { path = "../../crates/rsonpath-syntax" } rfd = { version = "0.15.3", optional = true } js-sys = "0.3.77" color-eyre = { version = "0.6", default-features = false, features = ["track-caller"] } eyre = "0.6" strip-ansi-escapes = "0.2.1" +web-time = "1.0" [target.'cfg(target_arch = "wasm32")'.dependencies] wasm-bindgen-futures = "0.4.50" diff --git a/web/rsonpath-website/src/lib.rs b/web/rsonpath-website/src/lib.rs index cb5e40c8..f2ab9a9b 100644 --- a/web/rsonpath-website/src/lib.rs +++ b/web/rsonpath-website/src/lib.rs @@ -2,12 +2,30 @@ use eframe::Frame; use eframe::emath::Align; use eframe::epaint::Color32; use egui::{Button, ComboBox, Context, Layout, RichText, ScrollArea, TextEdit, TopBottomPanel, Vec2}; -use rsonpath::*; +use eyre::Result; +use rsonpath::automaton::{Automaton, error::CompilerError}; +use rsonpath::engine::{Compiler, Engine, RsonpathEngine}; +use rsonpath::input::BorrowedBytes; +use rsonpath::result::MatchWriter; +use rsonpath_syntax::error::ParseError; +use rsonpath_syntax::{JsonPathQuery, ParserBuilder}; use std::cell::{OnceCell, RefCell}; -use std::sync::{Arc, Mutex, OnceLock}; +use std::io::Write; +use std::sync::{Mutex, OnceLock}; use strip_ansi_escapes::strip; use wasm_bindgen::prelude::*; use web_sys::window; +use web_time::{Duration, Instant}; + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +enum ResultArg { + /// Return only the number of matches. + Count, + /// Return a list of all bytes at which a match occurred. + Indices, + /// Returns the full text of the matched nodes. + Nodes, +} pub struct WebsiteGui { json_input: String, @@ -245,7 +263,7 @@ impl eframe::App for WebsiteGui { //Truncates the input to the first 10,000 characters if imported file is > 10MB if self.json_input.len() > 10_000_000 { - let preview: String = self.json_input.chars().take(10_000).collect(); + let preview: String = "".to_string(); ui.add_sized( [left_side_width, json_box_height], TextEdit::multiline(&mut preview.clone()).hint_text(hint_text).interactive(false), @@ -342,35 +360,17 @@ impl eframe::App for WebsiteGui { let mut total_run = std::time::Duration::ZERO; let mut last_stdout = String::new(); - let mut last_stderr = String::new(); for _ in 0..self.benchmark_repetitions { if self.warmup { - let _ = run_with_args(&create_args( - self.query_input.clone(), - None, - Some(self.json_input.clone()), - false, - false, - self.argument_result_arg, - None, - )); + let _ = run(&self.query_input, &self.json_input, self.argument_result_arg); self.warmup = false; } - match run_with_args(&create_args( - self.query_input.clone(), - None, - Option::from(self.json_input.clone()), - false, - false, - self.argument_result_arg, - None, - )) { + match run(&self.query_input, &self.json_input, self.argument_result_arg) { Ok(run_output) => { last_stdout = run_output.stdout.clone(); - last_stderr = run_output.stderr.clone(); if let Some(benchmarks) = run_output.benchmark_stats { total_parse += benchmarks.parse_time; @@ -401,8 +401,7 @@ impl eframe::App for WebsiteGui { ); } else { self.console_output = format!( - "{}Benchmark Stats{}:\n\n\t- Parse time: {:?}\n\t- Compile time: {:?}\n\t- Run time: {:?}", - last_stderr, + "Benchmark Stats{}:\n\n\t- Parse time: {:?}\n\t- Compile time: {:?}\n\t- Run time: {:?}", if self.benchmark_repetitions > 1 { format!(" (averaged over {} runs)", self.benchmark_repetitions) } else { @@ -625,10 +624,65 @@ pub fn register_file_handler() { closure.forget(); } -#[cfg(test)] -mod tests { - //use super::*; +fn run(query: &str, json: &str, result_arg: ResultArg) -> Result { + // Benchmark parsing + let parse_start = Instant::now(); + let query = parse_query(query)?; + let parse_time = parse_start.elapsed(); + + let compile_start = Instant::now(); + let automaton = compile_query(&query)?; + let compile_time = compile_start.elapsed(); + + let mut out = Vec::new(); + + let engine = RsonpathEngine::from_compiled_query(automaton); + let input = BorrowedBytes::new(json.as_bytes()); + let start = Instant::now(); + match result_arg { + ResultArg::Count => { + let result = engine.count(&input)?; + write!(&mut out, "{result}")?; + } + ResultArg::Indices => { + let mut sink = MatchWriter::from(&mut out); + engine.indices(&input, &mut sink)?; + } + ResultArg::Nodes => { + let mut sink = MatchWriter::from(&mut out); + engine.matches(&input, &mut sink)?; + } + }; + let run_time = start.elapsed(); + + Ok(RunOutput { + stdout: String::from_utf8(out).expect(""), + benchmark_stats: Some(BenchmarkStats { + parse_time, + compile_time, + run_time, + }), + }) +} + +fn parse_query(query_string: &str) -> Result { + let mut parser_builder = ParserBuilder::default(); + parser_builder.allow_surrounding_whitespace(true); + let parser: rsonpath_syntax::Parser = parser_builder.into(); + parser.parse(query_string) +} + +fn compile_query(query: &JsonPathQuery) -> Result { + Automaton::new(query) +} + +pub struct BenchmarkStats { + pub parse_time: Duration, + pub compile_time: Duration, + pub run_time: Duration, +} - #[test] - fn it_works() {} +pub struct RunOutput { + pub stdout: String, + pub benchmark_stats: Option, } From 63779427a77f5e7516bae1792266396f4d43a82c Mon Sep 17 00:00:00 2001 From: Mateusz Gienieczko Date: Mon, 8 Dec 2025 16:54:36 +0100 Subject: [PATCH 15/16] feat: major refactoring into workers, better file download --- web/rsonpath-website/Cargo.lock | 487 ++++++----------- web/rsonpath-website/Cargo.toml | 58 +- web/rsonpath-website/index.html | 47 +- web/rsonpath-website/rustfmt.toml | 5 + web/rsonpath-website/src/constants.rs | 9 + web/rsonpath-website/src/eframe.rs | 153 ++++++ web/rsonpath-website/src/engine_run.rs | 193 +++++++ web/rsonpath-website/src/file_load.rs | 248 +++++++++ web/rsonpath-website/src/lib.rs | 697 +---------------------- web/rsonpath-website/src/main.rs | 37 -- web/rsonpath-website/src/message.rs | 729 +++++++++++++++++++++++++ web/rsonpath-website/src/runner.rs | 253 +++++++++ web/rsonpath-website/src/ui.rs | 679 +++++++++++++++++++++++ web/rsonpath-website/src/util.rs | 49 ++ 14 files changed, 2540 insertions(+), 1104 deletions(-) create mode 100644 web/rsonpath-website/rustfmt.toml create mode 100644 web/rsonpath-website/src/constants.rs create mode 100644 web/rsonpath-website/src/eframe.rs create mode 100644 web/rsonpath-website/src/engine_run.rs create mode 100644 web/rsonpath-website/src/file_load.rs delete mode 100644 web/rsonpath-website/src/main.rs create mode 100644 web/rsonpath-website/src/message.rs create mode 100644 web/rsonpath-website/src/runner.rs create mode 100644 web/rsonpath-website/src/ui.rs create mode 100644 web/rsonpath-website/src/util.rs diff --git a/web/rsonpath-website/Cargo.lock b/web/rsonpath-website/Cargo.lock index 03e88ab7..a5aeb62b 100644 --- a/web/rsonpath-website/Cargo.lock +++ b/web/rsonpath-website/Cargo.lock @@ -20,9 +20,9 @@ checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618" [[package]] name = "accesskit" -version = "0.19.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e25ae84c0260bdf5df07796d7cc4882460de26a2b406ec0e6c42461a723b271b" +checksum = "cf203f9d3bd8f29f98833d1fbef628df18f759248a547e7e01cfbf63cda36a99" dependencies = [ "enumn", "serde", @@ -30,9 +30,9 @@ dependencies = [ [[package]] name = "accesskit_atspi_common" -version = "0.12.0" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29bd41de2e54451a8ca0dd95ebf45b54d349d29ebceb7f20be264eee14e3d477" +checksum = "890d241cf51fc784f0ac5ac34dfc847421f8d39da6c7c91a0fcc987db62a8267" dependencies = [ "accesskit", "accesskit_consumer", @@ -44,9 +44,9 @@ dependencies = [ [[package]] name = "accesskit_consumer" -version = "0.28.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bfae7c152994a31dc7d99b8eeac7784a919f71d1b306f4b83217e110fd3824c" +checksum = "db81010a6895d8707f9072e6ce98070579b43b717193d2614014abd5cb17dd43" dependencies = [ "accesskit", "hashbrown 0.15.5", @@ -54,9 +54,9 @@ dependencies = [ [[package]] name = "accesskit_macos" -version = "0.20.0" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692dd318ff8a7a0ffda67271c4bd10cf32249656f4e49390db0b26ca92b095f2" +checksum = "a0089e5c0ac0ca281e13ea374773898d9354cc28d15af9f0f7394d44a495b575" dependencies = [ "accesskit", "accesskit_consumer", @@ -68,9 +68,9 @@ dependencies = [ [[package]] name = "accesskit_unix" -version = "0.15.0" +version = "0.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f7474c36606d0fe4f438291d667bae7042ea2760f506650ad2366926358fc8" +checksum = "301e55b39cfc15d9c48943ce5f572204a551646700d0e8efa424585f94fec528" dependencies = [ "accesskit", "accesskit_atspi_common", @@ -86,9 +86,9 @@ dependencies = [ [[package]] name = "accesskit_windows" -version = "0.27.0" +version = "0.29.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70a042b62c9c05bf7b616f015515c17d2813f3ba89978d6f4fc369735d60700a" +checksum = "d2d63dd5041e49c363d83f5419a896ecb074d309c414036f616dc0b04faca971" dependencies = [ "accesskit", "accesskit_consumer", @@ -100,9 +100,9 @@ dependencies = [ [[package]] name = "accesskit_winit" -version = "0.27.0" +version = "0.29.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c1f0d3d13113d8857542a4f8d1a1c24d1dc1527b77aee8426127f4901588708" +checksum = "c8cfabe59d0eaca7412bfb1f70198dd31e3b0496fee7e15b066f9c36a1a140a0" dependencies = [ "accesskit", "accesskit_macos", @@ -206,28 +206,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "175571dd1d178ced59193a6fc02dde1b972eb0bc56c892cde9beeceac5bf0f6b" -[[package]] -name = "ashpd" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cbdf310d77fd3aaee6ea2093db7011dc2d35d2eb3481e5607f1f8d942ed99df" -dependencies = [ - "async-fs", - "async-net", - "enumflags2", - "futures-channel", - "futures-util", - "rand 0.9.2", - "raw-window-handle", - "serde", - "serde_repr", - "url", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "zbus", -] - [[package]] name = "async-broadcast" version = "0.7.2" @@ -266,17 +244,6 @@ dependencies = [ "slab", ] -[[package]] -name = "async-fs" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8034a681df4aed8b8edbd7fbe472401ecf009251c8b40556b304567052e294c5" -dependencies = [ - "async-lock", - "blocking", - "futures-lite", -] - [[package]] name = "async-io" version = "2.6.0" @@ -306,17 +273,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "async-net" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b948000fad4873c1c9339d60f2623323a0cfd3816e5181033c6a5cb68b2accf7" -dependencies = [ - "async-io", - "blocking", - "futures-lite", -] - [[package]] name = "async-process" version = "2.5.0" @@ -387,6 +343,12 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" +[[package]] +name = "atomic_float" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "628d228f918ac3b82fe590352cc719d30664a0c13ca3a60266fe02c7132d480a" + [[package]] name = "atspi" version = "0.25.0" @@ -503,15 +465,6 @@ dependencies = [ "objc2 0.5.2", ] -[[package]] -name = "block2" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" -dependencies = [ - "objc2 0.6.3", -] - [[package]] name = "blocking" version = "1.6.2" @@ -616,9 +569,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.47" +version = "1.2.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd405d82c84ff7f35739f175f67d8b9fb7687a0e84ccdc78bd3568839827cf07" +checksum = "c481bdbf0ed3b892f6f806287d72acd515b352a4ec27a208489b8c1bc839633a" dependencies = [ "find-msvc-tools", "jobserver", @@ -668,8 +621,6 @@ version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81" dependencies = [ - "serde", - "termcolor", "unicode-width", ] @@ -817,8 +768,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89a09f22a6c6069a18470eb92d2298acf25463f14256d24778e1230d789a2aec" dependencies = [ "bitflags 2.10.0", - "block2 0.6.2", - "libc", "objc2 0.6.3", ] @@ -865,9 +814,9 @@ checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" [[package]] name = "ecolor" -version = "0.32.3" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94bdf37f8d5bd9aa7f753573fdda9cf7343afa73dd28d7bfe9593bd9798fc07e" +checksum = "084980ebede2fb1ad6c4f54285b3e489052ef2b6aa4016e4c19349417adc75c5" dependencies = [ "bytemuck", "emath", @@ -876,9 +825,9 @@ dependencies = [ [[package]] name = "eframe" -version = "0.32.3" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14d1c15e7bd136b309bd3487e6ffe5f668b354cd9768636a836dd738ac90eb0b" +checksum = "4f60ee3c69cd01d5725b4ef476ed6a3a6009968c57843a2f1beb96f021e4a54b" dependencies = [ "ahash", "bytemuck", @@ -908,16 +857,15 @@ dependencies = [ "wasm-bindgen-futures", "web-sys", "web-time", - "winapi", - "windows-sys 0.59.0", + "windows-sys 0.61.2", "winit", ] [[package]] name = "egui" -version = "0.32.3" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d5d0306cd61ca75e29682926d71f2390160247f135965242e904a636f51c0dc" +checksum = "b75645894de4ca1695ab3ab7201c7953bb95c1725aafeefa6822dc901ad2a81b" dependencies = [ "accesskit", "ahash", @@ -933,11 +881,24 @@ dependencies = [ "unicode-segmentation", ] +[[package]] +name = "egui-async" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d8b581360d3d43ec0338e3fc0a9270a4a0394fca7b613ac9184e29c7b4edc80" +dependencies = [ + "atomic_float", + "egui", + "tokio", + "tracing", + "wasm-bindgen-futures", +] + [[package]] name = "egui-wgpu" -version = "0.32.3" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c12eca13293f8eba27a32aaaa1c765bfbf31acd43e8d30d5881dcbe5e99ca0c7" +checksum = "acdaac35a6e0ff458aaa5776b2bda578e38334a9d1258f7795042a70372745b7" dependencies = [ "ahash", "bytemuck", @@ -946,7 +907,7 @@ dependencies = [ "epaint", "log", "profiling", - "thiserror 1.0.69", + "thiserror 2.0.17", "type-map", "web-time", "wgpu", @@ -955,16 +916,18 @@ dependencies = [ [[package]] name = "egui-winit" -version = "0.32.3" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f95d0a91f9cb0dc2e732d49c2d521ac8948e1f0b758f306fb7b14d6f5db3927f" +checksum = "4772ed5f16fa8ec2ba295e58f62b58ee83fcf49e67ec13d2b7ddf4e9a2dea34e" dependencies = [ "accesskit_winit", - "ahash", "arboard", "bytemuck", "egui", "log", + "objc2 0.5.2", + "objc2-foundation 0.2.2", + "objc2-ui-kit", "profiling", "raw-window-handle", "serde", @@ -976,9 +939,9 @@ dependencies = [ [[package]] name = "egui_extras" -version = "0.32.3" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dddbceddf39805fc6c62b1f7f9c05e23590b40844dc9ed89c6dc6dbc886e3e3b" +checksum = "550e844e608e356f4ad6843c510aa9bb5838b427e4700ed0056e9746ceeed866" dependencies = [ "ahash", "egui", @@ -993,11 +956,10 @@ dependencies = [ [[package]] name = "egui_glow" -version = "0.32.3" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc7037813341727937f9e22f78d912f3e29bc3c46e2f40a9e82bb51cbf5e4cfb" +checksum = "17b94ff67a1d18933fff2519f5f57c388f932c093036c381fb9ae2853b3e1e09" dependencies = [ - "ahash", "bytemuck", "egui", "glow", @@ -1025,9 +987,9 @@ dependencies = [ [[package]] name = "emath" -version = "0.32.3" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45fd7bc25f769a3c198fe1cf183124bf4de3bd62ef7b4f1eaf6b08711a3af8db" +checksum = "0e561352ae95c22ad179fb56c38d6e6eecd86cf4925cf5c70e738dd01df9b620" dependencies = [ "bytemuck", "serde", @@ -1035,9 +997,9 @@ dependencies = [ [[package]] name = "endi" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3d8a32ae18130a3c84dd492d4215c3d913c3b07c6b63c2eb3eb7ff1101ab7bf" +checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099" [[package]] name = "enum-map" @@ -1093,9 +1055,9 @@ dependencies = [ [[package]] name = "epaint" -version = "0.32.3" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63adcea970b7a13094fe97a36ab9307c35a750f9e24bf00bb7ef3de573e0fddb" +checksum = "a909ce8cee63e8350fb0c251ad39277a5b24f19add60787e84a3b3ab3f2bd83a" dependencies = [ "ab_glyph", "ahash", @@ -1112,9 +1074,9 @@ dependencies = [ [[package]] name = "epaint_default_fonts" -version = "0.32.3" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1537accc50c9cab5a272c39300bdd0dd5dca210f6e5e8d70be048df9596e7ca2" +checksum = "ad9649446c23368ae138716910e3e28143995691b598fbb9de16b42b0722cbcc" [[package]] name = "equivalent" @@ -1241,6 +1203,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" +[[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.5.0" @@ -1277,15 +1245,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "futures-channel" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" -dependencies = [ - "futures-core", -] - [[package]] name = "futures-core" version = "0.3.31" @@ -1335,10 +1294,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ "futures-core", - "futures-io", "futures-macro", "futures-task", - "memchr", "pin-project-lite", "pin-utils", "slab", @@ -1404,16 +1361,6 @@ dependencies = [ "xml-rs", ] -[[package]] -name = "gloo-timers" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - [[package]] name = "glow" version = "0.16.0" @@ -1510,7 +1457,7 @@ version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" dependencies = [ - "foldhash", + "foldhash 0.1.5", ] [[package]] @@ -1518,12 +1465,9 @@ name = "hashbrown" version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +dependencies = [ + "foldhash 0.2.0", +] [[package]] name = "hermit-abi" @@ -1737,9 +1681,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.82" +version = "0.3.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" +checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" dependencies = [ "once_cell", "wasm-bindgen", @@ -1888,9 +1832,9 @@ dependencies = [ [[package]] name = "moxcms" -version = "0.7.9" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fbdd3d7436f8b5e892b8b7ea114271ff0fa00bc5acae845d53b07d498616ef6" +checksum = "80986bbbcf925ebd3be54c26613d861255284584501595cf418320c078945608" dependencies = [ "num-traits", "pxfm", @@ -1898,24 +1842,25 @@ dependencies = [ [[package]] name = "naga" -version = "25.0.1" +version = "27.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b977c445f26e49757f9aca3631c3b8b836942cb278d69a92e7b80d3b24da632" +checksum = "066cf25f0e8b11ee0df221219010f213ad429855f57c494f995590c861a9a7d8" dependencies = [ "arrayvec", "bit-set", "bitflags 2.10.0", + "cfg-if", "cfg_aliases", "codespan-reporting", "half", - "hashbrown 0.15.5", + "hashbrown 0.16.1", "hexf-parse", "indexmap", + "libm", "log", "num-traits", "once_cell", "rustc-hash 1.1.0", - "strum", "thiserror 2.0.17", "unicode-ident", ] @@ -2042,7 +1987,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff" dependencies = [ "bitflags 2.10.0", - "block2 0.5.1", + "block2", "libc", "objc2 0.5.2", "objc2-core-data", @@ -2058,7 +2003,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" dependencies = [ "bitflags 2.10.0", - "block2 0.6.2", "objc2 0.6.3", "objc2-core-foundation", "objc2-core-graphics", @@ -2072,7 +2016,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74dd3b56391c7a0596a295029734d3c1c5e7e510a4cb30245f8221ccea96b009" dependencies = [ "bitflags 2.10.0", - "block2 0.5.1", + "block2", "objc2 0.5.2", "objc2-core-location", "objc2-foundation 0.2.2", @@ -2084,7 +2028,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a5ff520e9c33812fd374d8deecef01d4a840e7b41862d849513de77e44aa4889" dependencies = [ - "block2 0.5.1", + "block2", "objc2 0.5.2", "objc2-foundation 0.2.2", ] @@ -2096,7 +2040,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef" dependencies = [ "bitflags 2.10.0", - "block2 0.5.1", + "block2", "objc2 0.5.2", "objc2-foundation 0.2.2", ] @@ -2131,7 +2075,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80" dependencies = [ - "block2 0.5.1", + "block2", "objc2 0.5.2", "objc2-foundation 0.2.2", "objc2-metal", @@ -2143,7 +2087,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "000cfee34e683244f284252ee206a27953279d370e309649dc3ee317b37e5781" dependencies = [ - "block2 0.5.1", + "block2", "objc2 0.5.2", "objc2-contacts", "objc2-foundation 0.2.2", @@ -2162,7 +2106,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8" dependencies = [ "bitflags 2.10.0", - "block2 0.5.1", + "block2", "dispatch", "libc", "objc2 0.5.2", @@ -2196,7 +2140,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1a1ae721c5e35be65f01a03b6d2ac13a54cb4fa70d8a5da293d7b0020261398" dependencies = [ - "block2 0.5.1", + "block2", "objc2 0.5.2", "objc2-app-kit 0.2.2", "objc2-foundation 0.2.2", @@ -2209,7 +2153,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6" dependencies = [ "bitflags 2.10.0", - "block2 0.5.1", + "block2", "objc2 0.5.2", "objc2-foundation 0.2.2", ] @@ -2221,7 +2165,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a" dependencies = [ "bitflags 2.10.0", - "block2 0.5.1", + "block2", "objc2 0.5.2", "objc2-foundation 0.2.2", "objc2-metal", @@ -2244,7 +2188,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8bb46798b20cd6b91cbd113524c490f1686f4c4e8f49502431415f3512e2b6f" dependencies = [ "bitflags 2.10.0", - "block2 0.5.1", + "block2", "objc2 0.5.2", "objc2-cloud-kit", "objc2-core-data", @@ -2264,7 +2208,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44fa5f9748dbfe1ca6c0b79ad20725a11eca7c2218bceb4b005cb1be26273bfe" dependencies = [ - "block2 0.5.1", + "block2", "objc2 0.5.2", "objc2-foundation 0.2.2", ] @@ -2276,7 +2220,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76cfcbf642358e8689af64cee815d139339f3ed8ad05103ed5eaf73db8d84cb3" dependencies = [ "bitflags 2.10.0", - "block2 0.5.1", + "block2", "objc2 0.5.2", "objc2-core-location", "objc2-foundation 0.2.2", @@ -2383,7 +2327,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" dependencies = [ "phf_shared", - "rand 0.8.5", + "rand", ] [[package]] @@ -2505,12 +2449,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "pollster" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f3a9f18d041e6d0e102a0a46750538147e5e8992d3b4873aaafee2520b00ce3" - [[package]] name = "portable-atomic" version = "1.11.1" @@ -2518,21 +2456,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" [[package]] -name = "potential_utf" -version = "0.1.4" +name = "portable-atomic-util" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" dependencies = [ - "zerovec", + "portable-atomic", ] [[package]] -name = "ppv-lite86" -version = "0.2.21" +name = "potential_utf" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" dependencies = [ - "zerocopy", + "zerovec", ] [[package]] @@ -2561,9 +2499,9 @@ checksum = "3eb8486b569e12e2c32ad3e204dbaba5e4b5b216e9367044f25f1dba42341773" [[package]] name = "pxfm" -version = "0.1.25" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3cbdf373972bf78df4d3b518d07003938e2c7d1fb5891e55f9cb6df57009d84" +checksum = "b3502d6155304a4173a5f2c34b52b7ed0dd085890326cb50fd625fdf39e86b3b" dependencies = [ "num-traits", ] @@ -2614,27 +2552,7 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ - "rand_core 0.6.4", -] - -[[package]] -name = "rand" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" -dependencies = [ - "rand_chacha", - "rand_core 0.9.3", -] - -[[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 0.9.3", + "rand_core", ] [[package]] @@ -2643,15 +2561,6 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -[[package]] -name = "rand_core" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" -dependencies = [ - "getrandom 0.3.4", -] - [[package]] name = "raw-window-handle" version = "0.6.2" @@ -2696,30 +2605,6 @@ dependencies = [ "usvg", ] -[[package]] -name = "rfd" -version = "0.15.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef2bee61e6cffa4635c72d7d81a84294e28f0930db0ddcb0f66d10244674ebed" -dependencies = [ - "ashpd", - "block2 0.6.2", - "dispatch2", - "js-sys", - "log", - "objc2 0.6.3", - "objc2-app-kit 0.3.2", - "objc2-core-foundation", - "objc2-foundation 0.3.2", - "pollster", - "raw-window-handle", - "urlencoding", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "windows-sys 0.59.0", -] - [[package]] name = "rgb" version = "0.8.52" @@ -2745,9 +2630,9 @@ dependencies = [ [[package]] name = "ron" -version = "0.10.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "beceb6f7bf81c73e73aeef6dd1356d9a1b2b4909e1f0fc3e59b034f9572d7b7f" +checksum = "db09040cc89e461f1a265139777a2bde7f8d8c67c4936f700c63ce3e2904d468" dependencies = [ "base64", "bitflags 2.10.0", @@ -2793,14 +2678,12 @@ dependencies = [ "console_error_panic_hook", "eframe", "egui", + "egui-async", "egui_extras", "eyre", - "gloo-timers", "js-sys", - "rfd", "rsonpath-lib", "rsonpath-syntax", - "strip-ansi-escapes", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -2868,9 +2751,9 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94182ad936a0c91c324cd46c6511b9510ed16af436d7b5bab34beab0afd55f7a" +checksum = "708c0f9d5f54ba0272468c1d306a52c495b31fa155e91bc25371e6df7996908c" dependencies = [ "zeroize", ] @@ -3104,37 +2987,6 @@ dependencies = [ "float-cmp", ] -[[package]] -name = "strip-ansi-escapes" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a8f8038e7e7969abb3f1b7c2a811225e9296da208539e0f79c5251d6cac0025" -dependencies = [ - "vte", -] - -[[package]] -name = "strum" -version = "0.26.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" -dependencies = [ - "strum_macros", -] - -[[package]] -name = "strum_macros" -version = "0.26.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn", -] - [[package]] name = "subtle" version = "2.6.1" @@ -3186,15 +3038,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "termcolor" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] - [[package]] name = "thiserror" version = "1.0.69" @@ -3285,6 +3128,15 @@ dependencies = [ "zerovec", ] +[[package]] +name = "tokio" +version = "1.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" +dependencies = [ + "pin-project-lite", +] + [[package]] name = "toml_datetime" version = "0.7.3" @@ -3317,9 +3169,9 @@ dependencies = [ [[package]] name = "tracing" -version = "0.1.41" +version = "0.1.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" +checksum = "2d15d90a0b5c19378952d479dc858407149d7bb45a14de0142f6c534b16fc647" dependencies = [ "log", "pin-project-lite", @@ -3329,9 +3181,9 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.30" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" dependencies = [ "proc-macro2", "quote", @@ -3340,9 +3192,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.34" +version = "0.1.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" +checksum = "7a04e24fab5c89c6a36eb8558c9656f30d81de51dfa4d3b45f26b21d61fa0a6c" dependencies = [ "once_cell", ] @@ -3431,12 +3283,6 @@ dependencies = [ "serde", ] -[[package]] -name = "urlencoding" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" - [[package]] name = "usvg" version = "0.45.1" @@ -3488,15 +3334,6 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" -[[package]] -name = "vte" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "231fdcd7ef3037e8330d8e17e61011a2c244126acc0a982f4040ac3f9f0bc077" -dependencies = [ - "memchr", -] - [[package]] name = "walkdir" version = "2.5.0" @@ -3524,9 +3361,9 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.105" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" +checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" dependencies = [ "cfg-if", "once_cell", @@ -3537,9 +3374,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.55" +version = "0.4.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "551f88106c6d5e7ccc7cd9a16f312dd3b5d36ea8b4954304657d5dfba115d4a0" +checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c" dependencies = [ "cfg-if", "js-sys", @@ -3550,9 +3387,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.105" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" +checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -3560,9 +3397,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.105" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" +checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" dependencies = [ "bumpalo", "proc-macro2", @@ -3573,9 +3410,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.105" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" +checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" dependencies = [ "unicode-ident", ] @@ -3717,9 +3554,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.82" +version = "0.3.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1" +checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac" dependencies = [ "js-sys", "wasm-bindgen", @@ -3777,25 +3614,22 @@ checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88" [[package]] name = "wgpu" -version = "25.0.2" +version = "27.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec8fb398f119472be4d80bc3647339f56eb63b2a331f6a3d16e25d8144197dd9" +checksum = "bfe68bac7cde125de7a731c3400723cadaaf1703795ad3f4805f187459cd7a77" dependencies = [ "arrayvec", "bitflags 2.10.0", + "cfg-if", "cfg_aliases", "document-features", - "hashbrown 0.15.5", - "js-sys", + "hashbrown 0.16.1", "log", - "parking_lot", "portable-atomic", "profiling", "raw-window-handle", "smallvec", "static_assertions", - "wasm-bindgen", - "web-sys", "wgpu-core", "wgpu-hal", "wgpu-types", @@ -3803,17 +3637,18 @@ dependencies = [ [[package]] name = "wgpu-core" -version = "25.0.2" +version = "27.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7b882196f8368511d613c6aeec80655160db6646aebddf8328879a88d54e500" +checksum = "27a75de515543b1897b26119f93731b385a19aea165a1ec5f0e3acecc229cae7" dependencies = [ "arrayvec", "bit-set", "bit-vec", "bitflags 2.10.0", + "bytemuck", "cfg_aliases", "document-features", - "hashbrown 0.15.5", + "hashbrown 0.16.1", "indexmap", "log", "naga", @@ -3832,26 +3667,27 @@ dependencies = [ [[package]] name = "wgpu-core-deps-windows-linux-android" -version = "25.0.0" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cba5fb5f7f9c98baa7c889d444f63ace25574833df56f5b817985f641af58e46" +checksum = "71197027d61a71748e4120f05a9242b2ad142e3c01f8c1b47707945a879a03c3" dependencies = [ "wgpu-hal", ] [[package]] name = "wgpu-hal" -version = "25.0.2" +version = "27.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f968767fe4d3d33747bbd1473ccd55bf0f6451f55d733b5597e67b5deab4ad17" +checksum = "5b21cb61c57ee198bc4aff71aeadff4cbb80b927beb912506af9c780d64313ce" dependencies = [ "bitflags 2.10.0", + "cfg-if", "cfg_aliases", "libloading", "log", "naga", - "parking_lot", "portable-atomic", + "portable-atomic-util", "raw-window-handle", "renderdoc-sys", "thiserror 2.0.17", @@ -3860,9 +3696,9 @@ dependencies = [ [[package]] name = "wgpu-types" -version = "25.0.0" +version = "27.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aa49460c2a8ee8edba3fca54325540d904dd85b2e086ada762767e17d06e8bc" +checksum = "afdcf84c395990db737f2dd91628706cb31e86d72e53482320d368e52b5da5eb" dependencies = [ "bitflags 2.10.0", "bytemuck", @@ -4261,7 +4097,7 @@ dependencies = [ "android-activity", "atomic-waker", "bitflags 2.10.0", - "block2 0.5.1", + "block2", "bytemuck", "calloop 0.13.0", "cfg_aliases", @@ -4304,9 +4140,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.7.13" +version = "0.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21a0236b59786fed61e2a80582dd500fe61f18b5dca67a4a067d0bc9039339cf" +checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829" dependencies = [ "memchr", ] @@ -4515,18 +4351,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.8.28" +version = "0.8.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90" +checksum = "4ea879c944afe8a2b25fef16bb4ba234f47c694565e97383b36f3a878219065c" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.28" +version = "0.8.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26" +checksum = "cf955aa904d6040f70dc8e9384444cb1030aed272ba3cb09bbc4ab9e7c1f34f5" dependencies = [ "proc-macro2", "quote", @@ -4617,7 +4453,6 @@ dependencies = [ "endi", "enumflags2", "serde", - "url", "winnow", "zvariant_derive", "zvariant_utils", diff --git a/web/rsonpath-website/Cargo.toml b/web/rsonpath-website/Cargo.toml index 24c5542f..da59277e 100644 --- a/web/rsonpath-website/Cargo.toml +++ b/web/rsonpath-website/Cargo.toml @@ -9,7 +9,8 @@ homepage = "https://rsonquery.github.io/web" edition = "2024" [dependencies] -eframe = { version = "0.32.0", default-features = false, features = [ +color-eyre = { version = "0.6.5", default-features = false, features = ["track-caller"] } +eframe = { version = "0.33.2", default-features = false, features = [ "accesskit", "default_fonts", "glow", @@ -17,47 +18,46 @@ eframe = { version = "0.32.0", default-features = false, features = [ "wayland", "x11", ] } -egui = "0.32.0" -egui_extras = { version = "0.32.0", features = ["all_loaders", "svg"] } -wasm-bindgen = "0.2" +egui = "0.33.2" +egui-async = "0.2.5" +egui_extras = { version = "0.33.2", features = ["all_loaders", "svg"] } +eyre = "0.6.12" +js-sys = "0.3.83" rsonpath = { path = "../../crates/rsonpath-lib", package = "rsonpath-lib" } rsonpath-syntax = { path = "../../crates/rsonpath-syntax" } -rfd = { version = "0.15.3", optional = true } -js-sys = "0.3.77" -color-eyre = { version = "0.6", default-features = false, features = ["track-caller"] } -eyre = "0.6" -strip-ansi-escapes = "0.2.1" -web-time = "1.0" +wasm-bindgen = "0.2.106" +web-time = "1.1.0" -[target.'cfg(target_arch = "wasm32")'.dependencies] -wasm-bindgen-futures = "0.4.50" -web-sys = "0.3.70" console_error_panic_hook = "0.1.7" -gloo-timers = "0.3" - -[dependencies.web-sys] -version = "0.3" -features = [ - "Url", +wasm-bindgen-futures = "0.4.56" +web-sys = { version = "0.3.83", features = [ "Blob", + "DedicatedWorkerGlobalScope", + "Document", + "DomException", + "Event", "FileReader", "HtmlInputElement", "HtmlAnchorElement", - "Event", - "Document", - "Window", + "MessageEvent", "Node", -] - -[target.'cfg(not(target_arch = "wasm32"))'.dependencies] -rfd = "0.15.3" - -#[lints] -#workspace = true + "ProgressEvent", + "Url", + "Window", + "Worker", +] } [lib] path = "src/lib.rs" crate-type = ["cdylib", "rlib"] +[[bin]] +path = "src/eframe.rs" +name = "eframe" + +[[bin]] +path = "src/runner.rs" +name = "runner" + [profile.release] incremental = true diff --git a/web/rsonpath-website/index.html b/web/rsonpath-website/index.html index 87efdca4..cd23e52c 100644 --- a/web/rsonpath-website/index.html +++ b/web/rsonpath-website/index.html @@ -4,7 +4,8 @@ RsonQuery Web - + + - + + - \ No newline at end of file diff --git a/web/rsonpath-website/rustfmt.toml b/web/rsonpath-website/rustfmt.toml new file mode 100644 index 00000000..95fefa43 --- /dev/null +++ b/web/rsonpath-website/rustfmt.toml @@ -0,0 +1,5 @@ +edition = "2021" +max_width = 120 +newline_style = "Unix" +use_field_init_shorthand = true +use_try_shorthand = true \ No newline at end of file diff --git a/web/rsonpath-website/src/constants.rs b/web/rsonpath-website/src/constants.rs new file mode 100644 index 00000000..5ab2f764 --- /dev/null +++ b/web/rsonpath-website/src/constants.rs @@ -0,0 +1,9 @@ +pub const CANVAS_ELEMENT_ID: &str = "rsonquery-web-canvas"; +pub const FILE_INPUT_ELEMENT_ID: &str = "file-input"; +pub const WORKER_BIN_NAME: &str = "runner"; +pub const FILE_PREVIEW_CHARS: usize = 64_000; +pub const MAX_OUTPUT_BYTES: usize = 10_000_000; +pub const FILE_MAX_BYTES: usize = 1_000_000_000; +pub const WARMUP_RUNS: usize = 2; +pub const FONT_SIZE_NORMAL: f32 = 15.0; +pub const RQ_COLOR: egui::Color32 = egui::Color32::from_rgb(227, 60, 38); diff --git a/web/rsonpath-website/src/eframe.rs b/web/rsonpath-website/src/eframe.rs new file mode 100644 index 00000000..2bc6d9d7 --- /dev/null +++ b/web/rsonpath-website/src/eframe.rs @@ -0,0 +1,153 @@ +use rsonpath_website::constants; +use rsonpath_website::message::*; +use std::pin::Pin; +use std::sync::{ + Arc, + atomic::{AtomicI32, Ordering}, +}; +use std::task::{Context, Poll}; +use wasm_bindgen::prelude::*; +use web_sys::{Blob, BlobPropertyBag, MessageEvent, Url, Worker, console, js_sys::Array}; + +fn main() -> Result<(), JsValue> { + console_error_panic_hook::set_once(); + color_eyre::install().expect("color_eyre install"); + + let window = web_sys::window().expect("no global `window` exists"); + let document = window.document().expect("should have a document"); + let canvas = document + .get_element_by_id(constants::CANVAS_ELEMENT_ID) + .expect("canvas element not found, update CANVAS_ELEMENT_ID") + .dyn_into::()?; + + wasm_bindgen_futures::spawn_local(async move { + let runner = eframe::WebRunner::new(); + // The GUI must wait for the Runner to spawn, or else actions such as Run or Open File will not be handled. + console::log_1(&"⏳ Waiting for rsonpath worker to spawn...".into()); + let worker = create_worker().await.expect("Failed to create worker"); + console::log_1(&"Worker ready.".into()); + // Handle control to the Website struct. + worker.set_onmessage(None); + runner + .start( + canvas, + eframe::WebOptions::default(), + Box::new(|cc| Ok(Box::new(rsonpath_website::start(cc, worker)))), + ) + .await + .expect("Failed to start eframe WebRunner"); + }); + + Ok(()) +} + +fn create_worker() -> impl Future> { + // This is basically magic, modelled after trunk webworker example: + // https://github.com/trunk-rs/trunk/blob/f1ee3d4032cb939b8513d1d8fabfcb84ce46d811/examples/webworker/src/bin/app.rs#L5-L27 + let origin = web_sys::window() + .expect("window to be available") + .location() + .origin() + .expect("origin to be available"); + + let script = Array::new(); + script.push( + &format!( + r#"importScripts("{origin}/{}.js");wasm_bindgen("{origin}/{}_bg.wasm");"#, + constants::WORKER_BIN_NAME, + constants::WORKER_BIN_NAME + ) + .into(), + ); + + let blob_property_bag = BlobPropertyBag::new(); + blob_property_bag.set_type("text/javascript"); + let blob = Blob::new_with_str_sequence_and_options(&script, &blob_property_bag).expect("blob to be created"); + + let url = Url::create_object_url_with_blob(&blob).expect("url to be created"); + + let worker = Worker::new(&url).expect("worker to be created"); + let worker_clone = worker.clone(); + // Here we handle control over to our custom Future that coordinates with the spawned worker. + CreateWorkerFuture::new(worker_clone) +} + +struct CreateWorkerFuture { + worker: Worker, + state: CreateWorkerFutureState, +} + +/// Internal state of the [`CreateWorkerFuture`]. +enum CreateWorkerFutureState { + /// Sentinel value, must not be used between polls. + None, + /// Future was created and not polled yet, setup of event handlers required. + Init, + /// Message channels were initialized, we are waiting for the worker to report back. + /// The inner value is the status code Arc with a value of -1 while waiting, set to the actual + /// status after the worker reports back. + Launched(Arc), +} + +impl CreateWorkerFuture { + pub fn new(worker: Worker) -> Self { + Self { + worker, + state: CreateWorkerFutureState::Init, + } + } +} + +impl Future for CreateWorkerFuture { + type Output = Result; + + fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { + let mut state = CreateWorkerFutureState::None; + std::mem::swap(&mut self.state, &mut state); + let state = state; + let (state, response) = match state { + CreateWorkerFutureState::Init => { + // Set up the callback and the status code Arc to communicate the message back. + let status_code = Arc::new(AtomicI32::new(-1)); + let status_code_clone = status_code.clone(); + let waker_clone = cx.waker().clone(); + let onmessage = Closure::wrap(Box::new(move |msg: MessageEvent| { + assert_eq!(msg.ty(), MessageType::WorkerStarted, "worker reported invalid message"); + let msg = msg + .deserialize::() + .expect("correct WorkerStartedMessage"); + status_code_clone.store(msg.status(), Ordering::Release); + waker_clone.wake_by_ref(); + }) as Box); + self.worker.set_onmessage(Some(onmessage.as_ref().unchecked_ref())); + onmessage.forget(); + (CreateWorkerFutureState::Launched(status_code), Poll::Pending) + } + CreateWorkerFutureState::Launched(status_code_arc) => { + let status_code = status_code_arc.load(Ordering::Acquire); + if status_code == -1 { + // It's not the message handler that woke us up, we're not ready yet. + (CreateWorkerFutureState::Launched(status_code_arc), Poll::Pending) + } else if status_code == 0 { + // Successful start. + let worker = self.worker.clone(); + ( + CreateWorkerFutureState::Launched(status_code_arc), + Poll::Ready(Ok(worker)), + ) + } else { + // Some error occurred. + let error = format!("worker failed to create: status code {status_code}").into(); + ( + CreateWorkerFutureState::Launched(status_code_arc), + Poll::Ready(Err(error)), + ) + } + } + CreateWorkerFutureState::None => unreachable!("CreateWorkerFutureState::None cannot happen"), + }; + + self.state = state; + response + } +} diff --git a/web/rsonpath-website/src/engine_run.rs b/web/rsonpath-website/src/engine_run.rs new file mode 100644 index 00000000..d4adca49 --- /dev/null +++ b/web/rsonpath-website/src/engine_run.rs @@ -0,0 +1,193 @@ +use crate::message::{ + GenericMessage, MessageChannel, MessageType, RsonpathRuntime, RunRsonpathFailureMessage, RunRsonpathMessage, + RunRsonpathSuccessMessage, +}; +use egui_async::Bind; +use std::cell::RefCell; +use std::pin::Pin; +use std::rc::Rc; +use std::sync::Mutex; +use std::task::{Context, Poll}; +use wasm_bindgen::JsCast; +use wasm_bindgen::closure::Closure; +use web_sys::{MessageEvent, Worker}; + +#[derive(Clone)] +pub struct EngineRun(Rc>); + +struct EngineRunImpl { + engine_run_bind: Bind<(), String>, + state: EngineRunState, +} + +pub enum EngineRunState { + Idle, + Requested(EngineRunRequested), + InProgress(EngineRunInProgress), + Succeeded(EngineRunResult), + Failed(EngineRunFailure), + None, +} + +enum EngineRunFinished { + Success(RunRsonpathSuccessMessage), + Failure(RunRsonpathFailureMessage), +} + +pub struct EngineRunRequested { + msg: RunRsonpathMessage, +} + +pub struct EngineRunInProgress { + finished: Rc>>, +} + +pub struct EngineRunResult { + runtime: RsonpathRuntime, + results: String, +} + +pub struct EngineRunFailure { + error: String, +} + +impl EngineRunResult { + pub fn runtime(&self) -> &RsonpathRuntime { + &self.runtime + } + + pub fn results(&self) -> &str { + &self.results + } +} + +impl EngineRunFailure { + pub fn error(&self) -> &str { + &self.error + } +} + +impl EngineRun { + pub fn new() -> Self { + Self(Rc::new(Mutex::new(EngineRunImpl { + engine_run_bind: Bind::new(true), + state: EngineRunState::Idle, + }))) + } + + pub fn request_async_run(&self, msg: RunRsonpathMessage, gui_ctx: egui::Context, worker: Worker) { + let future = EngineRunFuture::start(msg, self.clone(), gui_ctx, worker); + self.0.lock().unwrap().engine_run_bind.request(future); + } + + pub fn with_state(&self, f: F) -> R + where + F: FnOnce(&EngineRunState) -> R, + { + let state = &self.0.lock().unwrap().state; + f(state) + } +} + +pub struct EngineRunFuture { + worker: Worker, + engine_run: EngineRun, + gui_ctx: egui::Context, +} + +impl EngineRunFuture { + fn start(msg: RunRsonpathMessage, engine_run: EngineRun, gui_ctx: egui::Context, worker: Worker) -> Self { + { + let mut inner = engine_run.0.lock().unwrap(); + inner.state = EngineRunState::Requested(EngineRunRequested { msg }); + } + + Self { + worker, + gui_ctx, + engine_run, + } + } +} + +impl Future for EngineRunFuture { + type Output = Result<(), String>; + + fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { + use web_sys::console; + let mut engine_run = self.engine_run.0.lock().unwrap(); + let mut state = EngineRunState::None; + std::mem::swap(&mut engine_run.state, &mut state); + let state = state; + let (state, response) = match state { + EngineRunState::Idle => (EngineRunState::Idle, Poll::Ready(Ok(()))), + EngineRunState::Requested(request) => { + console::log_1(&"Requested, starting...".into()); + let finished = Rc::new(RefCell::new(None)); + let finished_clone = finished.clone(); + let waker = cx.waker().clone(); + let gui_ctx = self.gui_ctx.clone(); + let onmessage = Closure::wrap(Box::new(move |msg: MessageEvent| match msg.ty() { + MessageType::RunRsonpathSuccess => { + let msg = msg + .deserialize::() + .expect("RunRsonpathSuccessMessage to be correct"); + finished_clone.borrow_mut().replace(EngineRunFinished::Success(msg)); + waker.wake_by_ref(); + gui_ctx.request_repaint(); + } + MessageType::RunRsonpathFailure => { + let msg = msg + .deserialize::() + .expect("RunRsonpathFailureMessage to be correct"); + finished_clone.borrow_mut().replace(EngineRunFinished::Failure(msg)); + waker.wake_by_ref(); + gui_ctx.request_repaint(); + } + _ => (), + }) as Box); + self.worker.set_onmessage(Some(onmessage.as_ref().unchecked_ref())); + onmessage.forget(); + + self.worker + .send(request.msg) + .expect("RunRsonpathMessage sent to worker"); + + ( + EngineRunState::InProgress(EngineRunInProgress { finished }), + Poll::Pending, + ) + } + EngineRunState::InProgress(in_progress) => { + if let Some(finished) = in_progress.finished.take() { + console::log_1(&"We are done!".into()); + self.gui_ctx.request_repaint(); + match finished { + EngineRunFinished::Success(success) => ( + EngineRunState::Succeeded(EngineRunResult { + runtime: success.runtime().clone(), + results: success.into_results(), + }), + Poll::Ready(Ok(())), + ), + EngineRunFinished::Failure(failure) => ( + EngineRunState::Failed(EngineRunFailure { + error: failure.into_error(), + }), + Poll::Ready(Ok(())), + ), + } + } else { + console::log_1(&"We are not done.".into()); + (EngineRunState::InProgress(in_progress), Poll::Pending) + } + } + EngineRunState::Succeeded(loaded) => (EngineRunState::Succeeded(loaded), Poll::Ready(Ok(()))), + EngineRunState::Failed(loaded) => (EngineRunState::Failed(loaded), Poll::Ready(Ok(()))), + EngineRunState::None => unreachable!("EngineRunState::None cannot happen"), + }; + + engine_run.state = state; + response + } +} diff --git a/web/rsonpath-website/src/file_load.rs b/web/rsonpath-website/src/file_load.rs new file mode 100644 index 00000000..1d0f407f --- /dev/null +++ b/web/rsonpath-website/src/file_load.rs @@ -0,0 +1,248 @@ +use crate::message::*; +use crate::util::AtomicF32; +use egui_async::Bind; +use eyre::Result; +use std::cell::RefCell; +use std::pin::Pin; +use std::rc::Rc; +use std::sync::Mutex; +use std::sync::atomic::Ordering; +use std::task::Poll; +use wasm_bindgen::prelude::*; +use web_sys::{MessageEvent, Worker, window}; +use web_time::Duration; + +#[derive(Clone)] +pub struct FileLoad(Rc>); + +struct FileLoadImpl { + file_read_bind: Bind<(), String>, + state: FileLoadState, +} + +pub enum FileLoadState { + Idle, + Requested(FileLoadRequested), + InProgress(FileLoadInProgress), + Succeeded(FileLoaded), + Failed(FileLoadFailed), + None, +} + +pub struct FileLoadRequested { + file: web_sys::File, +} + +pub struct FileLoadInProgress { + file: web_sys::File, + progress: Rc, + finished: Rc>>, + start: f64, +} + +enum FileLoadFinished { + Success(LoadFileSuccessMessage), + Failure(LoadFileFailureMessage), +} + +pub struct FileLoaded { + file: web_sys::File, + preview: String, + elapsed: f64, +} + +pub struct FileLoadFailed { + file: web_sys::File, + error: String, + elapsed: f64, +} + +impl FileLoad { + pub fn new() -> Self { + Self(Rc::new(Mutex::new(FileLoadImpl { + file_read_bind: Bind::new(true), + state: FileLoadState::Idle, + }))) + } + + pub fn request_async_load(&self, file: web_sys::File, gui_ctx: egui::Context, worker: Worker) { + let future = FileLoadFuture::start(self.clone(), file, gui_ctx, worker); + self.0.lock().unwrap().file_read_bind.request(future); + } + + pub fn discard(&self, gui_ctx: &egui::Context, worker: &Worker) { + let mut lock = self.0.lock().unwrap(); + lock.state = FileLoadState::Idle; + lock.file_read_bind.clear(); + let msg = DiscardFileMessage::new(); + worker.send(msg).expect("send DiscardFileMessage to worker to succeed"); + gui_ctx.request_repaint(); + } + + pub fn with_state(&self, f: F) -> R + where + F: FnOnce(&FileLoadState) -> R, + { + let state = &self.0.lock().unwrap().state; + f(state) + } +} + +pub struct FileLoadFuture { + worker: Worker, + file_load: FileLoad, + gui_ctx: egui::Context, +} + +impl FileLoadFuture { + fn start(file_load: FileLoad, file: web_sys::File, gui_ctx: egui::Context, worker: Worker) -> Self { + { + let mut inner = file_load.0.lock().unwrap(); + inner.state = FileLoadState::Requested(FileLoadRequested { file }); + } + + Self { + worker, + gui_ctx, + file_load, + } + } +} + +impl FileLoadInProgress { + pub fn progress(&self) -> f32 { + self.progress.get(Ordering::Acquire) + } +} + +impl FileLoadFailed { + pub fn error(&self) -> &str { + &self.error + } + + pub fn elapsed(&self) -> Duration { + Duration::from_secs_f64(self.elapsed * 0.001) + } + + pub fn file(&self) -> &web_sys::File { + &self.file + } +} + +impl FileLoaded { + pub fn preview(&self) -> &str { + &self.preview + } + + pub fn elapsed(&self) -> Duration { + Duration::from_secs_f64(self.elapsed * 0.001) + } + + pub fn file(&self) -> &web_sys::File { + &self.file + } +} + +impl Future for FileLoadFuture { + type Output = Result<(), String>; + + fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll { + use web_sys::console; + let mut file_load = self.file_load.0.lock().unwrap(); + let mut state = FileLoadState::None; + std::mem::swap(&mut file_load.state, &mut state); + let state = state; + let (state, response) = match state { + FileLoadState::Idle => (FileLoadState::Idle, Poll::Ready(Ok(()))), + FileLoadState::Requested(request) => { + console::log_1(&"Requested, starting...".into()); + let start = window().unwrap().performance().unwrap().now(); + let progress = Rc::new(AtomicF32::new(0.0)); + let finished = Rc::new(RefCell::new(None)); + let progress_clone = progress.clone(); + let finished_clone = finished.clone(); + let waker = cx.waker().clone(); + let gui_ctx = self.gui_ctx.clone(); + let onmessage = Closure::wrap(Box::new(move |msg: MessageEvent| match msg.ty() { + MessageType::LoadFileProgress => { + let msg = msg + .deserialize::() + .expect("LoadFileProgressMessage to be correct"); + progress_clone.store(msg.progress(), Ordering::Release); + gui_ctx.request_repaint(); + } + MessageType::LoadFileSuccess => { + let msg = msg + .deserialize::() + .expect("LoadFileFinishedMessage to be correct"); + finished_clone.borrow_mut().replace(FileLoadFinished::Success(msg)); + progress_clone.store(1.0, Ordering::Release); + waker.wake_by_ref(); + gui_ctx.request_repaint(); + } + MessageType::LoadFileFailure => { + let msg = msg + .deserialize::() + .expect("LoadFileFailureMessage to be correct"); + finished_clone.borrow_mut().replace(FileLoadFinished::Failure(msg)); + progress_clone.store(1.0, Ordering::Release); + waker.wake_by_ref(); + gui_ctx.request_repaint(); + } + _ => (), + }) as Box); + self.worker.set_onmessage(Some(onmessage.as_ref().unchecked_ref())); + onmessage.forget(); + + self.worker + .send(LoadFileMessage::new(request.file.clone())) + .expect("LoadFileMessage sent to worker"); + + ( + FileLoadState::InProgress(FileLoadInProgress { + file: request.file, + progress, + finished, + start, + }), + Poll::Pending, + ) + } + FileLoadState::InProgress(in_progress) => { + if let Some(finished) = in_progress.finished.take() { + console::log_1(&"We are done!".into()); + let now = window().unwrap().performance().unwrap().now(); + let elapsed = now - in_progress.start; + self.gui_ctx.request_repaint(); + match finished { + FileLoadFinished::Success(success) => ( + FileLoadState::Succeeded(FileLoaded { + file: in_progress.file, + preview: success.into_preview(), + elapsed, + }), + Poll::Ready(Ok(())), + ), + FileLoadFinished::Failure(failure) => ( + FileLoadState::Failed(FileLoadFailed { + file: in_progress.file, + error: failure.into_error(), + elapsed, + }), + Poll::Ready(Ok(())), + ), + } + } else { + console::log_1(&"We are not done.".into()); + (FileLoadState::InProgress(in_progress), Poll::Pending) + } + } + FileLoadState::Succeeded(loaded) => (FileLoadState::Succeeded(loaded), Poll::Ready(Ok(()))), + FileLoadState::Failed(loaded) => (FileLoadState::Failed(loaded), Poll::Ready(Ok(()))), + FileLoadState::None => unreachable!("FileLoadState::None cannot happen"), + }; + + file_load.state = state; + response + } +} diff --git a/web/rsonpath-website/src/lib.rs b/web/rsonpath-website/src/lib.rs index f2ab9a9b..f5b934a1 100644 --- a/web/rsonpath-website/src/lib.rs +++ b/web/rsonpath-website/src/lib.rs @@ -1,688 +1,47 @@ -use eframe::Frame; -use eframe::emath::Align; -use eframe::epaint::Color32; -use egui::{Button, ComboBox, Context, Layout, RichText, ScrollArea, TextEdit, TopBottomPanel, Vec2}; -use eyre::Result; -use rsonpath::automaton::{Automaton, error::CompilerError}; -use rsonpath::engine::{Compiler, Engine, RsonpathEngine}; -use rsonpath::input::BorrowedBytes; -use rsonpath::result::MatchWriter; -use rsonpath_syntax::error::ParseError; -use rsonpath_syntax::{JsonPathQuery, ParserBuilder}; -use std::cell::{OnceCell, RefCell}; -use std::io::Write; -use std::sync::{Mutex, OnceLock}; -use strip_ansi_escapes::strip; -use wasm_bindgen::prelude::*; -use web_sys::window; -use web_time::{Duration, Instant}; +use crate::ui::WebsiteGui; +use std::any::TypeId; +use std::borrow::Cow; +use std::ops::Range; -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -enum ResultArg { - /// Return only the number of matches. - Count, - /// Return a list of all bytes at which a match occurred. - Indices, - /// Returns the full text of the matched nodes. - Nodes, -} +pub mod constants; +mod engine_run; +mod file_load; +pub mod message; +mod ui; +pub mod util; -pub struct WebsiteGui { - json_input: String, - query_input: String, - json_output: String, - console_output: String, - is_dragging_file: bool, - toggle_dark_mode_on: bool, - toggle_console_on: bool, - argument_result_arg: ResultArg, - benchmark_repetitions: usize, - warmup: bool, +pub fn start(cc: &eframe::CreationContext, worker: web_sys::Worker) -> WebsiteGui { + WebsiteGui::new(cc, worker) } -impl Default for WebsiteGui { - fn default() -> Self { - FILE_BUFFER.with(|cell| { - cell.get_or_init(|| RefCell::new(None)); - }); - - Self { - json_input: String::new(), - query_input: String::new(), - json_output: String::new(), - console_output: String::new(), - is_dragging_file: false, - toggle_dark_mode_on: true, - toggle_console_on: true, - argument_result_arg: ResultArg::Nodes, - benchmark_repetitions: 1, - warmup: true, - } - } -} +pub(crate) struct ReadOnlyTextBuffer<'a>(Cow<'a, str>); -//File select for native version -#[cfg(not(target_arch = "wasm32"))] -impl WebsiteGui { - fn open_file(&mut self, _ctx: &egui::Context) { - if let Some(path) = rfd::FileDialog::new().add_filter("JSON", &["json"]).pick_file() { - if let Ok(contents) = std::fs::read_to_string(path) { - self.json_input = contents; - } else { - self.console_output = "Failed to read the selected file.".to_owned(); - } - } +impl<'a> ReadOnlyTextBuffer<'a> { + pub(crate) fn empty() -> Self { + Self(Cow::Borrowed("")) } -} - -#[cfg(target_arch = "wasm32")] -//For drag and dropping files -pub static JSON_INPUT_REF: OnceLock>> = OnceLock::new(); -//For importing files -pub static FILE_INPUT_REF: OnceLock>> = OnceLock::new(); - -thread_local! { - static FILE_BUFFER: OnceCell>> = OnceCell::new(); - static FILE_START: std::cell::Cell = std::cell::Cell::new(0.0); -} - -//File select for web version -#[cfg(target_arch = "wasm32")] -impl WebsiteGui { - pub fn open_file() { - use wasm_bindgen::JsCast; - use web_sys::{FileReader, HtmlInputElement, window}; - - let document = window().unwrap().document().unwrap(); - let body = document.body().unwrap(); - - let file_input = document - .create_element("input") - .unwrap() - .dyn_into::() - .unwrap(); - file_input.set_type("file"); - file_input.set_accept(".json"); - - let reader = FileReader::new().unwrap(); - let reader_clone = reader.clone(); - - // reader.onloadend callback - let onloadend_cb = Closure::wrap(Box::new(move |_event: web_sys::Event| { - if let Ok(result) = reader_clone.result() { - if let Some(text) = result.as_string() { - // Get elapsed time saved earlier in FILE_START - let elapsed = FILE_START.with(|start_cell| { - let start = start_cell.get(); - window().unwrap().performance().unwrap().now() - start - }); - FILE_BUFFER.with(|cell| { - if let Some(buf) = cell.get() { - *buf.borrow_mut() = Some((text, elapsed)); - } - }); - } - } - }) as Box); - reader.set_onloadend(Some(onloadend_cb.as_ref().unchecked_ref())); - onloadend_cb.forget(); - - // Save the start time right before reading the file - let file_input_clone = file_input.clone(); - let reader_clone = reader.clone(); - let onchange_cb = Closure::wrap(Box::new(move |_event: web_sys::Event| { - let files = file_input_clone.files().unwrap(); - if let Some(file) = files.get(0) { - // Start the timer *right before* reading the file - FILE_START.with(|cell| { - cell.set(window().unwrap().performance().unwrap().now()); - }); - - reader_clone.read_as_text(&file).unwrap(); - } - }) as Box); - file_input.set_onchange(Some(onchange_cb.as_ref().unchecked_ref())); - onchange_cb.forget(); - - body.append_child(&file_input).unwrap(); - file_input.click(); + pub(crate) fn is_empty(&self) -> bool { + self.0.is_empty() } } -impl eframe::App for WebsiteGui { - fn update(&mut self, ctx: &Context, _frame: &mut Frame) { - // Set image loaders. - egui_extras::install_image_loaders(ctx); - //Sets the font size for buttons and menu bodies, as well as the padding - ctx.set_style({ - let mut style = (*ctx.style()).clone(); - style.spacing.button_padding = egui::vec2(12.0, 8.0); - style.text_styles = [ - ( - egui::TextStyle::Button, - egui::FontId::new(15.0, egui::FontFamily::Proportional), - ), - ( - egui::TextStyle::Body, - egui::FontId::new(15.0, egui::FontFamily::Proportional), - ), - ] - .into(); - style - }); - - //Checks for drag & dropped files - #[cfg(target_arch = "wasm32")] - if let Some(cell) = JSON_INPUT_REF.get() { - if let Some(contents) = cell.lock().unwrap().take() { - self.json_input = contents; - } - } - - if self.toggle_dark_mode_on { - ctx.set_visuals(egui::Visuals::dark()); - } else { - ctx.set_visuals(egui::Visuals::light()); - } - - TopBottomPanel::top("menu bar").show(ctx, |ui| { - ui.horizontal_wrapped(|ui| { - let logo_src = egui::include_image!("../assets/rsonquery-rq-logo.svg"); - let logo_image = egui::Image::new(logo_src) - .max_height(100.0) - .fit_to_exact_size(Vec2::new(200.0, 40.0)); - ui.add(logo_image); - // File menu button - ui.menu_button("File", |ui| { - //Wipes all text windows to allow user to start anew - if ui.button("New").clicked() { - self.json_input.clear(); - self.query_input.clear(); - self.json_output.clear(); - self.console_output.clear(); - - ui.close(); - } - - //Opens JSON file from computer - if ui.button("Open...").clicked() { - WebsiteGui::open_file(); - ui.close(); - } - - ui.separator(); - - //Exports input text into a JSON file - if ui.button("Export to JSON").clicked() { - export_to_json(&self.json_input); - ui.close(); - } - }); - - ui.with_layout(Layout::right_to_left(Align::Center), |ui| { - //Console toggle checkbox - let toggle_console_text = RichText::new("Toggle Console").color(Color32::GRAY).size(15.0).strong(); - - ui.checkbox(&mut self.toggle_console_on, toggle_console_text); - - ui.add_space(10.0); - - //Dark mode checkbox - let toggle_console_text = RichText::new("Toggle Dark Mode") - .color(Color32::GRAY) - .size(15.0) - .strong(); - - ui.checkbox(&mut self.toggle_dark_mode_on, toggle_console_text) - }); - }) - }); - - egui::CentralPanel::default().show(ctx, |ui| { - ScrollArea::both().auto_shrink([false; 2]).show(ui, |ui| { - let screen_width = ctx.screen_rect().width(); - let screen_height = ctx.screen_rect().height(); - - ui.with_layout(Layout::left_to_right(Align::Center), |ui| { - ui.vertical(|ui| { - let hint_text = RichText::new("Enter your json code here...") - .size(15.0) - .color(Color32::GRAY) - .strong(); - - let left_side_width = screen_width * 0.5; - - let json_box_height = screen_height * 0.620; - - //Json input window - ScrollArea::vertical() - .id_salt("Json input window") - .max_height(json_box_height) - .show(ui, |ui| { - - //Truncates the input to the first 10,000 characters if imported file is > 10MB - if self.json_input.len() > 10_000_000 { - let preview: String = "".to_string(); - ui.add_sized( - [left_side_width, json_box_height], - TextEdit::multiline(&mut preview.clone()).hint_text(hint_text).interactive(false), - ); - } - else { - ui.add_sized( - [left_side_width, json_box_height], - TextEdit::multiline(&mut self.json_input).hint_text(hint_text) - ); - } - }); - - ui.add_space(15.0); - - // Query input + arguments - ui.horizontal(|ui| { - ui.vertical(|ui| { - let query_label = RichText::new("Enter your query here...") - .size(15.0) - .color(Color32::GRAY) - .strong(); - - //Query input - ScrollArea::vertical() - .id_salt("query_input_scroll") - .max_height(ui.available_height()) - .show(ui, |ui| { - ui.add_sized( - [left_side_width * 0.75, screen_height * 0.077], - TextEdit::multiline(&mut self.query_input) - .hint_text(query_label) - .desired_rows(1), - ); - }); - }); - - ui.add_space(10.0); - - ui.vertical(|ui| { - - ui.add_space(10.0); - - ui.horizontal(|ui| { - ui.vertical(|ui| { - ComboBox::from_label("Result Mode") - .selected_text(format!("{:?}", self.argument_result_arg)) - .show_ui(ui, |ui| { - ui.selectable_value( - &mut self.argument_result_arg, - ResultArg::Nodes, - "Nodes", - ); - ui.selectable_value( - &mut self.argument_result_arg, - ResultArg::Count, - "Count", - ); - ui.selectable_value( - &mut self.argument_result_arg, - ResultArg::Indices, - "Indices", - ); - }); - }); - }); - - ui.add_space(10.0); - - //Repeat query x times - ui.add( - egui::DragValue::new(&mut self.benchmark_repetitions) - .speed(1) - .range(1..=10000) - .prefix("Repetitions: ") - ); - }); - }); - - ui.add_space(20.0); - - let button_text = RichText::new("Run Query").size(20.0).color(Color32::WHITE).strong(); - - //Run button - if ui - .add_sized( - [left_side_width, screen_height * 0.144], - Button::new(button_text).fill(Color32::from_rgb(227, 60, 38)), - ) - .clicked() - { - let mut total_parse = std::time::Duration::ZERO; - let mut total_compile = std::time::Duration::ZERO; - let mut total_run = std::time::Duration::ZERO; - - let mut last_stdout = String::new(); - - for _ in 0..self.benchmark_repetitions { - - if self.warmup { - let _ = run(&self.query_input, &self.json_input, self.argument_result_arg); - self.warmup = false; - } - - match run(&self.query_input, &self.json_input, self.argument_result_arg) { - Ok(run_output) => { - last_stdout = run_output.stdout.clone(); - - if let Some(benchmarks) = run_output.benchmark_stats { - total_parse += benchmarks.parse_time; - total_compile += benchmarks.compile_time; - total_run += benchmarks.run_time; - } - } - Err(e) => { - self.json_output.clear(); - - let report = format!("{:?}", eyre::Report::from(e)); - let stripped_bytes = strip(report.as_bytes()); - let cleaned_report = - String::from_utf8_lossy(&stripped_bytes).into_owned(); - let no_location = strip_location_paragraph(&cleaned_report); - - self.console_output = strip_last_paragraph(&no_location); - return; - } - }; - } - - self.json_output = last_stdout; - - if self.json_output.is_empty() { - self.console_output = String::from( - "ERROR: No result found. Please make sure all the variable names in your query are correct." - ); - } else { - self.console_output = format!( - "Benchmark Stats{}:\n\n\t- Parse time: {:?}\n\t- Compile time: {:?}\n\t- Run time: {:?}", - if self.benchmark_repetitions > 1 { - format!(" (averaged over {} runs)", self.benchmark_repetitions) - } else { - "".to_string() - }, - total_parse / self.benchmark_repetitions as u32, - total_compile / self.benchmark_repetitions as u32, - total_run / self.benchmark_repetitions as u32, - ); - } - } - }); - - ui.add_space(10.0); - - ui.vertical(|ui| { - //Output window - let output_window_height = if self.toggle_console_on { - screen_height * 0.50 - } else { - screen_height - }; - let output_window_width = screen_width * 0.48; - - let query_output_hint_text = RichText::new("The result of your query will appear here...") - .size(15.0) - .color(Color32::GRAY) - .strong(); - - ScrollArea::vertical() - .id_salt("Query output window") - .max_height(output_window_height) - .show(ui, |ui| { - ui.add_sized( - [output_window_width, output_window_height], - TextEdit::multiline(&mut self.json_output) - .desired_rows(5) - .interactive(false) - .hint_text(query_output_hint_text), - ); - }); - - //Console window - if self.toggle_console_on { - ui.add_space(15.0); - - let console_output_hint_text = RichText::new("Console output will appear here...") - .size(15.0) - .color(Color32::GRAY) - .strong(); - - ScrollArea::vertical() - .id_salt("Console output window") - .max_height(output_window_height) - .show(ui, |ui| { - ui.add_sized( - [output_window_width, screen_height * 0.40], - TextEdit::multiline(&mut self.console_output) - .interactive(false) - .hint_text(console_output_hint_text), - ); - }); - } - }); - }) - }); - }); - - for file in &ctx.input(|i| i.raw.dropped_files.clone()) { - if let Some(path_buf) = &file.path { - if let Ok(contents) = std::fs::read_to_string(path_buf) { - self.json_input = contents; - } - } - } - - FILE_BUFFER.with(|cell| { - if let Some(buf) = cell.get() { - if let Some((text, elapsed)) = buf.borrow_mut().take() { - self.json_input = text; - self.console_output = format!("File opened in {:.2} ms", elapsed); - } - } - }); - - //Checks if any files are dragged over and if yes, darkens the screen and displays a piece of text to confirm something happened - let input = ctx.input(|i| i.clone()); - self.is_dragging_file = input.raw.hovered_files.len() > 0; - - if self.is_dragging_file { - use egui::{Align2, Color32}; - - let screen_rect = ctx.screen_rect(); - let painter = ctx.layer_painter(egui::LayerId::new( - egui::Order::Foreground, - egui::Id::new("drag_overlay"), - )); - painter.rect_filled(screen_rect, 0.0, Color32::from_black_alpha(180)); - - painter.text( - screen_rect.center(), - Align2::CENTER_CENTER, - "📂 Drop your file here", - egui::FontId::proportional(32.0), - Color32::WHITE, - ); - } +impl<'a> egui::TextBuffer for ReadOnlyTextBuffer<'a> { + fn is_mutable(&self) -> bool { + false } -} -//Removes the backtrace message from error -fn strip_last_paragraph(error: &str) -> String { - let mut paragraphs: Vec<&str> = error.split("\n\n").collect(); - if paragraphs.len() > 1 { - paragraphs.pop(); + fn as_str(&self) -> &str { + self.0.as_ref() } - paragraphs.join("\n\n") -} - -//Removes the location of the error (security risk) -fn strip_location_paragraph(error: &str) -> String { - let mut result = String::new(); - let mut skip = false; - - for line in error.lines() { - if line.trim().starts_with("Location:") { - skip = true; - continue; - } - if skip { - if line.trim().is_empty() { - skip = false; - } - continue; - } - - result.push_str(line); - result.push('\n'); + fn insert_text(&mut self, _text: &str, _char_index: usize) -> usize { + 0 } - result.trim_end().to_owned() -} + fn delete_char_range(&mut self, _char_range: Range) {} -//Export to JSON for native version -#[cfg(not(target_arch = "wasm32"))] -fn export_to_json(json_input: &str) { - if let Some(path) = rfd::FileDialog::new() - .set_title("Save JSON File") - .add_filter("JSON", &["json"]) - .save_file() - { - std::fs::write(path, json_input).unwrap_or_else(|err| { - eprintln!("Failed to save file: {err}"); - }); + fn type_id(&self) -> TypeId { + TypeId::of::>() } } - -//Export to JSON for web version -#[cfg(target_arch = "wasm32")] -fn export_to_json(json_input: &str) { - use wasm_bindgen::JsCast; - use web_sys::{Blob, BlobPropertyBag, HtmlAnchorElement, Url}; - - let window = window().unwrap(); - let document = window.document().unwrap(); - let body = document.body().unwrap(); - - // Create JSON blob - let array = js_sys::Array::new(); - array.push(&JsValue::from_str(json_input)); - - let bag = BlobPropertyBag::new(); - bag.set_type("application/json"); - - let blob = Blob::new_with_str_sequence_and_options(&array, &bag).expect("Failed to create Blob"); - - let url = Url::create_object_url_with_blob(&blob).expect("Failed to create URL"); - - // Create invisible link - let link = document - .create_element("a") - .unwrap() - .dyn_into::() - .unwrap(); - link.set_href(&url); - link.set_download("data.json"); - link.style().set_property("display", "none").unwrap(); - - // Append link to DOM *before* clicking - body.append_child(&link).unwrap(); - link.click(); - body.remove_child(&link).unwrap(); // Clean up - Url::revoke_object_url(&url).unwrap(); // Free memory -} - -//Logic for enabling drag-and-dropping files into the app -#[cfg(target_arch = "wasm32")] -#[wasm_bindgen(js_name = handle_dropped_file)] -pub fn handle_dropped_file(contents: String) { - let cell = JSON_INPUT_REF.get_or_init(|| Mutex::new(None)); - *cell.lock().unwrap() = Some(contents); -} - -#[cfg(target_arch = "wasm32")] -#[wasm_bindgen] -pub fn register_file_handler() { - let closure = Closure::wrap(Box::new(move |text: JsValue| { - if let Some(text_str) = text.as_string() { - handle_dropped_file(text_str); - } - }) as Box); - - let window = window().expect("no global window"); - let func = closure.as_ref().unchecked_ref::(); - - js_sys::Reflect::set(&window, &JsValue::from_str("handle_dropped_file"), func) - .expect("Failed to assign handle_dropped_file to window"); - - closure.forget(); -} - -fn run(query: &str, json: &str, result_arg: ResultArg) -> Result { - // Benchmark parsing - let parse_start = Instant::now(); - let query = parse_query(query)?; - let parse_time = parse_start.elapsed(); - - let compile_start = Instant::now(); - let automaton = compile_query(&query)?; - let compile_time = compile_start.elapsed(); - - let mut out = Vec::new(); - - let engine = RsonpathEngine::from_compiled_query(automaton); - let input = BorrowedBytes::new(json.as_bytes()); - let start = Instant::now(); - match result_arg { - ResultArg::Count => { - let result = engine.count(&input)?; - write!(&mut out, "{result}")?; - } - ResultArg::Indices => { - let mut sink = MatchWriter::from(&mut out); - engine.indices(&input, &mut sink)?; - } - ResultArg::Nodes => { - let mut sink = MatchWriter::from(&mut out); - engine.matches(&input, &mut sink)?; - } - }; - let run_time = start.elapsed(); - - Ok(RunOutput { - stdout: String::from_utf8(out).expect(""), - benchmark_stats: Some(BenchmarkStats { - parse_time, - compile_time, - run_time, - }), - }) -} - -fn parse_query(query_string: &str) -> Result { - let mut parser_builder = ParserBuilder::default(); - parser_builder.allow_surrounding_whitespace(true); - let parser: rsonpath_syntax::Parser = parser_builder.into(); - parser.parse(query_string) -} - -fn compile_query(query: &JsonPathQuery) -> Result { - Automaton::new(query) -} - -pub struct BenchmarkStats { - pub parse_time: Duration, - pub compile_time: Duration, - pub run_time: Duration, -} - -pub struct RunOutput { - pub stdout: String, - pub benchmark_stats: Option, -} diff --git a/web/rsonpath-website/src/main.rs b/web/rsonpath-website/src/main.rs deleted file mode 100644 index 8862c2fb..00000000 --- a/web/rsonpath-website/src/main.rs +++ /dev/null @@ -1,37 +0,0 @@ -use wasm_bindgen::prelude::*; - -#[cfg(target_arch = "wasm32")] -#[wasm_bindgen(start)] -pub fn start() -> Result<(), JsValue> { - console_error_panic_hook::set_once(); - - color_eyre::install().expect("a"); - - let window = web_sys::window().expect("no global `window` exists"); - let document = window.document().expect("should have a document"); - let canvas = document - .get_element_by_id("rsonquery_web") - .expect("Canvas with ID `rsonquery_web` not found") - .dyn_into::()?; - - wasm_bindgen_futures::spawn_local(async move { - let runner = eframe::WebRunner::new(); - runner - .start( - canvas, - eframe::WebOptions::default(), - Box::new(|_cc| Ok(Box::new(rsonpath_website::WebsiteGui::default()))), - ) - .await - .expect("Failed to start eframe WebRunner"); - - rsonpath_website::register_file_handler(); - }); - - Ok(()) -} - -#[cfg(target_arch = "wasm32")] -fn main() { - start().expect("TODO: panic message"); -} diff --git a/web/rsonpath-website/src/message.rs b/web/rsonpath-website/src/message.rs new file mode 100644 index 00000000..72b5efee --- /dev/null +++ b/web/rsonpath-website/src/message.rs @@ -0,0 +1,729 @@ +use js_sys::Array; +use std::ops::{Add, AddAssign, Div}; +use std::time::Duration; +use wasm_bindgen::{JsCast, JsValue}; + +const WORKER_STARTED_CODE: f64 = 10.0; +const LOAD_FILE_CODE: f64 = 20.0; +const LOAD_FILE_PROGRESS_CODE: f64 = 21.0; +const LOAD_FILE_SUCCESS_CODE: f64 = 22.0; +const LOAD_FILE_FAILURE_CODE: f64 = 23.0; +const RUN_RSONPATH_CODE: f64 = 30.0; +const RUN_RSONPATH_SUCCESS_CODE: f64 = 31.0; +const RUN_RSONPATH_FAILURE_CODE: f64 = 32.0; +const DISCARD_FILE_CODE: f64 = 40.0; + +#[derive(Debug, Eq, PartialEq, Copy, Clone)] +pub enum MessageType { + WorkerStarted, + LoadFile, + LoadFileProgress, + LoadFileSuccess, + LoadFileFailure, + DiscardFile, + RunRsonpath, + RunRsonpathSuccess, + RunRsonpathFailure, + Unknown, +} + +fn code_to_type(code: f64) -> MessageType { + match code { + WORKER_STARTED_CODE => MessageType::WorkerStarted, + LOAD_FILE_CODE => MessageType::LoadFile, + LOAD_FILE_PROGRESS_CODE => MessageType::LoadFileProgress, + LOAD_FILE_SUCCESS_CODE => MessageType::LoadFileSuccess, + LOAD_FILE_FAILURE_CODE => MessageType::LoadFileFailure, + DISCARD_FILE_CODE => MessageType::DiscardFile, + RUN_RSONPATH_CODE => MessageType::RunRsonpath, + RUN_RSONPATH_SUCCESS_CODE => MessageType::RunRsonpathSuccess, + RUN_RSONPATH_FAILURE_CODE => MessageType::RunRsonpathFailure, + _ => MessageType::Unknown, + } +} + +pub trait Message: Sized { + fn ty() -> MessageType; + + fn serialize(self) -> JsValue; + + fn deserialize(value: JsValue) -> Result; +} + +pub trait MessageChannel { + fn send(&self, message: impl Message) -> Result<(), JsValue>; +} + +pub trait GenericMessage { + fn ty(&self) -> MessageType; + + fn deserialize(&self) -> Result; +} + +impl MessageChannel for web_sys::Worker { + fn send(&self, message: impl Message) -> Result<(), JsValue> { + let value = message.serialize(); + self.post_message(&value) + } +} + +impl MessageChannel for web_sys::DedicatedWorkerGlobalScope { + fn send(&self, message: impl Message) -> Result<(), JsValue> { + let value = message.serialize(); + self.post_message(&value) + } +} + +impl GenericMessage for web_sys::MessageEvent { + fn ty(&self) -> MessageType { + let data = Array::from(&self.data()); + if data.length() >= 1 + && let Some(code) = data.get(0).as_f64() + { + code_to_type(code) + } else { + MessageType::Unknown + } + } + + fn deserialize(&self) -> Result { + assert_eq!(T::ty(), self.ty(), "deserializing into invalid message type"); + T::deserialize(self.data()) + } +} + +pub struct WorkerStartedMessage { + status: i32, +} + +pub struct LoadFileMessage { + file: web_sys::File, +} + +pub struct LoadFileProgressMessage { + progress: f32, +} + +pub struct LoadFileSuccessMessage { + preview: String, +} + +pub struct LoadFileFailureMessage { + error: String, +} + +pub struct DiscardFileMessage {} + +pub struct RunRsonpathMessage { + query: String, + input: RunRsonpathInput, + result_mode: RunRsonpathMode, + repetitions: usize, +} + +pub enum RunRsonpathInput { + LoadedFile, + Inline(String), +} + +#[derive(Copy, Clone, Eq, PartialEq, Debug)] +pub enum RunRsonpathMode { + Count, + Nodes, + Indices, +} + +pub struct RunRsonpathFailureMessage { + error: String, +} + +pub struct RunRsonpathSuccessMessage { + runtime: RsonpathRuntime, + results: String, +} + +#[derive(Clone)] +pub struct RsonpathRuntime { + avg_parse_time_ms: f64, + avg_compile_time_ms: f64, + avg_run_time_ms: f64, +} + +impl RsonpathRuntime { + pub fn new(avg_parse_time_ms: f64, avg_compile_time_ms: f64, avg_run_time_ms: f64) -> Self { + Self { + avg_parse_time_ms, + avg_compile_time_ms, + avg_run_time_ms, + } + } + + pub fn avg_parse_time(&self) -> Duration { + Duration::from_secs_f64(self.avg_parse_time_ms / 1000.0) + } + + pub fn avg_compile_time(&self) -> Duration { + Duration::from_secs_f64(self.avg_compile_time_ms / 1000.0) + } + + pub fn avg_run_time(&self) -> Duration { + Duration::from_secs_f64(self.avg_run_time_ms / 1000.0) + } +} + +impl Default for RsonpathRuntime { + fn default() -> Self { + Self::new(0.0, 0.0, 0.0) + } +} + +impl Add for RsonpathRuntime { + type Output = RsonpathRuntime; + + fn add(self, rhs: Self) -> Self::Output { + Self::new( + self.avg_parse_time_ms + rhs.avg_parse_time_ms, + self.avg_compile_time_ms + rhs.avg_compile_time_ms, + self.avg_run_time_ms + rhs.avg_run_time_ms, + ) + } +} + +impl AddAssign for RsonpathRuntime { + fn add_assign(&mut self, rhs: Self) { + self.avg_parse_time_ms += rhs.avg_parse_time_ms; + self.avg_compile_time_ms += rhs.avg_compile_time_ms; + self.avg_run_time_ms += rhs.avg_run_time_ms; + } +} + +impl Div for RsonpathRuntime { + type Output = RsonpathRuntime; + + fn div(self, rhs: usize) -> Self::Output { + let rhs = rhs as f64; + Self::new( + self.avg_parse_time_ms / rhs, + self.avg_compile_time_ms / rhs, + self.avg_run_time_ms / rhs, + ) + } +} + +impl WorkerStartedMessage { + pub fn new(status: i32) -> Self { + Self { status } + } + + pub fn status(&self) -> i32 { + self.status + } +} + +impl Message for WorkerStartedMessage { + fn ty() -> MessageType { + MessageType::WorkerStarted + } + + fn serialize(self) -> JsValue { + let response = Array::new(); + response.push(&WORKER_STARTED_CODE.into()); + response.push(&self.status.into()); + response.into() + } + + fn deserialize(value: JsValue) -> Result { + let data = Array::from(&value); + if data.length() != 2 { + Err(format!("malformed WorkerStartedMessage: array length {}", data.length()).into()) + } else { + let Some(status) = data.get(1).as_f64() else { + return Err("malformed WorkerStartedMessage: element is not a number" + .to_string() + .into()); + }; + Ok(Self { status: status as i32 }) + } + } +} + +impl LoadFileMessage { + pub fn new(file: web_sys::File) -> Self { + Self { file } + } + + pub fn file(&self) -> &web_sys::File { + &self.file + } +} + +impl Message for LoadFileMessage { + fn ty() -> MessageType { + MessageType::LoadFile + } + + fn serialize(self) -> JsValue { + let response = Array::new(); + response.push(&LOAD_FILE_CODE.into()); + response.push(&self.file.into()); + response.into() + } + + fn deserialize(value: JsValue) -> Result { + let data = Array::from(&value); + if data.length() != 2 { + Err(format!("malformed LoadFileMessage: array length {}", data.length()).into()) + } else { + match data.get(1).dyn_into::() { + Ok(file) => Ok(Self { file }), + Err(_err) => Err("malformed LoadFileMessage: element is not a File".to_string().into()), + } + } + } +} + +impl LoadFileProgressMessage { + pub fn new(progress: f32) -> Self { + Self { progress } + } + + pub fn progress(&self) -> f32 { + self.progress + } +} + +impl Message for LoadFileProgressMessage { + fn ty() -> MessageType { + MessageType::LoadFileProgress + } + + fn serialize(self) -> JsValue { + let response = Array::new(); + response.push(&LOAD_FILE_PROGRESS_CODE.into()); + response.push(&self.progress.into()); + response.into() + } + + fn deserialize(value: JsValue) -> Result { + let data = Array::from(&value); + if data.length() != 2 { + Err(format!("malformed LoadFileProgressMessage: array length {}", data.length()).into()) + } else { + let Some(progress) = data.get(1).as_f64() else { + return Err("malformed LoadFileProgressMessage: element is not a number" + .to_string() + .into()); + }; + Ok(Self { + progress: progress as f32, + }) + } + } +} + +impl LoadFileSuccessMessage { + pub fn new(preview: String) -> Self { + Self { preview } + } + + pub fn preview(&self) -> &str { + &self.preview + } + + pub fn into_preview(self) -> String { + self.preview + } +} + +impl Message for LoadFileSuccessMessage { + fn ty() -> MessageType { + MessageType::LoadFileSuccess + } + + fn serialize(self) -> JsValue { + let response = Array::new(); + response.push(&LOAD_FILE_SUCCESS_CODE.into()); + response.push(&self.preview.into()); + response.into() + } + + fn deserialize(value: JsValue) -> Result { + let data = Array::from(&value); + if data.length() != 2 { + Err(format!("malformed LoadFileSuccessMessage: array length {}", data.length()).into()) + } else { + let Some(preview) = data.get(1).as_string() else { + return Err("malformed LoadFileSuccessMessage: element is not a string" + .to_string() + .into()); + }; + Ok(Self { preview }) + } + } +} + +impl LoadFileFailureMessage { + pub fn new(error: String) -> Self { + Self { error } + } + + pub fn error(&self) -> &str { + &self.error + } + + pub fn into_error(self) -> String { + self.error + } +} + +impl Message for LoadFileFailureMessage { + fn ty() -> MessageType { + MessageType::LoadFileFailure + } + + fn serialize(self) -> JsValue { + let response = Array::new(); + response.push(&LOAD_FILE_FAILURE_CODE.into()); + response.push(&self.error.into()); + response.into() + } + + fn deserialize(value: JsValue) -> Result { + let data = Array::from(&value); + if data.length() != 2 { + Err(format!("malformed LoadFileFailureMessage: array length {}", data.length()).into()) + } else { + let Some(error) = data.get(1).as_string() else { + return Err("malformed LoadFileFailureMessage: element is not a string" + .to_string() + .into()); + }; + Ok(Self { error }) + } + } +} + +impl Default for DiscardFileMessage { + fn default() -> Self { + Self::new() + } +} + +impl DiscardFileMessage { + pub fn new() -> Self { + Self {} + } +} + +impl Message for DiscardFileMessage { + fn ty() -> MessageType { + MessageType::DiscardFile + } + + fn serialize(self) -> JsValue { + let response = Array::new(); + response.push(&DISCARD_FILE_CODE.into()); + response.into() + } + + fn deserialize(value: JsValue) -> Result { + let data = Array::from(&value); + if data.length() != 1 { + Err(format!("malformed DiscardFileMessage: array length {}", data.length()).into()) + } else { + Ok(Self {}) + } + } +} + +pub struct RunRsonpathMessageBuilder { + query: String, + input: RunRsonpathInput, + result_mode: RunRsonpathMode, + repetitions: usize, +} + +impl RunRsonpathMessageBuilder { + pub fn new_inline(query: String, input: String) -> Self { + Self { + query, + input: RunRsonpathInput::Inline(input), + result_mode: RunRsonpathMode::Nodes, + repetitions: 1, + } + } + + pub fn new_file(query: String) -> Self { + Self { + query, + input: RunRsonpathInput::LoadedFile, + result_mode: RunRsonpathMode::Nodes, + repetitions: 1, + } + } + + pub fn benchmark(&mut self, repetitions: usize) -> &mut Self { + self.repetitions = repetitions; + self + } + + pub fn result_mode(&mut self, mode: RunRsonpathMode) -> &mut Self { + self.result_mode = mode; + self + } + + pub fn into_message(self) -> RunRsonpathMessage { + RunRsonpathMessage { + query: self.query, + input: self.input, + result_mode: self.result_mode, + repetitions: self.repetitions, + } + } +} + +impl From for RunRsonpathMessage { + fn from(value: RunRsonpathMessageBuilder) -> Self { + value.into_message() + } +} + +impl RunRsonpathMessage { + const INLINE_INPUT_CODE: f64 = 1.0; + const FILE_INPUT_CODE: f64 = 2.0; + const RESULT_MODE_COUNT_CODE: f64 = 1.0; + const RESULT_MODE_NODES_CODE: f64 = 2.0; + const RESULT_MODE_INDICES_CODE: f64 = 3.0; + + pub fn new_inline(query: String, input: String, result_mode: RunRsonpathMode) -> Self { + Self { + query, + input: RunRsonpathInput::Inline(input), + result_mode, + repetitions: 1, + } + } + + pub fn new_file(query: String, result_mode: RunRsonpathMode) -> Self { + Self { + query, + input: RunRsonpathInput::LoadedFile, + result_mode, + repetitions: 1, + } + } + + pub fn query(&self) -> &str { + &self.query + } + + pub fn input(&self) -> &RunRsonpathInput { + &self.input + } + + pub fn result_mode(&self) -> RunRsonpathMode { + self.result_mode + } + + pub fn repetitions(&self) -> usize { + self.repetitions + } + + pub fn is_benchmark_run(&self) -> bool { + self.repetitions > 1 + } +} + +impl Message for RunRsonpathMessage { + fn ty() -> MessageType { + MessageType::RunRsonpath + } + + fn serialize(self) -> JsValue { + let response = Array::new(); + response.push(&RUN_RSONPATH_CODE.into()); + response.push(&self.query.into()); + match self.input { + RunRsonpathInput::LoadedFile => { + response.push(&Self::FILE_INPUT_CODE.into()); + response.push(&JsValue::UNDEFINED); + } + RunRsonpathInput::Inline(input) => { + response.push(&Self::INLINE_INPUT_CODE.into()); + response.push(&input.into()); + } + }; + match self.result_mode { + RunRsonpathMode::Count => response.push(&Self::RESULT_MODE_COUNT_CODE.into()), + RunRsonpathMode::Nodes => response.push(&Self::RESULT_MODE_NODES_CODE.into()), + RunRsonpathMode::Indices => response.push(&Self::RESULT_MODE_INDICES_CODE.into()), + }; + response.push(&self.repetitions.into()); + response.into() + } + + fn deserialize(value: JsValue) -> Result { + let data = Array::from(&value); + if data.length() != 6 { + Err(format!("malformed RunRsonpathMessage: array length {}", data.length()).into()) + } else { + let Some(query) = data.get(1).as_string() else { + return Err("malformed RunRsonpathMessage: element 1 is not a string" + .to_string() + .into()); + }; + let Some(input_code) = data.get(2).as_f64() else { + return Err("malformed RunRsonpathMessage: element 2 is not a number" + .to_string() + .into()); + }; + let input = match input_code { + Self::INLINE_INPUT_CODE => { + let Some(inline_input) = data.get(3).as_string() else { + return Err("malformed RunRsonpathMessage: element 3 is not a string" + .to_string() + .into()); + }; + RunRsonpathInput::Inline(inline_input) + } + Self::FILE_INPUT_CODE => RunRsonpathInput::LoadedFile, + _ => return Err("malformed RunRsonpathMessage: unknown input code".into()), + }; + let Some(result_code) = data.get(4).as_f64() else { + return Err("malformed RunRsonpathMessage: element 4 is not a number" + .to_string() + .into()); + }; + let result_mode = match result_code { + Self::RESULT_MODE_COUNT_CODE => RunRsonpathMode::Count, + Self::RESULT_MODE_NODES_CODE => RunRsonpathMode::Nodes, + Self::RESULT_MODE_INDICES_CODE => RunRsonpathMode::Indices, + _ => { + return Err("malformed RunRsonpathMessage: unknown result code".to_string().into()); + } + }; + let Some(repetitions) = data.get(5).as_f64() else { + return Err("malformed RunRsonpathMessage: element 4 is not a number" + .to_string() + .into()); + }; + Ok(Self { + query, + input, + result_mode, + repetitions: repetitions as usize, + }) + } + } +} + +impl RunRsonpathSuccessMessage { + pub fn new(runtime: RsonpathRuntime, results: String) -> Self { + Self { runtime, results } + } + + pub fn runtime(&self) -> &RsonpathRuntime { + &self.runtime + } + + pub fn results(&self) -> &str { + &self.results + } + + pub fn into_results(self) -> String { + self.results + } +} + +impl Message for RunRsonpathSuccessMessage { + fn ty() -> MessageType { + MessageType::RunRsonpathSuccess + } + + fn serialize(self) -> JsValue { + let response = Array::new(); + response.push(&RUN_RSONPATH_SUCCESS_CODE.into()); + response.push(&self.results.into()); + response.push(&self.runtime.avg_parse_time_ms.into()); + response.push(&self.runtime.avg_compile_time_ms.into()); + response.push(&self.runtime.avg_run_time_ms.into()); + response.into() + } + + fn deserialize(value: JsValue) -> Result { + let data = Array::from(&value); + if data.length() != 5 { + Err(format!("malformed RunRsonpathSuccessMessage: array length {}", data.length()).into()) + } else { + let Some(results) = data.get(1).as_string() else { + return Err("malformed RunRsonpathSuccessMessage: element 1 is not a string" + .to_string() + .into()); + }; + let Some(avg_parse_time_ms) = data.get(2).as_f64() else { + return Err("malformed RunRsonpathMessage: element 2 is not a number" + .to_string() + .into()); + }; + let Some(avg_compile_time_ms) = data.get(3).as_f64() else { + return Err("malformed RunRsonpathMessage: element 3 is not a number" + .to_string() + .into()); + }; + let Some(avg_run_time_ms) = data.get(4).as_f64() else { + return Err("malformed RunRsonpathMessage: element 4 is not a number" + .to_string() + .into()); + }; + Ok(Self { + results, + runtime: RsonpathRuntime { + avg_parse_time_ms, + avg_compile_time_ms, + avg_run_time_ms, + }, + }) + } + } +} + +impl RunRsonpathFailureMessage { + pub fn new(error: String) -> Self { + Self { error } + } + + pub fn error(&self) -> &str { + &self.error + } + + pub fn into_error(self) -> String { + self.error + } +} + +impl Message for RunRsonpathFailureMessage { + fn ty() -> MessageType { + MessageType::RunRsonpathFailure + } + + fn serialize(self) -> JsValue { + let response = Array::new(); + response.push(&RUN_RSONPATH_FAILURE_CODE.into()); + response.push(&self.error.into()); + response.into() + } + + fn deserialize(value: JsValue) -> Result { + let data = Array::from(&value); + if data.length() != 2 { + Err(format!("malformed LoadFileFailureMessage: array length {}", data.length()).into()) + } else { + let Some(error) = data.get(1).as_string() else { + return Err("malformed LoadFileFailureMessage: element is not a string" + .to_string() + .into()); + }; + Ok(Self { error }) + } + } +} diff --git a/web/rsonpath-website/src/runner.rs b/web/rsonpath-website/src/runner.rs new file mode 100644 index 00000000..77a9e232 --- /dev/null +++ b/web/rsonpath-website/src/runner.rs @@ -0,0 +1,253 @@ +use rsonpath::automaton::Automaton; +use rsonpath::engine::{Compiler, Engine, RsonpathEngine}; +use rsonpath::input::BorrowedBytes; +use rsonpath::result::MatchWriter; +use rsonpath_syntax::{JsonPathQuery, ParserBuilder}; +use rsonpath_website::constants; +use rsonpath_website::message::*; +use rsonpath_website::util::{DisplaySize, error_string}; +use std::io::Write; +use std::rc::Rc; +use std::sync::Mutex; +use wasm_bindgen::prelude::*; +use web_sys::{DedicatedWorkerGlobalScope, FileReader, MessageEvent, console}; +use web_time::Instant; + +#[derive(Clone)] +struct Runner(Rc); + +struct RunnerImpl { + scope: DedicatedWorkerGlobalScope, + input: Mutex, +} + +enum RunnerInput { + None, + Loading, + Loaded(String), +} + +fn main() { + console_error_panic_hook::set_once(); + console::log_1(&"worker starting".into()); + + let scope = DedicatedWorkerGlobalScope::from(JsValue::from(js_sys::global())); + + Runner::init(scope.clone()); + + let msg = WorkerStartedMessage::new(0); + scope.send(msg).expect("posting ready message succeeds"); +} + +impl Runner { + fn init(scope: DedicatedWorkerGlobalScope) { + let this = Self(Rc::new(RunnerImpl { + scope: scope.clone(), + input: Mutex::new(RunnerInput::None), + })); + + let handler = Closure::wrap(Box::new(move |msg: MessageEvent| { + this.handle(msg); + }) as Box); + scope.set_onmessage(Some(handler.as_ref().unchecked_ref())); + handler.forget(); + } + + fn handle(&self, event: MessageEvent) { + match event.ty() { + MessageType::LoadFile => { + let msg = event + .deserialize::() + .expect("LoadFileMessage to be correct"); + if let Err(err) = self.handle_load_file(msg) { + self.0 + .scope + .send(LoadFileFailureMessage::new(error_string(err))) + .expect("posting response to LoadFile succeeds") + } + } + MessageType::LoadFileProgress => console::warn_1(&"Runner cannot handle LoadFileProgress".into()), + MessageType::LoadFileSuccess => console::warn_1(&"Runner cannot handle LoadFileSuccess".into()), + MessageType::LoadFileFailure => console::warn_1(&"Runner cannot handle LoadFileFailure".into()), + MessageType::DiscardFile => { + let _ = event + .deserialize::() + .expect("DiscardFileMessage to be correct"); + self.discard_file(); + } + MessageType::RunRsonpath => { + let msg = event + .deserialize::() + .expect("RunRsonpathMessage to be correct"); + if let Err(err) = self.handle_run(msg) { + self.0 + .scope + .send(RunRsonpathFailureMessage::new(error_string(err))) + .expect("posting response to RunRsonpath succeeds") + } + } + MessageType::RunRsonpathSuccess => console::warn_1(&"Runner cannot handle RunRsonpathSuccess".into()), + MessageType::RunRsonpathFailure => console::warn_1(&"Runner cannot handle RunRsonpathFailure".into()), + MessageType::WorkerStarted => console::warn_1(&"Runner cannot handle WorkerStarted".into()), + MessageType::Unknown => console::warn_1(&"Runner received unknown message".into()), + } + } + + fn handle_load_file(&self, msg: LoadFileMessage) -> Result<(), JsValue> { + console::log_1(&"Runner handling LoadFile event...".into()); + { + let mut state = self.0.input.lock().unwrap(); + + match &*state { + RunnerInput::Loading => return Err("Runner received LoadFile event while already loading".into()), + RunnerInput::None | RunnerInput::Loaded(_) => { + *state = RunnerInput::Loading; + } + }; + } + if msg.file().size() > constants::FILE_MAX_BYTES as f64 { + return Err(format!( + "The file is too large; max size is {} due to browser limitations.", + DisplaySize(constants::FILE_MAX_BYTES as f64) + ) + .into()); + } + let reader = FileReader::new()?; + match reader.read_as_text(msg.file()) { + Ok(_) => { + let runner = self.0.clone(); + let reader_clone = reader.clone(); + let onloadend_cb = Closure::wrap(Box::new(move |_event: web_sys::Event| { + assert_eq!(reader_clone.ready_state(), FileReader::DONE); + if let Some(err) = reader_clone.error() { + runner + .scope + .send(LoadFileFailureMessage::new(err.message())) + .expect("posting LoadFileFailure message succeeds") + } else { + let text_value = reader_clone.result().expect("result should be Ok when Error is None"); + let text = text_value.as_string().expect("text value should be String"); + let mut preview = String::with_capacity(constants::FILE_PREVIEW_CHARS + 3); + preview.extend(text.chars().take(constants::FILE_PREVIEW_CHARS)); + preview += "..."; + *runner.input.lock().unwrap() = RunnerInput::Loaded(text); + runner + .scope + .send(LoadFileSuccessMessage::new(preview)) + .expect("posting LoadFileSuccess message succeeds"); + } + }) as Box); + let runner = self.0.clone(); + let onprogress = Closure::wrap(Box::new(move |event: web_sys::Event| { + let event = event.dyn_ref::().unwrap(); + let progress = (event.loaded() / event.total()) as f32; + runner + .scope + .send(LoadFileProgressMessage::new(progress)) + .expect("posting LoadFileProgress message succeeds"); + }) as Box); + reader.set_onloadend(Some(onloadend_cb.as_ref().unchecked_ref())); + reader.set_onprogress(Some(onprogress.as_ref().unchecked_ref())); + onloadend_cb.forget(); + onprogress.forget(); + Ok(()) + } + Err(err) => { + console::error_1(&"LoadFile: immediate error.".into()); + Err(err) + } + } + } + + fn discard_file(&self) { + console::log_1(&"Runner handling DiscardFile event...".into()); + let mut input = self.0.input.lock().unwrap(); + *input = RunnerInput::None; + } + + fn handle_run(&self, msg: RunRsonpathMessage) -> Result<(), JsValue> { + console::log_1(&"Runner handling RunRsonpath event...".into()); + let input_lock = self.0.input.lock().unwrap(); + let input = match msg.input() { + RunRsonpathInput::LoadedFile => match &*input_lock { + RunnerInput::None | RunnerInput::Loading => { + return Err("LoadedFile run requested but no file is loaded".into()); + } + RunnerInput::Loaded(json) => BorrowedBytes::new(json.as_bytes()), + }, + RunRsonpathInput::Inline(json) => BorrowedBytes::new(json.as_bytes()), + }; + + let msg = if !msg.is_benchmark_run() { + let (results, stats) = run_once(&msg, &input)?; + RunRsonpathSuccessMessage::new(stats, results) + } else { + let (results, _) = run_once(&msg, &input)?; + for _ in 1..constants::WARMUP_RUNS { + let _ = run_once(&msg, &input)?; + } + let mut acc_stats = RsonpathRuntime::default(); + for _ in 0..msg.repetitions() { + let (_, stats) = run_once(&msg, &input)?; + acc_stats += stats; + } + RunRsonpathSuccessMessage::new(acc_stats / msg.repetitions(), results) + }; + + self.0.scope.send(msg)?; + console::log_1(&"Message sent.".into()); + + return Ok(()); + + fn run_once(msg: &RunRsonpathMessage, input: &BorrowedBytes) -> Result<(String, RsonpathRuntime), JsValue> { + let parse_start = Instant::now(); + let query = parse_query(msg.query())?; + let parse_time = parse_start.elapsed(); + console::log_1(&"Parsed!".into()); + + let compile_start = Instant::now(); + let automaton = compile_query(&query)?; + let compile_time = compile_start.elapsed(); + console::log_1(&"Compiled!".into()); + + let mut out = Vec::new(); + + let engine = RsonpathEngine::from_compiled_query(automaton); + + let start = Instant::now(); + match msg.result_mode() { + RunRsonpathMode::Count => engine.count(input).map(|res| write!(&mut out, "{res}").unwrap()), + RunRsonpathMode::Indices => { + let mut sink = MatchWriter::from(&mut out); + engine.indices(input, &mut sink) + } + RunRsonpathMode::Nodes => { + let mut sink = MatchWriter::from(&mut out); + engine.matches(input, &mut sink) + } + } + .map_err(|err| err.to_string())?; + let run_time = start.elapsed(); + console::log_2(&"Finished in".into(), &run_time.as_secs_f64().into()); + + let results = String::from_utf8(out).expect(""); + let stats = RsonpathRuntime::new( + parse_time.as_secs_f64() * 1000.0, + compile_time.as_secs_f64() * 1000.0, + run_time.as_secs_f64() * 1000.0, + ); + Ok((results, stats)) + } + + fn parse_query(query_string: &str) -> Result { + let mut parser_builder = ParserBuilder::default(); + parser_builder.allow_surrounding_whitespace(true); + let parser: rsonpath_syntax::Parser = parser_builder.into(); + parser.parse(query_string).map_err(|err| err.to_string()) + } + + fn compile_query(query: &JsonPathQuery) -> Result { + Automaton::new(query).map_err(|err| err.to_string()) + } + } +} diff --git a/web/rsonpath-website/src/ui.rs b/web/rsonpath-website/src/ui.rs new file mode 100644 index 00000000..bdfbcbd5 --- /dev/null +++ b/web/rsonpath-website/src/ui.rs @@ -0,0 +1,679 @@ +use crate::ReadOnlyTextBuffer; +use crate::constants; +use crate::engine_run::{EngineRun, EngineRunState}; +use crate::file_load::FileLoad; +use crate::file_load::FileLoadState; +use crate::message::{RunRsonpathMessageBuilder, RunRsonpathMode}; +use crate::util::DisplaySize; +use eframe::Frame; +use eframe::emath::Align; +use eframe::epaint::Color32; +use eframe::epaint::text::TextWrapMode; +use egui::{ + Button, ComboBox, Layout, ProgressBar, RichText, ScrollArea, Separator, Spinner, TextEdit, TextStyle, + TopBottomPanel, Vec2, +}; +use egui_async::EguiAsyncPlugin; +use std::any::TypeId; +use std::borrow::Cow; +use std::cell::RefCell; +use std::ops::Range; +use std::rc::Rc; +use wasm_bindgen::prelude::*; +use web_sys::{HtmlInputElement, Worker, window}; + +#[derive(Clone)] +pub struct WebsiteGui(Rc>); + +pub struct WebsiteImpl { + json_input: String, + query_input: String, + console_output: Console, + is_dragging_file: bool, + toggle_dark_mode_on: bool, + toggle_console_on: bool, + result_mode: RunRsonpathMode, + benchmark_repetitions: usize, + runner: Worker, + file_load: FileLoad, + file_input_element: HtmlInputElement, + engine_run: EngineRun, +} + +struct Console { + buffer: String, +} + +impl Console { + pub fn new() -> Self { + Self { buffer: String::new() } + } + + pub fn log(&mut self, message: &str) { + self.buffer.push_str(message); + self.buffer.push('\n'); + } + + pub fn warn(&mut self, message: &str) { + self.buffer.push_str("WARNING: "); + self.buffer.push_str(message); + self.buffer.push('\n'); + } + + pub fn error(&mut self, message: &str) { + self.buffer.push_str("ERROR: "); + self.buffer.push_str(message); + self.buffer.push('\n'); + } + + pub fn clear(&mut self) { + self.buffer.clear() + } +} + +impl egui::TextBuffer for Console { + fn is_mutable(&self) -> bool { + false + } + + fn as_str(&self) -> &str { + self.buffer.as_str() + } + + fn insert_text(&mut self, _text: &str, _char_index: usize) -> usize { + 0 + } + + fn delete_char_range(&mut self, _char_range: Range) {} + + fn type_id(&self) -> TypeId { + TypeId::of::() + } +} + +//File select for web version +#[cfg(target_arch = "wasm32")] +impl WebsiteGui { + pub fn new(cc: &eframe::CreationContext, worker: Worker) -> Self { + let document = window() + .expect("window to be present") + .document() + .expect("document to be present"); + let file_input = document + .get_element_by_id(constants::FILE_INPUT_ELEMENT_ID) + .expect("file-input element not found, update FILE_INPUT_ELEMENT_ID") + .dyn_into::() + .unwrap(); + + let inner = Rc::new(RefCell::new(WebsiteImpl { + json_input: String::new(), + query_input: String::new(), + console_output: Console::new(), + is_dragging_file: false, + toggle_dark_mode_on: true, + toggle_console_on: true, + result_mode: RunRsonpathMode::Nodes, + benchmark_repetitions: 1, + runner: worker, + file_input_element: file_input, + file_load: FileLoad::new(), + engine_run: EngineRun::new(), + })); + + let inner_clone = inner.clone(); + let runner_clone = inner.borrow().runner.clone(); + let egui_ctx = cc.egui_ctx.clone(); + let onchange = Closure::wrap(Box::new(move |_: web_sys::Event| { + let file = inner_clone.borrow().file_input_element.files().unwrap().get(0).unwrap(); + inner_clone + .borrow() + .file_load + .request_async_load(file, egui_ctx.clone(), runner_clone.clone()); + }) as Box); + inner + .borrow() + .file_input_element + .set_onchange(Some(onchange.as_ref().unchecked_ref())); + onchange.forget(); + + let canvas = document + .get_element_by_id(constants::CANVAS_ELEMENT_ID) + .expect("canvas element not found, update CANVAS_ELEMENT_ID") + .dyn_into::() + .expect("canvas to be a Canvas"); + let egui_ctx = cc.egui_ctx.clone(); + let ondragover = Closure::wrap(Box::new(move |e: web_sys::Event| { + e.prevent_default(); + egui_ctx.request_repaint(); + }) as Box); + canvas.set_ondragover(Some(ondragover.as_ref().unchecked_ref())); + ondragover.forget(); + let inner_clone = inner.clone(); + let runner_clone = inner.borrow().runner.clone(); + let egui_ctx = cc.egui_ctx.clone(); + let ondrop = Closure::wrap(Box::new(move |e: web_sys::DragEvent| { + e.prevent_default(); + let file = e.data_transfer().unwrap().files().unwrap().get(0).unwrap(); + inner_clone + .borrow() + .file_load + .request_async_load(file, egui_ctx.clone(), runner_clone.clone()); + }) as Box); + canvas.set_ondrop(Some(ondrop.as_ref().unchecked_ref())); + ondrop.forget(); + + Self(inner) + } +} + +impl eframe::App for WebsiteGui { + fn update(&mut self, ctx: &egui::Context, frame: &mut Frame) { + self.0.borrow_mut().update(ctx, frame) + } +} + +impl eframe::App for WebsiteImpl { + fn update(&mut self, ctx: &egui::Context, _frame: &mut Frame) { + self.install_plugins(ctx); + self.set_style(ctx); + self.console_output.clear(); + + self.show_menu_bar(ctx); + self.show_central_panel(ctx); + + self.handle_file_drag(ctx); + } +} + +impl WebsiteImpl { + fn install_plugins(&self, ctx: &egui::Context) { + egui_extras::install_image_loaders(ctx); + ctx.plugin_or_default::(); + } + + fn set_style(&self, ctx: &egui::Context) { + ctx.set_style({ + let mut style = (*ctx.style()).clone(); + style.spacing.button_padding = egui::vec2(12.0, 8.0); + style.text_styles = [ + ( + egui::TextStyle::Button, + egui::FontId::new(constants::FONT_SIZE_NORMAL, egui::FontFamily::Proportional), + ), + ( + egui::TextStyle::Body, + egui::FontId::new(constants::FONT_SIZE_NORMAL, egui::FontFamily::Proportional), + ), + ( + egui::TextStyle::Monospace, + egui::FontId::new(constants::FONT_SIZE_NORMAL, egui::FontFamily::Monospace), + ), + ] + .into(); + style + }); + + if self.toggle_dark_mode_on { + ctx.set_visuals(egui::Visuals::dark()); + } else { + ctx.set_visuals(egui::Visuals::light()); + } + } + + fn highlight_color(&self) -> Color32 { + if self.toggle_dark_mode_on { + Color32::WHITE + } else { + Color32::DARK_GRAY + } + } + + fn text_on_highlight_color(&self) -> Color32 { + if self.toggle_dark_mode_on { + Color32::DARK_GRAY + } else { + Color32::WHITE + } + } + + fn show_menu_bar(&mut self, ctx: &egui::Context) { + let highlight_color = self.highlight_color(); + let text_on_highlight_color = self.text_on_highlight_color(); + TopBottomPanel::top("menu bar").show(ctx, |ui| { + ui.horizontal_wrapped(|ui| { + // rq logo + let logo_src = egui::include_image!("../assets/rsonquery-rq-logo.svg"); + let logo_image = egui::Image::new(logo_src) + .max_height(100.0) + .fit_to_exact_size(Vec2::new(200.0, 40.0)); + ui.add(logo_image); + + // File menu button + ui.menu_button("File", |ui| { + //Wipes all text windows to allow user to start anew + if ui.button("New").clicked() { + self.json_input.clear(); + self.query_input.clear(); + + ui.close(); + } + + //Opens JSON file from computer + if ui.button("Open...").clicked() { + self.open_file(); + ui.close(); + } + + ui.separator(); + + //Exports input text into a JSON file + if ui.button("Export to JSON").clicked() { + export_to_json(&self.json_input); + ui.close(); + } + }); + + // File load status. + let mut discard_button = None; + self.file_load.with_state(|state| match state { + // When in progress, display progress bar and spinner. + FileLoadState::InProgress(in_progress) => { + let progress = in_progress.progress(); + let percentage = (progress * 100.0) as u32; + let percentage_text = RichText::new(format!("{percentage}%")).color(text_on_highlight_color); + let progress_bar = ProgressBar::new(progress) + .text(percentage_text) + .fill(highlight_color) + .desired_height(30.0) + .desired_width(400.0) + .corner_radius(0.0); + let spinner = Spinner::new().color(highlight_color).size(30.0); + ui.add(progress_bar); + ui.add(spinner); + } + // When loaded, display file name, size, and discard button. + FileLoadState::Succeeded(success) => { + self.json_input = success.preview().to_string(); + self.console_output + .log(&format!("Loading file succeeded in {:?}", success.elapsed())); + + egui::Frame::NONE + .fill(highlight_color) + .inner_margin(Vec2::new(10.0, 0.0)) + .outer_margin(Vec2::new(0.0, 4.0)) + .show(ui, |ui| { + ui.add( + egui::Label::new( + RichText::new(success.file().name().to_string()).color(text_on_highlight_color), + ) + .wrap_mode(TextWrapMode::Truncate), + ); + ui.add(egui::Label::new( + RichText::new(format!("({})", DisplaySize(success.file().size()))) + .color(text_on_highlight_color), + )); + discard_button = Some(ui.button("❌").on_hover_text("Discard file.")); + }); + } + FileLoadState::Failed(failure) => { + self.console_output + .error(&format!("Loading file failed: {}", failure.error())); + } + FileLoadState::Idle | FileLoadState::Requested(_) => (), + FileLoadState::None => unreachable!("FileLoadState::None must not happen"), + }); + + if discard_button.is_some_and(|r| r.clicked()) { + self.file_load.discard(ctx, &self.runner); + self.json_input.clear(); + } + + // The buttons to the right: console and dark mode. + ui.with_layout(Layout::right_to_left(Align::Center), |ui| { + // Export output button + self.engine_run.with_state(|state| { + if let EngineRunState::Succeeded(success) = state { + // Save results to the computer. + if ui.button("Download results").clicked() { + export_to_json(success.results()); + } + } + }); + + //Console toggle checkbox + let toggle_console_text = RichText::new("Toggle Console") + .color(ui.visuals().text_color()) + .size(constants::FONT_SIZE_NORMAL) + .strong(); + + ui.checkbox(&mut self.toggle_console_on, toggle_console_text); + + ui.add_space(10.0); + + //Dark mode checkbox + let toggle_console_text = RichText::new("Toggle Dark Mode") + .color(ui.visuals().text_color()) + .size(constants::FONT_SIZE_NORMAL) + .strong(); + + ui.checkbox(&mut self.toggle_dark_mode_on, toggle_console_text) + }); + }) + }); + } + + fn show_central_panel(&mut self, ctx: &egui::Context) { + egui::CentralPanel::default().show(ctx, |ui| { + ScrollArea::both().auto_shrink([false; 2]).show(ui, |ui| { + let screen_width = ctx.content_rect().width(); + let screen_height = ctx.content_rect().height(); + + ui.with_layout(Layout::left_to_right(Align::Center), |ui| { + ui.vertical(|ui| { + let hint_text = RichText::new("Enter the JSON here...") + .size(constants::FONT_SIZE_NORMAL) + .color(ui.visuals().weak_text_color()) + .strong(); + + let left_side_width = screen_width * 0.5; + + let json_box_height = screen_height * 0.620; + + //Json input window + ScrollArea::vertical() + .id_salt("Json input window") + .max_height(json_box_height) + .show(ui, |ui| { + self.file_load.with_state(|state| match state { + FileLoadState::Requested(_) + | FileLoadState::Succeeded(_) + | FileLoadState::InProgress(_) => { + ui.add_enabled_ui(false, |ui| { + ui.add_sized( + [left_side_width, json_box_height], + TextEdit::multiline(&mut self.json_input) + .hint_text(hint_text) + .interactive(false), + ); + }); + } + FileLoadState::Failed(_) | FileLoadState::Idle | FileLoadState::None => { + ui.add_sized( + [left_side_width, json_box_height], + TextEdit::multiline(&mut self.json_input).hint_text(hint_text), + ); + } + }); + }); + + ui.add_space(15.0); + + // Query input + arguments + ui.horizontal(|ui| { + ui.vertical(|ui| { + let query_label = RichText::new("Enter your query here...") + .size(constants::FONT_SIZE_NORMAL) + .color(ui.visuals().weak_text_color()) + .strong(); + + //Query input + ScrollArea::vertical() + .id_salt("query_input_scroll") + .max_height(ui.available_height()) + .show(ui, |ui| { + ui.add_sized( + [left_side_width * 0.75, ui.available_height()], + TextEdit::multiline(&mut self.query_input) + .hint_text(query_label) + .desired_rows(1), + ); + }); + }); + + ui.add_space(10.0); + + ui.vertical(|ui| { + ui.add_space(10.0); + + ui.horizontal(|ui| { + ui.vertical(|ui| { + ComboBox::from_label("Result Mode") + .selected_text(format!("{:?}", self.result_mode)) + .show_ui(ui, |ui| { + ui.selectable_value( + &mut self.result_mode, + RunRsonpathMode::Nodes, + "Nodes", + ); + ui.selectable_value( + &mut self.result_mode, + RunRsonpathMode::Count, + "Count", + ); + ui.selectable_value( + &mut self.result_mode, + RunRsonpathMode::Indices, + "Indices", + ); + }); + }); + }); + + ui.add_space(10.0); + + //Repeat query x times + ui.add( + egui::DragValue::new(&mut self.benchmark_repetitions) + .speed(1) + .range(1..=10000) + .prefix("Repetitions: "), + ); + }); + }); + + ui.add_space(20.0); + + let runnable = self.engine_run.with_state(|state| { + matches!( + state, + EngineRunState::Idle | EngineRunState::Succeeded(_) | EngineRunState::Failed(_) + ) + }); + let is_file_loading = self.file_load.with_state(|state| { + matches!(state, FileLoadState::Requested(_) | FileLoadState::InProgress(_)) + }); + + let button = if !runnable { + let button_text = RichText::new("Running...").size(20.0).color(Color32::WHITE); + Button::new(button_text).fill(Color32::GRAY) + } else if is_file_loading { + let button_text = RichText::new("Loading...").size(20.0).color(Color32::WHITE); + Button::new(button_text).fill(Color32::GRAY) + } else { + let button_text = RichText::new("Run Query").size(20.0).color(Color32::WHITE).strong(); + Button::new(button_text).fill(constants::RQ_COLOR) + }; + + let response = ui.add_enabled_ui(runnable, |ui| { + ui.add_sized([left_side_width, screen_height * 0.144], button) + }); + + if response.inner.clicked() { + assert!(runnable); + let file_is_loaded = self + .file_load + .with_state(|state| matches!(state, FileLoadState::Succeeded(_))); + let mut msg = if file_is_loaded { + RunRsonpathMessageBuilder::new_file(self.query_input.clone()) + } else { + RunRsonpathMessageBuilder::new_inline(self.query_input.clone(), self.json_input.clone()) + }; + if self.benchmark_repetitions > 1 { + msg.benchmark(self.benchmark_repetitions); + } + msg.result_mode(self.result_mode); + self.engine_run + .request_async_run(msg.into(), ctx.clone(), self.runner.clone()); + } + }); + ui.add(Separator::default().vertical()); + + self.engine_run.with_state(|state| { + let mut out_buffer = ReadOnlyTextBuffer::empty(); + match state { + EngineRunState::Idle | EngineRunState::InProgress(_) | EngineRunState::Requested(_) => {} + EngineRunState::Succeeded(success) => { + out_buffer = if success.results().len() > constants::MAX_OUTPUT_BYTES { + ReadOnlyTextBuffer(Cow::Owned(format!( + "", + DisplaySize(success.results().len() as f64) + ))) + } else { + ReadOnlyTextBuffer(Cow::Borrowed(success.results())) + }; + if out_buffer.is_empty() { + self.console_output.warn("Result set is empty"); + } + let mut message = "Runtime stats".to_string(); + if self.benchmark_repetitions > 1 { + message += &format!(" (averaged over {} runs)", self.benchmark_repetitions); + } + message += "\n\n"; + message += &format!( + "\t- Parse time: {:?}\n\t- Compile time: {:?}\n\t- Run time: {:?}", + success.runtime().avg_parse_time(), + success.runtime().avg_compile_time(), + success.runtime().avg_run_time(), + ); + self.console_output.log(&message); + } + EngineRunState::Failed(failure) => { + self.console_output.error(failure.error()); + } + EngineRunState::None => unreachable!("EngineRunState::None cannot happen"), + } + + ui.vertical(|ui| { + //Output window + let output_window_height = if self.toggle_console_on { + screen_height * 0.70 + } else { + screen_height + }; + let output_window_width = screen_width * 0.48; + + let query_output_hint_text = RichText::new("The result of your query will appear here...") + .size(constants::FONT_SIZE_NORMAL) + .color(ui.visuals().weak_text_color()) + .strong(); + + ui.label("Output"); + ScrollArea::vertical() + .id_salt("Query output window") + .max_height(output_window_height) + .show(ui, |ui| { + ui.add_sized( + [output_window_width, output_window_height], + TextEdit::multiline(&mut out_buffer) + .desired_rows(5) + .interactive(true) + .hint_text(query_output_hint_text), + ); + }); + + //Console window + if self.toggle_console_on { + ui.add_space(15.0); + ui.separator(); + + let console_output_hint_text = RichText::new("Diagnostics will appear here...") + .size(constants::FONT_SIZE_NORMAL) + .color(ui.visuals().weak_text_color()) + .strong(); + + ui.label("Console"); + ScrollArea::vertical() + .id_salt("Console output window") + .max_height(output_window_height) + .show(ui, |ui| { + ui.add_sized( + [output_window_width, screen_height * 0.20], + TextEdit::multiline(&mut self.console_output) + .font(TextStyle::Monospace) + .interactive(true) + .hint_text(console_output_hint_text), + ); + }); + } + }); + }); + }) + }); + }); + } + + fn handle_file_drag(&mut self, ctx: &egui::Context) { + //Checks if any files are dragged over and if yes, darkens the screen and displays a piece of text to confirm something happened + let input = ctx.input(|i| i.clone()); + self.is_dragging_file = !input.raw.hovered_files.is_empty(); + + if self.is_dragging_file { + use egui::{Align2, Color32}; + + let screen_rect = ctx.content_rect(); + let painter = ctx.layer_painter(egui::LayerId::new( + egui::Order::Foreground, + egui::Id::new("drag_overlay"), + )); + painter.rect_filled(screen_rect, 0.0, Color32::from_black_alpha(180)); + + painter.text( + screen_rect.center(), + Align2::CENTER_CENTER, + "📂 Drop your file here", + egui::FontId::proportional(32.0), + Color32::WHITE, + ); + } + } + + fn open_file(&self) { + self.file_input_element.click(); + } +} + +fn export_to_json(json_input: &str) { + use wasm_bindgen::JsCast; + use web_sys::{Blob, BlobPropertyBag, HtmlAnchorElement, Url}; + + let window = window().unwrap(); + let document = window.document().unwrap(); + let body = document.body().unwrap(); + + // Create JSON blob + let array = js_sys::Array::new(); + array.push(&JsValue::from_str(json_input)); + + let bag = BlobPropertyBag::new(); + bag.set_type("application/json"); + + let blob = Blob::new_with_str_sequence_and_options(&array, &bag).expect("Failed to create Blob"); + + let url = Url::create_object_url_with_blob(&blob).expect("Failed to create URL"); + + // Create invisible link + let link = document + .create_element("a") + .unwrap() + .dyn_into::() + .unwrap(); + link.set_href(&url); + link.set_download("data.json"); + link.style().set_property("display", "none").unwrap(); + + // Append link to DOM *before* clicking + body.append_child(&link).unwrap(); + link.click(); + body.remove_child(&link).unwrap(); // Clean up + Url::revoke_object_url(&url).unwrap(); // Free memory +} diff --git a/web/rsonpath-website/src/util.rs b/web/rsonpath-website/src/util.rs new file mode 100644 index 00000000..3cde108a --- /dev/null +++ b/web/rsonpath-website/src/util.rs @@ -0,0 +1,49 @@ +use std::fmt::{Display, Formatter}; +use std::sync::atomic::{AtomicU32, Ordering}; +use wasm_bindgen::JsValue; + +/// Thin wrapper over [`AtomicU32`] for [`f32`] values. +pub(crate) struct AtomicF32(AtomicU32); + +impl AtomicF32 { + pub const fn new(v: f32) -> Self { + AtomicF32(AtomicU32::new(v.to_bits())) + } + + pub fn get(&self, ordering: Ordering) -> f32 { + f32::from_bits(self.0.load(ordering)) + } + + pub fn store(&self, v: f32, ordering: Ordering) { + self.0.store(v.to_bits(), ordering); + } +} + +pub fn error_string(err: JsValue) -> String { + return try_to_string(&err).unwrap_or_else(|| format!("{err:?}")); + + fn try_to_string(err: &JsValue) -> Option { + err.as_string().or_else(|| { + let Ok(val) = js_sys::JSON::stringify(err) else { + return None; + }; + val.as_string() + }) + } +} + +pub struct DisplaySize(pub f64); + +impl Display for DisplaySize { + fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { + if self.0 < 1_000.0 { + write!(f, "{} B", self.0) + } else if self.0 < 1_000_000.0 { + write!(f, "{:.2} KB", self.0 / 1_000.0) + } else if self.0 < 1_000_000_000.0 { + write!(f, "{:.2} MB", self.0 / 1_000_000.0) + } else { + write!(f, "{:.2} GB", self.0 / 1_000_000_000.0) + } + } +} From ab4ff3ac9cdcae7c2b52e9ea075ff7d4938f4669 Mon Sep 17 00:00:00 2001 From: Mateusz Gienieczko Date: Mon, 8 Dec 2025 17:22:09 +0100 Subject: [PATCH 16/16] fix: script origin to use full path and not hostname --- web/rsonpath-website/src/eframe.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/rsonpath-website/src/eframe.rs b/web/rsonpath-website/src/eframe.rs index 2bc6d9d7..d1e8dad6 100644 --- a/web/rsonpath-website/src/eframe.rs +++ b/web/rsonpath-website/src/eframe.rs @@ -47,8 +47,8 @@ fn create_worker() -> impl Future> { let origin = web_sys::window() .expect("window to be available") .location() - .origin() - .expect("origin to be available"); + .href() + .expect("location href to be available"); let script = Array::new(); script.push(