diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index d326a4f8..dea2f8b9 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -7,7 +7,6 @@ ## Verification -- [ ] `cargo fmt --all --check` -- [ ] `cargo clippy --all-targets -- -D warnings` -- [ ] `cargo test --doc` -- [ ] `cargo test --test runtime_smoke -- --nocapture` +- [ ] `scripts/validate.sh ci` +- [ ] `scripts/validate.sh release` +- [ ] `cargo deny check` diff --git a/.github/scripts/check-conventional-commit.sh b/.github/scripts/check-conventional-commit.sh deleted file mode 100755 index afd0b3b6..00000000 --- a/.github/scripts/check-conventional-commit.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -subject="${1:-}" - -if [[ -z "${subject}" ]]; then - echo "expected a non-empty commit subject or PR title" >&2 - exit 1 -fi - -pattern='^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([a-z0-9][a-z0-9._/-]*\))?(!)?: .+' - -if [[ ! "${subject}" =~ ${pattern} ]]; then - cat >&2 <(optional-scope)!: - -Allowed types: - build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test - -Received: - ${subject} -EOF - exit 1 -fi diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a141db8..e33dae2e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,50 +15,114 @@ concurrency: env: CARGO_TERM_COLOR: always RUST_BACKTRACE: 1 + PREK_VERSION: 0.3.10 jobs: + workflow-lint: + name: Workflow lint + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Checkout repository + uses: actions/checkout@v6 + with: + persist-credentials: false + + - name: Lint GitHub Actions workflows + uses: raven-actions/actionlint@v2.1.2 + checks: - name: Rust checks + name: Rust checks (MSRV) runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 90 steps: - - uses: actions/checkout@v6 - - uses: dtolnay/rust-toolchain@master + - name: Checkout repository + uses: actions/checkout@v6 + with: + fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha || github.sha }} + + - name: Install Tauri Linux dependencies + run: | + sudo apt-get update + sudo apt-get install -y \ + libayatana-appindicator3-dev \ + libssl-dev \ + libwebkit2gtk-4.1-dev \ + librsvg2-dev \ + patchelf \ + pkg-config + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@master with: toolchain: 1.92 components: rustfmt, clippy + + - name: Install Node.js + uses: actions/setup-node@v6 + with: + node-version: 22 + cache: npm + cache-dependency-path: examples/tauri-sqlx-vanilla/package-lock.json + - uses: Swatinem/rust-cache@v2 - - name: Format - run: cargo fmt --all --check - - name: Check default features - run: cargo check --all-targets --locked - - name: Check no default features - run: cargo check --no-default-features --all-targets --locked - - name: Clippy - run: cargo clippy --all-targets --locked -- -D warnings - - name: Unit and binary tests - run: cargo test --lib --bins --locked - - name: Doctests - run: cargo test --doc --locked - - name: Package - run: cargo package --locked - - runtime-smoke: - name: Embedded Postgres smoke + with: + workspaces: | + . -> target + examples/tauri-sqlx-vanilla/src-tauri -> target + + - name: Install prek + uses: taiki-e/install-action@v2 + with: + tool: prek@${{ env.PREK_VERSION }} + + - name: Validate package checks + run: scripts/validate.sh ci + + - name: Validate publish dry run + run: scripts/validate.sh release + + feature-powerset: + name: Feature powerset runs-on: ubuntu-latest timeout-minutes: 45 steps: - - uses: actions/checkout@v6 - - uses: dtolnay/rust-toolchain@master + - name: Checkout repository + uses: actions/checkout@v6 + with: + persist-credentials: false + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@master with: toolchain: 1.92 + - uses: Swatinem/rust-cache@v2 - - name: Runtime smoke - run: cargo test --test runtime_smoke --locked -- --nocapture - - name: Proxy smoke - run: cargo test --test proxy_smoke --locked -- --nocapture - - name: Client compatibility - run: cargo test --test client_compat --locked -- --nocapture + + - name: Install cargo-hack + uses: taiki-e/install-action@v2 + with: + tool: cargo-hack + + - name: Check feature combinations + run: cargo hack check --feature-powerset --no-dev-deps + + semver: + name: Public API compatibility + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - name: Checkout repository + uses: actions/checkout@v6 + with: + persist-credentials: false + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + + - name: Check semver compatibility + uses: obi1kenobi/cargo-semver-checks-action@v2 supply-chain: name: Supply chain @@ -66,4 +130,25 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v6 + with: + persist-credentials: false - uses: EmbarkStudios/cargo-deny-action@v2 + + required: + name: Required checks + if: always() + needs: + - workflow-lint + - checks + - feature-powerset + - semver + - supply-chain + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - name: Fail if any required job did not pass + if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') + run: exit 1 + + - name: All required jobs passed + run: echo "All required CI jobs passed." diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index 48a0b89b..ce06912b 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -14,21 +14,40 @@ concurrency: group: conventional-commits-${{ github.ref }} cancel-in-progress: true +env: + CARGO_TERM_COLOR: always + PREK_VERSION: 0.3.10 + jobs: conventional: name: Validate commit and PR title runs-on: ubuntu-latest - timeout-minutes: 5 + timeout-minutes: 20 steps: - uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha || github.sha }} + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@master + with: + toolchain: 1.92 + + - uses: Swatinem/rust-cache@v2 + + - name: Install prek + uses: taiki-e/install-action@v2 + with: + tool: prek@${{ env.PREK_VERSION }} + - name: Check PR title if: github.event_name == 'pull_request' env: PR_TITLE: ${{ github.event.pull_request.title }} - run: ./.github/scripts/check-conventional-commit.sh "$PR_TITLE" + run: | + printf '%s\n' "${PR_TITLE}" > "${RUNNER_TEMP}/pr-title.txt" + scripts/validate.sh commit-msg "${RUNNER_TEMP}/pr-title.txt" - name: Check release intent for package changes if: github.event_name == 'pull_request' env: @@ -38,4 +57,6 @@ jobs: PR_TITLE: ${{ github.event.pull_request.title }} run: ./.github/scripts/check-release-intent.sh "$PR_TITLE" "$BASE_SHA" "$HEAD_SHA" "$HEAD_BRANCH" - name: Check HEAD commit subject - run: ./.github/scripts/check-conventional-commit.sh "$(git log -1 --pretty=%s)" + run: | + git log -1 --pretty=%s > "${RUNNER_TEMP}/head-commit.txt" + scripts/validate.sh commit-msg "${RUNNER_TEMP}/head-commit.txt" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 492d285b..4f966926 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,10 +25,11 @@ concurrency: env: CARGO_TERM_COLOR: always RUST_BACKTRACE: 1 + PREK_VERSION: 0.3.10 jobs: prepare-release-pr: - name: Prepare release PR + name: Prepare Release PR runs-on: ubuntu-latest timeout-minutes: 20 if: ${{ github.repository == 'f0rr0/pglite-oxide' && inputs.operation == 'prepare-release-pr' }} @@ -59,9 +60,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} publish: - name: Publish release + name: Publish Release runs-on: ubuntu-latest - timeout-minutes: 90 + timeout-minutes: 120 if: ${{ github.repository == 'f0rr0/pglite-oxide' && inputs.operation != 'prepare-release-pr' }} environment: ${{ inputs.operation == 'publish' && 'crates-io' || 'release-dry-run' }} steps: @@ -78,47 +79,50 @@ jobs: fetch-depth: 0 persist-credentials: false + - name: Install Tauri Linux dependencies + run: | + sudo apt-get update + sudo apt-get install -y \ + libayatana-appindicator3-dev \ + libssl-dev \ + libwebkit2gtk-4.1-dev \ + librsvg2-dev \ + patchelf \ + pkg-config + - name: Install Rust toolchain uses: dtolnay/rust-toolchain@master with: toolchain: 1.92 components: rustfmt, clippy - - uses: Swatinem/rust-cache@v2 - - - name: Format - run: cargo fmt --all --check - - - name: Check default features - run: cargo check --all-targets --locked - - - name: Check no default features - run: cargo check --no-default-features --all-targets --locked - - - name: Clippy - run: cargo clippy --all-targets --locked -- -D warnings - - - name: Unit and binary tests - run: cargo test --lib --bins --locked + - name: Install Node.js + uses: actions/setup-node@v6 + with: + node-version: 22 + cache: npm + cache-dependency-path: examples/tauri-sqlx-vanilla/package-lock.json - - name: Doctests - run: cargo test --doc --locked + - uses: Swatinem/rust-cache@v2 + with: + workspaces: | + . -> target + examples/tauri-sqlx-vanilla/src-tauri -> target - - name: Runtime smoke - run: cargo test --test runtime_smoke --locked -- --nocapture + - name: Install prek + uses: taiki-e/install-action@v2 + with: + tool: prek@${{ env.PREK_VERSION }} - - name: Proxy smoke - run: cargo test --test proxy_smoke --locked -- --nocapture + - name: Validate package checks + run: scripts/validate.sh ci - - name: Client compatibility - run: cargo test --test client_compat --locked -- --nocapture + - name: Validate publish dry run + run: scripts/validate.sh release - name: Supply-chain policy uses: EmbarkStudios/cargo-deny-action@v2 - - name: Inspect package contents - run: cargo package --locked --list - - name: Run release-plz dry run if: ${{ inputs.operation == 'publish-dry-run' }} uses: release-plz/action@v0.5 diff --git a/.gitignore b/.gitignore index dbbfc730..5e35b429 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,3 @@ **/.DS_Store # Build artifacts from cargo package pglite_oxide-*.crates.tar.gz - diff --git a/CHANGELOG.md b/CHANGELOG.md index 861864b8..22916d55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ and [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -## [0.2.0](https://github.com/f0rr0/pglite-oxide/compare/0.1.0...0.2.0) - 2026-04-24 +## [0.2.0] - 2026-04-24 ### Added @@ -27,5 +27,6 @@ and [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Initial repository release. -[Unreleased]: https://github.com/f0rr0/pglite-oxide/compare/0.1.0...HEAD +[Unreleased]: https://github.com/f0rr0/pglite-oxide/compare/0.2.0...HEAD +[0.2.0]: https://github.com/f0rr0/pglite-oxide/compare/0.1.0...0.2.0 [0.1.0]: https://github.com/f0rr0/pglite-oxide/releases/tag/0.1.0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8c0b9dbe..04e3539e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,21 +5,30 @@ Run the same gates as CI before opening a PR: ```sh -cargo fmt --all --check -cargo check --all-targets -cargo check --no-default-features --all-targets -cargo clippy --all-targets -- -D warnings +scripts/validate.sh ci +scripts/validate.sh release cargo deny check -cargo test --lib --bins -cargo test --doc -cargo test --test runtime_smoke -- --nocapture -cargo test --test proxy_smoke -- --nocapture -cargo test --test client_compat -- --nocapture -cargo package --locked --allow-dirty ``` The runtime smoke starts embedded Postgres and is intentionally slower than unit tests. +Install local hooks with: + +```sh +scripts/install-hooks.sh +``` + +Hooks stay deliberately smaller than CI: pre-commit handles file hygiene and +formatting, while pre-push runs whitespace diff checking, +`cargo clippy --all-targets`, and `cargo test --all-targets`. CI repeats those +hook checks and remains the source of truth for no-default builds, docs, +packaging, Tauri, frontend, feature combinations, public API compatibility, and +supply-chain checks. + +In GitHub branch protection, require the aggregate `Required checks` status and +the Conventional Commit status before merging. Local hooks are convenience +checks and can be skipped; CI is authoritative. + ## Assets Bundled runtime assets must stay aligned with `docs/ASSETS.md`. If the WASI runtime diff --git a/Cargo.lock b/Cargo.lock index c779da93..9998cfce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1272,17 +1272,6 @@ version = "0.4.29" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" -[[package]] -name = "lzma-sys" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - [[package]] name = "mach2" version = "0.4.3" @@ -1442,7 +1431,7 @@ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pglite-oxide" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "directories", @@ -1452,6 +1441,7 @@ dependencies = [ "regex", "serde", "serde_json", + "sha2 0.10.9", "sqlx", "tar", "tempfile", @@ -1460,7 +1450,7 @@ dependencies = [ "tracing", "wasmtime", "wasmtime-wasi", - "xz2", + "zstd", ] [[package]] @@ -3471,15 +3461,6 @@ dependencies = [ "rustix 1.1.4", ] -[[package]] -name = "xz2" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388c44dc09d76f1536602ead6d325eb532f5c122f17782bd57fb47baeeb767e2" -dependencies = [ - "lzma-sys", -] - [[package]] name = "yoke" version = "0.8.1" diff --git a/Cargo.toml b/Cargo.toml index 04da8db6..adbcaf3c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pglite-oxide" -version = "0.2.0" +version = "0.3.0" edition = "2024" rust-version = "1.92" description = "Rust helpers for embedding the Electric SQL pglite WebAssembly PostgreSQL runtime" @@ -17,12 +17,7 @@ exclude = [ "Cargo.toml.orig", "assets/bin/pg_dump.wasm", "assets/extensions/vector.tar.gz", - "assets/pglite.data", - "assets/pglite.wasi", - "docs/ALIGNMENT_DIFF.md", - "docs/ALIGNMENT_NOTES.md", - "docs/RUST_PORT_PLAN.md", - "docs/reviews/**", + "examples/tauri-sqlx-vanilla/**", "release-plz.toml", ] @@ -37,15 +32,14 @@ pglite-build-repo = "electric-sql/pglite-build" pglite-build-branch = "gh-pages" pglite-build-commit = "4c78ee29513799a51d4e1f75008cf9c3f00b11e9" pglite-npm-version-checked = "0.4.4" -runtime-archive-sha256 = "c725235f22a4fd50fed363f4065edb151a716fa769cba66f2383b8b854e6bdb5" -pglite-wasi-sha256 = "a72b96adcd4ce40c51dd7201ee76a90f1b5799f633753b9cbb3c9af7b79f8da5" -pglite-data-sha256 = "791a44e2ad1d48830714fb54e8662a3372618883566a0af7fc9f6b8375ab82d1" -pglite-fs-manifest-sha256 = "880c9c058f416aad6ddc33fe0a1c84f6213b40c2b378e32587d25167d2f346f5" +runtime-archive-sha256 = "f6f90bf571c7f5bc925ff22f94233893c2c740466da2ad23bcd4e8e1ea8c498a" +pglite-wasi-sha256 = "ad423e536096ede1870f4802e7dbe4b49599c6e3bafc45aa9a4ddeeae2c5f4f8" +pgdata-template-archive-sha256 = "63e398b3cd4fec134d06539f064018fc2aa7fef75b9c331472f9b2d7385b913d" [dependencies] anyhow = "1" tar = "0.4" -xz2 = "0.1" +zstd = { version = "0.13", default-features = false } directories = "6" wasmtime = { version = "44", default-features = false, features = [ "cranelift", @@ -61,6 +55,7 @@ serde_json = "1" regex = "1" tempfile = "3" hex = "0.4" +sha2 = "0.10" [dev-dependencies] sqlx = { version = "0.8", default-features = false, features = [ @@ -74,10 +69,6 @@ tokio-postgres = "0.7" name = "pglite-dump" path = "src/bin/pglite_dump.rs" -[[bin]] -name = "pglite-manifest-sync" -path = "src/bin/pglite_manifest_sync.rs" - [[bin]] name = "pglite-proxy" path = "src/bin/pglite_proxy.rs" diff --git a/README.md b/README.md index 0178e512..a9c29ebe 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ [![CI](https://github.com/f0rr0/pglite-oxide/actions/workflows/ci.yml/badge.svg)](https://github.com/f0rr0/pglite-oxide/actions/workflows/ci.yml) [![crates.io](https://img.shields.io/crates/v/pglite-oxide.svg)](https://crates.io/crates/pglite-oxide) [![docs.rs](https://docs.rs/pglite-oxide/badge.svg)](https://docs.rs/pglite-oxide) +[![MSRV](https://img.shields.io/badge/msrv-1.92-blue)](https://www.rust-lang.org) +[![License](https://img.shields.io/badge/license-MIT%20AND%20Apache--2.0%20AND%20PostgreSQL-blue)](https://github.com/f0rr0/pglite-oxide#license) `pglite-oxide` embeds the [Electric SQL PGlite](https://github.com/electric-sql/pglite) WASI PostgreSQL runtime in Rust. It gives Rust apps a local Postgres-compatible @@ -24,9 +26,8 @@ Wasmtime 44. cargo add pglite-oxide serde_json ``` -The default `runtime-cache` feature enables Wasmtime's persistent compiled -module cache. Disable default features only if your app cannot write to the -global Wasmtime cache. +The default path uses the bundled PGDATA template and compiled Wasmtime module +cache. There are no startup flags to remember for ordinary apps. ## Direct Embedded API @@ -91,9 +92,8 @@ For app persistence, use `PgliteServer::builder().path("./.pglite").start()?`. ## Current Shape `pglite-oxide` is a Wasmtime/WASI embedding of PGlite, not native `libpglite` -bindings. The first process start can spend time compiling the large WASM -module; later starts reuse Wasmtime cache state when the default feature is -enabled. +bindings. Fresh databases are created from the bundled PGDATA template, and +later process starts reuse the compiled module cache when possible. Prefer the direct `Pglite` API when you do not need a PostgreSQL connection string. Use `PgliteServer` for compatibility with existing Postgres client @@ -104,6 +104,7 @@ crates. - [Usage guide](https://github.com/f0rr0/pglite-oxide/blob/main/docs/USAGE.md) - [Runtime and performance notes](https://github.com/f0rr0/pglite-oxide/blob/main/docs/RUNTIME.md) - [Tauri usage](https://github.com/f0rr0/pglite-oxide/blob/main/docs/TAURI.md) +- [Tauri SQLx profiler example](https://github.com/f0rr0/pglite-oxide/blob/main/examples/tauri-sqlx-vanilla) - [Development guide](https://github.com/f0rr0/pglite-oxide/blob/main/docs/DEVELOPMENT.md) - [Runtime asset provenance](https://github.com/f0rr0/pglite-oxide/blob/main/docs/ASSETS.md) - [Release process](https://github.com/f0rr0/pglite-oxide/blob/main/docs/RELEASE.md) diff --git a/assets/pglite-wasi.tar.xz b/assets/pglite-wasi.tar.xz deleted file mode 100644 index a67551c9..00000000 Binary files a/assets/pglite-wasi.tar.xz and /dev/null differ diff --git a/assets/pglite-wasi.tar.zst b/assets/pglite-wasi.tar.zst new file mode 100644 index 00000000..eedc23d2 Binary files /dev/null and b/assets/pglite-wasi.tar.zst differ diff --git a/assets/pglite.data b/assets/pglite.data deleted file mode 100644 index 806da31b..00000000 Binary files a/assets/pglite.data and /dev/null differ diff --git a/assets/pglite.wasi b/assets/pglite.wasi deleted file mode 100644 index a7f2d5cf..00000000 Binary files a/assets/pglite.wasi and /dev/null differ diff --git a/assets/pglite_fs_manifest.json b/assets/pglite_fs_manifest.json deleted file mode 100644 index 7a296152..00000000 --- a/assets/pglite_fs_manifest.json +++ /dev/null @@ -1,3457 +0,0 @@ -[ - { - "path": "/home/web_user/.pgpass", - "start": 0, - "end": 204 - }, - { - "path": "/tmp/pglite/bin/initdb", - "start": 204, - "end": 204 - }, - { - "path": "/tmp/pglite/bin/postgres", - "start": 204, - "end": 204 - }, - { - "path": "/tmp/pglite/lib/postgresql/cyrillic_and_mic.so", - "start": 204, - "end": 20365 - }, - { - "path": "/tmp/pglite/lib/postgresql/dict_snowball.so", - "start": 20365, - "end": 1580915 - }, - { - "path": "/tmp/pglite/lib/postgresql/euc2004_sjis2004.so", - "start": 1580915, - "end": 1591990 - }, - { - "path": "/tmp/pglite/lib/postgresql/euc_cn_and_mic.so", - "start": 1591990, - "end": 1598856 - }, - { - "path": "/tmp/pglite/lib/postgresql/euc_jp_and_sjis.so", - "start": 1598856, - "end": 1622469 - }, - { - "path": "/tmp/pglite/lib/postgresql/euc_kr_and_mic.so", - "start": 1622469, - "end": 1629587 - }, - { - "path": "/tmp/pglite/lib/postgresql/euc_tw_and_big5.so", - "start": 1629587, - "end": 1651064 - }, - { - "path": "/tmp/pglite/lib/postgresql/latin2_and_win1250.so", - "start": 1651064, - "end": 1659835 - }, - { - "path": "/tmp/pglite/lib/postgresql/latin_and_mic.so", - "start": 1659835, - "end": 1667754 - }, - { - "path": "/tmp/pglite/lib/postgresql/libpqwalreceiver.so", - "start": 1667754, - "end": 2211970 - }, - { - "path": "/tmp/pglite/lib/postgresql/pgoutput.so", - "start": 2211970, - "end": 2335393 - }, - { - "path": "/tmp/pglite/lib/postgresql/pgxs/config/install-sh", - "start": 2335393, - "end": 2349390 - }, - { - "path": "/tmp/pglite/lib/postgresql/pgxs/config/missing", - "start": 2349390, - "end": 2350738 - }, - { - "path": "/tmp/pglite/lib/postgresql/pgxs/src/Makefile.global", - "start": 2350738, - "end": 2386976 - }, - { - "path": "/tmp/pglite/lib/postgresql/pgxs/src/Makefile.port", - "start": 2386976, - "end": 2387528 - }, - { - "path": "/tmp/pglite/lib/postgresql/pgxs/src/Makefile.shlib", - "start": 2387528, - "end": 2402830 - }, - { - "path": "/tmp/pglite/lib/postgresql/pgxs/src/makefiles/pgxs.mk", - "start": 2402830, - "end": 2417741 - }, - { - "path": "/tmp/pglite/lib/postgresql/pgxs/src/nls-global.mk", - "start": 2417741, - "end": 2424609 - }, - { - "path": "/tmp/pglite/lib/postgresql/plpgsql.so", - "start": 2424609, - "end": 3203718 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_big5.so", - "start": 3203718, - "end": 3324635 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_cyrillic.so", - "start": 3324635, - "end": 3338178 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_euc2004.so", - "start": 3338178, - "end": 3549543 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_euc_cn.so", - "start": 3549543, - "end": 3630930 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_euc_jp.so", - "start": 3630930, - "end": 3788365 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_euc_kr.so", - "start": 3788365, - "end": 3897428 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_euc_tw.so", - "start": 3897428, - "end": 4103191 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_gb18030.so", - "start": 4103191, - "end": 4381413 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_gbk.so", - "start": 4381413, - "end": 4534095 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_iso8859.so", - "start": 4534095, - "end": 4568708 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_iso8859_1.so", - "start": 4568708, - "end": 4575376 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_johab.so", - "start": 4575376, - "end": 4743268 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_sjis.so", - "start": 4743268, - "end": 4831097 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_sjis2004.so", - "start": 4831097, - "end": 4964197 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_uhc.so", - "start": 4964197, - "end": 5137619 - }, - { - "path": "/tmp/pglite/lib/postgresql/utf8_and_win.so", - "start": 5137619, - "end": 5174344 - }, - { - "path": "/tmp/pglite/password", - "start": 5174344, - "end": 5174353 - }, - { - "path": "/tmp/pglite/share/postgresql/errcodes.txt", - "start": 5174353, - "end": 5207745 - }, - { - "path": "/tmp/pglite/share/postgresql/extension/plpgsql--1.0.sql", - "start": 5207745, - "end": 5208403 - }, - { - "path": "/tmp/pglite/share/postgresql/extension/plpgsql.control", - "start": 5208403, - "end": 5208596 - }, - { - "path": "/tmp/pglite/share/postgresql/information_schema.sql", - "start": 5208596, - "end": 5324119 - }, - { - "path": "/tmp/pglite/share/postgresql/pg_hba.conf.sample", - "start": 5324119, - "end": 5329744 - }, - { - "path": "/tmp/pglite/share/postgresql/pg_ident.conf.sample", - "start": 5329744, - "end": 5332384 - }, - { - "path": "/tmp/pglite/share/postgresql/pg_service.conf.sample", - "start": 5332384, - "end": 5332988 - }, - { - "path": "/tmp/pglite/share/postgresql/postgres.bki", - "start": 5332988, - "end": 6286256 - }, - { - "path": "/tmp/pglite/share/postgresql/postgresql.conf.sample", - "start": 6286256, - "end": 6316918 - }, - { - "path": "/tmp/pglite/share/postgresql/psqlrc.sample", - "start": 6316918, - "end": 6317196 - }, - { - "path": "/tmp/pglite/share/postgresql/snowball_create.sql", - "start": 6317196, - "end": 6361372 - }, - { - "path": "/tmp/pglite/share/postgresql/sql_features.txt", - "start": 6361372, - "end": 6397105 - }, - { - "path": "/tmp/pglite/share/postgresql/system_constraints.sql", - "start": 6397105, - "end": 6406000 - }, - { - "path": "/tmp/pglite/share/postgresql/system_functions.sql", - "start": 6406000, - "end": 6430303 - }, - { - "path": "/tmp/pglite/share/postgresql/system_views.sql", - "start": 6430303, - "end": 6481997 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Abidjan", - "start": 6481997, - "end": 6482127 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Accra", - "start": 6482127, - "end": 6482257 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Addis_Ababa", - "start": 6482257, - "end": 6482448 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Algiers", - "start": 6482448, - "end": 6482918 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Asmara", - "start": 6482918, - "end": 6483109 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Asmera", - "start": 6483109, - "end": 6483300 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Bamako", - "start": 6483300, - "end": 6483430 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Bangui", - "start": 6483430, - "end": 6483610 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Banjul", - "start": 6483610, - "end": 6483740 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Bissau", - "start": 6483740, - "end": 6483889 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Blantyre", - "start": 6483889, - "end": 6484020 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Brazzaville", - "start": 6484020, - "end": 6484200 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Bujumbura", - "start": 6484200, - "end": 6484331 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Cairo", - "start": 6484331, - "end": 6485640 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Casablanca", - "start": 6485640, - "end": 6487559 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Ceuta", - "start": 6487559, - "end": 6488121 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Conakry", - "start": 6488121, - "end": 6488251 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Dakar", - "start": 6488251, - "end": 6488381 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Dar_es_Salaam", - "start": 6488381, - "end": 6488572 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Djibouti", - "start": 6488572, - "end": 6488763 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Douala", - "start": 6488763, - "end": 6488943 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/El_Aaiun", - "start": 6488943, - "end": 6490773 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Freetown", - "start": 6490773, - "end": 6490903 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Gaborone", - "start": 6490903, - "end": 6491034 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Harare", - "start": 6491034, - "end": 6491165 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Johannesburg", - "start": 6491165, - "end": 6491355 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Juba", - "start": 6491355, - "end": 6491813 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Kampala", - "start": 6491813, - "end": 6492004 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Khartoum", - "start": 6492004, - "end": 6492462 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Kigali", - "start": 6492462, - "end": 6492593 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Kinshasa", - "start": 6492593, - "end": 6492773 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Lagos", - "start": 6492773, - "end": 6492953 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Libreville", - "start": 6492953, - "end": 6493133 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Lome", - "start": 6493133, - "end": 6493263 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Luanda", - "start": 6493263, - "end": 6493443 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Lubumbashi", - "start": 6493443, - "end": 6493574 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Lusaka", - "start": 6493574, - "end": 6493705 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Malabo", - "start": 6493705, - "end": 6493885 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Maputo", - "start": 6493885, - "end": 6494016 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Maseru", - "start": 6494016, - "end": 6494206 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Mbabane", - "start": 6494206, - "end": 6494396 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Mogadishu", - "start": 6494396, - "end": 6494587 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Monrovia", - "start": 6494587, - "end": 6494751 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Nairobi", - "start": 6494751, - "end": 6494942 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Ndjamena", - "start": 6494942, - "end": 6495102 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Niamey", - "start": 6495102, - "end": 6495282 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Nouakchott", - "start": 6495282, - "end": 6495412 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Ouagadougou", - "start": 6495412, - "end": 6495542 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Porto-Novo", - "start": 6495542, - "end": 6495722 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Sao_Tome", - "start": 6495722, - "end": 6495895 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Timbuktu", - "start": 6495895, - "end": 6496025 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Tripoli", - "start": 6496025, - "end": 6496456 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Tunis", - "start": 6496456, - "end": 6496905 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Africa/Windhoek", - "start": 6496905, - "end": 6497543 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Adak", - "start": 6497543, - "end": 6498512 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Anchorage", - "start": 6498512, - "end": 6499489 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Anguilla", - "start": 6499489, - "end": 6499666 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Antigua", - "start": 6499666, - "end": 6499843 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Araguaina", - "start": 6499843, - "end": 6500435 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/Buenos_Aires", - "start": 6500435, - "end": 6501143 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/Catamarca", - "start": 6501143, - "end": 6501851 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/ComodRivadavia", - "start": 6501851, - "end": 6502559 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/Cordoba", - "start": 6502559, - "end": 6503267 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/Jujuy", - "start": 6503267, - "end": 6503957 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/La_Rioja", - "start": 6503957, - "end": 6504674 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/Mendoza", - "start": 6504674, - "end": 6505382 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/Rio_Gallegos", - "start": 6505382, - "end": 6506090 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/Salta", - "start": 6506090, - "end": 6506780 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/San_Juan", - "start": 6506780, - "end": 6507497 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/San_Luis", - "start": 6507497, - "end": 6508214 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/Tucuman", - "start": 6508214, - "end": 6508940 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Argentina/Ushuaia", - "start": 6508940, - "end": 6509648 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Aruba", - "start": 6509648, - "end": 6509825 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Asuncion", - "start": 6509825, - "end": 6510910 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Atikokan", - "start": 6510910, - "end": 6511059 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Atka", - "start": 6511059, - "end": 6512028 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Bahia", - "start": 6512028, - "end": 6512710 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Bahia_Banderas", - "start": 6512710, - "end": 6513410 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Barbados", - "start": 6513410, - "end": 6513688 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Belem", - "start": 6513688, - "end": 6514082 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Belize", - "start": 6514082, - "end": 6515127 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Blanc-Sablon", - "start": 6515127, - "end": 6515304 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Boa_Vista", - "start": 6515304, - "end": 6515734 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Bogota", - "start": 6515734, - "end": 6515913 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Boise", - "start": 6515913, - "end": 6516912 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Buenos_Aires", - "start": 6516912, - "end": 6517620 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Cambridge_Bay", - "start": 6517620, - "end": 6518503 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Campo_Grande", - "start": 6518503, - "end": 6519455 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Cancun", - "start": 6519455, - "end": 6519993 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Caracas", - "start": 6519993, - "end": 6520183 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Catamarca", - "start": 6520183, - "end": 6520891 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Cayenne", - "start": 6520891, - "end": 6521042 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Cayman", - "start": 6521042, - "end": 6521191 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Chicago", - "start": 6521191, - "end": 6522945 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Chihuahua", - "start": 6522945, - "end": 6523636 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Ciudad_Juarez", - "start": 6523636, - "end": 6524354 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Coral_Harbour", - "start": 6524354, - "end": 6524503 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Cordoba", - "start": 6524503, - "end": 6525211 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Costa_Rica", - "start": 6525211, - "end": 6525443 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Coyhaique", - "start": 6525443, - "end": 6526805 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Creston", - "start": 6526805, - "end": 6527045 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Cuiaba", - "start": 6527045, - "end": 6527979 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Curacao", - "start": 6527979, - "end": 6528156 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Danmarkshavn", - "start": 6528156, - "end": 6528603 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Dawson", - "start": 6528603, - "end": 6529632 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Dawson_Creek", - "start": 6529632, - "end": 6530315 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Denver", - "start": 6530315, - "end": 6531357 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Detroit", - "start": 6531357, - "end": 6532256 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Dominica", - "start": 6532256, - "end": 6532433 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Edmonton", - "start": 6532433, - "end": 6533403 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Eirunepe", - "start": 6533403, - "end": 6533839 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/El_Salvador", - "start": 6533839, - "end": 6534015 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Ensenada", - "start": 6534015, - "end": 6535094 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Fort_Nelson", - "start": 6535094, - "end": 6536542 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Fort_Wayne", - "start": 6536542, - "end": 6537073 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Fortaleza", - "start": 6537073, - "end": 6537557 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Glace_Bay", - "start": 6537557, - "end": 6538437 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Godthab", - "start": 6538437, - "end": 6539402 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Goose_Bay", - "start": 6539402, - "end": 6540982 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Grand_Turk", - "start": 6540982, - "end": 6541835 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Grenada", - "start": 6541835, - "end": 6542012 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Guadeloupe", - "start": 6542012, - "end": 6542189 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Guatemala", - "start": 6542189, - "end": 6542401 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Guayaquil", - "start": 6542401, - "end": 6542580 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Guyana", - "start": 6542580, - "end": 6542761 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Halifax", - "start": 6542761, - "end": 6544433 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Havana", - "start": 6544433, - "end": 6545550 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Hermosillo", - "start": 6545550, - "end": 6545808 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Indiana/Indianapolis", - "start": 6545808, - "end": 6546339 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Indiana/Knox", - "start": 6546339, - "end": 6547355 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Indiana/Marengo", - "start": 6547355, - "end": 6547922 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Indiana/Petersburg", - "start": 6547922, - "end": 6548605 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Indiana/Tell_City", - "start": 6548605, - "end": 6549127 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Indiana/Vevay", - "start": 6549127, - "end": 6549496 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Indiana/Vincennes", - "start": 6549496, - "end": 6550054 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Indiana/Winamac", - "start": 6550054, - "end": 6550657 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Indianapolis", - "start": 6550657, - "end": 6551188 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Inuvik", - "start": 6551188, - "end": 6552005 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Iqaluit", - "start": 6552005, - "end": 6552860 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Jamaica", - "start": 6552860, - "end": 6553199 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Jujuy", - "start": 6553199, - "end": 6553889 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Juneau", - "start": 6553889, - "end": 6554855 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Kentucky/Louisville", - "start": 6554855, - "end": 6556097 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Kentucky/Monticello", - "start": 6556097, - "end": 6557069 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Knox_IN", - "start": 6557069, - "end": 6558085 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Kralendijk", - "start": 6558085, - "end": 6558262 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/La_Paz", - "start": 6558262, - "end": 6558432 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Lima", - "start": 6558432, - "end": 6558715 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Los_Angeles", - "start": 6558715, - "end": 6560009 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Louisville", - "start": 6560009, - "end": 6561251 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Lower_Princes", - "start": 6561251, - "end": 6561428 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Maceio", - "start": 6561428, - "end": 6561930 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Managua", - "start": 6561930, - "end": 6562225 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Manaus", - "start": 6562225, - "end": 6562637 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Marigot", - "start": 6562637, - "end": 6562814 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Martinique", - "start": 6562814, - "end": 6562992 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Matamoros", - "start": 6562992, - "end": 6563429 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Mazatlan", - "start": 6563429, - "end": 6564119 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Mendoza", - "start": 6564119, - "end": 6564827 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Menominee", - "start": 6564827, - "end": 6565744 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Merida", - "start": 6565744, - "end": 6566398 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Metlakatla", - "start": 6566398, - "end": 6566984 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Mexico_City", - "start": 6566984, - "end": 6567757 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Miquelon", - "start": 6567757, - "end": 6568307 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Moncton", - "start": 6568307, - "end": 6569800 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Monterrey", - "start": 6569800, - "end": 6570509 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Montevideo", - "start": 6570509, - "end": 6571478 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Montreal", - "start": 6571478, - "end": 6573195 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Montserrat", - "start": 6573195, - "end": 6573372 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Nassau", - "start": 6573372, - "end": 6575089 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/New_York", - "start": 6575089, - "end": 6576833 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Nipigon", - "start": 6576833, - "end": 6578550 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Nome", - "start": 6578550, - "end": 6579525 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Noronha", - "start": 6579525, - "end": 6580009 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/North_Dakota/Beulah", - "start": 6580009, - "end": 6581052 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/North_Dakota/Center", - "start": 6581052, - "end": 6582042 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/North_Dakota/New_Salem", - "start": 6582042, - "end": 6583032 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Nuuk", - "start": 6583032, - "end": 6583997 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Ojinaga", - "start": 6583997, - "end": 6584715 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Panama", - "start": 6584715, - "end": 6584864 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Pangnirtung", - "start": 6584864, - "end": 6585719 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Paramaribo", - "start": 6585719, - "end": 6585906 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Phoenix", - "start": 6585906, - "end": 6586146 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Port-au-Prince", - "start": 6586146, - "end": 6586711 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Port_of_Spain", - "start": 6586711, - "end": 6586888 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Porto_Acre", - "start": 6586888, - "end": 6587306 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Porto_Velho", - "start": 6587306, - "end": 6587700 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Puerto_Rico", - "start": 6587700, - "end": 6587877 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Punta_Arenas", - "start": 6587877, - "end": 6589095 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Rainy_River", - "start": 6589095, - "end": 6590389 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Rankin_Inlet", - "start": 6590389, - "end": 6591196 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Recife", - "start": 6591196, - "end": 6591680 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Regina", - "start": 6591680, - "end": 6592318 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Resolute", - "start": 6592318, - "end": 6593125 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Rio_Branco", - "start": 6593125, - "end": 6593543 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Rosario", - "start": 6593543, - "end": 6594251 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Santa_Isabel", - "start": 6594251, - "end": 6595330 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Santarem", - "start": 6595330, - "end": 6595739 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Santiago", - "start": 6595739, - "end": 6597093 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Santo_Domingo", - "start": 6597093, - "end": 6597410 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Sao_Paulo", - "start": 6597410, - "end": 6598362 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Scoresbysund", - "start": 6598362, - "end": 6599346 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Shiprock", - "start": 6599346, - "end": 6600388 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Sitka", - "start": 6600388, - "end": 6601344 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/St_Barthelemy", - "start": 6601344, - "end": 6601521 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/St_Johns", - "start": 6601521, - "end": 6603399 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/St_Kitts", - "start": 6603399, - "end": 6603576 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/St_Lucia", - "start": 6603576, - "end": 6603753 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/St_Thomas", - "start": 6603753, - "end": 6603930 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/St_Vincent", - "start": 6603930, - "end": 6604107 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Swift_Current", - "start": 6604107, - "end": 6604475 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Tegucigalpa", - "start": 6604475, - "end": 6604669 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Thule", - "start": 6604669, - "end": 6605124 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Thunder_Bay", - "start": 6605124, - "end": 6606841 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Tijuana", - "start": 6606841, - "end": 6607920 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Toronto", - "start": 6607920, - "end": 6609637 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Tortola", - "start": 6609637, - "end": 6609814 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Vancouver", - "start": 6609814, - "end": 6611144 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Virgin", - "start": 6611144, - "end": 6611321 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Whitehorse", - "start": 6611321, - "end": 6612350 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Winnipeg", - "start": 6612350, - "end": 6613644 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Yakutat", - "start": 6613644, - "end": 6614590 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/America/Yellowknife", - "start": 6614590, - "end": 6615560 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Antarctica/Casey", - "start": 6615560, - "end": 6615847 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Antarctica/Davis", - "start": 6615847, - "end": 6616044 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Antarctica/DumontDUrville", - "start": 6616044, - "end": 6616198 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Antarctica/Macquarie", - "start": 6616198, - "end": 6617174 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Antarctica/Mawson", - "start": 6617174, - "end": 6617326 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Antarctica/McMurdo", - "start": 6617326, - "end": 6618369 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Antarctica/Palmer", - "start": 6618369, - "end": 6619256 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Antarctica/Rothera", - "start": 6619256, - "end": 6619388 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Antarctica/South_Pole", - "start": 6619388, - "end": 6620431 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Antarctica/Syowa", - "start": 6620431, - "end": 6620564 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Antarctica/Troll", - "start": 6620564, - "end": 6620722 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Antarctica/Vostok", - "start": 6620722, - "end": 6620892 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Arctic/Longyearbyen", - "start": 6620892, - "end": 6621597 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Aden", - "start": 6621597, - "end": 6621730 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Almaty", - "start": 6621730, - "end": 6622348 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Amman", - "start": 6622348, - "end": 6623276 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Anadyr", - "start": 6623276, - "end": 6624019 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Aqtau", - "start": 6624019, - "end": 6624625 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Aqtobe", - "start": 6624625, - "end": 6625240 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Ashgabat", - "start": 6625240, - "end": 6625615 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Ashkhabad", - "start": 6625615, - "end": 6625990 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Atyrau", - "start": 6625990, - "end": 6626606 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Baghdad", - "start": 6626606, - "end": 6627236 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Bahrain", - "start": 6627236, - "end": 6627388 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Baku", - "start": 6627388, - "end": 6628132 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Bangkok", - "start": 6628132, - "end": 6628284 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Barnaul", - "start": 6628284, - "end": 6629037 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Beirut", - "start": 6629037, - "end": 6629769 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Bishkek", - "start": 6629769, - "end": 6630387 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Brunei", - "start": 6630387, - "end": 6630707 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Calcutta", - "start": 6630707, - "end": 6630927 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Chita", - "start": 6630927, - "end": 6631677 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Choibalsan", - "start": 6631677, - "end": 6632271 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Chongqing", - "start": 6632271, - "end": 6632664 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Chungking", - "start": 6632664, - "end": 6633057 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Colombo", - "start": 6633057, - "end": 6633304 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Dacca", - "start": 6633304, - "end": 6633535 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Damascus", - "start": 6633535, - "end": 6634769 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Dhaka", - "start": 6634769, - "end": 6635000 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Dili", - "start": 6635000, - "end": 6635170 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Dubai", - "start": 6635170, - "end": 6635303 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Dushanbe", - "start": 6635303, - "end": 6635669 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Famagusta", - "start": 6635669, - "end": 6636609 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Gaza", - "start": 6636609, - "end": 6639559 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Harbin", - "start": 6639559, - "end": 6639952 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Hebron", - "start": 6639952, - "end": 6642920 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Ho_Chi_Minh", - "start": 6642920, - "end": 6643156 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Hong_Kong", - "start": 6643156, - "end": 6643931 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Hovd", - "start": 6643931, - "end": 6644525 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Irkutsk", - "start": 6644525, - "end": 6645285 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Istanbul", - "start": 6645285, - "end": 6646485 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Jakarta", - "start": 6646485, - "end": 6646733 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Jayapura", - "start": 6646733, - "end": 6646904 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Jerusalem", - "start": 6646904, - "end": 6647978 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Kabul", - "start": 6647978, - "end": 6648137 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Kamchatka", - "start": 6648137, - "end": 6648864 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Karachi", - "start": 6648864, - "end": 6649130 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Kashgar", - "start": 6649130, - "end": 6649263 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Kathmandu", - "start": 6649263, - "end": 6649424 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Katmandu", - "start": 6649424, - "end": 6649585 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Khandyga", - "start": 6649585, - "end": 6650360 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Kolkata", - "start": 6650360, - "end": 6650580 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Krasnoyarsk", - "start": 6650580, - "end": 6651321 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Kuala_Lumpur", - "start": 6651321, - "end": 6651577 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Kuching", - "start": 6651577, - "end": 6651897 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Kuwait", - "start": 6651897, - "end": 6652030 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Macao", - "start": 6652030, - "end": 6652821 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Macau", - "start": 6652821, - "end": 6653612 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Magadan", - "start": 6653612, - "end": 6654363 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Makassar", - "start": 6654363, - "end": 6654553 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Manila", - "start": 6654553, - "end": 6654827 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Muscat", - "start": 6654827, - "end": 6654960 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Nicosia", - "start": 6654960, - "end": 6655557 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Novokuznetsk", - "start": 6655557, - "end": 6656283 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Novosibirsk", - "start": 6656283, - "end": 6657036 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Omsk", - "start": 6657036, - "end": 6657777 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Oral", - "start": 6657777, - "end": 6658402 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Phnom_Penh", - "start": 6658402, - "end": 6658554 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Pontianak", - "start": 6658554, - "end": 6658801 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Pyongyang", - "start": 6658801, - "end": 6658984 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Qatar", - "start": 6658984, - "end": 6659136 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Qostanay", - "start": 6659136, - "end": 6659760 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Qyzylorda", - "start": 6659760, - "end": 6660384 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Rangoon", - "start": 6660384, - "end": 6660571 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Riyadh", - "start": 6660571, - "end": 6660704 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Saigon", - "start": 6660704, - "end": 6660940 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Sakhalin", - "start": 6660940, - "end": 6661695 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Samarkand", - "start": 6661695, - "end": 6662061 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Seoul", - "start": 6662061, - "end": 6662476 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Shanghai", - "start": 6662476, - "end": 6662869 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Singapore", - "start": 6662869, - "end": 6663125 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Srednekolymsk", - "start": 6663125, - "end": 6663867 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Taipei", - "start": 6663867, - "end": 6664378 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Tashkent", - "start": 6664378, - "end": 6664744 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Tbilisi", - "start": 6664744, - "end": 6665373 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Tehran", - "start": 6665373, - "end": 6666185 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Tel_Aviv", - "start": 6666185, - "end": 6667259 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Thimbu", - "start": 6667259, - "end": 6667413 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Thimphu", - "start": 6667413, - "end": 6667567 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Tokyo", - "start": 6667567, - "end": 6667780 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Tomsk", - "start": 6667780, - "end": 6668533 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Ujung_Pandang", - "start": 6668533, - "end": 6668723 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Ulaanbaatar", - "start": 6668723, - "end": 6669317 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Ulan_Bator", - "start": 6669317, - "end": 6669911 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Urumqi", - "start": 6669911, - "end": 6670044 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Ust-Nera", - "start": 6670044, - "end": 6670815 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Vientiane", - "start": 6670815, - "end": 6670967 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Vladivostok", - "start": 6670967, - "end": 6671709 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Yakutsk", - "start": 6671709, - "end": 6672450 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Yangon", - "start": 6672450, - "end": 6672637 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Yekaterinburg", - "start": 6672637, - "end": 6673397 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Asia/Yerevan", - "start": 6673397, - "end": 6674105 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Atlantic/Azores", - "start": 6674105, - "end": 6675506 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Atlantic/Bermuda", - "start": 6675506, - "end": 6676530 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Atlantic/Canary", - "start": 6676530, - "end": 6677008 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Atlantic/Cape_Verde", - "start": 6677008, - "end": 6677183 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Atlantic/Faeroe", - "start": 6677183, - "end": 6677624 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Atlantic/Faroe", - "start": 6677624, - "end": 6678065 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Atlantic/Jan_Mayen", - "start": 6678065, - "end": 6678770 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Atlantic/Madeira", - "start": 6678770, - "end": 6680142 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Atlantic/Reykjavik", - "start": 6680142, - "end": 6680272 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Atlantic/South_Georgia", - "start": 6680272, - "end": 6680404 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Atlantic/St_Helena", - "start": 6680404, - "end": 6680534 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Atlantic/Stanley", - "start": 6680534, - "end": 6681323 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/ACT", - "start": 6681323, - "end": 6682227 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Adelaide", - "start": 6682227, - "end": 6683148 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Brisbane", - "start": 6683148, - "end": 6683437 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Broken_Hill", - "start": 6683437, - "end": 6684378 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Canberra", - "start": 6684378, - "end": 6685282 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Currie", - "start": 6685282, - "end": 6686285 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Darwin", - "start": 6686285, - "end": 6686519 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Eucla", - "start": 6686519, - "end": 6686833 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Hobart", - "start": 6686833, - "end": 6687836 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/LHI", - "start": 6687836, - "end": 6688528 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Lindeman", - "start": 6688528, - "end": 6688853 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Lord_Howe", - "start": 6688853, - "end": 6689545 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Melbourne", - "start": 6689545, - "end": 6690449 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/NSW", - "start": 6690449, - "end": 6691353 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/North", - "start": 6691353, - "end": 6691587 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Perth", - "start": 6691587, - "end": 6691893 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Queensland", - "start": 6691893, - "end": 6692182 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/South", - "start": 6692182, - "end": 6693103 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Sydney", - "start": 6693103, - "end": 6694007 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Tasmania", - "start": 6694007, - "end": 6695010 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Victoria", - "start": 6695010, - "end": 6695914 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/West", - "start": 6695914, - "end": 6696220 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Australia/Yancowinna", - "start": 6696220, - "end": 6697161 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Brazil/Acre", - "start": 6697161, - "end": 6697579 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Brazil/DeNoronha", - "start": 6697579, - "end": 6698063 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Brazil/East", - "start": 6698063, - "end": 6699015 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Brazil/West", - "start": 6699015, - "end": 6699427 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/CET", - "start": 6699427, - "end": 6700530 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/CST6CDT", - "start": 6700530, - "end": 6702284 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Canada/Atlantic", - "start": 6702284, - "end": 6703956 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Canada/Central", - "start": 6703956, - "end": 6705250 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Canada/Eastern", - "start": 6705250, - "end": 6706967 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Canada/Mountain", - "start": 6706967, - "end": 6707937 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Canada/Newfoundland", - "start": 6707937, - "end": 6709815 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Canada/Pacific", - "start": 6709815, - "end": 6711145 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Canada/Saskatchewan", - "start": 6711145, - "end": 6711783 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Canada/Yukon", - "start": 6711783, - "end": 6712812 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Chile/Continental", - "start": 6712812, - "end": 6714166 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Chile/EasterIsland", - "start": 6714166, - "end": 6715340 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Cuba", - "start": 6715340, - "end": 6716457 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/EET", - "start": 6716457, - "end": 6717139 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/EST", - "start": 6717139, - "end": 6717288 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/EST5EDT", - "start": 6717288, - "end": 6719032 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Egypt", - "start": 6719032, - "end": 6720341 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Eire", - "start": 6720341, - "end": 6721837 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT", - "start": 6721837, - "end": 6721948 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+0", - "start": 6721948, - "end": 6722059 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+1", - "start": 6722059, - "end": 6722172 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+10", - "start": 6722172, - "end": 6722286 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+11", - "start": 6722286, - "end": 6722400 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+12", - "start": 6722400, - "end": 6722514 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+2", - "start": 6722514, - "end": 6722627 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+3", - "start": 6722627, - "end": 6722740 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+4", - "start": 6722740, - "end": 6722853 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+5", - "start": 6722853, - "end": 6722966 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+6", - "start": 6722966, - "end": 6723079 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+7", - "start": 6723079, - "end": 6723192 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+8", - "start": 6723192, - "end": 6723305 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT+9", - "start": 6723305, - "end": 6723418 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-0", - "start": 6723418, - "end": 6723529 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-1", - "start": 6723529, - "end": 6723643 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-10", - "start": 6723643, - "end": 6723758 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-11", - "start": 6723758, - "end": 6723873 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-12", - "start": 6723873, - "end": 6723988 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-13", - "start": 6723988, - "end": 6724103 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-14", - "start": 6724103, - "end": 6724218 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-2", - "start": 6724218, - "end": 6724332 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-3", - "start": 6724332, - "end": 6724446 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-4", - "start": 6724446, - "end": 6724560 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-5", - "start": 6724560, - "end": 6724674 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-6", - "start": 6724674, - "end": 6724788 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-7", - "start": 6724788, - "end": 6724902 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-8", - "start": 6724902, - "end": 6725016 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT-9", - "start": 6725016, - "end": 6725130 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/GMT0", - "start": 6725130, - "end": 6725241 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/Greenwich", - "start": 6725241, - "end": 6725352 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/UCT", - "start": 6725352, - "end": 6725463 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/UTC", - "start": 6725463, - "end": 6725574 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/Universal", - "start": 6725574, - "end": 6725685 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Etc/Zulu", - "start": 6725685, - "end": 6725796 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Amsterdam", - "start": 6725796, - "end": 6726899 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Andorra", - "start": 6726899, - "end": 6727288 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Astrakhan", - "start": 6727288, - "end": 6728014 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Athens", - "start": 6728014, - "end": 6728696 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Belfast", - "start": 6728696, - "end": 6730295 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Belgrade", - "start": 6730295, - "end": 6730773 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Berlin", - "start": 6730773, - "end": 6731478 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Bratislava", - "start": 6731478, - "end": 6732201 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Brussels", - "start": 6732201, - "end": 6733304 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Bucharest", - "start": 6733304, - "end": 6733965 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Budapest", - "start": 6733965, - "end": 6734731 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Busingen", - "start": 6734731, - "end": 6735228 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Chisinau", - "start": 6735228, - "end": 6735983 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Copenhagen", - "start": 6735983, - "end": 6736688 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Dublin", - "start": 6736688, - "end": 6738184 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Gibraltar", - "start": 6738184, - "end": 6739404 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Guernsey", - "start": 6739404, - "end": 6741003 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Helsinki", - "start": 6741003, - "end": 6741484 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Isle_of_Man", - "start": 6741484, - "end": 6743083 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Istanbul", - "start": 6743083, - "end": 6744283 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Jersey", - "start": 6744283, - "end": 6745882 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Kaliningrad", - "start": 6745882, - "end": 6746786 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Kiev", - "start": 6746786, - "end": 6747344 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Kirov", - "start": 6747344, - "end": 6748079 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Kyiv", - "start": 6748079, - "end": 6748637 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Lisbon", - "start": 6748637, - "end": 6750100 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Ljubljana", - "start": 6750100, - "end": 6750578 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/London", - "start": 6750578, - "end": 6752177 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Luxembourg", - "start": 6752177, - "end": 6753280 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Madrid", - "start": 6753280, - "end": 6754177 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Malta", - "start": 6754177, - "end": 6755105 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Mariehamn", - "start": 6755105, - "end": 6755586 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Minsk", - "start": 6755586, - "end": 6756394 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Monaco", - "start": 6756394, - "end": 6757499 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Moscow", - "start": 6757499, - "end": 6758407 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Nicosia", - "start": 6758407, - "end": 6759004 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Oslo", - "start": 6759004, - "end": 6759709 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Paris", - "start": 6759709, - "end": 6760814 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Podgorica", - "start": 6760814, - "end": 6761292 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Prague", - "start": 6761292, - "end": 6762015 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Riga", - "start": 6762015, - "end": 6762709 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Rome", - "start": 6762709, - "end": 6763656 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Samara", - "start": 6763656, - "end": 6764388 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/San_Marino", - "start": 6764388, - "end": 6765335 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Sarajevo", - "start": 6765335, - "end": 6765813 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Saratov", - "start": 6765813, - "end": 6766539 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Simferopol", - "start": 6766539, - "end": 6767404 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Skopje", - "start": 6767404, - "end": 6767882 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Sofia", - "start": 6767882, - "end": 6768474 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Stockholm", - "start": 6768474, - "end": 6769179 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Tallinn", - "start": 6769179, - "end": 6769854 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Tirane", - "start": 6769854, - "end": 6770458 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Tiraspol", - "start": 6770458, - "end": 6771213 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Ulyanovsk", - "start": 6771213, - "end": 6771973 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Uzhgorod", - "start": 6771973, - "end": 6772531 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Vaduz", - "start": 6772531, - "end": 6773028 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Vatican", - "start": 6773028, - "end": 6773975 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Vienna", - "start": 6773975, - "end": 6774633 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Vilnius", - "start": 6774633, - "end": 6775309 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Volgograd", - "start": 6775309, - "end": 6776062 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Warsaw", - "start": 6776062, - "end": 6776985 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Zagreb", - "start": 6776985, - "end": 6777463 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Zaporozhye", - "start": 6777463, - "end": 6778021 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Europe/Zurich", - "start": 6778021, - "end": 6778518 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Factory", - "start": 6778518, - "end": 6778631 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/GB", - "start": 6778631, - "end": 6780230 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/GB-Eire", - "start": 6780230, - "end": 6781829 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/GMT", - "start": 6781829, - "end": 6781940 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/GMT+0", - "start": 6781940, - "end": 6782051 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/GMT-0", - "start": 6782051, - "end": 6782162 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/GMT0", - "start": 6782162, - "end": 6782273 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Greenwich", - "start": 6782273, - "end": 6782384 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/HST", - "start": 6782384, - "end": 6782605 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Hongkong", - "start": 6782605, - "end": 6783380 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Iceland", - "start": 6783380, - "end": 6783510 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Indian/Antananarivo", - "start": 6783510, - "end": 6783701 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Indian/Chagos", - "start": 6783701, - "end": 6783853 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Indian/Christmas", - "start": 6783853, - "end": 6784005 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Indian/Cocos", - "start": 6784005, - "end": 6784192 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Indian/Comoro", - "start": 6784192, - "end": 6784383 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Indian/Kerguelen", - "start": 6784383, - "end": 6784535 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Indian/Mahe", - "start": 6784535, - "end": 6784668 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Indian/Maldives", - "start": 6784668, - "end": 6784820 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Indian/Mauritius", - "start": 6784820, - "end": 6784999 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Indian/Mayotte", - "start": 6784999, - "end": 6785190 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Indian/Reunion", - "start": 6785190, - "end": 6785323 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Iran", - "start": 6785323, - "end": 6786135 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Israel", - "start": 6786135, - "end": 6787209 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Jamaica", - "start": 6787209, - "end": 6787548 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Japan", - "start": 6787548, - "end": 6787761 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Kwajalein", - "start": 6787761, - "end": 6787980 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Libya", - "start": 6787980, - "end": 6788411 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/MET", - "start": 6788411, - "end": 6789514 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/MST", - "start": 6789514, - "end": 6789754 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/MST7MDT", - "start": 6789754, - "end": 6790796 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Mexico/BajaNorte", - "start": 6790796, - "end": 6791875 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Mexico/BajaSur", - "start": 6791875, - "end": 6792565 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Mexico/General", - "start": 6792565, - "end": 6793338 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/NZ", - "start": 6793338, - "end": 6794381 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/NZ-CHAT", - "start": 6794381, - "end": 6795189 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Navajo", - "start": 6795189, - "end": 6796231 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/PRC", - "start": 6796231, - "end": 6796624 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/PST8PDT", - "start": 6796624, - "end": 6797918 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Apia", - "start": 6797918, - "end": 6798325 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Auckland", - "start": 6798325, - "end": 6799368 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Bougainville", - "start": 6799368, - "end": 6799569 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Chatham", - "start": 6799569, - "end": 6800377 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Chuuk", - "start": 6800377, - "end": 6800531 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Easter", - "start": 6800531, - "end": 6801705 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Efate", - "start": 6801705, - "end": 6802047 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Enderbury", - "start": 6802047, - "end": 6802219 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Fakaofo", - "start": 6802219, - "end": 6802372 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Fiji", - "start": 6802372, - "end": 6802768 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Funafuti", - "start": 6802768, - "end": 6802902 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Galapagos", - "start": 6802902, - "end": 6803077 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Gambier", - "start": 6803077, - "end": 6803209 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Guadalcanal", - "start": 6803209, - "end": 6803343 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Guam", - "start": 6803343, - "end": 6803693 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Honolulu", - "start": 6803693, - "end": 6803914 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Johnston", - "start": 6803914, - "end": 6804135 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Kanton", - "start": 6804135, - "end": 6804307 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Kiritimati", - "start": 6804307, - "end": 6804481 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Kosrae", - "start": 6804481, - "end": 6804723 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Kwajalein", - "start": 6804723, - "end": 6804942 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Majuro", - "start": 6804942, - "end": 6805076 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Marquesas", - "start": 6805076, - "end": 6805215 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Midway", - "start": 6805215, - "end": 6805361 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Nauru", - "start": 6805361, - "end": 6805544 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Niue", - "start": 6805544, - "end": 6805698 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Norfolk", - "start": 6805698, - "end": 6805935 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Noumea", - "start": 6805935, - "end": 6806133 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Pago_Pago", - "start": 6806133, - "end": 6806279 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Palau", - "start": 6806279, - "end": 6806427 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Pitcairn", - "start": 6806427, - "end": 6806580 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Pohnpei", - "start": 6806580, - "end": 6806714 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Ponape", - "start": 6806714, - "end": 6806848 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Port_Moresby", - "start": 6806848, - "end": 6807002 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Rarotonga", - "start": 6807002, - "end": 6807408 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Saipan", - "start": 6807408, - "end": 6807758 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Samoa", - "start": 6807758, - "end": 6807904 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Tahiti", - "start": 6807904, - "end": 6808037 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Tarawa", - "start": 6808037, - "end": 6808171 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Tongatapu", - "start": 6808171, - "end": 6808408 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Truk", - "start": 6808408, - "end": 6808562 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Wake", - "start": 6808562, - "end": 6808696 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Wallis", - "start": 6808696, - "end": 6808830 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Pacific/Yap", - "start": 6808830, - "end": 6808984 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Poland", - "start": 6808984, - "end": 6809907 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Portugal", - "start": 6809907, - "end": 6811370 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/ROC", - "start": 6811370, - "end": 6811881 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/ROK", - "start": 6811881, - "end": 6812296 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Singapore", - "start": 6812296, - "end": 6812552 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Turkey", - "start": 6812552, - "end": 6813752 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/UCT", - "start": 6813752, - "end": 6813863 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/US/Alaska", - "start": 6813863, - "end": 6814840 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/US/Aleutian", - "start": 6814840, - "end": 6815809 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/US/Arizona", - "start": 6815809, - "end": 6816049 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/US/Central", - "start": 6816049, - "end": 6817803 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/US/East-Indiana", - "start": 6817803, - "end": 6818334 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/US/Eastern", - "start": 6818334, - "end": 6820078 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/US/Hawaii", - "start": 6820078, - "end": 6820299 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/US/Indiana-Starke", - "start": 6820299, - "end": 6821315 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/US/Michigan", - "start": 6821315, - "end": 6822214 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/US/Mountain", - "start": 6822214, - "end": 6823256 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/US/Pacific", - "start": 6823256, - "end": 6824550 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/US/Samoa", - "start": 6824550, - "end": 6824696 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/UTC", - "start": 6824696, - "end": 6824807 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Universal", - "start": 6824807, - "end": 6824918 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/W-SU", - "start": 6824918, - "end": 6825826 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/WET", - "start": 6825826, - "end": 6827289 - }, - { - "path": "/tmp/pglite/share/postgresql/timezone/Zulu", - "start": 6827289, - "end": 6827400 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/Africa.txt", - "start": 6827400, - "end": 6834373 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/America.txt", - "start": 6834373, - "end": 6845380 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/Antarctica.txt", - "start": 6845380, - "end": 6846514 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/Asia.txt", - "start": 6846514, - "end": 6854825 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/Atlantic.txt", - "start": 6854825, - "end": 6858358 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/Australia", - "start": 6858358, - "end": 6859493 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/Australia.txt", - "start": 6859493, - "end": 6862877 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/Default", - "start": 6862877, - "end": 6890091 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/Etc.txt", - "start": 6890091, - "end": 6891341 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/Europe.txt", - "start": 6891341, - "end": 6900087 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/India", - "start": 6900087, - "end": 6900680 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/Indian.txt", - "start": 6900680, - "end": 6901941 - }, - { - "path": "/tmp/pglite/share/postgresql/timezonesets/Pacific.txt", - "start": 6901941, - "end": 6905709 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/danish.stop", - "start": 6905709, - "end": 6906133 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/dutch.stop", - "start": 6906133, - "end": 6906586 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/english.stop", - "start": 6906586, - "end": 6907208 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/finnish.stop", - "start": 6907208, - "end": 6908787 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/french.stop", - "start": 6908787, - "end": 6909592 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/german.stop", - "start": 6909592, - "end": 6910941 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/hungarian.stop", - "start": 6910941, - "end": 6912168 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/hunspell_sample.affix", - "start": 6912168, - "end": 6912411 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/hunspell_sample_long.affix", - "start": 6912411, - "end": 6913044 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/hunspell_sample_long.dict", - "start": 6913044, - "end": 6913142 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/hunspell_sample_num.affix", - "start": 6913142, - "end": 6913604 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/hunspell_sample_num.dict", - "start": 6913604, - "end": 6913733 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/ispell_sample.affix", - "start": 6913733, - "end": 6914198 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/ispell_sample.dict", - "start": 6914198, - "end": 6914279 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/italian.stop", - "start": 6914279, - "end": 6915933 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/nepali.stop", - "start": 6915933, - "end": 6920194 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/norwegian.stop", - "start": 6920194, - "end": 6921045 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/portuguese.stop", - "start": 6921045, - "end": 6922312 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/russian.stop", - "start": 6922312, - "end": 6923547 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/spanish.stop", - "start": 6923547, - "end": 6925725 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/swedish.stop", - "start": 6925725, - "end": 6926284 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/synonym_sample.syn", - "start": 6926284, - "end": 6926357 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/thesaurus_sample.ths", - "start": 6926357, - "end": 6926830 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/turkish.stop", - "start": 6926830, - "end": 6927090 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/unaccent.rules", - "start": 6927090, - "end": 6937093 - }, - { - "path": "/tmp/pglite/share/postgresql/tsearch_data/xsyn_sample.rules", - "start": 6937093, - "end": 6937232 - } -] diff --git a/assets/prepopulated/pgdata-template.json b/assets/prepopulated/pgdata-template.json new file mode 100644 index 00000000..b29d3007 --- /dev/null +++ b/assets/prepopulated/pgdata-template.json @@ -0,0 +1,6 @@ +{ + "postgresVersion": "17", + "wasmSha256": "ad423e536096ede1870f4802e7dbe4b49599c6e3bafc45aa9a4ddeeae2c5f4f8", + "archiveSha256": "63e398b3cd4fec134d06539f064018fc2aa7fef75b9c331472f9b2d7385b913d", + "architectureIndependent": true +} diff --git a/assets/prepopulated/pgdata-template.tar.zst b/assets/prepopulated/pgdata-template.tar.zst new file mode 100644 index 00000000..1f076ee5 Binary files /dev/null and b/assets/prepopulated/pgdata-template.tar.zst differ diff --git a/committed.toml b/committed.toml new file mode 100644 index 00000000..3c9b74a1 --- /dev/null +++ b/committed.toml @@ -0,0 +1,23 @@ +style = "conventional" +allowed_types = [ + "build", + "chore", + "ci", + "docs", + "feat", + "fix", + "perf", + "refactor", + "revert", + "style", + "test", +] +subject_length = 72 +line_length = 0 +hard_line_length = 0 +subject_capitalized = false +subject_not_punctuated = false +imperative_subject = false +no_fixup = false +no_wip = true +merge_commit = true diff --git a/docs/ALIGNMENT_DIFF.md b/docs/ALIGNMENT_DIFF.md deleted file mode 100644 index c9c3bc8f..00000000 --- a/docs/ALIGNMENT_DIFF.md +++ /dev/null @@ -1,226 +0,0 @@ -### PGlite Rust vs TypeScript reference – file-by-file differences - -Reference TS sources: https://github.com/electric-sql/pglite/tree/main/packages/pglite/src - -This document lists what is extra/missing on either side. Code references below cite exact lines from our repo (Rust) and the cloned TS reference. - -#### src/pglite/base.rs ↔ packages/pglite/src (init/provisioning) - -- Rust extra: embedded runtime archive unpack (include_bytes, tar.xz) to host FS. -```91:105:/Users/sid/dev/pglite-oxide/src/pglite/base.rs -info!("unpacking embedded runtime"); -let mut decoder = XzDecoder::new(*ARCHIVE_BYTES); -let mut ar = Archive::new(&mut decoder); -let unpack_target = paths - .pgroot - .parent() - .map(|p| p.to_path_buf()) - .unwrap_or_else(|| paths.pgroot.clone()); -ar.unpack(&unpack_target).with_context(|| { - format!( - "unpack embedded pglite-wasi.tar.xz into {}", - unpack_target.display() - ) -})?; -``` -- TS counterpart: engine load via factory with Emscripten opts (no host tar unpack). -```370:372:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -// Load the database engine -this.mod = await PostgresModFactory(emscriptenOpts) -``` - -- Rust: concrete host paths model `pgroot/tmp/pglite/base`. -```34:39:/Users/sid/dev/pglite-oxide/src/pglite/base.rs -let pgroot = base.join("tmp"); -let pgdata = pgroot.join("pglite").join("base"); -``` -- TS: virtual/adapter FS chosen at runtime. -```190:195:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -const { dataDir, fsType } = parseDataDir(options.dataDir) -this.fs = await loadFs(dataDir, fsType) -``` - -- Cluster detection parity, different surface: - - Rust checks host `PG_VERSION`. -```52:58:/Users/sid/dev/pglite-oxide/src/pglite/base.rs -fn marker_cluster(&self) -> PathBuf { self.pgdata.join("PG_VERSION") } -pub fn is_cluster_initialized(&self) -> bool { self.marker_cluster().exists() } -``` - - TS checks Emscripten FS path. -```388:392:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -if (this.mod.FS.analyzePath(PGDATA + '/PG_VERSION').exists) { /* ... */ } -``` - -Missing in Rust vs TS: TS can load `loadDataDir` tar before init (we currently don’t expose a tar import API at this layer). -```376:385:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -if (options.loadDataDir) { - if (this.mod.FS.analyzePath(PGDATA + '/PG_VERSION').exists) { - throw new Error('Database already exists, cannot load from tarball') - } - await loadTar(this.mod.FS, options.loadDataDir, PGDATA) -} -``` - -#### src/pglite/postgres_mod.rs ↔ packages/pglite/src/pglite.ts + postgresMod.ts - -- Rust extra: wasmtime/WASI process setup with env and argv values. -```379:386:/Users/sid/dev/pglite-oxide/src/pglite/postgres_mod.rs -builder - .env("PREFIX", WASM_PREFIX) - .env("PGDATA", PGDATA_DIR) - .env("PGUSER", "postgres") - .env("PGDATABASE", "template1") - .env("MODE", "REACT") - .env("REPL", "N"); -``` -- TS counterpart: passes the same values via `arguments` to Emscripten. -```200:209:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -const args = [ - `PGDATA=${PGDATA}`, - `PREFIX=${WASM_PREFIX}`, - `PGUSER=${options.username ?? 'postgres'}`, - `PGDATABASE=${options.database ?? 'template1'}`, - 'MODE=REACT', - 'REPL=N', - ...(this.debug ? ['-d', this.debug.toString()] : []), -] -``` - -- Rust extra: preopen host dirs into WASI (`pgroot`→`/tmp`, `pgdata`→`/tmp/pglite/base`, optional `/dev`). TS mounts within virtual FS. -```394:407:/Users/sid/dev/pglite-oxide/src/pglite/postgres_mod.rs -builder.preopened_dir(mount_dir, DirPerms::all(), FilePerms::all(), "/tmp"); -builder.preopened_dir(pgdata_dir, DirPerms::all(), FilePerms::all(), "/tmp/pglite/base"); -``` - -- Export usage parity: - - Rust typed calls vs TS direct exports. -```138:156:/Users/sid/dev/pglite-oxide/src/pglite/postgres_mod.rs -let rc = self.exports.pgl_initdb.call(&mut self.store, ())?; -``` -```397:401:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -const idb = this.mod._pgl_initdb() -``` - -- Transport path parity with differences in fallback: - - Rust implements CMA only; file transport is stubbed. -```244:251:/Users/sid/dev/pglite-oxide/src/pglite/postgres_mod.rs -match self.transport { - TransportMode::Cma { .. } => self.exec_cma(...), - TransportMode::File => bail!("file transport is not supported yet"), -} -``` - - TS supports both CMA and file via “socketfiles”. -```585:606:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -case 'cma': { mod._interactive_write(message.length); mod.HEAPU8.set(message, 1) } -case 'file': { - const pg_lck = '/tmp/pglite/base/.s.PGSQL.5432.lck.in' - const pg_in = '/tmp/pglite/base/.s.PGSQL.5432.in' - mod._interactive_write(0) - mod.FS.writeFile(pg_lck, message) - mod.FS.rename(pg_lck, pg_in) -} -``` - -- Rust extra: seed `/dev/urandom` file in host FS. -```434:448:/Users/sid/dev/pglite-oxide/src/pglite/postgres_mod.rs -let urandom = dev_path.join("urandom"); -if urandom.exists() { return Ok(()); } -let mut buf = [0u8; 128]; -getrandom::fill(&mut buf)?; -std::fs::write(&urandom, buf)?; -``` -- TS counterpart: not present; TS registers `/dev/blob` for COPY. -```259:319:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -// Register /dev/blob device ... mod.FS.registerDevice(...); mod.FS.mkdev('/dev/blob', devId) -``` - -#### src/pglite/client.rs ↔ packages/pglite/src/pglite.ts (client surface) - -- Parity: query/exec/transaction/describe, protocol steps, error wrapping. -```221:291:/Users/sid/dev/pglite-oxide/src/pglite/client.rs -// parse -> describe(S) -> bind -> describe(P) -> execute -> sync; error wrapping -``` -```221:301:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/base.ts -// parse -> describe(S) -> bind -> describe(P) -> execute -> sync; error wrapping -``` - -- Rust extra: `sync_to_fs` best-effort syncs host directories; TS actually syncs its configured virtual/persistent FS after ops. -```487:491:/Users/sid/dev/pglite-oxide/src/pglite/client.rs -pub fn sync_to_fs(&mut self) -> Result<()> { /* best-effort host fsync */ } -``` -```754:776:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -await this.fs!.syncToFs(this.#relaxedDurability) -``` - -- COPY blob handling parity with different surface: - - Rust writes/reads `/dev/blob` via host FS path (`pgroot/dev/blob`). -```723:743:/Users/sid/dev/pglite-oxide/src/pglite/client.rs -fn dev_blob_path(&self) -> PathBuf { self.pg.paths().pgroot.join("dev/blob") } -``` - - TS implements a virtual `/dev/blob` device within Emscripten FS. -```259:319:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -mod.FS.registerDevice(devId, devOpt); mod.FS.mkdev('/dev/blob', devId) -``` - -#### src/pglite/parse.rs ↔ packages/pglite/src/parse.ts - -- Parity: build Results from backend messages; same rowMode semantics; affectedRows logic. -```11:66:/Users/sid/dev/pglite-oxide/src/pglite/parse.rs -pub fn parse_results(...) -``` -```15:87:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/parse.ts -export function parseResults(...) -``` - -#### src/pglite/interface.rs ↔ packages/pglite/src/interface.ts - -- Parity: QueryOptions, ExecProtocolOptions, Results/Describe types. -```32:41:/Users/sid/dev/pglite-oxide/src/pglite/interface.rs -pub struct QueryOptions { row_mode, parsers, serializers, blob, param_types, on_notice, data_transfer_container } -``` -```23:37:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/interface.ts -export interface QueryOptions { rowMode, parsers, serializers, blob, onNotice, paramTypes } -``` - -- Difference: Rust strong types and Arc callbacks; TS uses structural types. - -#### src/pglite/errors.rs ↔ packages/pglite/src/errors.ts - -- Parity: enrich DatabaseError with query/params/options. -```9:31:/Users/sid/dev/pglite-oxide/src/pglite/errors.rs -pub struct PgliteError { source, query, params, query_options } -``` -```10:21:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/errors.ts -export function makePGliteError({ e, query, params, options }) { /* attach */ } -``` - -#### src/pglite/types.rs ↔ packages/pglite/src/types.ts - -- Parity: default parsers/serializers, array parser/serializer, OID constants. -```34:36:/Users/sid/dev/pglite-oxide/src/pglite/types.rs -pub static DEFAULT_PARSERS ... DEFAULT_SERIALIZERS ... -``` -```184:188:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/types.ts -export const parsers = defaultHandlers.parsers; export const serializers = defaultHandlers.serializers -``` - -- Differences: - - Rust returns JSON for unknown types; TS returns raw string. - - TS has broader OID coverage; Rust includes a focused subset. - -#### src/pglite/transport.rs ↔ pglite.ts execProtocolRaw - -- Rust: CMA implemented; file transport unimplemented. -```35:53:/Users/sid/dev/pglite-oxide/src/pglite/transport.rs -match self { Transport::Cma { .. } => send_cma(...), Transport::File => bail!(...) } -``` -- TS: supports CMA and file via socketfiles inside FS. -```585:647:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -// cma and file branches -``` - -### Summary of extras/missing - -- Rust extras: embedded tar unpack; WASI preopens; `/dev/urandom` file; host `/dev/blob` path; strong typing and explicit error structs. -- TS extras: virtual FS abstraction with idb/node/memory backends; file transport fallback; extension bundle plumbing and dynamic FS bundle loader; real FS sync after each op. - diff --git a/docs/ALIGNMENT_NOTES.md b/docs/ALIGNMENT_NOTES.md deleted file mode 100644 index 7d52cc79..00000000 --- a/docs/ALIGNMENT_NOTES.md +++ /dev/null @@ -1,35 +0,0 @@ -## Strict Parity Guidance (Non-Web Runtime) - -The `packages/pglite` TypeScript sources define the runtime contract. The Rust port must replicate observable behaviour exactly—unless a feature is explicitly web-only (IDB, OPFS, workers), the flow, data, and surface must match the reference. - -### Core principles - -1. **Clone the JS contract** - - Public APIs, default options, error semantics, result structures, protocol steps, and type conversion must produce the same outcomes as the TS reference. - - Treat the TS implementation as the spec: every change or extension must be traceable back to matching TS code. - -2. **No additional behaviour** - - Never add CLI flags, env vars, filesystem operations, sockets, or configuration knobs that the TS runtime does not use. - - If the wasm module exposes capabilities unused in TS (e.g., file transport, extra exports), leave them inactive until the reference adopts them. - -3. **Match process bootstrap** - - Pass through exactly the `NAME=value` arguments the TS loader supplies (`PGDATA`, `PREFIX`, `PGUSER`, `PGDATABASE`, `MODE`, `REPL`); do not invent alternate argv/env forms. - - Rely on the same runtime resources (shared memory CMA, wasm `Memory`) and keep WASI scaffolding invisible to consumers. - -4. **Mirror filesystem semantics** - - Use the same layout as the embedded archive (`/tmp/pglite/...`), create only the directories the TS runtime expects, and avoid host-specific migrations or markers. - - Do not expose or depend on host-only paths (e.g., `/dev`, `.s.PGSQL.5432`) beyond what the TS code already implies. - -5. **Entropy and devices** - - Source randomness the same way TS does (via the wasm module’s existing hooks). Do not seed host pseudo devices or add alternate entropy paths unless the reference changes. - -6. **Justify unavoidable differences** - - If platform constraints force divergence, document the reason, limiting scope, and confirm that observable behaviour remains identical. - -### When adding/changing code - -- Inspect the TS module first; port its behaviour verbatim (minus web-only features). -- Confirm that each public change has a counterpart in the TS reference. -- Keep test cases and fixtures aligned with TS expectations (results, errors, types). - -This file is a standing reminder: **mirror the TypeScript runtime everywhere except web-specific layers.** diff --git a/docs/ASSETS.md b/docs/ASSETS.md index 64c4a2b7..7005ca3d 100644 --- a/docs/ASSETS.md +++ b/docs/ASSETS.md @@ -7,27 +7,28 @@ Current source: - Runtime artifact branch: `electric-sql/pglite-build` `gh-pages` - Runtime artifact commit: `4c78ee29513799a51d4e1f75008cf9c3f00b11e9` -- Full artifact set on that branch includes `pglite-wasi.tar.xz`, `pglite.wasi`, - `pglite.data`, `pglite.wasm`, `pglite.js`, `pglite.cjs`, `pglite.html`, - `bin/pg_dump.wasm`, and extension archives. +- Full artifact set on that branch includes the WASI runtime archive, + `pglite.wasm`, `pglite.js`, `pglite.cjs`, `pglite.html`, `bin/pg_dump.wasm`, + and extension archives. +- The crate packages a recompressed `assets/pglite-wasi.tar.zst` archive and a + bundled PGDATA template to keep the published crate under crates.io's 10 MiB + package limit while avoiding first-run `initdb`. Current metadata: - PostgreSQL runtime: `17.5` - Upstream branch family: `electric-sql/postgres-pglite` `REL_17_5-pglite` -- Latest JS package checked: `@electric-sql/pglite@0.4.4` on April 24, 2026 -- Runtime archive SHA-256: `c725235f22a4fd50fed363f4065edb151a716fa769cba66f2383b8b854e6bdb5` -- `pglite.wasi` SHA-256: `a72b96adcd4ce40c51dd7201ee76a90f1b5799f633753b9cbb3c9af7b79f8da5` -- `pglite.data` SHA-256: `791a44e2ad1d48830714fb54e8662a3372618883566a0af7fc9f6b8375ab82d1` -- Filesystem manifest SHA-256: `880c9c058f416aad6ddc33fe0a1c84f6213b40c2b378e32587d25167d2f346f5` +- JS package version checked for this asset set: `@electric-sql/pglite@0.4.4` +- Runtime archive SHA-256: `f6f90bf571c7f5bc925ff22f94233893c2c740466da2ad23bcd4e8e1ea8c498a` +- Packaged `pglite.wasi` SHA-256: `ad423e536096ede1870f4802e7dbe4b49599c6e3bafc45aa9a4ddeeae2c5f4f8` +- PGDATA template archive SHA-256: `63e398b3cd4fec134d06539f064018fc2aa7fef75b9c331472f9b2d7385b913d` Update checklist: -1. Check `electric-sql/pglite-build` `gh-pages` for the latest published runtime - artifacts. -2. Replace `assets/pglite-wasi.tar.xz`; update extracted local `assets/pglite.wasi`, - `assets/pglite.data`, and `assets/pglite_fs_manifest.json` when using the - filesystem-bundle fallback. -3. Update `[package.metadata.pglite-oxide.assets]` in `Cargo.toml`. -4. Run `cargo test --test runtime_smoke -- --nocapture`. -5. Run `cargo package --allow-dirty` and verify the package size. +1. Check `electric-sql/pglite-build` `gh-pages` and `npm view + @electric-sql/pglite version` for the latest published runtime artifacts. +2. Replace or regenerate `assets/pglite-wasi.tar.zst`. +3. Regenerate `assets/prepopulated/pgdata-template.tar.zst` and + `assets/prepopulated/pgdata-template.json`. +4. Update `[package.metadata.pglite-oxide.assets]` in `Cargo.toml`. +5. Run `scripts/validate.sh ci` and `scripts/validate.sh release`. diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 7bf761bf..58d6cf25 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -3,21 +3,24 @@ Run the local gates before opening a PR: ```sh -cargo fmt --all --check -cargo check --all-targets -cargo check --no-default-features --all-targets -cargo clippy --all-targets -- -D warnings +scripts/validate.sh ci +scripts/validate.sh release cargo deny check -cargo test --doc -cargo test --test runtime_smoke -- --nocapture -cargo test --test proxy_smoke -- --nocapture -cargo test --test client_compat -- --nocapture -cargo package --allow-dirty ``` -Install the supply-chain gate when needed: +The hook split is intentionally small: + +- pre-commit: file hygiene and formatting +- pre-push: whitespace diff check, `cargo clippy --all-targets`, and + `cargo test --all-targets` +- CI/release: the hook checks plus no-default build, doctests, Tauri example, + frontend build, workflow linting, feature powerset, public API compatibility, + crate packaging, publish dry-run, and supply-chain policy + +Install local hooks and the supply-chain gate when needed: ```sh +scripts/install-hooks.sh cargo install cargo-deny --locked ``` @@ -26,12 +29,12 @@ slower than the protocol unit tests. ## Maintenance Utilities -The repository includes maintenance binaries: +The repository includes maintenance commands: -- `pglite-dump` expands the bundled filesystem manifest/runtime assets. -- `pglite-manifest-sync` syncs `assets/pglite_fs_manifest.json` from the - `pglite.js` bundle published on `electric-sql/pglite-build` `gh-pages`. +- `pglite-dump` expands the bundled runtime archive for inspection. - `pglite-proxy` exposes a local PostgreSQL socket backed by the embedded runtime. +- `cargo run --example build_pgdata_template` regenerates the bundled + prepopulated PGDATA template. Release process details are tracked in [RELEASE.md](RELEASE.md). diff --git a/docs/RELEASE.md b/docs/RELEASE.md index 8adce822..836eaa1a 100644 --- a/docs/RELEASE.md +++ b/docs/RELEASE.md @@ -8,10 +8,12 @@ user-facing binary to distribute. ## One-time setup - Ensure the crate owner has crates.io publish rights for `pglite-oxide`. -- `pglite-oxide@0.1.0` is already on crates.io, so future releases use crates.io - Trusted Publishing. Configure `f0rr0/pglite-oxide`, workflow +- The crate already exists on crates.io. Future releases use crates.io Trusted + Publishing. Configure `f0rr0/pglite-oxide`, workflow `.github/workflows/release.yml`, and environment `crates-io` in the crates.io trusted publisher settings. +- Do not configure `CARGO_REGISTRY_TOKEN`; the release workflow relies on the + GitHub OIDC token granted by `id-token: write`. - Repository Actions settings must allow GitHub Actions to create pull requests. - The `Release` workflow needs `contents: write`, `pull-requests: write`, and `id-token: write`; these are already declared in the workflow. @@ -54,5 +56,6 @@ produced. The dry-run and publish action steps are intentionally separate so the real publish step omits the `dry_run` input entirely. release-plz publishes unpublished package versions to crates.io, creates the bare -SemVer tag such as `0.2.0`, and creates the GitHub release from the generated -changelog. Bare SemVer tags intentionally match the existing `0.1.0` tag. +SemVer tag such as `0.3.0`, and creates the GitHub release from the generated +changelog. Bare SemVer tags intentionally match the existing `0.1.0` and +`0.2.0` tags. diff --git a/docs/RUNTIME.md b/docs/RUNTIME.md index 1efc2e62..5cee0684 100644 --- a/docs/RUNTIME.md +++ b/docs/RUNTIME.md @@ -20,29 +20,29 @@ exists. ## Startup Cost -The first instance in a process can take a while because Wasmtime compiles the -large PGlite WASM module and the first temporary cluster runs `initdb`. +The first instance in a process can take a while because Wasmtime prepares the +large PGlite WASM module and starts the embedded backend. -`pglite-oxide` reduces repeat startup cost in two ways: +`pglite-oxide` reduces startup cost in four ways: - compiled modules are cached in process, so additional `Pglite` instances avoid the same compile work +- compiled modules are serialized to a `.cwasm` cache keyed by the PGlite WASM + SHA-256, Wasmtime major version, target, and config id +- fresh clusters are created from a bundled prepopulated PGDATA template before + the backend session starts - `Pglite::temporary()` clones a process-local template cluster, so later - temporary databases copy a prepared filesystem instead of rerunning `initdb` + temporary databases copy a prepared filesystem Use `Pglite::builder().fresh_temporary().open()?` only when a test specifically needs fresh cluster initialization. ## Persistent Compile Cache -The default `runtime-cache` feature enables Wasmtime's persistent compiled module -cache, so later processes can reuse native code for the same PGlite WASM module. - -Disable it if your app cannot write to the global cache location: - -```toml -pglite-oxide = { version = "0.2", default-features = false } -``` +The crate keeps Wasmtime's persistent cache feature enabled and also writes a +crate-owned `.cwasm` cache under the platform cache directory. Cache writes are +best effort; if the cache cannot be read or written, the module is compiled +normally and the app continues. For fast local test loops in a downstream workspace, add the same profile override used by this repository. Wasmtime's debug cache otherwise keys entries diff --git a/docs/RUST_PORT_PLAN.md b/docs/RUST_PORT_PLAN.md deleted file mode 100644 index c481be7b..00000000 --- a/docs/RUST_PORT_PLAN.md +++ /dev/null @@ -1,62 +0,0 @@ -## PGlite Rust Port Plan (Non-Web Parity) - -The TypeScript reference (`packages/pglite/src`) is the specification. We port every runtime behaviour except browser-specific storage adapters (IDBFS, OPFS) and worker glue. This plan tracks remaining work to reach parity. - -### Completed -- Runtime provisioning / installation: unpack embedded archive into `/tmp/pglite`, ensure `/dev` and `/tmp/pglite/base`, seed PGDATA if missing. Mirrors TS `base.ts`, `pglite.ts` init. -- WASI bootstrapping: env/argv limited to `PREFIX`, `PGDATA`, `PGUSER`, `PGDATABASE`, `MODE`, `REPL`; CMA channel as default transport. -- Array type discovery and (de)serialisation: query `pg_type`, register array parsers/serialisers, replicate JS helpers. -- Query/exec/describe flows: end-to-end parity with TS base class (extended/simple query, transaction helpers, error enrichment). -- Blob handling (`/dev/blob`): accept `QueryOptions.blob` input and surface output blobs in results. -- Notification delivery: `listen`/`unlisten` APIs, channel/global callbacks, dispatch from protocol parser. -- Lifecycle tracking: `is_ready`, `is_closed`, `close`, `Drop`, internal ready/closing flags. -- Extension helpers: `install_extension_archive` / `install_extension_bytes` unpack `.tar.gz` bundles into the runtime FS. -- Host filesystem sync after each operation and fallback file transport channel to mirror TS behaviour. -- `load_fs_bundle` exposes the dynamic FS bundle (mirrors JS loader override). - -### Remaining Features -1. **COPY entry points & helpers** - - TS currently lacks dedicated `copyFrom`/`copyTo` helpers; the wasm runtime already supports `/dev/blob` paths. - - Decide whether to expose Rust convenience functions now or wait for the reference. For strict parity, defer until TS lands them. - -2. **Notification API refinements** - - TS normalises channels via `toPostgresName`; confirm all call sites use the same helper (done). - - Provide ability to list active listeners (optional; TS doesn’t expose this). - - Ensure `listen` invoked inside transactions mirrors TS behaviour (errors bubble up; transaction state toggled). - -3. **Live / vector / pg_ivm extensions** - - TS exposes optional Live Query, vector, and pg_ivm helpers. Investigate scope: - - `packages/pglite/src/live/**` - - `packages/pglite/src/vector/**` - - `packages/pglite/src/pg_ivm/**` - - Determine whether to port now or later (these rely on additional wasm assets / JS host features). - -4. **Template utilities & SQL tagging** - - Basic helpers (`QueryTemplate`, `quote_identifier`, `format_query`) implemented; revisit once richer DSL is needed. - -5. **Filesystem adapters (NodeFS, MemoryFS, etc.)** - - In TS these provide storage backends. For Rust we currently use host filesystem only. Document parity and optional future work: - - NodeFS swap-in => host FS (already default) - - MemoryFS / IDBFS / OPFS (web-only) – out of scope. - -6. **Extensions loading** - - TS `extensionUtils.ts` loads tarballs into the wasm FS. Our installer copies bundled extensions from `assets/extensions`. Check parity for runtime `install_extension_bytes/install_extension_archive`. - -7. **Error types & utilities** - - Port `errors.ts` helpers, `makePGliteError` details (already mirrored in `PgliteError`, but review field coverage). - -8. **Polyfills / workers** - - TS polyfills (indirect eval, blank) and worker entry points are inapplicable; document explicitly as out of scope. - -### Next Steps -1. **Live / vector features** - Skeleton modules exist but return "not supported"; port full behaviour (triggers, workers) when feasible. - -2. **Memory-style backends** - Evaluate whether exposing dedicated in-memory paths beyond temporary directories is necessary. - -3. **Testing** - - Expand beyond smoke test: create integration tests for array handling, blob COPY round-trips, notifications. - - Mirror TS test expectations where practical. - -Update this plan as each item is implemented or explicitly descoped. diff --git a/docs/TAURI.md b/docs/TAURI.md index 00dfe1d4..ade1c01d 100644 --- a/docs/TAURI.md +++ b/docs/TAURI.md @@ -4,6 +4,10 @@ Use `pglite-oxide` from Rust state, not from the webview. The main value is a sidecar-free local Postgres runtime that your commands, background tasks, and Rust libraries can share. +See `examples/tauri-sqlx-vanilla` for a Tauri v2 vanilla app that stores the +runtime in managed Rust state, connects SQLx with `max_connections(1)`, and +returns startup/query profile data as JSON. + ## Direct Embedded API Use `Pglite` when your Rust code owns the database calls: @@ -64,5 +68,7 @@ Postgres server. - Prefer `Pglite` over `PgliteServer` when you do not need a PostgreSQL URL. - Use `Pglite::temporary()` or `PgliteServer::temporary_tcp()` for tests; both use the template-cluster cache by default. +- Fresh app databases use the bundled PGDATA template by default; there is no + Tauri-specific startup configuration required. - Mobile targets need separate validation. The current crate targets desktop Rust with Wasmtime. diff --git a/docs/USAGE.md b/docs/USAGE.md index 5a869ef3..e56de773 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -51,6 +51,9 @@ fn main() -> anyhow::Result<()> { Use `Pglite::builder().fresh_temporary().open()?` only when a test needs to exercise fresh cluster initialization. +Fresh persistent databases use the bundled PGDATA template by default, so app +code does not need to opt into the fast startup path. + ## Queries `exec` runs SQL without parameters. `query` runs the extended protocol with JSON diff --git a/docs/reviews/base_vs_base_ts.md b/docs/reviews/base_vs_base_ts.md deleted file mode 100644 index a1824fbf..00000000 --- a/docs/reviews/base_vs_base_ts.md +++ /dev/null @@ -1,82 +0,0 @@ -### Review: Rust `base.rs` vs TS `base.ts`/bootstrap in `pglite.ts` - -Reference TS sources: https://github.com/electric-sql/pglite/tree/main/packages/pglite/src - -#### Purpose mapping - -- Rust `base.rs` handles runtime provisioning (embedded tar.xz), `PGDATA` directory creation, optional extension tar installs, and exposes install/init helpers. -- TS `base.ts` is not a provisioning file; bootstrap happens in `pglite.ts` (Emscripten opts, FS bundle, initdb/backend). This review maps Rust `base.rs` to the nearest TS bootstrap responsibilities. - -#### Embedded runtime vs JS bootstrap - -- Rust: unpacks embedded `pglite-wasi.tar.xz` into parent of `pgroot` and validates presence of `pglite/bin/pglite.wasi` and `share/postgresql/postgres.bki`. -```114:137:/Users/sid/dev/pglite-oxide/src/pglite/base.rs -info!("unpacking embedded runtime"); -let mut decoder = XzDecoder::new(*ARCHIVE_BYTES); -let mut ar = Archive::new(&mut decoder); -let unpack_target = paths.pgroot.parent().map(|p| p.to_path_buf()).unwrap_or_else(|| paths.pgroot.clone()); -ar.unpack(&unpack_target)?; -``` - -- TS: loads FS bundle and wasm via `PostgresModFactory` and `instantiateWasm`; no host tar unpack. -```230:247:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -let emscriptenOpts: Partial = { WASM_PREFIX, arguments: args, INITIAL_MEMORY: options.initialMemory, noExitRuntime: true, instantiateWasm: (...), getPreloadedPackage: (...) } -``` -```370:372:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -this.mod = await PostgresModFactory(emscriptenOpts) -``` - -#### Paths and cluster detection - -- Rust: real `pgroot/tmp/pglite/base` layout and cluster detection via host `PG_VERSION`. -```51:56:/Users/sid/dev/pglite-oxide/src/pglite/base.rs -let pgroot = base.join("tmp"); -let pgdata = pgroot.join("pglite").join("base"); -``` -```75:82:/Users/sid/dev/pglite-oxide/src/pglite/base.rs -fn marker_cluster(&self) -> PathBuf { self.pgdata.join("PG_VERSION") } -pub fn is_cluster_initialized(&self) -> bool { self.marker_cluster().exists() } -``` - -- TS: checks `PG_VERSION` within its virtual FS via `FS.analyzePath`. -```388:392:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -if (this.mod.FS.analyzePath(PGDATA + '/PG_VERSION').exists) { /* ... */ } -``` - -#### Extension installation - -- Rust: supports installing extension tarballs into `pgroot/pglite` from bytes or file. -```139:157:/Users/sid/dev/pglite-oxide/src/pglite/base.rs -fn install_extension_reader(paths: &PglitePaths, reader: R) -> Result<()> { /* tar.gz unpack */ } -pub fn install_extension_archive(...) -pub fn install_extension_bytes(...) -``` - -- TS: extension bundles are registered via `pg_extensions` and compiled after module load; different mechanism (`extensionUtils.ts` and `loadExtensions`). Not directly mirrored here. - -#### Install helpers - -- Rust: `install_default`, `install_into`, `install_and_init`, `install_with_options` return `InstallOutcome`/`MountInfo` with host mount path. -```227:281:/Users/sid/dev/pglite-oxide/src/pglite/base.rs -pub fn install_default(...) -pub fn install_into(...) -pub fn install_and_init(...) -pub fn install_with_options(...) -``` - -- TS: `PGlite.create({ dataDir, ... })` returns an instance; filesystem mount paths are abstracted away by the FS layer. - -#### Differences (Rust extras / TS extras) - -- Rust extras: - - Embedded tar.xz runtime unpack and validation. - - Real host `PGDATA` directory creation. - - Extension tarball install helpers. - - `MountInfo` exposing host mount path and reuse flag. - -- TS extras: - - FS bundle download/selection and wasm instantiation plumbed via Emscripten options. - - Extension bundle integration pipeline and dynamic compilation. - - DataDir tar load (`loadDataDir`) pre-init. - - diff --git a/docs/reviews/pglite_vs_pglite_ts.md b/docs/reviews/pglite_vs_pglite_ts.md deleted file mode 100644 index d458bbb7..00000000 --- a/docs/reviews/pglite_vs_pglite_ts.md +++ /dev/null @@ -1,141 +0,0 @@ -### Review: Rust `client.rs` vs TS `pglite.ts` - -Reference TS sources: https://github.com/electric-sql/pglite/tree/main/packages/pglite/src - -#### Scope match - -- Both implement the public client surface: query, exec, transaction, describe, protocol execution, notifications, and array type discovery. - -#### Initialization and engine wiring - -- Rust constructs `Pglite` with a prepared `PostgresMod` and transport. -```86:112:/Users/sid/dev/pglite-oxide/src/pglite/client.rs -impl Pglite { - /// Create a new Pglite instance backed by the provided runtime paths. - pub fn new(paths: PglitePaths) -> Result { - let mut pg = PostgresMod::new(paths)?; - pg.ensure_cluster()?; - let transport = Transport::prepare(&mut pg)?; - let mut instance = Self { /* fields */ }; - instance.exec_internal("SET search_path TO public;", None)?; - instance.init_array_types(true)?; - Ok(instance) - } -} -``` - -- TS loads the module via `PostgresModFactory`, sets args/env, then calls `_pgl_initdb()` and `_pgl_backend()`. -```370:447:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -this.mod = await PostgresModFactory(emscriptenOpts) -await this.fs!.initialSyncFs() -// (optional) load data dir tar, check PG_VERSION -const idb = this.mod._pgl_initdb() -// ... interpret flags ... -this.mod._pgl_backend() -await this.syncToFs() -``` - -#### Query (extended protocol) flow - -- Rust: parse → describe(S) → bind → describe(P) → execute → sync; errors wrapped into `PgliteError`. -```127:204:/Users/sid/dev/pglite-oxide/src/pglite/client.rs -fn query_internal(&mut self, sql: &str, params: &[Value], options: Option<&QueryOptions>) -> Result { - // build ExecProtocolOptions - // parse - // describe(S) and read param OIDs - // bind with serialized params - // describe(P) - // execute - // sync and parse results; wrap DatabaseError -> PgliteError -} -``` - -- TS: same flow wrapped in `BasePGlite`. -```221:301:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/base.ts -// parse → describe(S) → bind → describe(P) → execute → sync; DatabaseError -> makePGliteError -``` - -#### Simple query flow - -- Rust: `exec_internal` sends simple query, syncs, wraps errors. -```254:291:/Users/sid/dev/pglite-oxide/src/pglite/client.rs -fn exec_internal(&mut self, sql: &str, options: Option<&QueryOptions>) -> Result> { /* ... */ } -``` - -- TS: `#runExec` mirrors the same. -```310:352:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/base.ts -async #runExec(query: string, options?: QueryOptions): Promise> { /* ... */ } -``` - -#### Protocol execution wrappers - -- Rust: `exec_protocol` parses wire data with `ProtocolParser`, handles `throw_on_error`, invokes `on_notice`, and fans out notifications to listeners. -```583:637:/Users/sid/dev/pglite-oxide/src/pglite/client.rs -fn exec_protocol(&mut self, message: &[u8], options: ExecProtocolOptions) -> Result { /* ... */ } -``` - -- TS: `execProtocol` parses via ProtocolParser with same semantics. -```689:744:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -async execProtocol(message: Uint8Array, { syncToFs, throwOnError, onNotice }: ExecProtocolOptions = {}) { /* ... */ } -``` - -#### Protocol raw and transport selection - -- Rust: `exec_protocol_raw` delegates to `transport.send`, then optionally calls `sync_to_fs()`. -```639:652:/Users/sid/dev/pglite-oxide/src/pglite/client.rs -fn exec_protocol_raw(&mut self, message: &[u8], sync_to_fs: bool, data_transfer_container: Option) -> Result> { - let data = self.transport.send(&mut self.pg, message, data_transfer_container)?; - if sync_to_fs { self.sync_to_fs()?; } - Ok(data) -} -``` - -- TS: `execProtocolRawSync` selects CMA vs file, drives `_interactive_*`, reads result; `execProtocolRaw` optionally syncs FS. -```578:682:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -execProtocolRawSync(message: Uint8Array, options = {}) { /* cma/file branches, interactive_one/read */ } -async execProtocolRaw(message: Uint8Array, { syncToFs = true, dataTransferContainer }: ExecProtocolOptions = {}) { /* ... */ } -``` - -#### Array types discovery - -- Rust runs a SQL query in `init_array_types`, creates parsers/serializers for discovered arrays. -```654:721:/Users/sid/dev/pglite-oxide/src/pglite/client.rs -fn init_array_types(&mut self, force: bool) -> Result<()> { /* SELECT oid, typarray ... */ } -``` - -- TS: `BasePGlite._initArrayTypes()` mirrors it. -```116:135:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/base.ts -async _initArrayTypes({ force = false } = {}) { /* SELECT oid, typarray ... */ } -``` - -#### Notifications API - -- Rust: `listen`, `unlisten`, global listeners; invokes callbacks during `exec_protocol`. -```293:367:/Users/sid/dev/pglite-oxide/src/pglite/client.rs -pub fn listen(&mut self, channel: &str, callback: F) -> Result { /* ... */ } -``` - -- TS: `listen`, `unlisten`, `onNotification`, `offNotification` with similar behavior. -```787:873:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -onNotification(callback) { /* ... */ } offNotification(callback) { /* ... */ } -``` - -#### Differences (Rust extras / TS extras) - -- Rust extras: - - `sync_to_fs()` is a best-effort host filesystem sync, not a TS persistent-storage sync. - - Blob I/O writes/reads a host path `pgroot/dev/blob`. -```745:777:/Users/sid/dev/pglite-oxide/src/pglite/client.rs -fn get_written_blob(&mut self) -> Result>> { /* reads pgroot/dev/blob */ } -``` - -- TS extras: - - Real FS sync via filesystem backends after each op. -```754:776:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -await this.fs!.syncToFs(this.#relaxedDurability) -``` - - Virtual `/dev/blob` device registered in FS instead of host path. -```259:319:/Users/sid/dev/pglite-oxide/tmp/pglite-ts/packages/pglite/src/pglite.ts -mod.FS.registerDevice(devId, devOpt); mod.FS.mkdev('/dev/blob', devId) -``` - diff --git a/examples/build_pgdata_template.rs b/examples/build_pgdata_template.rs new file mode 100644 index 00000000..147898f5 --- /dev/null +++ b/examples/build_pgdata_template.rs @@ -0,0 +1,17 @@ +use std::env; +use std::path::PathBuf; + +use anyhow::Result; +use pglite_oxide::build_pgdata_template; + +fn main() -> Result<()> { + let output_dir = env::args_os() + .nth(1) + .map(PathBuf::from) + .unwrap_or_else(|| PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("assets/prepopulated")); + + let template = build_pgdata_template(&output_dir)?; + println!("archive: {}", template.archive_path.display()); + println!("manifest: {}", template.manifest_path.display()); + Ok(()) +} diff --git a/examples/tauri-sqlx-vanilla/.gitignore b/examples/tauri-sqlx-vanilla/.gitignore new file mode 100644 index 00000000..a547bf36 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/examples/tauri-sqlx-vanilla/.vscode/extensions.json b/examples/tauri-sqlx-vanilla/.vscode/extensions.json new file mode 100644 index 00000000..24d7cc6d --- /dev/null +++ b/examples/tauri-sqlx-vanilla/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"] +} diff --git a/examples/tauri-sqlx-vanilla/README.md b/examples/tauri-sqlx-vanilla/README.md new file mode 100644 index 00000000..c86247e8 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/README.md @@ -0,0 +1,37 @@ +# pglite SQLx Tauri profile + +This is a vanilla TypeScript Tauri v2 app that exercises `pglite-oxide` through a real `sqlx::PgPool`. It uses the crate defaults: bundled PGDATA template, compiled Wasmtime module cache, quiet WASI stdio, and the preferred local proxy. + +## Run the desktop app + +```sh +npm install +npm run tauri dev +``` + +The window paints first. The pglite runtime, preferred local proxy, SQLx pool, schema setup, and query profile run only when the profile command is invoked. + +## Run the headless profiler + +```sh +cd src-tauri +cargo run --release --bin profile_queries -- --fresh --rows 10000 --json-out /tmp/pglite-profile-release.json +``` + +Use `--fresh` to remove the profile data directory before the run. Omit it to measure a warm start with an existing cluster. + +The profiler uses the optimized default path. Flags: + +- `--rows `: control seed size. +- `--json-out `: write the full report as JSON. + +## What is measured + +- Runtime archive install/reuse. +- Wasmtime module load, compile, or compiled-cache reuse. +- PostgreSQL cluster creation, bundled template install, or reuse. +- Preferred proxy startup: Unix socket on macOS/Linux when possible, TCP fallback otherwise. +- SQLx pool connection, including the first backend wire-protocol handshake. +- Schema creation, seeding, indexing, and real SQLx query timings. + +The SQLx pool intentionally uses `max_connections(1)` because the embedded pglite runtime is single-process and proxy access is serialized. diff --git a/examples/tauri-sqlx-vanilla/index.html b/examples/tauri-sqlx-vanilla/index.html new file mode 100644 index 00000000..c2ea9cff --- /dev/null +++ b/examples/tauri-sqlx-vanilla/index.html @@ -0,0 +1,96 @@ + + + + + + + pglite SQLx profile + + + + +
+
+
+

pglite-oxide / Tauri / SQLx

+

Embedded Postgres profile

+
+
Idle
+
+ +
+ + + +
+ +
+
+ Startup + - +
+
+ Workload + - +
+
+ Rows + - +
+
+ Proxy + - +
+
+ +
+
+
+

Startup phases

+ - +
+
+
+ +
+
+

Workload phases

+ - +
+
+
+
+ +
+
+

SQLx query timings

+ P50 / P95 / max +
+
+ + + + + + + + + + + + + +
QueryRunsRowsMeanP50P95Max
+
+
+ +
+
+ + diff --git a/examples/tauri-sqlx-vanilla/package-lock.json b/examples/tauri-sqlx-vanilla/package-lock.json new file mode 100644 index 00000000..273d9d7e --- /dev/null +++ b/examples/tauri-sqlx-vanilla/package-lock.json @@ -0,0 +1,1361 @@ +{ + "name": "tauri-sqlx-vanilla", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "tauri-sqlx-vanilla", + "version": "0.1.0", + "dependencies": { + "@tauri-apps/api": "^2", + "@tauri-apps/plugin-opener": "^2" + }, + "devDependencies": { + "@tauri-apps/cli": "^2", + "typescript": "~5.6.2", + "vite": "^6.0.3" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz", + "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz", + "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz", + "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz", + "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz", + "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz", + "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz", + "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz", + "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz", + "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz", + "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz", + "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz", + "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz", + "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz", + "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz", + "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz", + "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz", + "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz", + "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz", + "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz", + "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz", + "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz", + "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz", + "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz", + "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz", + "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz", + "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.2.tgz", + "integrity": "sha512-dnlp69efPPg6Uaw2dVqzWRfAWRnYVb1XJ8CyyhIbZeaq4CA5/mLeZ1IEt9QqQxmbdvagjLIm2ZL8BxXv5lH4Yw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.2.tgz", + "integrity": "sha512-OqZTwDRDchGRHHm/hwLOL7uVPB9aUvI0am/eQuWMNyFHf5PSEQmyEeYYheA0EPPKUO/l0uigCp+iaTjoLjVoHg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.2.tgz", + "integrity": "sha512-UwRE7CGpvSVEQS8gUMBe1uADWjNnVgP3Iusyda1nSRwNDCsRjnGc7w6El6WLQsXmZTbLZx9cecegumcitNfpmA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.2.tgz", + "integrity": "sha512-gjEtURKLCC5VXm1I+2i1u9OhxFsKAQJKTVB8WvDAHF+oZlq0GTVFOlTlO1q3AlCTE/DF32c16ESvfgqR7343/g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.2.tgz", + "integrity": "sha512-Bcl6CYDeAgE70cqZaMojOi/eK63h5Me97ZqAQoh77VPjMysA/4ORQBRGo3rRy45x4MzVlU9uZxs8Uwy7ZaKnBw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.2.tgz", + "integrity": "sha512-LU+TPda3mAE2QB0/Hp5VyeKJivpC6+tlOXd1VMoXV/YFMvk/MNk5iXeBfB4MQGRWyOYVJ01625vjkr0Az98OJQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.2.tgz", + "integrity": "sha512-2QxQrM+KQ7DAW4o22j+XZ6RKdxjLD7BOWTP0Bv0tmjdyhXSsr2Ul1oJDQqh9Zf5qOwTuTc7Ek83mOFaKnodPjg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.2.tgz", + "integrity": "sha512-TbziEu2DVsTEOPif2mKWkMeDMLoYjx95oESa9fkQQK7r/Orta0gnkcDpzwufEcAO2BLBsD7mZkXGFqEdMRRwfw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.2.tgz", + "integrity": "sha512-bO/rVDiDUuM2YfuCUwZ1t1cP+/yqjqz+Xf2VtkdppefuOFS2OSeAfgafaHNkFn0t02hEyXngZkxtGqXcXwO8Rg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.2.tgz", + "integrity": "sha512-hr26p7e93Rl0Za+JwW7EAnwAvKkehh12BU1Llm9Ykiibg4uIr2rbpxG9WCf56GuvidlTG9KiiQT/TXT1yAWxTA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.2.tgz", + "integrity": "sha512-pOjB/uSIyDt+ow3k/RcLvUAOGpysT2phDn7TTUB3n75SlIgZzM6NKAqlErPhoFU+npgY3/n+2HYIQVbF70P9/A==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-musl": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.2.tgz", + "integrity": "sha512-2/w+q8jszv9Ww1c+6uJT3OwqhdmGP2/4T17cu8WuwyUuuaCDDJ2ojdyYwZzCxx0GcsZBhzi3HmH+J5pZNXnd+Q==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.2.tgz", + "integrity": "sha512-11+aL5vKheYgczxtPVVRhdptAM2H7fcDR5Gw4/bTcteuZBlH4oP9f5s9zYO9aGZvoGeBpqXI/9TZZihZ609wKw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-musl": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.2.tgz", + "integrity": "sha512-i16fokAGK46IVZuV8LIIwMdtqhin9hfYkCh8pf8iC3QU3LpwL+1FSFGej+O7l3E/AoknL6Dclh2oTdnRMpTzFQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.2.tgz", + "integrity": "sha512-49FkKS6RGQoriDSK/6E2GkAsAuU5kETFCh7pG4yD/ylj9rKhTmO3elsnmBvRD4PgJPds5W2PkhC82aVwmUcJ7A==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.2.tgz", + "integrity": "sha512-mjYNkHPfGpUR00DuM1ZZIgs64Hpf4bWcz9Z41+4Q+pgDx73UwWdAYyf6EG/lRFldmdHHzgrYyge5akFUW0D3mQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.2.tgz", + "integrity": "sha512-ALyvJz965BQk8E9Al/JDKKDLH2kfKFLTGMlgkAbbYtZuJt9LU8DW3ZoDMCtQpXAltZxwBHevXz5u+gf0yA0YoA==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.2.tgz", + "integrity": "sha512-UQjrkIdWrKI626Du8lCQ6MJp/6V1LAo2bOK9OTu4mSn8GGXIkPXk/Vsp4bLHCd9Z9Iz2OTEaokUE90VweJgIYQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.2.tgz", + "integrity": "sha512-bTsRGj6VlSdn/XD4CGyzMnzaBs9bsRxy79eTqTCBsA8TMIEky7qg48aPkvJvFe1HyzQ5oMZdg7AnVlWQSKLTnw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-openbsd-x64": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.2.tgz", + "integrity": "sha512-6d4Z3534xitaA1FcMWP7mQPq5zGwBmGbhphh2DwaA1aNIXUu3KTOfwrWpbwI4/Gr0uANo7NTtaykFyO2hPuFLg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ] + }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.2.tgz", + "integrity": "sha512-NetAg5iO2uN7eB8zE5qrZ3CSil+7IJt4WDFLcC75Ymywq1VZVD6qJ6EvNLjZ3rEm6gB7XW5JdT60c6MN35Z85Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.2.tgz", + "integrity": "sha512-NCYhOotpgWZ5kdxCZsv6Iudx0wX8980Q/oW4pNFNihpBKsDbEA1zpkfxJGC0yugsUuyDZ7gL37dbzwhR0VI7pQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.2.tgz", + "integrity": "sha512-RXsaOqXxfoUBQoOgvmmijVxJnW2IGB0eoMO7F8FAjaj0UTywUO/luSqimWBJn04WNgUkeNhh7fs7pESXajWmkg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.2.tgz", + "integrity": "sha512-qdAzEULD+/hzObedtmV6iBpdL5TIbKVztGiK7O3/KYSf+HIzU257+MX1EXJcyIiDbMAqmbwaufcYPvyRryeZtA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.2.tgz", + "integrity": "sha512-Nd/SgG27WoA9e+/TdK74KnHz852TLa94ovOYySo/yMPuTmpckK/jIF2jSwS3g7ELSKXK13/cVdmg1Z/DaCWKxA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@tauri-apps/api": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.10.1.tgz", + "integrity": "sha512-hKL/jWf293UDSUN09rR69hrToyIXBb8CjGaWC7gfinvnQrBVvnLr08FeFi38gxtugAVyVcTa5/FD/Xnkb1siBw==", + "license": "Apache-2.0 OR MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/tauri" + } + }, + "node_modules/@tauri-apps/cli": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-2.10.1.tgz", + "integrity": "sha512-jQNGF/5quwORdZSSLtTluyKQ+o6SMa/AUICfhf4egCGFdMHqWssApVgYSbg+jmrZoc8e1DscNvjTnXtlHLS11g==", + "dev": true, + "license": "Apache-2.0 OR MIT", + "bin": { + "tauri": "tauri.js" + }, + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/tauri" + }, + "optionalDependencies": { + "@tauri-apps/cli-darwin-arm64": "2.10.1", + "@tauri-apps/cli-darwin-x64": "2.10.1", + "@tauri-apps/cli-linux-arm-gnueabihf": "2.10.1", + "@tauri-apps/cli-linux-arm64-gnu": "2.10.1", + "@tauri-apps/cli-linux-arm64-musl": "2.10.1", + "@tauri-apps/cli-linux-riscv64-gnu": "2.10.1", + "@tauri-apps/cli-linux-x64-gnu": "2.10.1", + "@tauri-apps/cli-linux-x64-musl": "2.10.1", + "@tauri-apps/cli-win32-arm64-msvc": "2.10.1", + "@tauri-apps/cli-win32-ia32-msvc": "2.10.1", + "@tauri-apps/cli-win32-x64-msvc": "2.10.1" + } + }, + "node_modules/@tauri-apps/cli-darwin-arm64": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-2.10.1.tgz", + "integrity": "sha512-Z2OjCXiZ+fbYZy7PmP3WRnOpM9+Fy+oonKDEmUE6MwN4IGaYqgceTjwHucc/kEEYZos5GICve35f7ZiizgqEnQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 OR MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tauri-apps/cli-darwin-x64": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-2.10.1.tgz", + "integrity": "sha512-V/irQVvjPMGOTQqNj55PnQPVuH4VJP8vZCN7ajnj+ZS8Kom1tEM2hR3qbbIRoS3dBKs5mbG8yg1WC+97dq17Pw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 OR MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tauri-apps/cli-linux-arm-gnueabihf": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-2.10.1.tgz", + "integrity": "sha512-Hyzwsb4VnCWKGfTw+wSt15Z2pLw2f0JdFBfq2vHBOBhvg7oi6uhKiF87hmbXOBXUZaGkyRDkCHsdzJcIfoJC2w==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "Apache-2.0 OR MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tauri-apps/cli-linux-arm64-gnu": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-2.10.1.tgz", + "integrity": "sha512-OyOYs2t5GkBIvyWjA1+h4CZxTcdz1OZPCWAPz5DYEfB0cnWHERTnQ/SLayQzncrT0kwRoSfSz9KxenkyJoTelA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 OR MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tauri-apps/cli-linux-arm64-musl": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.10.1.tgz", + "integrity": "sha512-MIj78PDDGjkg3NqGptDOGgfXks7SYJwhiMh8SBoZS+vfdz7yP5jN18bNaLnDhsVIPARcAhE1TlsZe/8Yxo2zqg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 OR MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tauri-apps/cli-linux-riscv64-gnu": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-riscv64-gnu/-/cli-linux-riscv64-gnu-2.10.1.tgz", + "integrity": "sha512-X0lvOVUg8PCVaoEtEAnpxmnkwlE1gcMDTqfhbefICKDnOTJ5Est3qL0SrWxizDackIOKBcvtpejrSiVpuJI1kw==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "Apache-2.0 OR MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tauri-apps/cli-linux-x64-gnu": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-2.10.1.tgz", + "integrity": "sha512-2/12bEzsJS9fAKybxgicCDFxYD1WEI9kO+tlDwX5znWG2GwMBaiWcmhGlZ8fi+DMe9CXlcVarMTYc0L3REIRxw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 OR MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tauri-apps/cli-linux-x64-musl": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-2.10.1.tgz", + "integrity": "sha512-Y8J0ZzswPz50UcGOFuXGEMrxbjwKSPgXftx5qnkuMs2rmwQB5ssvLb6tn54wDSYxe7S6vlLob9vt0VKuNOaCIQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 OR MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tauri-apps/cli-win32-arm64-msvc": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-arm64-msvc/-/cli-win32-arm64-msvc-2.10.1.tgz", + "integrity": "sha512-iSt5B86jHYAPJa/IlYw++SXtFPGnWtFJriHn7X0NFBVunF6zu9+/zOn8OgqIWSl8RgzhLGXQEEtGBdR4wzpVgg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 OR MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tauri-apps/cli-win32-ia32-msvc": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-2.10.1.tgz", + "integrity": "sha512-gXyxgEzsFegmnWywYU5pEBURkcFN/Oo45EAwvZrHMh+zUSEAvO5E8TXsgPADYm31d1u7OQU3O3HsYfVBf2moHw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "Apache-2.0 OR MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tauri-apps/cli-win32-x64-msvc": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-2.10.1.tgz", + "integrity": "sha512-6Cn7YpPFwzChy0ERz6djKEmUehWrYlM+xTaNzGPgZocw3BD7OfwfWHKVWxXzdjEW2KfKkHddfdxK1XXTYqBRLg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 OR MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tauri-apps/plugin-opener": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-opener/-/plugin-opener-2.5.3.tgz", + "integrity": "sha512-CCcUltXMOfUEArbf3db3kCE7Ggy1ExBEBl51Ko2ODJ6GDYHRp1nSNlQm5uNCFY5k7/ufaK5Ib3Du/Zir19IYQQ==", + "license": "MIT OR Apache-2.0", + "dependencies": { + "@tauri-apps/api": "^2.8.0" + } + }, + "node_modules/@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "dev": true, + "license": "MIT" + }, + "node_modules/esbuild": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz", + "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.12", + "@esbuild/android-arm": "0.25.12", + "@esbuild/android-arm64": "0.25.12", + "@esbuild/android-x64": "0.25.12", + "@esbuild/darwin-arm64": "0.25.12", + "@esbuild/darwin-x64": "0.25.12", + "@esbuild/freebsd-arm64": "0.25.12", + "@esbuild/freebsd-x64": "0.25.12", + "@esbuild/linux-arm": "0.25.12", + "@esbuild/linux-arm64": "0.25.12", + "@esbuild/linux-ia32": "0.25.12", + "@esbuild/linux-loong64": "0.25.12", + "@esbuild/linux-mips64el": "0.25.12", + "@esbuild/linux-ppc64": "0.25.12", + "@esbuild/linux-riscv64": "0.25.12", + "@esbuild/linux-s390x": "0.25.12", + "@esbuild/linux-x64": "0.25.12", + "@esbuild/netbsd-arm64": "0.25.12", + "@esbuild/netbsd-x64": "0.25.12", + "@esbuild/openbsd-arm64": "0.25.12", + "@esbuild/openbsd-x64": "0.25.12", + "@esbuild/openharmony-arm64": "0.25.12", + "@esbuild/sunos-x64": "0.25.12", + "@esbuild/win32-arm64": "0.25.12", + "@esbuild/win32-ia32": "0.25.12", + "@esbuild/win32-x64": "0.25.12" + } + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.10", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.10.tgz", + "integrity": "sha512-pMMHxBOZKFU6HgAZ4eyGnwXF/EvPGGqUr0MnZ5+99485wwW41kW91A4LOGxSHhgugZmSChL5AlElNdwlNgcnLQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/rollup": { + "version": "4.60.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.2.tgz", + "integrity": "sha512-J9qZyW++QK/09NyN/zeO0dG/1GdGfyp9lV8ajHnRVLfo/uFsbji5mHnDgn/qYdUHyCkM2N+8VyspgZclfAh0eQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.8" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.60.2", + "@rollup/rollup-android-arm64": "4.60.2", + "@rollup/rollup-darwin-arm64": "4.60.2", + "@rollup/rollup-darwin-x64": "4.60.2", + "@rollup/rollup-freebsd-arm64": "4.60.2", + "@rollup/rollup-freebsd-x64": "4.60.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.60.2", + "@rollup/rollup-linux-arm-musleabihf": "4.60.2", + "@rollup/rollup-linux-arm64-gnu": "4.60.2", + "@rollup/rollup-linux-arm64-musl": "4.60.2", + "@rollup/rollup-linux-loong64-gnu": "4.60.2", + "@rollup/rollup-linux-loong64-musl": "4.60.2", + "@rollup/rollup-linux-ppc64-gnu": "4.60.2", + "@rollup/rollup-linux-ppc64-musl": "4.60.2", + "@rollup/rollup-linux-riscv64-gnu": "4.60.2", + "@rollup/rollup-linux-riscv64-musl": "4.60.2", + "@rollup/rollup-linux-s390x-gnu": "4.60.2", + "@rollup/rollup-linux-x64-gnu": "4.60.2", + "@rollup/rollup-linux-x64-musl": "4.60.2", + "@rollup/rollup-openbsd-x64": "4.60.2", + "@rollup/rollup-openharmony-arm64": "4.60.2", + "@rollup/rollup-win32-arm64-msvc": "4.60.2", + "@rollup/rollup-win32-ia32-msvc": "4.60.2", + "@rollup/rollup-win32-x64-gnu": "4.60.2", + "@rollup/rollup-win32-x64-msvc": "4.60.2", + "fsevents": "~2.3.2" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.16", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz", + "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/typescript": { + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/vite": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.2.tgz", + "integrity": "sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.25.0", + "fdir": "^6.4.4", + "picomatch": "^4.0.2", + "postcss": "^8.5.3", + "rollup": "^4.34.9", + "tinyglobby": "^0.2.13" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "jiti": ">=1.21.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + } + } +} diff --git a/examples/tauri-sqlx-vanilla/package.json b/examples/tauri-sqlx-vanilla/package.json new file mode 100644 index 00000000..035457ce --- /dev/null +++ b/examples/tauri-sqlx-vanilla/package.json @@ -0,0 +1,21 @@ +{ + "name": "tauri-sqlx-vanilla", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "tsc && vite build", + "preview": "vite preview", + "tauri": "tauri" + }, + "dependencies": { + "@tauri-apps/api": "^2", + "@tauri-apps/plugin-opener": "^2" + }, + "devDependencies": { + "@tauri-apps/cli": "^2", + "vite": "^6.0.3", + "typescript": "~5.6.2" + } +} diff --git a/examples/tauri-sqlx-vanilla/src-tauri/.gitignore b/examples/tauri-sqlx-vanilla/src-tauri/.gitignore new file mode 100644 index 00000000..b21bd681 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src-tauri/.gitignore @@ -0,0 +1,7 @@ +# Generated by Cargo +# will have compiled files and executables +/target/ + +# Generated by Tauri +# will have schema files for capabilities auto-completion +/gen/schemas diff --git a/examples/tauri-sqlx-vanilla/src-tauri/Cargo.lock b/examples/tauri-sqlx-vanilla/src-tauri/Cargo.lock new file mode 100644 index 00000000..95382a76 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src-tauri/Cargo.lock @@ -0,0 +1,7149 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "addr2line" +version = "0.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59317f77929f0e679d39364702289274de2f0f0b22cbf50b2b8cff2169a0b27a" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + +[[package]] +name = "aho-corasick" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" +dependencies = [ + "memchr", +] + +[[package]] +name = "alloc-no-stdlib" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" + +[[package]] +name = "alloc-stdlib" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" +dependencies = [ + "alloc-no-stdlib", +] + +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + +[[package]] +name = "ambient-authority" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9d4ee0d472d1cd2e28c97dfa124b3d8d992e10eb0a035f33f5d12e3a177ba3b" + +[[package]] +name = "android_system_properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +dependencies = [ + "libc", +] + +[[package]] +name = "anyhow" +version = "1.0.102" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" + +[[package]] +name = "arbitrary" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1" + +[[package]] +name = "async-broadcast" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532" +dependencies = [ + "event-listener", + "event-listener-strategy", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-channel" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" +dependencies = [ + "concurrent-queue", + "event-listener-strategy", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-executor" +version = "1.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c96bf972d85afc50bf5ab8fe2d54d1586b4e0b46c97c50a0c9e71e2f7bcd812a" +dependencies = [ + "async-task", + "concurrent-queue", + "fastrand", + "futures-lite", + "pin-project-lite", + "slab", +] + +[[package]] +name = "async-io" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" +dependencies = [ + "autocfg", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite", + "parking", + "polling", + "rustix 1.1.4", + "slab", + "windows-sys 0.61.2", +] + +[[package]] +name = "async-lock" +version = "3.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311" +dependencies = [ + "event-listener", + "event-listener-strategy", + "pin-project-lite", +] + +[[package]] +name = "async-process" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75" +dependencies = [ + "async-channel", + "async-io", + "async-lock", + "async-signal", + "async-task", + "blocking", + "cfg-if", + "event-listener", + "futures-lite", + "rustix 1.1.4", +] + +[[package]] +name = "async-recursion" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "async-signal" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52b5aaafa020cf5053a01f2a60e8ff5dccf550f0f77ec54a4e47285ac2bab485" +dependencies = [ + "async-io", + "async-lock", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix 1.1.4", + "signal-hook-registry", + "slab", + "windows-sys 0.61.2", +] + +[[package]] +name = "async-task" +version = "4.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" + +[[package]] +name = "async-trait" +version = "0.1.89" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "atk" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "241b621213072e993be4f6f3a9e4b45f65b7e6faad43001be957184b7bb1824b" +dependencies = [ + "atk-sys", + "glib", + "libc", +] + +[[package]] +name = "atk-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5e48b684b0ca77d2bbadeef17424c2ea3c897d44d566a1617e7e8f30614d086" +dependencies = [ + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "atoi" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28d99ec8bfea296261ca1af174f24225171fea9664ba9003cbebee704810528" +dependencies = [ + "num-traits", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "autocfg" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" + +[[package]] +name = "base64" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "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.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" +dependencies = [ + "serde_core", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block2" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2", +] + +[[package]] +name = "blocking" +version = "1.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e83f8d02be6967315521be875afa792a316e28d57b5a2d401897e2a7921b7f21" +dependencies = [ + "async-channel", + "async-task", + "futures-io", + "futures-lite", + "piper", +] + +[[package]] +name = "brotli" +version = "8.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bd8b9603c7aa97359dbd97ecf258968c95f3adddd6db2f7e7a5bef101c84560" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", + "brotli-decompressor", +] + +[[package]] +name = "brotli-decompressor" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", +] + +[[package]] +name = "bumpalo" +version = "3.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb" +dependencies = [ + "allocator-api2", +] + +[[package]] +name = "bytemuck" +version = "1.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" +dependencies = [ + "serde", +] + +[[package]] +name = "cairo-rs" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ca26ef0159422fb77631dc9d17b102f253b876fe1586b03b803e63a309b4ee2" +dependencies = [ + "bitflags 2.11.1", + "cairo-sys-rs", + "glib", + "libc", + "once_cell", + "thiserror 1.0.69", +] + +[[package]] +name = "cairo-sys-rs" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "685c9fa8e590b8b3d678873528d83411db17242a73fccaed827770ea0fedda51" +dependencies = [ + "glib-sys", + "libc", + "system-deps", +] + +[[package]] +name = "camino" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48" +dependencies = [ + "serde_core", +] + +[[package]] +name = "cap-fs-ext" +version = "3.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5528f85b1e134ae811704e41ef80930f56e795923f866813255bc342cc20654" +dependencies = [ + "cap-primitives", + "cap-std", + "io-lifetimes", + "windows-sys 0.59.0", +] + +[[package]] +name = "cap-net-ext" +version = "3.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20a158160765c6a7d0d8c072a53d772e4cb243f38b04bfcf6b4939cfbe7482e7" +dependencies = [ + "cap-primitives", + "cap-std", + "rustix 1.1.4", + "smallvec", +] + +[[package]] +name = "cap-primitives" +version = "3.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6cf3aea8a5081171859ef57bc1606b1df6999df4f1110f8eef68b30098d1d3a" +dependencies = [ + "ambient-authority", + "fs-set-times", + "io-extras", + "io-lifetimes", + "ipnet", + "maybe-owned", + "rustix 1.1.4", + "rustix-linux-procfs", + "windows-sys 0.59.0", + "winx", +] + +[[package]] +name = "cap-rand" +version = "3.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8144c22e24bbcf26ade86cb6501a0916c46b7e4787abdb0045a467eb1645a1d" +dependencies = [ + "ambient-authority", + "rand 0.8.6", +] + +[[package]] +name = "cap-std" +version = "3.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6dc3090992a735d23219de5c204927163d922f42f575a0189b005c62d37549a" +dependencies = [ + "cap-primitives", + "io-extras", + "io-lifetimes", + "rustix 1.1.4", +] + +[[package]] +name = "cap-time-ext" +version = "3.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "def102506ce40c11710a9b16e614af0cde8e76ae51b1f48c04b8d79f4b671a80" +dependencies = [ + "ambient-authority", + "cap-primitives", + "iana-time-zone", + "once_cell", + "rustix 1.1.4", + "winx", +] + +[[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.18", +] + +[[package]] +name = "cargo_toml" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "374b7c592d9c00c1f4972ea58390ac6b18cbb6ab79011f3bdc90a0b82ca06b77" +dependencies = [ + "serde", + "toml 0.9.12+spec-1.1.0", +] + +[[package]] +name = "cc" +version = "1.2.61" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d16d90359e986641506914ba71350897565610e87ce0ad9e6f28569db3dd5c6d" +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 = "cfb" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d38f2da7a0a2c4ccf0065be06397cc26a81f4e528be095826eee9d4adbb8c60f" +dependencies = [ + "byteorder", + "fnv", + "uuid", +] + +[[package]] +name = "cfg-expr" +version = "0.15.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" +dependencies = [ + "smallvec", + "target-lexicon 0.12.16", +] + +[[package]] +name = "cfg-if" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" + +[[package]] +name = "chrono" +version = "0.4.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0" +dependencies = [ + "iana-time-zone", + "num-traits", + "serde", + "windows-link 0.2.1", +] + +[[package]] +name = "cobs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" +dependencies = [ + "thiserror 2.0.18", +] + +[[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 = "convert_case" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" + +[[package]] +name = "cookie" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747" +dependencies = [ + "time", + "version_check", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "core-graphics" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "064badf302c3194842cf2c5d61f56cc88e54a759313879cdf03abdd27d0c3b97" +dependencies = [ + "bitflags 2.11.1", + "core-foundation", + "core-graphics-types", + "foreign-types", + "libc", +] + +[[package]] +name = "core-graphics-types" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb" +dependencies = [ + "bitflags 2.11.1", + "core-foundation", + "libc", +] + +[[package]] +name = "cpp_demangle" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2bb79cb74d735044c972aae58ed0aaa9a837e85b01106a54c39e42e97f62253" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cranelift-assembler-x64" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6edb5bdd1af46714e3224a017fabbbd57f70df4e840eb5ad6a7429dc456119d6" +dependencies = [ + "cranelift-assembler-x64-meta", +] + +[[package]] +name = "cranelift-assembler-x64-meta" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a819599186e1b1a1f88d464e06045696afc7aa3e0cc018aa0b2999cb63d1d088" +dependencies = [ + "cranelift-srcgen", +] + +[[package]] +name = "cranelift-bforest" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36e2c152d488e03c87b913bc2ed3414416eb1e0d66d61b49af60bf456a9665c7" +dependencies = [ + "cranelift-entity", + "wasmtime-internal-core", +] + +[[package]] +name = "cranelift-bitset" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6559d4fbc253d1396e1f6beeae57fa88a244f02aaf0cde2a735afd3492d9b2e" +dependencies = [ + "serde", + "serde_derive", + "wasmtime-internal-core", +] + +[[package]] +name = "cranelift-codegen" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96d9315d98d6e0a64454d4c83be2ee0e8055c3f80c3b2d7bcad7079f281a06ff" +dependencies = [ + "bumpalo", + "cranelift-assembler-x64", + "cranelift-bforest", + "cranelift-bitset", + "cranelift-codegen-meta", + "cranelift-codegen-shared", + "cranelift-control", + "cranelift-entity", + "cranelift-isle", + "gimli", + "hashbrown 0.16.1", + "libm", + "log", + "pulley-interpreter", + "regalloc2", + "rustc-hash", + "serde", + "smallvec", + "target-lexicon 0.13.5", + "wasmtime-internal-core", +] + +[[package]] +name = "cranelift-codegen-meta" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d89c00a88081c55e3087c45bebc77e0cc973de2d7b44ef6a943c7122647b89f5" +dependencies = [ + "cranelift-assembler-x64-meta", + "cranelift-codegen-shared", + "cranelift-srcgen", + "heck 0.5.0", + "pulley-interpreter", +] + +[[package]] +name = "cranelift-codegen-shared" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f77c497a1eb6273482aa1ac3b23cb8563ff04edb39ed5dfcfd28c8deff8f5" + +[[package]] +name = "cranelift-control" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "498dc1f17a6910c88316d49c7176d8fa97cf10c30859c32a266040449317f963" +dependencies = [ + "arbitrary", +] + +[[package]] +name = "cranelift-entity" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2acba797f6a46042ce82aaf7680d0c3567fe2001e238db9df649fd104a2727f" +dependencies = [ + "cranelift-bitset", + "serde", + "serde_derive", + "wasmtime-internal-core", +] + +[[package]] +name = "cranelift-frontend" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dca3df1d107d98d88f159ad1d5eaa2d5cdb678b3d5bcfadc6fc83d8ebb448ea" +dependencies = [ + "cranelift-codegen", + "log", + "smallvec", + "target-lexicon 0.13.5", +] + +[[package]] +name = "cranelift-isle" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f62dd18116d88bed649871feceda79dad7b59cc685ea8998c2b3e64d0e689602" + +[[package]] +name = "cranelift-native" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f843b80360d7fdf61a6124642af7597f6d55724cf521210c34af8a1c66daca6e" +dependencies = [ + "cranelift-codegen", + "libc", + "target-lexicon 0.13.5", +] + +[[package]] +name = "cranelift-srcgen" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "090ee5de58c6f17eb5e3a5ae8cf1695c7efea04ec4dd0ecba6a5b996c9bad7dc" + +[[package]] +name = "crc" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853" + +[[package]] +name = "crc32fast" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-channel" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-queue" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "cssparser" +version = "0.29.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f93d03419cb5950ccfd3daf3ff1c7a36ace64609a1a8746d493df1ca0afde0fa" +dependencies = [ + "cssparser-macros", + "dtoa-short", + "itoa", + "matches", + "phf 0.10.1", + "proc-macro2", + "quote", + "smallvec", + "syn 1.0.109", +] + +[[package]] +name = "cssparser" +version = "0.36.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dae61cf9c0abb83bd659dab65b7e4e38d8236824c85f0f804f173567bda257d2" +dependencies = [ + "cssparser-macros", + "dtoa-short", + "itoa", + "phf 0.13.1", + "smallvec", +] + +[[package]] +name = "cssparser-macros" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331" +dependencies = [ + "quote", + "syn 2.0.117", +] + +[[package]] +name = "ctor" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501" +dependencies = [ + "quote", + "syn 2.0.117", +] + +[[package]] +name = "darling" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0" +dependencies = [ + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.117", +] + +[[package]] +name = "darling_macro" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d" +dependencies = [ + "darling_core", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "deranged" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" +dependencies = [ + "powerfmt", + "serde_core", +] + +[[package]] +name = "derive_more" +version = "0.99.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6edb4b64a43d977b8e99788fe3a04d483834fba1215a7e02caa415b626497f7f" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.117", +] + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.117", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", + "subtle", +] + +[[package]] +name = "directories" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16f5094c54661b38d03bd7e50df373292118db60b585c08a411c6d840017fe7d" +dependencies = [ + "dirs-sys", +] + +[[package]] +name = "directories-next" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc" +dependencies = [ + "cfg-if", + "dirs-sys-next", +] + +[[package]] +name = "dirs" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" +dependencies = [ + "dirs-sys", +] + +[[package]] +name = "dirs-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" +dependencies = [ + "libc", + "option-ext", + "redox_users 0.5.2", + "windows-sys 0.61.2", +] + +[[package]] +name = "dirs-sys-next" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" +dependencies = [ + "libc", + "redox_users 0.4.6", + "winapi", +] + +[[package]] +name = "dispatch2" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" +dependencies = [ + "bitflags 2.11.1", + "block2", + "libc", + "objc2", +] + +[[package]] +name = "displaydoc" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "dlopen2" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4" +dependencies = [ + "dlopen2_derive", + "libc", + "once_cell", + "winapi", +] + +[[package]] +name = "dlopen2_derive" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fbbb781877580993a8707ec48672673ec7b81eeba04cfd2310bd28c08e47c8f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "dom_query" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521e380c0c8afb8d9a1e83a1822ee03556fc3e3e7dbc1fd30be14e37f9cb3f89" +dependencies = [ + "bit-set", + "cssparser 0.36.0", + "foldhash 0.2.0", + "html5ever 0.38.0", + "precomputed-hash", + "selectors 0.36.1", + "tendril 0.5.0", +] + +[[package]] +name = "dotenvy" +version = "0.15.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" + +[[package]] +name = "dpi" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" +dependencies = [ + "serde", +] + +[[package]] +name = "dtoa" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590" + +[[package]] +name = "dtoa-short" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87" +dependencies = [ + "dtoa", +] + +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + +[[package]] +name = "dyn-clone" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" + +[[package]] +name = "either" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" +dependencies = [ + "serde", +] + +[[package]] +name = "embed-resource" +version = "3.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31a88c8d26de40ed18fe748c547845aa39de1db3afd958f8cb91579f3644bcb" +dependencies = [ + "cc", + "memchr", + "rustc_version", + "toml 1.1.2+spec-1.1.0", + "vswhom", + "winreg", +] + +[[package]] +name = "embed_plist" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ef6b89e5b37196644d8796de5268852ff179b44e96276cf4290264843743bb7" + +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + +[[package]] +name = "embedded-io" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" + +[[package]] +name = "encoding_rs" +version = "0.8.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "endi" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099" + +[[package]] +name = "enumflags2" +version = "0.7.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1027f7680c853e056ebcec683615fb6fbbc07dbaa13b4d5d9442b146ded4ecef" +dependencies = [ + "enumflags2_derive", + "serde", +] + +[[package]] +name = "enumflags2_derive" +version = "0.7.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "erased-serde" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2add8a07dd6a8d93ff627029c51de145e12686fbc36ecb298ac22e74cf02dec" +dependencies = [ + "serde", + "serde_core", + "typeid", +] + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "etcetera" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "136d1b5283a1ab77bd9257427ffd09d8667ced0570b6f938942bc7568ed5b943" +dependencies = [ + "cfg-if", + "home", + "windows-sys 0.48.0", +] + +[[package]] +name = "event-listener" +version = "5.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" +dependencies = [ + "event-listener", + "pin-project-lite", +] + +[[package]] +name = "fastrand" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" + +[[package]] +name = "fd-lock" +version = "4.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ce92ff622d6dadf7349484f42c93271a0d49b7cc4d466a936405bacbe10aa78" +dependencies = [ + "cfg-if", + "rustix 1.1.4", + "windows-sys 0.59.0", +] + +[[package]] +name = "fdeflate" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c" +dependencies = [ + "simd-adler32", +] + +[[package]] +name = "field-offset" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38e2275cc4e4fc009b0669731a1e5ab7ebf11f469eaede2bab9309a5b4d6057f" +dependencies = [ + "memoffset", + "rustc_version", +] + +[[package]] +name = "filetime" +version = "0.2.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f98844151eee8917efc50bd9e8318cb963ae8b297431495d3f758616ea5c57db" +dependencies = [ + "cfg-if", + "libc", + "libredox", +] + +[[package]] +name = "find-msvc-tools" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" + +[[package]] +name = "flate2" +version = "1.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + +[[package]] +name = "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 = "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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" +dependencies = [ + "foreign-types-macros", + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-macros" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "foreign-types-shared" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "fs-set-times" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94e7099f6313ecacbe1256e8ff9d617b75d1bcb16a6fddef94866d225a01a14a" +dependencies = [ + "io-lifetimes", + "rustix 1.1.4", + "windows-sys 0.59.0", +] + +[[package]] +name = "futf" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843" +dependencies = [ + "mac", + "new_debug_unreachable", +] + +[[package]] +name = "futures" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" + +[[package]] +name = "futures-executor" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-intrusive" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" +dependencies = [ + "futures-core", + "lock_api", + "parking_lot", +] + +[[package]] +name = "futures-io" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718" + +[[package]] +name = "futures-lite" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "futures-sink" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" + +[[package]] +name = "futures-task" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" + +[[package]] +name = "futures-util" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" +dependencies = [ + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "fxhash" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" +dependencies = [ + "byteorder", +] + +[[package]] +name = "gdk" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9f245958c627ac99d8e529166f9823fb3b838d1d41fd2b297af3075093c2691" +dependencies = [ + "cairo-rs", + "gdk-pixbuf", + "gdk-sys", + "gio", + "glib", + "libc", + "pango", +] + +[[package]] +name = "gdk-pixbuf" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50e1f5f1b0bfb830d6ccc8066d18db35c487b1b2b1e8589b5dfe9f07e8defaec" +dependencies = [ + "gdk-pixbuf-sys", + "gio", + "glib", + "libc", + "once_cell", +] + +[[package]] +name = "gdk-pixbuf-sys" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9839ea644ed9c97a34d129ad56d38a25e6756f99f3a88e15cd39c20629caf7" +dependencies = [ + "gio-sys", + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "gdk-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c2d13f38594ac1e66619e188c6d5a1adb98d11b2fcf7894fc416ad76aa2f3f7" +dependencies = [ + "cairo-sys-rs", + "gdk-pixbuf-sys", + "gio-sys", + "glib-sys", + "gobject-sys", + "libc", + "pango-sys", + "pkg-config", + "system-deps", +] + +[[package]] +name = "gdkwayland-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "140071d506d223f7572b9f09b5e155afbd77428cd5cc7af8f2694c41d98dfe69" +dependencies = [ + "gdk-sys", + "glib-sys", + "gobject-sys", + "libc", + "pkg-config", + "system-deps", +] + +[[package]] +name = "gdkx11" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3caa00e14351bebbc8183b3c36690327eb77c49abc2268dd4bd36b856db3fbfe" +dependencies = [ + "gdk", + "gdkx11-sys", + "gio", + "glib", + "libc", + "x11", +] + +[[package]] +name = "gdkx11-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e7445fe01ac26f11601db260dd8608fe172514eb63b3b5e261ea6b0f4428d" +dependencies = [ + "gdk-sys", + "glib-sys", + "libc", + "system-deps", + "x11", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.11.1+wasi-snapshot-preview1", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi 5.3.0", + "wasip2", +] + +[[package]] +name = "getrandom" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555" +dependencies = [ + "cfg-if", + "libc", + "r-efi 6.0.0", + "wasip2", + "wasip3", +] + +[[package]] +name = "gimli" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf7f043f89559805f8c7cacc432749b2fa0d0a0a9ee46ce47164ed5ba7f126c" +dependencies = [ + "fnv", + "hashbrown 0.16.1", + "indexmap 2.14.0", + "stable_deref_trait", +] + +[[package]] +name = "gio" +version = "0.18.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4fc8f532f87b79cbc51a79748f16a6828fb784be93145a322fa14d06d354c73" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-util", + "gio-sys", + "glib", + "libc", + "once_cell", + "pin-project-lite", + "smallvec", + "thiserror 1.0.69", +] + +[[package]] +name = "gio-sys" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37566df850baf5e4cb0dfb78af2e4b9898d817ed9263d1090a2df958c64737d2" +dependencies = [ + "glib-sys", + "gobject-sys", + "libc", + "system-deps", + "winapi", +] + +[[package]] +name = "glib" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "233daaf6e83ae6a12a52055f568f9d7cf4671dabb78ff9560ab6da230ce00ee5" +dependencies = [ + "bitflags 2.11.1", + "futures-channel", + "futures-core", + "futures-executor", + "futures-task", + "futures-util", + "gio-sys", + "glib-macros", + "glib-sys", + "gobject-sys", + "libc", + "memchr", + "once_cell", + "smallvec", + "thiserror 1.0.69", +] + +[[package]] +name = "glib-macros" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bb0228f477c0900c880fd78c8759b95c7636dbd7842707f49e132378aa2acdc" +dependencies = [ + "heck 0.4.1", + "proc-macro-crate 2.0.0", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "glib-sys" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "063ce2eb6a8d0ea93d2bf8ba1957e78dbab6be1c2220dd3daca57d5a9d869898" +dependencies = [ + "libc", + "system-deps", +] + +[[package]] +name = "glob" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" + +[[package]] +name = "gobject-sys" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0850127b514d1c4a4654ead6dedadb18198999985908e6ffe4436f53c785ce44" +dependencies = [ + "glib-sys", + "libc", + "system-deps", +] + +[[package]] +name = "gtk" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd56fb197bfc42bd5d2751f4f017d44ff59fbb58140c6b49f9b3b2bdab08506a" +dependencies = [ + "atk", + "cairo-rs", + "field-offset", + "futures-channel", + "gdk", + "gdk-pixbuf", + "gio", + "glib", + "gtk-sys", + "gtk3-macros", + "libc", + "pango", + "pkg-config", +] + +[[package]] +name = "gtk-sys" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f29a1c21c59553eb7dd40e918be54dccd60c52b049b75119d5d96ce6b624414" +dependencies = [ + "atk-sys", + "cairo-sys-rs", + "gdk-pixbuf-sys", + "gdk-sys", + "gio-sys", + "glib-sys", + "gobject-sys", + "libc", + "pango-sys", + "system-deps", +] + +[[package]] +name = "gtk3-macros" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ff3c5b21f14f0736fed6dcfc0bfb4225ebf5725f3c0209edeec181e4d73e9d" +dependencies = [ + "proc-macro-crate 1.3.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + +[[package]] +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash 0.1.5", +] + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +dependencies = [ + "foldhash 0.2.0", + "serde", + "serde_core", +] + +[[package]] +name = "hashbrown" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51" +dependencies = [ + "foldhash 0.2.0", +] + +[[package]] +name = "hashlink" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" +dependencies = [ + "hashbrown 0.15.5", +] + +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hermit-abi" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hkdf" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +dependencies = [ + "hmac", +] + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest", +] + +[[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 = "html5ever" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b7410cae13cbc75623c98ac4cbfd1f0bedddf3227afc24f370cf0f50a44a11c" +dependencies = [ + "log", + "mac", + "markup5ever 0.14.1", + "match_token", +] + +[[package]] +name = "html5ever" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1054432bae2f14e0061e33d23402fbaa67a921d319d56adc6bcf887ddad1cbc2" +dependencies = [ + "log", + "markup5ever 0.38.0", +] + +[[package]] +name = "http" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "hyper" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6299f016b246a94207e63da54dbe807655bf9e00044f73ded42c3ac5305fbcca" +dependencies = [ + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "http", + "http-body", + "httparse", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-util" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-channel", + "futures-util", + "http", + "http-body", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core 0.62.2", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "ico" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e795dff5605e0f04bff85ca41b51a96b83e80b281e96231bcaaf1ac35103371" +dependencies = [ + "byteorder", + "png", +] + +[[package]] +name = "icu_collections" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38" + +[[package]] +name = "icu_properties" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de" +dependencies = [ + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14" + +[[package]] +name = "icu_provider" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "id-arena" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", + "serde", +] + +[[package]] +name = "indexmap" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" +dependencies = [ + "equivalent", + "hashbrown 0.17.0", + "serde", + "serde_core", +] + +[[package]] +name = "infer" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a588916bfdfd92e71cacef98a63d9b1f0d74d6599980d11894290e7ddefffcf7" +dependencies = [ + "cfb", +] + +[[package]] +name = "io-extras" +version = "0.18.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2285ddfe3054097ef4b2fe909ef8c3bcd1ea52a8f0d274416caebeef39f04a65" +dependencies = [ + "io-lifetimes", + "windows-sys 0.59.0", +] + +[[package]] +name = "io-lifetimes" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06432fb54d3be7964ecd3649233cddf80db2832f47fec34c01f65b3d9d774983" + +[[package]] +name = "ipnet" +version = "2.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2" + +[[package]] +name = "iri-string" +version = "0.7.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25e659a4bb38e810ebc252e53b5814ff908a8c58c2a9ce2fae1bbec24cbf4e20" +dependencies = [ + "memchr", + "serde", +] + +[[package]] +name = "is-docker" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "928bae27f42bc99b60d9ac7334e3a21d10ad8f1835a4e12ec3ec0464765ed1b3" +dependencies = [ + "once_cell", +] + +[[package]] +name = "is-wsl" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "173609498df190136aa7dea1a91db051746d339e18476eed5ca40521f02d7aa5" +dependencies = [ + "is-docker", + "once_cell", +] + +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "javascriptcore-rs" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca5671e9ffce8ffba57afc24070e906da7fc4b1ba66f2cabebf61bf2ea257fcc" +dependencies = [ + "bitflags 1.3.2", + "glib", + "javascriptcore-rs-sys", +] + +[[package]] +name = "javascriptcore-rs-sys" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af1be78d14ffa4b75b66df31840478fef72b51f8c2465d4ca7c194da9f7a5124" +dependencies = [ + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys 0.3.1", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.117", +] + +[[package]] +name = "jobserver" +version = "0.1.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" +dependencies = [ + "getrandom 0.3.4", + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.95" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2964e92d1d9dc3364cae4d718d93f227e3abb088e747d92e0395bfdedf1c12ca" +dependencies = [ + "cfg-if", + "futures-util", + "once_cell", + "wasm-bindgen", +] + +[[package]] +name = "json-patch" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "863726d7afb6bc2590eeff7135d923545e5e964f004c2ccf8716c25e70a86f08" +dependencies = [ + "jsonptr", + "serde", + "serde_json", + "thiserror 1.0.69", +] + +[[package]] +name = "jsonptr" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dea2b27dd239b2556ed7a25ba842fe47fd602e7fc7433c2a8d6106d4d9edd70" +dependencies = [ + "serde", + "serde_json", +] + +[[package]] +name = "keyboard-types" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b750dcadc39a09dbadd74e118f6dd6598df77fa01df0cfcdc52c28dece74528a" +dependencies = [ + "bitflags 2.11.1", + "serde", + "unicode-segmentation", +] + +[[package]] +name = "kuchikiki" +version = "0.8.8-speedreader" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02cb977175687f33fa4afa0c95c112b987ea1443e5a51c8f8ff27dc618270cc2" +dependencies = [ + "cssparser 0.29.6", + "html5ever 0.29.1", + "indexmap 2.14.0", + "selectors 0.24.0", +] + +[[package]] +name = "leb128" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6cc46bac87ef8093eed6f272babb833b6443374399985ac8ed28471ee0918545" + +[[package]] +name = "leb128fmt" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" + +[[package]] +name = "libappindicator" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03589b9607c868cc7ae54c0b2a22c8dc03dd41692d48f2d7df73615c6a95dc0a" +dependencies = [ + "glib", + "gtk", + "gtk-sys", + "libappindicator-sys", + "log", +] + +[[package]] +name = "libappindicator-sys" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e9ec52138abedcc58dc17a7c6c0c00a2bdb4f3427c7f63fa97fd0d859155caf" +dependencies = [ + "gtk-sys", + "libloading", + "once_cell", +] + +[[package]] +name = "libc" +version = "0.2.186" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" + +[[package]] +name = "libloading" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" +dependencies = [ + "cfg-if", + "winapi", +] + +[[package]] +name = "libm" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" + +[[package]] +name = "libredox" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e02f3bb43d335493c96bf3fd3a321600bf6bd07ed34bc64118e9293bdffea46c" +dependencies = [ + "bitflags 2.11.1", + "libc", + "plain", + "redox_syscall 0.7.4", +] + +[[package]] +name = "linux-raw-sys" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "litemap" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" + +[[package]] +name = "mac" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" + +[[package]] +name = "mach2" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d640282b302c0bb0a2a8e0233ead9035e3bed871f0b7e81fe4a1ec829765db44" +dependencies = [ + "libc", +] + +[[package]] +name = "markup5ever" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7a7213d12e1864c0f002f52c2923d4556935a43dec5e71355c2760e0f6e7a18" +dependencies = [ + "log", + "phf 0.11.3", + "phf_codegen 0.11.3", + "string_cache 0.8.9", + "string_cache_codegen 0.5.4", + "tendril 0.4.3", +] + +[[package]] +name = "markup5ever" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8983d30f2915feeaaab2d6babdd6bc7e9ed1a00b66b5e6d74df19aa9c0e91862" +dependencies = [ + "log", + "tendril 0.5.0", + "web_atoms", +] + +[[package]] +name = "match_token" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88a9689d8d44bf9964484516275f5cd4c9b59457a6940c1d5d0ecbb94510a36b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "matches" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" + +[[package]] +name = "maybe-owned" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4facc753ae494aeb6e3c22f839b158aebd4f9270f55cd3c79906c45476c47ab4" + +[[package]] +name = "md-5" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" +dependencies = [ + "cfg-if", + "digest", +] + +[[package]] +name = "memchr" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" + +[[package]] +name = "memfd" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad38eb12aea514a0466ea40a80fd8cc83637065948eb4a426e4aa46261175227" +dependencies = [ + "rustix 1.1.4", +] + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "mime" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" + +[[package]] +name = "miniz_oxide" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" +dependencies = [ + "adler2", + "simd-adler32", +] + +[[package]] +name = "mio" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50b7e5b27aa02a74bac8c3f23f448f8d87ff11f92d3aac1a6ed369ee08cc56c1" +dependencies = [ + "libc", + "wasi 0.11.1+wasi-snapshot-preview1", + "windows-sys 0.61.2", +] + +[[package]] +name = "muda" +version = "0.17.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c9fec5a4e89860383d778d10563a605838f8f0b2f9303868937e5ff32e86177" +dependencies = [ + "crossbeam-channel", + "dpi", + "gtk", + "keyboard-types", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "once_cell", + "png", + "serde", + "thiserror 2.0.18", + "windows-sys 0.60.2", +] + +[[package]] +name = "ndk" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" +dependencies = [ + "bitflags 2.11.1", + "jni-sys 0.3.1", + "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 0.3.1", +] + +[[package]] +name = "new_debug_unreachable" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" + +[[package]] +name = "nodrop" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" + +[[package]] +name = "num-conv" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6673768db2d862beb9b39a78fdcb1a69439615d5794a1be50caa9bc92c81967" + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_enum" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" +dependencies = [ + "proc-macro-crate 3.5.0", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "objc2" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a12a8ed07aefc768292f076dc3ac8c48f3781c8f2d5851dd3d98950e8c5a89f" +dependencies = [ + "objc2-encode", + "objc2-exception-helper", +] + +[[package]] +name = "objc2-app-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" +dependencies = [ + "bitflags 2.11.1", + "block2", + "objc2", + "objc2-core-foundation", + "objc2-foundation", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags 2.11.1", + "dispatch2", + "objc2", +] + +[[package]] +name = "objc2-core-graphics" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" +dependencies = [ + "bitflags 2.11.1", + "dispatch2", + "objc2", + "objc2-core-foundation", + "objc2-io-surface", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-exception-helper" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7a1c5fbb72d7735b076bb47b578523aedc40f3c439bea6dfd595c089d79d98a" +dependencies = [ + "cc", +] + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags 2.11.1", + "block2", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-io-surface" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d" +dependencies = [ + "bitflags 2.11.1", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-quartz-core" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f" +dependencies = [ + "bitflags 2.11.1", + "objc2", + "objc2-core-foundation", + "objc2-foundation", +] + +[[package]] +name = "objc2-ui-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22" +dependencies = [ + "bitflags 2.11.1", + "objc2", + "objc2-core-foundation", + "objc2-foundation", +] + +[[package]] +name = "objc2-web-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2e5aaab980c433cf470df9d7af96a7b46a9d892d521a2cbbb2f8a4c16751e7f" +dependencies = [ + "bitflags 2.11.1", + "block2", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", +] + +[[package]] +name = "object" +version = "0.39.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e5a6c098c7a3b6547378093f5cc30bc54fd361ce711e05293a5cc589562739b" +dependencies = [ + "crc32fast", + "hashbrown 0.17.0", + "indexmap 2.14.0", + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "open" +version = "5.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f3bab717c29a857abf75fcef718d441ec7cb2725f937343c734740a985d37fd" +dependencies = [ + "dunce", + "is-wsl", + "libc", + "pathdiff", +] + +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + +[[package]] +name = "ordered-stream" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aa2b01e1d916879f73a53d01d1d6cee68adbb31d6d9177a8cfce093cced1d50" +dependencies = [ + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "pango" +version = "0.18.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ca27ec1eb0457ab26f3036ea52229edbdb74dee1edd29063f5b9b010e7ebee4" +dependencies = [ + "gio", + "glib", + "libc", + "once_cell", + "pango-sys", +] + +[[package]] +name = "pango-sys" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "436737e391a843e5933d6d9aa102cb126d501e815b83601365a948a518555dc5" +dependencies = [ + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall 0.5.18", + "smallvec", + "windows-link 0.2.1", +] + +[[package]] +name = "pathdiff" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pglite-oxide" +version = "0.3.0" +dependencies = [ + "anyhow", + "directories", + "flate2", + "getrandom 0.4.2", + "hex", + "regex", + "serde", + "serde_json", + "sha2", + "tar", + "tempfile", + "tracing", + "wasmtime", + "wasmtime-wasi", + "zstd", +] + +[[package]] +name = "phf" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12" +dependencies = [ + "phf_shared 0.8.0", +] + +[[package]] +name = "phf" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" +dependencies = [ + "phf_macros 0.10.0", + "phf_shared 0.10.0", + "proc-macro-hack", +] + +[[package]] +name = "phf" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" +dependencies = [ + "phf_macros 0.11.3", + "phf_shared 0.11.3", +] + +[[package]] +name = "phf" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf" +dependencies = [ + "phf_macros 0.13.1", + "phf_shared 0.13.1", + "serde", +] + +[[package]] +name = "phf_codegen" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815" +dependencies = [ + "phf_generator 0.8.0", + "phf_shared 0.8.0", +] + +[[package]] +name = "phf_codegen" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a" +dependencies = [ + "phf_generator 0.11.3", + "phf_shared 0.11.3", +] + +[[package]] +name = "phf_codegen" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49aa7f9d80421bca176ca8dbfebe668cc7a2684708594ec9f3c0db0805d5d6e1" +dependencies = [ + "phf_generator 0.13.1", + "phf_shared 0.13.1", +] + +[[package]] +name = "phf_generator" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526" +dependencies = [ + "phf_shared 0.8.0", + "rand 0.7.3", +] + +[[package]] +name = "phf_generator" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" +dependencies = [ + "phf_shared 0.10.0", + "rand 0.8.6", +] + +[[package]] +name = "phf_generator" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" +dependencies = [ + "phf_shared 0.11.3", + "rand 0.8.6", +] + +[[package]] +name = "phf_generator" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "135ace3a761e564ec88c03a77317a7c6b80bb7f7135ef2544dbe054243b89737" +dependencies = [ + "fastrand", + "phf_shared 0.13.1", +] + +[[package]] +name = "phf_macros" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0" +dependencies = [ + "phf_generator 0.10.0", + "phf_shared 0.10.0", + "proc-macro-hack", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "phf_macros" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216" +dependencies = [ + "phf_generator 0.11.3", + "phf_shared 0.11.3", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "phf_macros" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "812f032b54b1e759ccd5f8b6677695d5268c588701effba24601f6932f8269ef" +dependencies = [ + "phf_generator 0.13.1", + "phf_shared 0.13.1", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "phf_shared" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7" +dependencies = [ + "siphasher 0.3.11", +] + +[[package]] +name = "phf_shared" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" +dependencies = [ + "siphasher 0.3.11", +] + +[[package]] +name = "phf_shared" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" +dependencies = [ + "siphasher 1.0.2", +] + +[[package]] +name = "phf_shared" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266" +dependencies = [ + "siphasher 1.0.2", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "piper" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c835479a4443ded371d6c535cbfd8d31ad92c5d23ae9770a61bc155e4992a3c1" +dependencies = [ + "atomic-waker", + "fastrand", + "futures-io", +] + +[[package]] +name = "pkg-config" +version = "0.3.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e" + +[[package]] +name = "plain" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" + +[[package]] +name = "plist" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "740ebea15c5d1428f910cd1a5f52cebf8d25006245ed8ade92702f4943d91e07" +dependencies = [ + "base64 0.22.1", + "indexmap 2.14.0", + "quick-xml", + "serde", + "time", +] + +[[package]] +name = "png" +version = "0.17.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526" +dependencies = [ + "bitflags 1.3.2", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide", +] + +[[package]] +name = "polling" +version = "3.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" +dependencies = [ + "cfg-if", + "concurrent-queue", + "hermit-abi", + "pin-project-lite", + "rustix 1.1.4", + "windows-sys 0.61.2", +] + +[[package]] +name = "postcard" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24" +dependencies = [ + "cobs", + "embedded-io 0.4.0", + "embedded-io 0.6.1", + "serde", +] + +[[package]] +name = "potential_utf" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "precomputed-hash" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" + +[[package]] +name = "prettyplease" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" +dependencies = [ + "proc-macro2", + "syn 2.0.117", +] + +[[package]] +name = "proc-macro-crate" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +dependencies = [ + "once_cell", + "toml_edit 0.19.15", +] + +[[package]] +name = "proc-macro-crate" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" +dependencies = [ + "toml_edit 0.20.7", +] + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit 0.25.11+spec-1.1.0", +] + +[[package]] +name = "proc-macro-error" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" +dependencies = [ + "proc-macro-error-attr", + "proc-macro2", + "quote", + "syn 1.0.109", + "version_check", +] + +[[package]] +name = "proc-macro-error-attr" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" +dependencies = [ + "proc-macro2", + "quote", + "version_check", +] + +[[package]] +name = "proc-macro-hack" +version = "0.5.20+deprecated" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" + +[[package]] +name = "proc-macro2" +version = "1.0.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "pulley-interpreter" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df866b7fd522992ccc6682e58b2741cc7972b163b661db24c4328f4c914cb09d" +dependencies = [ + "cranelift-bitset", + "log", + "pulley-macros", + "wasmtime-internal-core", +] + +[[package]] +name = "pulley-macros" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7dfa8354acc622b3857e1bb1a4e4315d3bc1a44ad31d5653c3e87c0da9306d7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "quick-xml" +version = "0.38.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b66c2058c55a409d601666cffe35f04333cf1013010882cec174a7467cd4e21c" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" +dependencies = [ + "getrandom 0.1.16", + "libc", + "rand_chacha 0.2.2", + "rand_core 0.5.1", + "rand_hc", + "rand_pcg", +] + +[[package]] +name = "rand" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" +dependencies = [ + "ppv-lite86", + "rand_core 0.5.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom 0.1.16", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +dependencies = [ + "rand_core 0.5.1", +] + +[[package]] +name = "rand_pcg" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" +dependencies = [ + "rand_core 0.5.1", +] + +[[package]] +name = "raw-window-handle" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" + +[[package]] +name = "rayon" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" +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.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags 2.11.1", +] + +[[package]] +name = "redox_syscall" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f450ad9c3b1da563fb6948a8e0fb0fb9269711c9c73d9ea1de5058c79c8d643a" +dependencies = [ + "bitflags 2.11.1", +] + +[[package]] +name = "redox_users" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +dependencies = [ + "getrandom 0.2.17", + "libredox", + "thiserror 1.0.69", +] + +[[package]] +name = "redox_users" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" +dependencies = [ + "getrandom 0.2.17", + "libredox", + "thiserror 2.0.18", +] + +[[package]] +name = "ref-cast" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "regalloc2" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de2c52737737f8609e94f975dee22854a2d5c125772d4b1cf292120f4d45c186" +dependencies = [ + "allocator-api2", + "bumpalo", + "hashbrown 0.17.0", + "log", + "rustc-hash", + "smallvec", +] + +[[package]] +name = "regex" +version = "1.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" + +[[package]] +name = "reqwest" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab3f43e3283ab1488b624b44b0e988d0acea0b3214e694730a055cb6b2efa801" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "serde", + "serde_json", + "sync_wrapper", + "tokio", + "tokio-util", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", +] + +[[package]] +name = "ring" +version = "0.17.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.17", + "libc", + "untrusted", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b50b8869d9fc858ce7266cce0194bd74df58b9d0e3f6df3a9fc8eb470d95c09d" + +[[package]] +name = "rustc-hash" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustix" +version = "0.38.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" +dependencies = [ + "bitflags 2.11.1", + "errno", + "libc", + "linux-raw-sys 0.4.15", + "windows-sys 0.59.0", +] + +[[package]] +name = "rustix" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +dependencies = [ + "bitflags 2.11.1", + "errno", + "libc", + "linux-raw-sys 0.12.1", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustix-linux-procfs" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fc84bf7e9aa16c4f2c758f27412dc9841341e16aa682d9c7ac308fe3ee12056" +dependencies = [ + "once_cell", + "rustix 1.1.4", +] + +[[package]] +name = "rustls" +version = "0.23.39" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c2c118cb077cca2822033836dfb1b975355dfb784b5e8da48f7b6c5db74e60e" +dependencies = [ + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-pki-types" +version = "1.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30a7197ae7eb376e574fe940d068c30fe0462554a3ddbe4eca7838e049c937a9" +dependencies = [ + "zeroize", +] + +[[package]] +name = "rustls-webpki" +version = "0.103.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e" +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 = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "schemars" +version = "0.8.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615" +dependencies = [ + "dyn-clone", + "indexmap 1.9.3", + "schemars_derive", + "serde", + "serde_json", + "url", + "uuid", +] + +[[package]] +name = "schemars" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + +[[package]] +name = "schemars" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2b42f36aa1cd011945615b92222f6bf73c599a102a300334cd7f8dbeec726cc" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + +[[package]] +name = "schemars_derive" +version = "0.8.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d" +dependencies = [ + "proc-macro2", + "quote", + "serde_derive_internals", + "syn 2.0.117", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "selectors" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c37578180969d00692904465fb7f6b3d50b9a2b952b87c23d0e2e5cb5013416" +dependencies = [ + "bitflags 1.3.2", + "cssparser 0.29.6", + "derive_more 0.99.20", + "fxhash", + "log", + "phf 0.8.0", + "phf_codegen 0.8.0", + "precomputed-hash", + "servo_arc 0.2.0", + "smallvec", +] + +[[package]] +name = "selectors" +version = "0.36.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5d9c0c92a92d33f08817311cf3f2c29a3538a8240e94a6a3c622ce652d7e00c" +dependencies = [ + "bitflags 2.11.1", + "cssparser 0.36.0", + "derive_more 2.1.1", + "log", + "new_debug_unreachable", + "phf 0.13.1", + "phf_codegen 0.13.1", + "precomputed-hash", + "rustc-hash", + "servo_arc 0.4.3", + "smallvec", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde-untagged" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9faf48a4a2d2693be24c6289dbe26552776eb7737074e6722891fadbe6c5058" +dependencies = [ + "erased-serde", + "serde", + "serde_core", + "typeid", +] + +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "serde_derive_internals" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "serde_json" +version = "1.0.149" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_repr" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "serde_spanned" +version = "0.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_spanned" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26" +dependencies = [ + "serde_core", +] + +[[package]] +name = "serde_with" +version = "3.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd5414fad8e6907dbdd5bc441a50ae8d6e26151a03b1de04d89a5576de61d01f" +dependencies = [ + "base64 0.22.1", + "chrono", + "hex", + "indexmap 1.9.3", + "indexmap 2.14.0", + "schemars 0.9.0", + "schemars 1.2.1", + "serde_core", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3db8978e608f1fe7357e211969fd9abdcae80bac1ba7a3369bb7eb6b404eb65" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "serialize-to-javascript" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04f3666a07a197cdb77cdf306c32be9b7f598d7060d50cfd4d5aa04bfd92f6c5" +dependencies = [ + "serde", + "serde_json", + "serialize-to-javascript-impl", +] + +[[package]] +name = "serialize-to-javascript-impl" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "772ee033c0916d670af7860b6e1ef7d658a4629a6d0b4c8c3e67f09b3765b75d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "servo_arc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52aa42f8fdf0fed91e5ce7f23d8138441002fa31dca008acf47e6fd4721f741" +dependencies = [ + "nodrop", + "stable_deref_trait", +] + +[[package]] +name = "servo_arc" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "170fb83ab34de17dc69aa7c67482b22218ddb85da56546f9bd6b929e32a05930" +dependencies = [ + "stable_deref_trait", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "simd-adler32" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214" + +[[package]] +name = "siphasher" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" + +[[package]] +name = "siphasher" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2aa850e253778c88a04c3d7323b043aeda9d3e30d5971937c1855769763678e" + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" +dependencies = [ + "serde", +] + +[[package]] +name = "socket2" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "softbuffer" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aac18da81ebbf05109ab275b157c22a653bb3c12cf884450179942f81bcbf6c3" +dependencies = [ + "bytemuck", + "js-sys", + "ndk", + "objc2", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation", + "objc2-quartz-core", + "raw-window-handle", + "redox_syscall 0.5.18", + "tracing", + "wasm-bindgen", + "web-sys", + "windows-sys 0.61.2", +] + +[[package]] +name = "soup3" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "471f924a40f31251afc77450e781cb26d55c0b650842efafc9c6cbd2f7cc4f9f" +dependencies = [ + "futures-channel", + "gio", + "glib", + "libc", + "soup3-sys", +] + +[[package]] +name = "soup3-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ebe8950a680a12f24f15ebe1bf70db7af98ad242d9db43596ad3108aab86c27" +dependencies = [ + "gio-sys", + "glib-sys", + "gobject-sys", + "libc", + "system-deps", +] + +[[package]] +name = "sqlx" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fefb893899429669dcdd979aff487bd78f4064e5e7907e4269081e0ef7d97dc" +dependencies = [ + "sqlx-core", + "sqlx-macros", + "sqlx-postgres", +] + +[[package]] +name = "sqlx-core" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee6798b1838b6a0f69c007c133b8df5866302197e404e8b6ee8ed3e3a5e68dc6" +dependencies = [ + "base64 0.22.1", + "bytes", + "crc", + "crossbeam-queue", + "either", + "event-listener", + "futures-core", + "futures-intrusive", + "futures-io", + "futures-util", + "hashbrown 0.15.5", + "hashlink", + "indexmap 2.14.0", + "log", + "memchr", + "once_cell", + "percent-encoding", + "rustls", + "serde", + "serde_json", + "sha2", + "smallvec", + "thiserror 2.0.18", + "tokio", + "tokio-stream", + "tracing", + "url", + "webpki-roots 0.26.11", +] + +[[package]] +name = "sqlx-macros" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2d452988ccaacfbf5e0bdbc348fb91d7c8af5bee192173ac3636b5fb6e6715d" +dependencies = [ + "proc-macro2", + "quote", + "sqlx-core", + "sqlx-macros-core", + "syn 2.0.117", +] + +[[package]] +name = "sqlx-macros-core" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19a9c1841124ac5a61741f96e1d9e2ec77424bf323962dd894bdb93f37d5219b" +dependencies = [ + "dotenvy", + "either", + "heck 0.5.0", + "hex", + "once_cell", + "proc-macro2", + "quote", + "serde", + "serde_json", + "sha2", + "sqlx-core", + "sqlx-postgres", + "syn 2.0.117", + "tokio", + "url", +] + +[[package]] +name = "sqlx-postgres" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db58fcd5a53cf07c184b154801ff91347e4c30d17a3562a635ff028ad5deda46" +dependencies = [ + "atoi", + "base64 0.22.1", + "bitflags 2.11.1", + "byteorder", + "crc", + "dotenvy", + "etcetera", + "futures-channel", + "futures-core", + "futures-util", + "hex", + "hkdf", + "hmac", + "home", + "itoa", + "log", + "md-5", + "memchr", + "once_cell", + "rand 0.8.6", + "serde", + "serde_json", + "sha2", + "smallvec", + "sqlx-core", + "stringprep", + "thiserror 2.0.18", + "tracing", + "whoami", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "string_cache" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf776ba3fa74f83bf4b63c3dcbbf82173db2632ed8452cb2d891d33f459de70f" +dependencies = [ + "new_debug_unreachable", + "parking_lot", + "phf_shared 0.11.3", + "precomputed-hash", + "serde", +] + +[[package]] +name = "string_cache" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a18596f8c785a729f2819c0f6a7eae6ebeebdfffbfe4214ae6b087f690e31901" +dependencies = [ + "new_debug_unreachable", + "parking_lot", + "phf_shared 0.13.1", + "precomputed-hash", +] + +[[package]] +name = "string_cache_codegen" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c711928715f1fe0fe509c53b43e993a9a557babc2d0a3567d0a3006f1ac931a0" +dependencies = [ + "phf_generator 0.11.3", + "phf_shared 0.11.3", + "proc-macro2", + "quote", +] + +[[package]] +name = "string_cache_codegen" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "585635e46db231059f76c5849798146164652513eb9e8ab2685939dd90f29b69" +dependencies = [ + "phf_generator 0.13.1", + "phf_shared 0.13.1", + "proc-macro2", + "quote", +] + +[[package]] +name = "stringprep" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1" +dependencies = [ + "unicode-bidi", + "unicode-normalization", + "unicode-properties", +] + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "swift-rs" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4057c98e2e852d51fdcfca832aac7b571f6b351ad159f9eda5db1655f8d0c4d7" +dependencies = [ + "base64 0.21.7", + "serde", + "serde_json", +] + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.117" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + +[[package]] +name = "synstructure" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "system-deps" +version = "6.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349" +dependencies = [ + "cfg-expr", + "heck 0.5.0", + "pkg-config", + "toml 0.8.23", + "version-compare", +] + +[[package]] +name = "system-interface" +version = "0.27.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4592f674ce18521c2a81483873a49596655b179f71c5e05d10c1fe66c78745" +dependencies = [ + "bitflags 2.11.1", + "cap-fs-ext", + "cap-std", + "fd-lock", + "io-lifetimes", + "rustix 0.38.44", + "windows-sys 0.59.0", + "winx", +] + +[[package]] +name = "tao" +version = "0.34.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9103edf55f2da3c82aea4c7fab7c4241032bfeea0e71fa557d98e00e7ce7cc20" +dependencies = [ + "bitflags 2.11.1", + "block2", + "core-foundation", + "core-graphics", + "crossbeam-channel", + "dispatch2", + "dlopen2", + "dpi", + "gdkwayland-sys", + "gdkx11-sys", + "gtk", + "jni", + "libc", + "log", + "ndk", + "ndk-context", + "ndk-sys", + "objc2", + "objc2-app-kit", + "objc2-foundation", + "once_cell", + "parking_lot", + "raw-window-handle", + "tao-macros", + "unicode-segmentation", + "url", + "windows", + "windows-core 0.61.2", + "windows-version", + "x11-dl", +] + +[[package]] +name = "tao-macros" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4e16beb8b2ac17db28eab8bca40e62dbfbb34c0fcdc6d9826b11b7b5d047dfd" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "tar" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22692a6476a21fa75fdfc11d452fda482af402c008cdbaf3476414e122040973" +dependencies = [ + "filetime", + "libc", + "xattr", +] + +[[package]] +name = "target-lexicon" +version = "0.12.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" + +[[package]] +name = "target-lexicon" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca" + +[[package]] +name = "tauri" +version = "2.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da77cc00fb9028caf5b5d4650f75e31f1ef3693459dfca7f7e506d1ecef0ba2d" +dependencies = [ + "anyhow", + "bytes", + "cookie", + "dirs", + "dunce", + "embed_plist", + "getrandom 0.3.4", + "glob", + "gtk", + "heck 0.5.0", + "http", + "jni", + "libc", + "log", + "mime", + "muda", + "objc2", + "objc2-app-kit", + "objc2-foundation", + "objc2-ui-kit", + "objc2-web-kit", + "percent-encoding", + "plist", + "raw-window-handle", + "reqwest", + "serde", + "serde_json", + "serde_repr", + "serialize-to-javascript", + "swift-rs", + "tauri-build", + "tauri-macros", + "tauri-runtime", + "tauri-runtime-wry", + "tauri-utils", + "thiserror 2.0.18", + "tokio", + "tray-icon", + "url", + "webkit2gtk", + "webview2-com", + "window-vibrancy", + "windows", +] + +[[package]] +name = "tauri-build" +version = "2.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bbc990d1dbf57a8e1c7fa2327f2a614d8b757805603c1b9ba5c81bade09fd4d" +dependencies = [ + "anyhow", + "cargo_toml", + "dirs", + "glob", + "heck 0.5.0", + "json-patch", + "schemars 0.8.22", + "semver", + "serde", + "serde_json", + "tauri-utils", + "tauri-winres", + "toml 0.9.12+spec-1.1.0", + "walkdir", +] + +[[package]] +name = "tauri-codegen" +version = "2.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4a24476afd977c5d5d169f72425868613d82747916dd29e0a357c84c4bd6d29" +dependencies = [ + "base64 0.22.1", + "brotli", + "ico", + "json-patch", + "plist", + "png", + "proc-macro2", + "quote", + "semver", + "serde", + "serde_json", + "sha2", + "syn 2.0.117", + "tauri-utils", + "thiserror 2.0.18", + "time", + "url", + "uuid", + "walkdir", +] + +[[package]] +name = "tauri-macros" +version = "2.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d39b349a98dadaffebb73f0a40dcd1f23c999211e5a2e744403db384d0c33de7" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.117", + "tauri-codegen", + "tauri-utils", +] + +[[package]] +name = "tauri-plugin" +version = "2.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddde7d51c907b940fb573006cdda9a642d6a7c8153657e88f8a5c3c9290cd4aa" +dependencies = [ + "anyhow", + "glob", + "plist", + "schemars 0.8.22", + "serde", + "serde_json", + "tauri-utils", + "toml 0.9.12+spec-1.1.0", + "walkdir", +] + +[[package]] +name = "tauri-plugin-opener" +version = "2.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc624469b06f59f5a29f874bbc61a2ed737c0f9c23ef09855a292c389c42e83f" +dependencies = [ + "dunce", + "glob", + "objc2-app-kit", + "objc2-foundation", + "open", + "schemars 0.8.22", + "serde", + "serde_json", + "tauri", + "tauri-plugin", + "thiserror 2.0.18", + "url", + "windows", + "zbus", +] + +[[package]] +name = "tauri-runtime" +version = "2.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2826d79a3297ed08cd6ea7f412644ef58e32969504bc4fbd8d7dbeabc4445ea2" +dependencies = [ + "cookie", + "dpi", + "gtk", + "http", + "jni", + "objc2", + "objc2-ui-kit", + "objc2-web-kit", + "raw-window-handle", + "serde", + "serde_json", + "tauri-utils", + "thiserror 2.0.18", + "url", + "webkit2gtk", + "webview2-com", + "windows", +] + +[[package]] +name = "tauri-runtime-wry" +version = "2.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e11ea2e6f801d275fdd890d6c9603736012742a1c33b96d0db788c9cdebf7f9e" +dependencies = [ + "gtk", + "http", + "jni", + "log", + "objc2", + "objc2-app-kit", + "once_cell", + "percent-encoding", + "raw-window-handle", + "softbuffer", + "tao", + "tauri-runtime", + "tauri-utils", + "url", + "webkit2gtk", + "webview2-com", + "windows", + "wry", +] + +[[package]] +name = "tauri-sqlx-vanilla" +version = "0.1.0" +dependencies = [ + "anyhow", + "pglite-oxide", + "serde", + "serde_json", + "sqlx", + "tauri", + "tauri-build", + "tauri-plugin-opener", + "thiserror 2.0.18", + "tokio", +] + +[[package]] +name = "tauri-utils" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "219a1f983a2af3653f75b5747f76733b0da7ff03069c7a41901a5eb3ace4557d" +dependencies = [ + "anyhow", + "brotli", + "cargo_metadata", + "ctor", + "dunce", + "glob", + "html5ever 0.29.1", + "http", + "infer", + "json-patch", + "kuchikiki", + "log", + "memchr", + "phf 0.11.3", + "proc-macro2", + "quote", + "regex", + "schemars 0.8.22", + "semver", + "serde", + "serde-untagged", + "serde_json", + "serde_with", + "swift-rs", + "thiserror 2.0.18", + "toml 0.9.12+spec-1.1.0", + "url", + "urlpattern", + "uuid", + "walkdir", +] + +[[package]] +name = "tauri-winres" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1087b111fe2b005e42dbdc1990fc18593234238d47453b0c99b7de1c9ab2c1e0" +dependencies = [ + "dunce", + "embed-resource", + "toml 0.9.12+spec-1.1.0", +] + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom 0.4.2", + "once_cell", + "rustix 1.1.4", + "windows-sys 0.61.2", +] + +[[package]] +name = "tendril" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0" +dependencies = [ + "futf", + "mac", + "utf-8", +] + +[[package]] +name = "tendril" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4790fc369d5a530f4b544b094e31388b9b3a37c0f4652ade4505945f5660d24" +dependencies = [ + "new_debug_unreachable", + "utf-8", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" +dependencies = [ + "thiserror-impl 2.0.18", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "time" +version = "0.3.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "743bd48c283afc0388f9b8827b976905fb217ad9e647fae3a379a9283c4def2c" +dependencies = [ + "deranged", + "itoa", + "num-conv", + "powerfmt", + "serde_core", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7694e1cfe791f8d31026952abf09c69ca6f6fa4e1a1229e18988f06a04a12dca" + +[[package]] +name = "time-macros" +version = "0.2.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e70e4c5a0e0a8a4823ad65dfe1a6930e4f4d756dcd9dd7939022b5e8c501215" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tinystr" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e61e67053d25a4e82c844e8424039d9745781b3fc4f32b8d55ed50f5f667ef3" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "tokio" +version = "1.52.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67dee974fe86fd92cc45b7a95fdd2f99a36a6d7b0d431a231178d3d670bbcc6" +dependencies = [ + "bytes", + "libc", + "mio", + "pin-project-lite", + "socket2", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "tokio-stream" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32da49809aab5c3bc678af03902d4ccddea2a87d028d86392a4b1560c6906c70" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tokio-util" +version = "0.7.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "toml" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362" +dependencies = [ + "serde", + "serde_spanned 0.6.9", + "toml_datetime 0.6.11", + "toml_edit 0.22.27", +] + +[[package]] +name = "toml" +version = "0.9.12+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863" +dependencies = [ + "indexmap 2.14.0", + "serde_core", + "serde_spanned 1.1.1", + "toml_datetime 0.7.5+spec-1.1.0", + "toml_parser", + "toml_writer", + "winnow 0.7.15", +] + +[[package]] +name = "toml" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81f3d15e84cbcd896376e6730314d59fb5a87f31e4b038454184435cd57defee" +dependencies = [ + "indexmap 2.14.0", + "serde_core", + "serde_spanned 1.1.1", + "toml_datetime 1.1.1+spec-1.1.0", + "toml_parser", + "toml_writer", + "winnow 1.0.2", +] + +[[package]] +name = "toml_datetime" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_datetime" +version = "0.7.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_datetime" +version = "1.1.1+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.19.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +dependencies = [ + "indexmap 2.14.0", + "toml_datetime 0.6.11", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.20.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" +dependencies = [ + "indexmap 2.14.0", + "toml_datetime 0.6.11", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.22.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a" +dependencies = [ + "indexmap 2.14.0", + "serde", + "serde_spanned 0.6.9", + "toml_datetime 0.6.11", + "winnow 0.7.15", +] + +[[package]] +name = "toml_edit" +version = "0.25.11+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b59c4d22ed448339746c59b905d24568fcbb3ab65a500494f7b8c3e97739f2b" +dependencies = [ + "indexmap 2.14.0", + "toml_datetime 1.1.1+spec-1.1.0", + "toml_parser", + "winnow 1.0.2", +] + +[[package]] +name = "toml_parser" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526" +dependencies = [ + "winnow 1.0.2", +] + +[[package]] +name = "toml_writer" +version = "1.1.1+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "756daf9b1013ebe47a8776667b466417e2d4c5679d441c26230efd9ef78692db" + +[[package]] +name = "tower" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" +dependencies = [ + "bitflags 2.11.1", + "bytes", + "futures-util", + "http", + "http-body", + "iri-string", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", +] + +[[package]] +name = "tray-icon" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5e85aa143ceb072062fc4d6356c1b520a51d636e7bc8e77ec94be3608e5e80c" +dependencies = [ + "crossbeam-channel", + "dirs", + "libappindicator", + "muda", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation", + "once_cell", + "png", + "serde", + "thiserror 2.0.18", + "windows-sys 0.60.2", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "typeid" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" + +[[package]] +name = "typenum" +version = "1.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de" + +[[package]] +name = "uds_windows" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f6fb2847f6742cd76af783a2a2c49e9375d0a111c7bef6f71cd9e738c72d6e" +dependencies = [ + "memoffset", + "tempfile", + "windows-sys 0.61.2", +] + +[[package]] +name = "unic-char-property" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221" +dependencies = [ + "unic-char-range", +] + +[[package]] +name = "unic-char-range" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc" + +[[package]] +name = "unic-common" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc" + +[[package]] +name = "unic-ucd-ident" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e230a37c0381caa9219d67cf063aa3a375ffed5bf541a452db16e744bdab6987" +dependencies = [ + "unic-char-property", + "unic-char-range", + "unic-ucd-version", +] + +[[package]] +name = "unic-ucd-version" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4" +dependencies = [ + "unic-common", +] + +[[package]] +name = "unicode-bidi" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" + +[[package]] +name = "unicode-ident" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" + +[[package]] +name = "unicode-normalization" +version = "0.1.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-properties" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d" + +[[package]] +name = "unicode-segmentation" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", + "serde_derive", +] + +[[package]] +name = "urlpattern" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70acd30e3aa1450bc2eece896ce2ad0d178e9c079493819301573dae3c37ba6d" +dependencies = [ + "regex", + "serde", + "unic-ucd-ident", + "url", +] + +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "uuid" +version = "1.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddd74a9687298c6858e9b88ec8935ec45d22e8fd5e6394fa1bd4e99a87789c76" +dependencies = [ + "getrandom 0.4.2", + "js-sys", + "serde_core", + "wasm-bindgen", +] + +[[package]] +name = "version-compare" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03c2856837ef78f57382f06b2b8563a2f512f7185d732608fd9176cb3b8edf0e" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "vswhom" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be979b7f07507105799e854203b470ff7c78a1639e330a58f183b5fea574608b" +dependencies = [ + "libc", + "vswhom-sys", +] + +[[package]] +name = "vswhom-sys" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb067e4cbd1ff067d1df46c9194b5de0e98efd2810bbc95c5d5e5f25a3231150" +dependencies = [ + "cc", + "libc", +] + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "want" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.9.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.3+wasi-0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20064672db26d7cdc89c7798c48a0fdfac8213434a1186e5ef29fd560ae223d6" +dependencies = [ + "wit-bindgen 0.57.1", +] + +[[package]] +name = "wasip3" +version = "0.4.0+wasi-0.3.0-rc-2026-01-06" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" +dependencies = [ + "wit-bindgen 0.51.0", +] + +[[package]] +name = "wasite" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" + +[[package]] +name = "wasm-bindgen" +version = "0.2.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf938a0bacb0469e83c1e148908bd7d5a6010354cf4fb73279b7447422e3a89" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f371d383f2fb139252e0bfac3b81b265689bf45b6874af544ffa4c975ac1ebf8" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eeff24f84126c0ec2db7a449f0c2ec963c6a49efe0698c4242929da037ca28ed" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d08065faf983b2b80a79fd87d8254c409281cf7de75fc4b773019824196c904" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 2.0.117", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fd04d9e306f1907bd13c6361b5c6bfc7b3b3c095ed3f8a9246390f8dbdee129" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-encoder" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" +dependencies = [ + "leb128fmt", + "wasmparser 0.244.0", +] + +[[package]] +name = "wasm-encoder" +version = "0.246.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61fb705ce81adde29d2a8e99d87995e39a6e927358c91398f374474746070ef7" +dependencies = [ + "leb128fmt", + "wasmparser 0.246.2", +] + +[[package]] +name = "wasm-metadata" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" +dependencies = [ + "anyhow", + "indexmap 2.14.0", + "wasm-encoder 0.244.0", + "wasmparser 0.244.0", +] + +[[package]] +name = "wasm-streams" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "wasmparser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" +dependencies = [ + "bitflags 2.11.1", + "hashbrown 0.15.5", + "indexmap 2.14.0", + "semver", +] + +[[package]] +name = "wasmparser" +version = "0.246.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71cde4757396defafd25417cfb36aa3161027d06d865b0c24baaae229aac005d" +dependencies = [ + "bitflags 2.11.1", + "hashbrown 0.16.1", + "indexmap 2.14.0", + "semver", + "serde", +] + +[[package]] +name = "wasmprinter" +version = "0.246.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e41f7493ba994b8a779430a4c25ff550fd5a40d291693af43a6ef48688f00e3" +dependencies = [ + "anyhow", + "termcolor", + "wasmparser 0.246.2", +] + +[[package]] +name = "wasmtime" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fca3f777dfb4db45915f95eeb25cac7f2eeb268797a27e5eb78b072618135c7f" +dependencies = [ + "addr2line", + "async-trait", + "bitflags 2.11.1", + "bumpalo", + "cc", + "cfg-if", + "encoding_rs", + "libc", + "log", + "mach2", + "memfd", + "object", + "once_cell", + "postcard", + "pulley-interpreter", + "rayon", + "rustix 1.1.4", + "semver", + "serde", + "serde_derive", + "smallvec", + "target-lexicon 0.13.5", + "wasmparser 0.246.2", + "wasmtime-environ", + "wasmtime-internal-cache", + "wasmtime-internal-component-macro", + "wasmtime-internal-component-util", + "wasmtime-internal-core", + "wasmtime-internal-cranelift", + "wasmtime-internal-fiber", + "wasmtime-internal-jit-debug", + "wasmtime-internal-jit-icache-coherence", + "wasmtime-internal-unwinder", + "wasmtime-internal-versioned-export-macros", + "wasmtime-internal-winch", + "windows-sys 0.61.2", +] + +[[package]] +name = "wasmtime-environ" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c5ca1af838cec374931242d07af5d354aedf63f297f95b3625ac863e516ef67" +dependencies = [ + "anyhow", + "cpp_demangle", + "cranelift-bforest", + "cranelift-bitset", + "cranelift-entity", + "gimli", + "hashbrown 0.16.1", + "indexmap 2.14.0", + "log", + "object", + "postcard", + "rustc-demangle", + "semver", + "serde", + "serde_derive", + "sha2", + "smallvec", + "target-lexicon 0.13.5", + "wasm-encoder 0.246.2", + "wasmparser 0.246.2", + "wasmprinter", + "wasmtime-internal-component-util", + "wasmtime-internal-core", +] + +[[package]] +name = "wasmtime-internal-cache" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2004f7c86ebeb116550655377cdf16dbf7b03ae5aa6b4b1c1458cfa23aaa306" +dependencies = [ + "base64 0.22.1", + "directories-next", + "log", + "postcard", + "rustix 1.1.4", + "serde", + "serde_derive", + "sha2", + "toml 0.9.12+spec-1.1.0", + "wasmtime-environ", + "windows-sys 0.61.2", + "zstd", +] + +[[package]] +name = "wasmtime-internal-component-macro" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58b31927f7b613d8fe019609744e226f6458d8aa5e6289e92fbbc60e521cd026" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn 2.0.117", + "wasmtime-internal-component-util", + "wasmtime-internal-wit-bindgen", + "wit-parser 0.246.2", +] + +[[package]] +name = "wasmtime-internal-component-util" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc29e3478928b93979831ba02a997ce7f707c673ce47180d643091cf4fa4f561" + +[[package]] +name = "wasmtime-internal-core" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "816a61a75275c6be435131fc625a4f5956daf24d9f9f59443e81cbef228929b3" +dependencies = [ + "hashbrown 0.16.1", + "libm", + "serde", +] + +[[package]] +name = "wasmtime-internal-cranelift" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69ceb5e079877e7e4565c1e2d86d9db889175d55f7ca0001315576d08c71e634" +dependencies = [ + "cfg-if", + "cranelift-codegen", + "cranelift-control", + "cranelift-entity", + "cranelift-frontend", + "cranelift-native", + "gimli", + "itertools", + "log", + "object", + "pulley-interpreter", + "smallvec", + "target-lexicon 0.13.5", + "thiserror 2.0.18", + "wasmparser 0.246.2", + "wasmtime-environ", + "wasmtime-internal-core", + "wasmtime-internal-unwinder", + "wasmtime-internal-versioned-export-macros", +] + +[[package]] +name = "wasmtime-internal-fiber" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e18f8bb05d25e0d4cca7278147c9f9e2f26f66886ef754b562bf729128f1e537" +dependencies = [ + "cc", + "cfg-if", + "libc", + "rustix 1.1.4", + "wasmtime-environ", + "wasmtime-internal-versioned-export-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "wasmtime-internal-jit-debug" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "357f1070b31154ee463937b477ca0b2962bf450b40fc59799bef2f656b15da73" +dependencies = [ + "cc", + "wasmtime-internal-versioned-export-macros", +] + +[[package]] +name = "wasmtime-internal-jit-icache-coherence" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fd683a94490bf755d016a09697b0955602c50106b1ded97d16983ab2ded9fed" +dependencies = [ + "cfg-if", + "libc", + "wasmtime-internal-core", + "windows-sys 0.61.2", +] + +[[package]] +name = "wasmtime-internal-unwinder" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4471746ce113c3c1862ce2c0674acb35399a4b3ed3ef4531dc087f333c74f064" +dependencies = [ + "cfg-if", + "cranelift-codegen", + "log", + "object", + "wasmtime-environ", +] + +[[package]] +name = "wasmtime-internal-versioned-export-macros" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6af582ec18b674bf7a17775d6fbfbddfcc143f0edbd89c9c1778239c8aa92ed" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "wasmtime-internal-winch" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d31be8916bb60ea756d2f0ae1f634d9258442aa71e773c893e2f4cead30501b5" +dependencies = [ + "cranelift-codegen", + "gimli", + "log", + "object", + "target-lexicon 0.13.5", + "wasmparser 0.246.2", + "wasmtime-environ", + "wasmtime-internal-cranelift", + "winch-codegen", +] + +[[package]] +name = "wasmtime-internal-wit-bindgen" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2150e63d502ab2d64754e5abe8eb737ae674b7dd4ad53144fd16bbeceaf4a19" +dependencies = [ + "anyhow", + "bitflags 2.11.1", + "heck 0.5.0", + "indexmap 2.14.0", + "wit-parser 0.246.2", +] + +[[package]] +name = "wasmtime-wasi" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83f5109b4fd619b9796b9c9901de59d83e3575cd1226c1a36d1901371f43db28" +dependencies = [ + "async-trait", + "bitflags 2.11.1", + "bytes", + "cap-fs-ext", + "cap-net-ext", + "cap-rand", + "cap-std", + "cap-time-ext", + "fs-set-times", + "futures", + "io-extras", + "io-lifetimes", + "rustix 1.1.4", + "system-interface", + "thiserror 2.0.18", + "tokio", + "tracing", + "url", + "wasmtime", + "wasmtime-wasi-io", + "wiggle", + "windows-sys 0.61.2", +] + +[[package]] +name = "wasmtime-wasi-io" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74ebe14c586e98d2fdc32c76ca0005ef28348e98ed737e776d378b3b0cc2afd0" +dependencies = [ + "async-trait", + "bytes", + "futures", + "tracing", + "wasmtime", +] + +[[package]] +name = "wast" +version = "35.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ef140f1b49946586078353a453a1d28ba90adfc54dde75710bc1931de204d68" +dependencies = [ + "leb128", +] + +[[package]] +name = "web-sys" +version = "0.3.95" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f2dfbb17949fa2088e5d39408c48368947b86f7834484e87b73de55bc14d97d" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web_atoms" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7cff6eef815df1834fd250e3a2ff436044d82a9f1bc1980ca1dbdf07effc538" +dependencies = [ + "phf 0.13.1", + "phf_codegen 0.13.1", + "string_cache 0.9.0", + "string_cache_codegen 0.6.1", +] + +[[package]] +name = "webkit2gtk" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1027150013530fb2eaf806408df88461ae4815a45c541c8975e61d6f2fc4793" +dependencies = [ + "bitflags 1.3.2", + "cairo-rs", + "gdk", + "gdk-sys", + "gio", + "gio-sys", + "glib", + "glib-sys", + "gobject-sys", + "gtk", + "gtk-sys", + "javascriptcore-rs", + "libc", + "once_cell", + "soup3", + "webkit2gtk-sys", +] + +[[package]] +name = "webkit2gtk-sys" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "916a5f65c2ef0dfe12fff695960a2ec3d4565359fdbb2e9943c974e06c734ea5" +dependencies = [ + "bitflags 1.3.2", + "cairo-sys-rs", + "gdk-sys", + "gio-sys", + "glib-sys", + "gobject-sys", + "gtk-sys", + "javascriptcore-rs-sys", + "libc", + "pkg-config", + "soup3-sys", + "system-deps", +] + +[[package]] +name = "webpki-roots" +version = "0.26.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" +dependencies = [ + "webpki-roots 1.0.7", +] + +[[package]] +name = "webpki-roots" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52f5ee44c96cf55f1b349600768e3ece3a8f26010c05265ab73f945bb1a2eb9d" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "webview2-com" +version = "0.38.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7130243a7a5b33c54a444e54842e6a9e133de08b5ad7b5861cd8ed9a6a5bc96a" +dependencies = [ + "webview2-com-macros", + "webview2-com-sys", + "windows", + "windows-core 0.61.2", + "windows-implement", + "windows-interface", +] + +[[package]] +name = "webview2-com-macros" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67a921c1b6914c367b2b823cd4cde6f96beec77d30a939c8199bb377cf9b9b54" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "webview2-com-sys" +version = "0.38.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "381336cfffd772377d291702245447a5251a2ffa5bad679c99e61bc48bacbf9c" +dependencies = [ + "thiserror 2.0.18", + "windows", + "windows-core 0.61.2", +] + +[[package]] +name = "whoami" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d4a4db5077702ca3015d3d02d74974948aba2ad9e12ab7df718ee64ccd7e97d" +dependencies = [ + "libredox", + "wasite", +] + +[[package]] +name = "wiggle" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89cff414ef7dce0cc1cf8a033ff80d3f38e3987c37e3efeec7926ecb5ffaaae6" +dependencies = [ + "bitflags 2.11.1", + "thiserror 2.0.18", + "tracing", + "wasmtime", + "wasmtime-environ", + "wiggle-macro", +] + +[[package]] +name = "wiggle-generate" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf9dc7272b151a9616a2699e7f94ea1d4ae253b47b63a79fbc8f38e2cca5fa6" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.117", + "wasmtime-environ", + "witx", +] + +[[package]] +name = "wiggle-macro" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa7c29fcf738630cba4e35f1805da5e42dde20ee9809ee9202b0648ae671602f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", + "wiggle-generate", +] + +[[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 = "winch-codegen" +version = "44.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9339858ad222412200fd8b1af9e270712201aaec440c7618991443af3446481f" +dependencies = [ + "cranelift-assembler-x64", + "cranelift-codegen", + "gimli", + "regalloc2", + "smallvec", + "target-lexicon 0.13.5", + "thiserror 2.0.18", + "wasmparser 0.246.2", + "wasmtime-environ", + "wasmtime-internal-core", + "wasmtime-internal-cranelift", +] + +[[package]] +name = "window-vibrancy" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9bec5a31f3f9362f2258fd0e9c9dd61a9ca432e7306cc78c444258f0dce9a9c" +dependencies = [ + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "raw-window-handle", + "windows-sys 0.59.0", + "windows-version", +] + +[[package]] +name = "windows" +version = "0.61.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" +dependencies = [ + "windows-collections", + "windows-core 0.61.2", + "windows-future", + "windows-link 0.1.3", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" +dependencies = [ + "windows-core 0.61.2", +] + +[[package]] +name = "windows-core" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.1.3", + "windows-result 0.3.4", + "windows-strings 0.4.2", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", +] + +[[package]] +name = "windows-future" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" +dependencies = [ + "windows-core 0.61.2", + "windows-link 0.1.3", + "windows-threading", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" +dependencies = [ + "windows-core 0.61.2", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows-strings" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.5", +] + +[[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.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm 0.52.6", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link 0.2.1", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + +[[package]] +name = "windows-threading" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-version" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4060a1da109b9d0326b7262c8e12c84df67cc0dbc9e33cf49e01ccc2eb63631" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[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.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[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.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[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.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[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.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[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.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[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.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + +[[package]] +name = "winnow" +version = "0.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "0.7.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ee1708bef14716a11bae175f579062d4554d95be2c6829f518df847b7b3fdd0" +dependencies = [ + "memchr", +] + +[[package]] +name = "winreg" +version = "0.55.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb5a765337c50e9ec252c2069be9bf91c7df47afb103b642ba3a53bf8101be97" +dependencies = [ + "cfg-if", + "windows-sys 0.59.0", +] + +[[package]] +name = "winx" +version = "0.36.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f3fd376f71958b862e7afb20cfe5a22830e1963462f3a17f49d82a6c1d1f42d" +dependencies = [ + "bitflags 2.11.1", + "windows-sys 0.59.0", +] + +[[package]] +name = "wit-bindgen" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" +dependencies = [ + "wit-bindgen-rust-macro", +] + +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + +[[package]] +name = "wit-bindgen-core" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" +dependencies = [ + "anyhow", + "heck 0.5.0", + "wit-parser 0.244.0", +] + +[[package]] +name = "wit-bindgen-rust" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" +dependencies = [ + "anyhow", + "heck 0.5.0", + "indexmap 2.14.0", + "prettyplease", + "syn 2.0.117", + "wasm-metadata", + "wit-bindgen-core", + "wit-component", +] + +[[package]] +name = "wit-bindgen-rust-macro" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" +dependencies = [ + "anyhow", + "prettyplease", + "proc-macro2", + "quote", + "syn 2.0.117", + "wit-bindgen-core", + "wit-bindgen-rust", +] + +[[package]] +name = "wit-component" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" +dependencies = [ + "anyhow", + "bitflags 2.11.1", + "indexmap 2.14.0", + "log", + "serde", + "serde_derive", + "serde_json", + "wasm-encoder 0.244.0", + "wasm-metadata", + "wasmparser 0.244.0", + "wit-parser 0.244.0", +] + +[[package]] +name = "wit-parser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" +dependencies = [ + "anyhow", + "id-arena", + "indexmap 2.14.0", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.244.0", +] + +[[package]] +name = "wit-parser" +version = "0.246.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd979042b5ff288607ccf3b314145435453f20fc67173195f91062d2289b204d" +dependencies = [ + "anyhow", + "hashbrown 0.16.1", + "id-arena", + "indexmap 2.14.0", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.246.2", +] + +[[package]] +name = "witx" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e366f27a5cabcddb2706a78296a40b8fcc451e1a6aba2fc1d94b4a01bdaaef4b" +dependencies = [ + "anyhow", + "log", + "thiserror 1.0.69", + "wast", +] + +[[package]] +name = "writeable" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4" + +[[package]] +name = "wry" +version = "0.54.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5a8135d8676225e5744de000d4dff5a082501bf7db6a1c1495034f8c314edbc" +dependencies = [ + "base64 0.22.1", + "block2", + "cookie", + "crossbeam-channel", + "dirs", + "dom_query", + "dpi", + "dunce", + "gdkx11", + "gtk", + "http", + "javascriptcore-rs", + "jni", + "libc", + "ndk", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "objc2-ui-kit", + "objc2-web-kit", + "once_cell", + "percent-encoding", + "raw-window-handle", + "sha2", + "soup3", + "tao-macros", + "thiserror 2.0.18", + "url", + "webkit2gtk", + "webkit2gtk-sys", + "webview2-com", + "windows", + "windows-core 0.61.2", + "windows-version", + "x11-dl", +] + +[[package]] +name = "x11" +version = "2.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "502da5464ccd04011667b11c435cb992822c2c0dbde1770c988480d312a0db2e" +dependencies = [ + "libc", + "pkg-config", +] + +[[package]] +name = "x11-dl" +version = "2.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f" +dependencies = [ + "libc", + "once_cell", + "pkg-config", +] + +[[package]] +name = "xattr" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" +dependencies = [ + "libc", + "rustix 1.1.4", +] + +[[package]] +name = "yoke" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", + "synstructure", +] + +[[package]] +name = "zbus" +version = "5.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca82f95dbd3943a40a53cfded6c2d0a2ca26192011846a1810c4256ef92c60bc" +dependencies = [ + "async-broadcast", + "async-executor", + "async-io", + "async-lock", + "async-process", + "async-recursion", + "async-task", + "async-trait", + "blocking", + "enumflags2", + "event-listener", + "futures-core", + "futures-lite", + "hex", + "libc", + "ordered-stream", + "rustix 1.1.4", + "serde", + "serde_repr", + "tracing", + "uds_windows", + "uuid", + "windows-sys 0.61.2", + "winnow 0.7.15", + "zbus_macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zbus_macros" +version = "5.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "897e79616e84aac4b2c46e9132a4f63b93105d54fe8c0e8f6bffc21fa8d49222" +dependencies = [ + "proc-macro-crate 3.5.0", + "proc-macro2", + "quote", + "syn 2.0.117", + "zbus_names", + "zvariant", + "zvariant_utils", +] + +[[package]] +name = "zbus_names" +version = "4.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffd8af6d5b78619bab301ff3c560a5bd22426150253db278f164d6cf3b72c50f" +dependencies = [ + "serde", + "winnow 0.7.15", + "zvariant", +] + +[[package]] +name = "zerocopy" +version = "0.8.48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "zerofrom" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69faa1f2a1ea75661980b013019ed6687ed0e83d069bc1114e2cc74c6c04c4df" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" + +[[package]] +name = "zerotrie" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + +[[package]] +name = "zmij" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" + +[[package]] +name = "zstd" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" +dependencies = [ + "zstd-safe", +] + +[[package]] +name = "zstd-safe" +version = "7.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" +dependencies = [ + "zstd-sys", +] + +[[package]] +name = "zstd-sys" +version = "2.0.16+zstd.1.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748" +dependencies = [ + "cc", + "pkg-config", +] + +[[package]] +name = "zvariant" +version = "5.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5708299b21903bbe348e94729f22c49c55d04720a004aa350f1f9c122fd2540b" +dependencies = [ + "endi", + "enumflags2", + "serde", + "winnow 0.7.15", + "zvariant_derive", + "zvariant_utils", +] + +[[package]] +name = "zvariant_derive" +version = "5.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b59b012ebe9c46656f9cc08d8da8b4c726510aef12559da3e5f1bf72780752c" +dependencies = [ + "proc-macro-crate 3.5.0", + "proc-macro2", + "quote", + "syn 2.0.117", + "zvariant_utils", +] + +[[package]] +name = "zvariant_utils" +version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75c23a64ef8f40f13a6989991e643554d9bef1d682a281160cf0c1bc389c5e9" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "syn 2.0.117", + "winnow 0.7.15", +] diff --git a/examples/tauri-sqlx-vanilla/src-tauri/Cargo.toml b/examples/tauri-sqlx-vanilla/src-tauri/Cargo.toml new file mode 100644 index 00000000..7c7a59fe --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src-tauri/Cargo.toml @@ -0,0 +1,25 @@ +[package] +name = "tauri-sqlx-vanilla" +version = "0.1.0" +description = "Vanilla Tauri v2 SQLx profiler for pglite-oxide" +authors = ["pglite-oxide contributors"] +edition = "2021" +publish = false + +[lib] +name = "tauri_sqlx_vanilla_lib" +crate-type = ["staticlib", "cdylib", "rlib"] + +[build-dependencies] +tauri-build = { version = "2", features = [] } + +[dependencies] +anyhow = "1" +pglite-oxide = { path = "../../.." } +sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio-rustls", "postgres"] } +tauri = { version = "2", features = [] } +tauri-plugin-opener = "2" +serde = { version = "1", features = ["derive"] } +serde_json = "1" +thiserror = "2" +tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync"] } diff --git a/examples/tauri-sqlx-vanilla/src-tauri/build.rs b/examples/tauri-sqlx-vanilla/src-tauri/build.rs new file mode 100644 index 00000000..d860e1e6 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src-tauri/build.rs @@ -0,0 +1,3 @@ +fn main() { + tauri_build::build() +} diff --git a/examples/tauri-sqlx-vanilla/src-tauri/capabilities/default.json b/examples/tauri-sqlx-vanilla/src-tauri/capabilities/default.json new file mode 100644 index 00000000..4cdbf49a --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src-tauri/capabilities/default.json @@ -0,0 +1,10 @@ +{ + "$schema": "../gen/schemas/desktop-schema.json", + "identifier": "default", + "description": "Capability for the main window", + "windows": ["main"], + "permissions": [ + "core:default", + "opener:default" + ] +} diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/128x128.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/128x128.png new file mode 100644 index 00000000..6be5e50e Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/128x128.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/128x128@2x.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/128x128@2x.png new file mode 100644 index 00000000..e81becee Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/128x128@2x.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/32x32.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/32x32.png new file mode 100644 index 00000000..a437dd51 Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/32x32.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/Square107x107Logo.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square107x107Logo.png new file mode 100644 index 00000000..0ca4f271 Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square107x107Logo.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/Square142x142Logo.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square142x142Logo.png new file mode 100644 index 00000000..b81f8203 Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square142x142Logo.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/Square150x150Logo.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square150x150Logo.png new file mode 100644 index 00000000..624c7bfb Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square150x150Logo.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/Square284x284Logo.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square284x284Logo.png new file mode 100644 index 00000000..c021d2ba Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square284x284Logo.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/Square30x30Logo.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square30x30Logo.png new file mode 100644 index 00000000..62197002 Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square30x30Logo.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/Square310x310Logo.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square310x310Logo.png new file mode 100644 index 00000000..f9bc0483 Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square310x310Logo.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/Square44x44Logo.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square44x44Logo.png new file mode 100644 index 00000000..d5fbfb2a Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square44x44Logo.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/Square71x71Logo.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square71x71Logo.png new file mode 100644 index 00000000..63440d79 Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square71x71Logo.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/Square89x89Logo.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square89x89Logo.png new file mode 100644 index 00000000..f3f705af Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/Square89x89Logo.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/StoreLogo.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/StoreLogo.png new file mode 100644 index 00000000..45563882 Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/StoreLogo.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/icon.icns b/examples/tauri-sqlx-vanilla/src-tauri/icons/icon.icns new file mode 100644 index 00000000..12a5bcee Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/icon.icns differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/icon.ico b/examples/tauri-sqlx-vanilla/src-tauri/icons/icon.ico new file mode 100644 index 00000000..b3636e4b Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/icon.ico differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/icons/icon.png b/examples/tauri-sqlx-vanilla/src-tauri/icons/icon.png new file mode 100644 index 00000000..e1cd2619 Binary files /dev/null and b/examples/tauri-sqlx-vanilla/src-tauri/icons/icon.png differ diff --git a/examples/tauri-sqlx-vanilla/src-tauri/src/bench.rs b/examples/tauri-sqlx-vanilla/src-tauri/src/bench.rs new file mode 100644 index 00000000..a6242f8f --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src-tauri/src/bench.rs @@ -0,0 +1,454 @@ +use std::fs; +use std::future::Future; +use std::path::PathBuf; +use std::time::{Duration, Instant}; + +use anyhow::{anyhow, bail, Context, Result}; +use pglite_oxide::{install_into, preload_runtime_module, PglitePaths, PgliteServer}; +use serde::Serialize; +use sqlx::postgres::{PgConnectOptions, PgPoolOptions, PgSslMode}; +use sqlx::{PgPool, Row}; +use tokio::sync::Mutex as AsyncMutex; + +const DEFAULT_ROW_COUNT: u32 = 10_000; + +#[derive(Debug, Clone, Serialize)] +#[serde(rename_all = "camelCase")] +pub struct PhaseTiming { + pub name: String, + pub ms: f64, +} + +#[derive(Debug, Clone, Serialize)] +#[serde(rename_all = "camelCase")] +pub struct QueryTiming { + pub label: String, + pub iterations: usize, + pub min_ms: f64, + pub p50_ms: f64, + pub p95_ms: f64, + pub max_ms: f64, + pub mean_ms: f64, + pub rows: i64, +} + +#[derive(Debug, Clone, Serialize)] +#[serde(rename_all = "camelCase")] +pub struct BenchReport { + pub root: String, + pub proxy_addr: String, + pub cold_start: bool, + pub pgdata_template: bool, + pub row_count: u32, + pub startup: Vec, + pub workload: Vec, + pub queries: Vec, + pub total_ms: f64, + pub notes: Vec, +} + +pub struct BenchState { + root: PathBuf, + inner: AsyncMutex>, +} + +impl BenchState { + pub fn new(root: PathBuf) -> Self { + Self { + root, + inner: AsyncMutex::new(None), + } + } + + pub async fn profile_queries(&self, fresh: bool, row_count: u32) -> Result { + let mut guard = self.inner.lock().await; + if fresh && guard.is_some() { + bail!( + "fresh profile requires restarting the app so the existing pglite proxy can exit" + ); + } + + if guard.is_none() { + let harness = DatabaseHarness::start(self.root.clone(), fresh).await?; + *guard = Some(harness); + } + + let harness = guard + .as_ref() + .ok_or_else(|| anyhow!("database harness was not initialized"))?; + harness.profile(row_count).await + } +} + +pub struct DatabaseHarness { + root: PathBuf, + database_url: String, + pool: PgPool, + _server: PgliteServer, + cold_start: bool, + startup: Vec, +} + +impl DatabaseHarness { + pub async fn start(root: PathBuf, fresh: bool) -> Result { + if fresh && root.exists() { + fs::remove_dir_all(&root) + .with_context(|| format!("remove profile dir {}", root.display()))?; + } + fs::create_dir_all(&root).with_context(|| format!("create {}", root.display()))?; + + let paths = PglitePaths::with_root(&root); + let cold_start = !paths.pgdata.join("PG_VERSION").exists(); + let mut startup = Vec::new(); + + let install_root = root.clone(); + time_blocking( + &mut startup, + "install runtime and pgdata template", + move || install_into(&install_root).map(|_| ()), + ) + .await?; + + let preload_paths = paths.clone(); + time_blocking(&mut startup, "load/compile wasmtime module", move || { + preload_runtime_module(&preload_paths) + }) + .await?; + + let server_root = root.clone(); + let server = time_blocking(&mut startup, "start pglite server", move || { + preferred_server(server_root) + }) + .await?; + let database_url = server.connection_uri(); + + let pool = time_async(&mut startup, "sqlx pool connect", async { + let options = + pg_connect_options(&server)?.application_name("pglite-oxide-tauri-sqlx-profile"); + + PgPoolOptions::new() + .max_connections(1) + .acquire_timeout(Duration::from_secs(30)) + .connect_with(options) + .await + .context("connect SQLx pool to pglite proxy") + }) + .await?; + + Ok(Self { + root, + database_url, + pool, + _server: server, + cold_start, + startup, + }) + } + + pub async fn profile(&self, row_count: u32) -> Result { + let total = Instant::now(); + let row_count = normalize_row_count(row_count); + let mut workload = Vec::new(); + + time_async(&mut workload, "first query", async { + let row = sqlx::query("select 1::int as value") + .fetch_one(&self.pool) + .await?; + let _: i32 = row.try_get("value")?; + Result::<()>::Ok(()) + }) + .await?; + + time_async(&mut workload, "create table", async { + sqlx::query("drop table if exists perf_events") + .execute(&self.pool) + .await?; + sqlx::query( + r#" + create table perf_events ( + id bigserial primary key, + bucket integer not null, + label text not null, + amount double precision not null, + payload text not null, + created_at timestamptz not null default now() + ) + "#, + ) + .execute(&self.pool) + .await?; + Result::<()>::Ok(()) + }) + .await?; + + time_async(&mut workload, "seed rows", async { + let insert_sql = format!( + r#" + insert into perf_events (bucket, label, amount, payload) + select + (g % 64)::integer, + 'event-' || g::text, + (g::double precision * 0.125), + repeat(md5(g::text), 2) + from generate_series(1, {row_count}) as g + "# + ); + sqlx::query(&insert_sql).execute(&self.pool).await?; + Result::<()>::Ok(()) + }) + .await?; + + time_async(&mut workload, "create indexes", async { + sqlx::query("create index perf_events_bucket_idx on perf_events(bucket)") + .execute(&self.pool) + .await?; + sqlx::query("create index perf_events_label_idx on perf_events(label)") + .execute(&self.pool) + .await?; + Result::<()>::Ok(()) + }) + .await?; + + time_async(&mut workload, "transaction insert batch", async { + let mut tx = self.pool.begin().await?; + for index in 0..100i32 { + sqlx::query( + "insert into perf_events (bucket, label, amount, payload) values ($1, $2, $3, $4)", + ) + .bind(index % 64) + .bind(format!("txn-event-{index}")) + .bind(index as f64) + .bind(format!("txn-payload-{index}")) + .execute(&mut *tx) + .await?; + } + tx.commit().await?; + Result::<()>::Ok(()) + }) + .await?; + + let mut queries = Vec::new(); + queries.push( + measure_iterations("point lookup by primary key", 60, |iteration| async move { + let id = (iteration as i64 % row_count as i64) + 1; + let row = sqlx::query("select payload from perf_events where id = $1") + .bind(id) + .fetch_one(&self.pool) + .await?; + let _: String = row.try_get("payload")?; + Result::::Ok(1) + }) + .await?, + ); + queries.push( + measure_iterations("prepared lookup loop", 60, |iteration| async move { + let label = format!("event-{}", (iteration as u32 % row_count) + 1); + let row = sqlx::query("select id from perf_events where label = $1") + .bind(label) + .fetch_optional(&self.pool) + .await?; + Result::::Ok(if row.is_some() { 1 } else { 0 }) + }) + .await?, + ); + queries.push( + measure_iterations("indexed aggregate by bucket", 25, |_| async move { + let rows = sqlx::query( + r#" + select bucket, count(*)::bigint as count, avg(amount)::double precision as avg + from perf_events + group by bucket + order by bucket + "#, + ) + .fetch_all(&self.pool) + .await?; + for row in &rows { + let _: i32 = row.try_get("bucket")?; + let _: i64 = row.try_get("count")?; + let _: f64 = row.try_get("avg")?; + } + Result::::Ok(rows.len() as i64) + }) + .await?, + ); + queries.push( + measure_iterations("prefix text search limit 25", 30, |iteration| async move { + let needle = format!("event-{}%", iteration % 10); + let rows = sqlx::query( + "select id, label from perf_events where label like $1 order by id limit 25", + ) + .bind(needle) + .fetch_all(&self.pool) + .await?; + for row in &rows { + let _: i64 = row.try_get("id")?; + let _: String = row.try_get("label")?; + } + Result::::Ok(rows.len() as i64) + }) + .await?, + ); + queries.push( + measure_iterations("single-bucket update", 12, |iteration| async move { + let bucket = (iteration % 64) as i32; + let result = + sqlx::query("update perf_events set amount = amount + 1 where bucket = $1") + .bind(bucket) + .execute(&self.pool) + .await?; + Result::::Ok(result.rows_affected() as i64) + }) + .await?, + ); + + let notes = vec![ + "The Tauri window is allowed to paint before this command initializes the database." + .to_string(), + "Fresh starts use the bundled prepopulated PGDATA template before the backend session starts.".to_string(), + "SQLx is configured with one PostgreSQL connection because the embedded pglite runtime is single-process." + .to_string(), + "The SQLx pool connection phase includes the first backend wire-protocol handshake." + .to_string(), + "Use the cold-start number for first launch and the query timings for steady-state UX." + .to_string(), + ]; + + Ok(BenchReport { + root: self.root.display().to_string(), + proxy_addr: self.database_url.clone(), + cold_start: self.cold_start, + pgdata_template: true, + row_count, + startup: self.startup.clone(), + workload, + queries, + total_ms: elapsed_ms(total), + notes, + }) + } +} + +fn preferred_server(root: PathBuf) -> Result { + let builder = PgliteServer::builder().path(&root); + #[cfg(unix)] + { + builder.unix(root.join(".s.PGSQL.5432")).start() + } + #[cfg(not(unix))] + { + builder.start() + } +} + +fn pg_connect_options(server: &PgliteServer) -> Result { + let options = PgConnectOptions::new() + .username("postgres") + .database("template1") + .ssl_mode(PgSslMode::Disable); + + #[cfg(unix)] + if let Some(path) = server.socket_path() { + let dir = path + .parent() + .ok_or_else(|| anyhow!("Unix socket {} has no parent", path.display()))?; + return Ok(options.host("localhost").socket(dir).port(5432)); + } + + let addr = server + .tcp_addr() + .ok_or_else(|| anyhow!("PGlite server did not expose a TCP address"))?; + Ok(options.host(&addr.ip().to_string()).port(addr.port())) +} + +fn normalize_row_count(row_count: u32) -> u32 { + if row_count == 0 { + return DEFAULT_ROW_COUNT; + } + row_count.clamp(100, 50_000) +} + +async fn time_blocking( + timings: &mut Vec, + name: impl Into, + op: F, +) -> Result +where + T: Send + 'static, + F: FnOnce() -> Result + Send + 'static, +{ + let name = name.into(); + let started = Instant::now(); + let result = tokio::task::spawn_blocking(op) + .await + .context("join blocking profile phase")?; + timings.push(PhaseTiming { + name, + ms: elapsed_ms(started), + }); + result +} + +async fn time_async( + timings: &mut Vec, + name: impl Into, + fut: Fut, +) -> Result +where + Fut: Future>, +{ + let name = name.into(); + let started = Instant::now(); + let result = fut.await; + timings.push(PhaseTiming { + name, + ms: elapsed_ms(started), + }); + result +} + +async fn measure_iterations( + label: &str, + iterations: usize, + mut op: F, +) -> Result +where + F: FnMut(usize) -> Fut, + Fut: Future>, +{ + let mut samples = Vec::with_capacity(iterations); + let mut rows = 0; + + for index in 0..iterations { + let started = Instant::now(); + rows = op(index).await?; + samples.push(elapsed_ms(started)); + } + + samples.sort_by(|left, right| left.total_cmp(right)); + let total: f64 = samples.iter().sum(); + let mean = total / samples.len() as f64; + + Ok(QueryTiming { + label: label.to_string(), + iterations, + min_ms: samples[0], + p50_ms: percentile(&samples, 0.50), + p95_ms: percentile(&samples, 0.95), + max_ms: *samples.last().unwrap_or(&0.0), + mean_ms: mean, + rows, + }) +} + +fn percentile(sorted: &[f64], percentile: f64) -> f64 { + if sorted.is_empty() { + return 0.0; + } + let index = ((sorted.len() - 1) as f64 * percentile).round() as usize; + sorted[index] +} + +fn elapsed_ms(started: Instant) -> f64 { + started.elapsed().as_secs_f64() * 1000.0 +} diff --git a/examples/tauri-sqlx-vanilla/src-tauri/src/bin/profile_queries.rs b/examples/tauri-sqlx-vanilla/src-tauri/src/bin/profile_queries.rs new file mode 100644 index 00000000..9b84fb33 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src-tauri/src/bin/profile_queries.rs @@ -0,0 +1,36 @@ +use std::env; +use std::fs; +use std::path::PathBuf; + +use tauri_sqlx_vanilla_lib::bench::BenchState; + +#[tokio::main(flavor = "multi_thread")] +async fn main() -> anyhow::Result<()> { + let args: Vec = env::args().collect(); + let fresh = args.iter().any(|arg| arg == "--fresh"); + let row_count = args + .iter() + .position(|arg| arg == "--rows") + .and_then(|index| args.get(index + 1)) + .and_then(|value| value.parse::().ok()) + .unwrap_or(10_000); + let json_out = args + .iter() + .position(|arg| arg == "--json-out") + .and_then(|index| args.get(index + 1)) + .map(PathBuf::from); + + let root = env::var_os("PGLITE_OXIDE_TAURI_PROFILE_DIR") + .map(PathBuf::from) + .unwrap_or_else(|| env::temp_dir().join("pglite-oxide-tauri-sqlx-profile")); + + let state = BenchState::new(root); + let report = state.profile_queries(fresh, row_count).await?; + let json = serde_json::to_string_pretty(&report)?; + if let Some(path) = json_out { + fs::write(path, &json)?; + } else { + println!("{json}"); + } + Ok(()) +} diff --git a/examples/tauri-sqlx-vanilla/src-tauri/src/lib.rs b/examples/tauri-sqlx-vanilla/src-tauri/src/lib.rs new file mode 100644 index 00000000..f871d8d0 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src-tauri/src/lib.rs @@ -0,0 +1,56 @@ +pub mod bench; + +use serde::ser::Serializer; +use tauri::Manager; + +use bench::{BenchReport, BenchState}; + +#[derive(Debug, thiserror::Error)] +enum CommandError { + #[error("{0}")] + Runtime(String), +} + +impl serde::Serialize for CommandError { + fn serialize(&self, serializer: S) -> Result + where + S: Serializer, + { + serializer.serialize_str(&self.to_string()) + } +} + +impl From for CommandError { + fn from(value: anyhow::Error) -> Self { + Self::Runtime(format!("{value:#}")) + } +} + +#[tauri::command] +async fn profile_queries( + state: tauri::State<'_, BenchState>, + fresh: bool, + row_count: u32, +) -> Result { + state + .profile_queries(fresh, row_count) + .await + .map_err(CommandError::from) +} + +#[cfg_attr(mobile, tauri::mobile_entry_point)] +pub fn run() { + tauri::Builder::default() + .plugin(tauri_plugin_opener::init()) + .setup(|app| { + let root = app + .path() + .app_data_dir() + .map(|dir| dir.join("pglite-sqlx-profile"))?; + app.manage(BenchState::new(root)); + Ok(()) + }) + .invoke_handler(tauri::generate_handler![profile_queries]) + .run(tauri::generate_context!()) + .expect("error while running tauri application"); +} diff --git a/examples/tauri-sqlx-vanilla/src-tauri/src/main.rs b/examples/tauri-sqlx-vanilla/src-tauri/src/main.rs new file mode 100644 index 00000000..eb6067f9 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src-tauri/src/main.rs @@ -0,0 +1,6 @@ +// Prevents additional console window on Windows in release, DO NOT REMOVE!! +#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] + +fn main() { + tauri_sqlx_vanilla_lib::run() +} diff --git a/examples/tauri-sqlx-vanilla/src-tauri/tauri.conf.json b/examples/tauri-sqlx-vanilla/src-tauri/tauri.conf.json new file mode 100644 index 00000000..49ec5917 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src-tauri/tauri.conf.json @@ -0,0 +1,36 @@ +{ + "$schema": "https://schema.tauri.app/config/2", + "productName": "pglite SQLx Profile", + "version": "0.1.0", + "identifier": "com.pgliteoxide.sqlxbench", + "build": { + "beforeDevCommand": "npm run dev", + "devUrl": "http://localhost:1420", + "beforeBuildCommand": "npm run build", + "frontendDist": "../dist" + }, + "app": { + "withGlobalTauri": true, + "windows": [ + { + "title": "pglite SQLx Profile", + "width": 1080, + "height": 760 + } + ], + "security": { + "csp": null + } + }, + "bundle": { + "active": true, + "targets": "all", + "icon": [ + "icons/32x32.png", + "icons/128x128.png", + "icons/128x128@2x.png", + "icons/icon.icns", + "icons/icon.ico" + ] + } +} diff --git a/examples/tauri-sqlx-vanilla/src/assets/tauri.svg b/examples/tauri-sqlx-vanilla/src/assets/tauri.svg new file mode 100644 index 00000000..31b62c92 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src/assets/tauri.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/examples/tauri-sqlx-vanilla/src/assets/typescript.svg b/examples/tauri-sqlx-vanilla/src/assets/typescript.svg new file mode 100644 index 00000000..30a5edd3 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src/assets/typescript.svg @@ -0,0 +1,25 @@ + + + + + + + + diff --git a/examples/tauri-sqlx-vanilla/src/assets/vite.svg b/examples/tauri-sqlx-vanilla/src/assets/vite.svg new file mode 100644 index 00000000..ee9fadaf --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src/assets/vite.svg @@ -0,0 +1 @@ + diff --git a/examples/tauri-sqlx-vanilla/src/main.ts b/examples/tauri-sqlx-vanilla/src/main.ts new file mode 100644 index 00000000..55ca15f2 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src/main.ts @@ -0,0 +1,167 @@ +import { invoke } from "@tauri-apps/api/core"; + +type PhaseTiming = { + name: string; + ms: number; +}; + +type QueryTiming = { + label: string; + iterations: number; + minMs: number; + p50Ms: number; + p95Ms: number; + maxMs: number; + meanMs: number; + rows: number; +}; + +type BenchReport = { + root: string; + proxyAddr: string; + coldStart: boolean; + pgdataTemplate: boolean; + rowCount: number; + startup: PhaseTiming[]; + workload: PhaseTiming[]; + queries: QueryTiming[]; + totalMs: number; + notes: string[]; +}; + +const statusEl = document.querySelector("#status"); +const formEl = document.querySelector("#profile-form"); +const rowCountEl = document.querySelector("#row-count"); +const freshRunEl = document.querySelector("#fresh-run"); +const runButtonEl = document.querySelector("#run-profile"); +const startupTotalEl = document.querySelector("#startup-total"); +const workloadTotalEl = document.querySelector("#workload-total"); +const profileRowsEl = document.querySelector("#profile-rows"); +const proxyAddrEl = document.querySelector("#proxy-addr"); +const startupModeEl = document.querySelector("#startup-mode"); +const profileRootEl = document.querySelector("#profile-root"); +const startupListEl = document.querySelector("#startup-list"); +const workloadListEl = document.querySelector("#workload-list"); +const queryTableEl = document.querySelector("#query-table"); +const notesEl = document.querySelector("#notes"); + +function sumMs(phases: PhaseTiming[]) { + return phases.reduce((total, phase) => total + phase.ms, 0); +} + +function formatMs(ms: number) { + if (!Number.isFinite(ms)) return "-"; + if (ms >= 1000) return `${(ms / 1000).toFixed(2)} s`; + return `${ms.toFixed(ms >= 10 ? 1 : 2)} ms`; +} + +function formatCount(value: number) { + return new Intl.NumberFormat().format(value); +} + +function renderPhases(container: HTMLElement | null, phases: PhaseTiming[]) { + if (!container) return; + const max = Math.max(...phases.map((phase) => phase.ms), 1); + container.replaceChildren( + ...phases.map((phase) => { + const row = document.createElement("div"); + row.className = "phase"; + + const label = document.createElement("span"); + label.textContent = phase.name; + + const bar = document.createElement("i"); + bar.style.inlineSize = `${Math.max((phase.ms / max) * 100, 2)}%`; + + const value = document.createElement("strong"); + value.textContent = formatMs(phase.ms); + + row.append(label, bar, value); + return row; + }), + ); +} + +function renderQueries(queries: QueryTiming[]) { + if (!queryTableEl) return; + queryTableEl.replaceChildren( + ...queries.map((query) => { + const row = document.createElement("tr"); + const cells = [ + query.label, + formatCount(query.iterations), + formatCount(query.rows), + formatMs(query.meanMs), + formatMs(query.p50Ms), + formatMs(query.p95Ms), + formatMs(query.maxMs), + ]; + + for (const cell of cells) { + const td = document.createElement("td"); + td.textContent = cell; + row.append(td); + } + return row; + }), + ); +} + +function renderNotes(notes: string[]) { + if (!notesEl) return; + notesEl.replaceChildren( + ...notes.map((note) => { + const item = document.createElement("p"); + item.textContent = note; + return item; + }), + ); +} + +function renderReport(report: BenchReport) { + if (startupTotalEl) startupTotalEl.textContent = formatMs(sumMs(report.startup)); + if (workloadTotalEl) workloadTotalEl.textContent = formatMs(report.totalMs); + if (profileRowsEl) profileRowsEl.textContent = formatCount(report.rowCount); + if (proxyAddrEl) proxyAddrEl.textContent = report.proxyAddr; + if (startupModeEl) { + startupModeEl.textContent = report.coldStart + ? report.pgdataTemplate + ? "cold template" + : "cold initdb" + : "warm reuse"; + } + if (profileRootEl) profileRootEl.textContent = report.root; + + renderPhases(startupListEl, report.startup); + renderPhases(workloadListEl, report.workload); + renderQueries(report.queries); + renderNotes(report.notes); +} + +async function runProfile() { + const rowCount = Number(rowCountEl?.value || 10_000); + const fresh = Boolean(freshRunEl?.checked); + + if (runButtonEl) runButtonEl.disabled = true; + if (statusEl) statusEl.textContent = "Running"; + + try { + const report = await invoke("profile_queries", { + fresh, + rowCount, + }); + renderReport(report); + if (freshRunEl) freshRunEl.checked = false; + if (statusEl) statusEl.textContent = "Complete"; + } catch (error) { + if (statusEl) statusEl.textContent = "Failed"; + renderNotes([String(error)]); + } finally { + if (runButtonEl) runButtonEl.disabled = false; + } +} + +formEl?.addEventListener("submit", (event) => { + event.preventDefault(); + runProfile(); +}); diff --git a/examples/tauri-sqlx-vanilla/src/styles.css b/examples/tauri-sqlx-vanilla/src/styles.css new file mode 100644 index 00000000..d990a1d7 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/src/styles.css @@ -0,0 +1,328 @@ +:root { + color: #171717; + background: #f4f6f2; + font-family: "IBM Plex Sans", Aptos, "Segoe UI", sans-serif; + font-size: 16px; + font-weight: 400; + line-height: 1.45; + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -webkit-text-size-adjust: 100%; +} + +* { + box-sizing: border-box; +} + +body { + margin: 0; + min-width: 320px; + min-height: 100vh; +} + +button, +input { + font: inherit; +} + +.shell { + inline-size: min(1160px, calc(100% - 32px)); + margin: 0 auto; + padding: 28px 0; +} + +.masthead, +.toolbar, +.metrics, +.grid, +.panel, +.notes { + inline-size: 100%; +} + +.masthead { + display: flex; + align-items: end; + justify-content: space-between; + gap: 20px; + margin-block-end: 18px; +} + +.eyebrow { + margin: 0 0 4px; + color: #52615b; + font-size: 0.76rem; + font-weight: 800; + letter-spacing: 0.08em; + text-transform: uppercase; +} + +h1, +h2, +p { + margin: 0; +} + +h1 { + font-size: 2rem; + line-height: 1.05; +} + +h2 { + font-size: 0.98rem; +} + +.status { + min-inline-size: 106px; + border: 1px solid #161616; + border-radius: 999px; + background: #d6ff65; + padding: 8px 14px; + text-align: center; + font-size: 0.82rem; + font-weight: 800; + text-transform: uppercase; +} + +.toolbar { + display: grid; + grid-template-columns: minmax(180px, 240px) 160px minmax(140px, 180px); + gap: 10px; + align-items: end; + margin-block-end: 16px; +} + +.field, +.check { + border: 1px solid #c9d0c7; + background: #ffffff; + min-block-size: 56px; +} + +.field { + display: grid; + gap: 2px; + padding: 8px 12px; +} + +.field span, +.check span { + color: #52615b; + font-size: 0.76rem; + font-weight: 800; + text-transform: uppercase; +} + +.field input { + inline-size: 100%; + border: 0; + outline: 0; + background: transparent; + color: #171717; + font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; + font-size: 1.1rem; +} + +.check { + display: flex; + align-items: center; + gap: 10px; + padding: 0 12px; +} + +.check input { + inline-size: 18px; + block-size: 18px; + accent-color: #1b8a5a; +} + +button { + min-block-size: 56px; + border: 1px solid #161616; + background: #171717; + color: #ffffff; + cursor: pointer; + font-weight: 850; + transition: + transform 120ms ease, + background 120ms ease; +} + +button:hover { + background: #2c3d35; +} + +button:active { + transform: translateY(1px); +} + +button:disabled { + cursor: wait; + opacity: 0.64; +} + +.metrics { + display: grid; + grid-template-columns: repeat(4, minmax(0, 1fr)); + gap: 10px; + margin-block-end: 10px; +} + +.metric, +.panel { + border: 1px solid #c9d0c7; + background: #ffffff; +} + +.metric { + display: grid; + gap: 8px; + min-block-size: 96px; + padding: 14px; +} + +.metric span, +.panel header span { + color: #52615b; + font-size: 0.74rem; + font-weight: 800; + text-transform: uppercase; +} + +.metric strong { + overflow: hidden; + font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; + font-size: 1.45rem; + line-height: 1; + text-overflow: ellipsis; + white-space: nowrap; +} + +.grid { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 10px; + margin-block-end: 10px; +} + +.panel { + min-block-size: 180px; +} + +.panel header { + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; + border-block-end: 1px solid #e0e5de; + padding: 13px 14px; +} + +.panel header span { + overflow: hidden; + max-inline-size: 58%; + text-align: end; + text-overflow: ellipsis; + white-space: nowrap; +} + +.phase-list { + display: grid; + gap: 10px; + padding: 14px; +} + +.phase { + display: grid; + grid-template-columns: minmax(130px, 1fr) minmax(90px, 1.6fr) 92px; + gap: 10px; + align-items: center; + min-block-size: 28px; +} + +.phase span { + overflow-wrap: anywhere; +} + +.phase i { + display: block; + block-size: 8px; + border-radius: 999px; + background: linear-gradient(90deg, #1b8a5a, #f16f4c); +} + +.phase strong, +td:not(:first-child) { + font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; + font-size: 0.88rem; + text-align: end; +} + +.table-wrap { + overflow-x: auto; +} + +table { + inline-size: 100%; + min-inline-size: 760px; + border-collapse: collapse; +} + +th, +td { + border-block-end: 1px solid #e0e5de; + padding: 12px 14px; + text-align: start; + vertical-align: top; +} + +th { + color: #52615b; + font-size: 0.74rem; + text-transform: uppercase; +} + +tbody tr:last-child td { + border-block-end: 0; +} + +.notes { + display: grid; + gap: 8px; + margin-block-start: 10px; + color: #52615b; + font-size: 0.92rem; +} + +.notes p { + border-inline-start: 4px solid #d6ff65; + padding-inline-start: 10px; +} + +@media (max-width: 780px) { + .masthead { + align-items: stretch; + flex-direction: column; + } + + .toolbar, + .metrics, + .grid { + grid-template-columns: 1fr; + } + + .status { + inline-size: 100%; + } + + .phase { + grid-template-columns: 1fr 86px; + } + + .phase i { + grid-column: 1 / -1; + grid-row: 2; + } +} diff --git a/examples/tauri-sqlx-vanilla/tsconfig.json b/examples/tauri-sqlx-vanilla/tsconfig.json new file mode 100644 index 00000000..75abdef2 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "module": "ESNext", + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src"] +} diff --git a/examples/tauri-sqlx-vanilla/vite.config.ts b/examples/tauri-sqlx-vanilla/vite.config.ts new file mode 100644 index 00000000..fc3fe850 --- /dev/null +++ b/examples/tauri-sqlx-vanilla/vite.config.ts @@ -0,0 +1,30 @@ +import { defineConfig } from "vite"; + +// @ts-expect-error process is a nodejs global +const host = process.env.TAURI_DEV_HOST; + +// https://vite.dev/config/ +export default defineConfig(async () => ({ + + // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build` + // + // 1. prevent Vite from obscuring rust errors + clearScreen: false, + // 2. tauri expects a fixed port, fail if that port is not available + server: { + port: 1420, + strictPort: true, + host: host || false, + hmr: host + ? { + protocol: "ws", + host, + port: 1421, + } + : undefined, + watch: { + // 3. tell Vite to ignore watching `src-tauri` + ignored: ["**/src-tauri/**"], + }, + }, +})); diff --git a/prek.toml b/prek.toml new file mode 100644 index 00000000..1abe2ed8 --- /dev/null +++ b/prek.toml @@ -0,0 +1,41 @@ +minimum_prek_version = "0.3.10" +default_install_hook_types = ["pre-commit", "commit-msg", "pre-push"] +fail_fast = true +exclude = { glob = [ + "target/**", + "examples/tauri-sqlx-vanilla/node_modules/**", + "examples/tauri-sqlx-vanilla/dist/**", + "examples/tauri-sqlx-vanilla/src-tauri/target/**", +] } + +[[repos]] +repo = "builtin" +hooks = [ + { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], stages = ["pre-commit"], types = ["text"] }, + { id = "end-of-file-fixer", stages = ["pre-commit"], types = ["text"] }, + { id = "check-toml", stages = ["pre-commit"] }, + { id = "check-yaml", stages = ["pre-commit"] }, + { id = "check-json", stages = ["pre-commit"], exclude = "(^|/)tsconfig\\.json$" }, + { id = "check-merge-conflict", stages = ["pre-commit"] }, + { id = "check-case-conflict", stages = ["pre-commit"] }, + { id = "check-illegal-windows-names", stages = ["pre-commit"] }, + { id = "detect-private-key", stages = ["pre-commit"], types = ["text"] }, + { id = "check-added-large-files", args = ["--maxkb=15000"], stages = ["pre-commit"] }, +] + +[[repos]] +repo = "https://github.com/crate-ci/committed" +rev = "v1.1.11" +hooks = [ + { id = "committed", args = ["--fixup", "--commit-file"], stages = ["commit-msg"] }, +] + +[[repos]] +repo = "local" +hooks = [ + { id = "cargo-fmt", name = "cargo fmt", language = "system", entry = "cargo fmt --check", pass_filenames = false, files = "\\.(rs|toml)$", stages = ["pre-commit"] }, + { id = "tauri-cargo-fmt", name = "Tauri cargo fmt", language = "system", entry = "cargo fmt --manifest-path examples/tauri-sqlx-vanilla/src-tauri/Cargo.toml --check", pass_filenames = false, files = "^examples/tauri-sqlx-vanilla/src-tauri/.*\\.(rs|toml)$", stages = ["pre-commit"] }, + { id = "git-diff-check", name = "git diff --check", language = "system", entry = "git diff --check", pass_filenames = false, always_run = true, stages = ["pre-push"] }, + { id = "cargo-clippy", name = "cargo clippy", language = "system", entry = "cargo clippy --all-targets --locked -- -D warnings", pass_filenames = false, always_run = true, stages = ["pre-push"] }, + { id = "cargo-test", name = "cargo test --all-targets", language = "system", entry = "cargo test --all-targets --locked -- --nocapture", pass_filenames = false, always_run = true, stages = ["pre-push"] }, +] diff --git a/scripts/check-crate-size.sh b/scripts/check-crate-size.sh new file mode 100755 index 00000000..f89e9388 --- /dev/null +++ b/scripts/check-crate-size.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env sh +set -eu + +mode="${1:---warn}" +limit_bytes="${CRATES_IO_SIZE_LIMIT_BYTES:-10485760}" +crate_file="$(find target/package -maxdepth 1 -name 'pglite-oxide-*.crate' -type f 2>/dev/null | sort | tail -n 1 || true)" + +if [ -z "$crate_file" ]; then + echo "No packaged crate found under target/package; run cargo package first." >&2 + exit 1 +fi + +size_bytes="$(wc -c < "$crate_file" | tr -d ' ')" +size_mib="$(awk "BEGIN { printf \"%.2f\", $size_bytes / 1048576 }")" +limit_mib="$(awk "BEGIN { printf \"%.2f\", $limit_bytes / 1048576 }")" + +if [ "$size_bytes" -le "$limit_bytes" ]; then + echo "crate size ok: $crate_file is ${size_mib}MiB <= ${limit_mib}MiB" + exit 0 +fi + +message="crate size warning: $crate_file is ${size_mib}MiB > ${limit_mib}MiB" +if [ "$mode" = "--enforce" ]; then + echo "$message" >&2 + exit 1 +fi + +echo "$message" >&2 +exit 0 diff --git a/scripts/install-hooks.sh b/scripts/install-hooks.sh new file mode 100755 index 00000000..91182b2e --- /dev/null +++ b/scripts/install-hooks.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env sh +set -eu + +root="$(git rev-parse --show-toplevel)" +cd "$root" + +if ! command -v prek >/dev/null 2>&1; then + cat >&2 <<'MSG' +missing required command: prek + +Install prek first, then rerun this script: + brew install prek + +Other installation methods are documented at https://prek.j178.dev/installation/ +MSG + exit 1 +fi + +hooks_path="$(git config --local --get core.hooksPath || true)" +if [ "$hooks_path" = ".githooks" ]; then + git config --local --unset core.hooksPath +fi + +prek install --prepare-hooks --overwrite +echo "Installed prek hooks from prek.toml" diff --git a/scripts/validate.sh b/scripts/validate.sh new file mode 100755 index 00000000..d0028110 --- /dev/null +++ b/scripts/validate.sh @@ -0,0 +1,80 @@ +#!/usr/bin/env sh +set -eu + +mode="${1:-pre-push}" +root="$(git rev-parse --show-toplevel 2>/dev/null || pwd)" +cd "$root" + +run() { + printf '\n==> %s\n' "$*" + "$@" +} + +require() { + if ! command -v "$1" >/dev/null 2>&1; then + echo "missing required command: $1" >&2 + exit 1 + fi +} + +run_prek() { + require prek + stage="${1:?run_prek requires a stage}" + shift + run prek run --all-files --stage "$stage" "$@" +} + +clean_package_artifacts() { + rm -f target/package/pglite-oxide-*.crate +} + +case "$mode" in + commit-msg) + require prek + run prek run --stage commit-msg --commit-msg-filename "${2:?commit-msg mode requires a message file}" + ;; + + pre-commit) + run_prek pre-commit + ;; + + pre-push) + run_prek pre-push + ;; + + ci) + require cargo + require npm + require prek + run prek validate-config prek.toml + run scripts/validate.sh pre-commit + run scripts/validate.sh pre-push + run cargo check --no-default-features --all-targets --locked + run cargo test --doc --locked + run cargo check --manifest-path examples/tauri-sqlx-vanilla/src-tauri/Cargo.toml --locked + run npm --prefix examples/tauri-sqlx-vanilla ci + run npm --prefix examples/tauri-sqlx-vanilla run build + ;; + + release) + require cargo + clean_package_artifacts + run cargo package --locked --no-verify + run scripts/check-crate-size.sh --enforce + run cargo publish --dry-run --locked + ;; + + *) + cat >&2 <<'MSG' +usage: scripts/validate.sh + +modes: + commit-msg validate a Conventional Commit message with prek + pre-commit run all pre-commit prek hooks + pre-push run all pre-push prek hooks + ci full source, test, lint, docs, and example checks + release crates.io publish dry-run and strict package size +MSG + exit 2 + ;; +esac diff --git a/src/bin/pglite_dump.rs b/src/bin/pglite_dump.rs index a76614a8..d7f42c37 100644 --- a/src/bin/pglite_dump.rs +++ b/src/bin/pglite_dump.rs @@ -1,89 +1,20 @@ use std::fs::{self, File}; -use std::io::Write; -use std::path::{Path, PathBuf}; +use std::path::{Component, Path, PathBuf}; use anyhow::{Context, Result, bail}; -use serde::Deserialize; use tar::Archive; -use xz2::read::XzDecoder; - -#[derive(Debug, Deserialize)] -struct ManifestEntry { - path: String, - start: usize, - end: usize, -} - -fn read_manifest() -> Result> { - let manifest_str = include_str!(concat!( - env!("CARGO_MANIFEST_DIR"), - "/assets/pglite_fs_manifest.json" - )); - let entries: Vec = - serde_json::from_str(manifest_str).context("failed to parse pglite_fs_manifest.json")?; - Ok(entries) -} - -fn read_bundle() -> Result> { - let bundle_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("assets/pglite.data"); - let bytes = fs::read(&bundle_path) - .with_context(|| format!("failed to read {}", bundle_path.display()))?; - Ok(bytes) -} +use zstd::stream::read::Decoder as ZstdDecoder; fn runtime_tar_path() -> PathBuf { - PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("assets/pglite-wasi.tar.xz") -} - -fn map_dest(root: &Path, manifest_path: &str) -> Result { - if let Some(rest) = manifest_path - .strip_prefix('/') - .and_then(|p| p.strip_prefix("tmp/")) - { - Ok(root.join(rest)) - } else if let Some(rest) = manifest_path.strip_prefix('/').map(|s| s.to_string()) { - Ok(root.join(rest)) - } else { - bail!("unsupported manifest path: {}", manifest_path) - } -} - -fn write_entry(root: &Path, bundle: &[u8], entry: &ManifestEntry) -> Result<()> { - let dest = map_dest(root, &entry.path)?; - if let Some(parent) = dest.parent() { - fs::create_dir_all(parent) - .with_context(|| format!("create directory {}", parent.display()))?; - } - - let start = entry.start; - let end = entry.end; - if start > end || end > bundle.len() { - bail!( - "manifest entry {} has invalid bounds {}..{} (bundle len {})", - entry.path, - start, - end, - bundle.len() - ); - } - - if start == end { - // empty file - fs::File::create(&dest).with_context(|| format!("create file {}", dest.display()))?; - } else { - let mut file = - fs::File::create(&dest).with_context(|| format!("create file {}", dest.display()))?; - file.write_all(&bundle[start..end]) - .with_context(|| format!("write file {}", dest.display()))?; - } - Ok(()) + PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("assets/pglite-wasi.tar.zst") } fn unpack_tar_archive(dest_root: &Path) -> Result<()> { let tar_path = runtime_tar_path(); let file = File::open(&tar_path).with_context(|| format!("open archive {}", tar_path.display()))?; - let decoder = XzDecoder::new(file); + let decoder = ZstdDecoder::new(file) + .with_context(|| format!("decode zstd archive {}", tar_path.display()))?; let mut archive = Archive::new(decoder); for entry in archive.entries().context("read archive entries")? { @@ -92,10 +23,8 @@ fn unpack_tar_archive(dest_root: &Path) -> Result<()> { .path() .context("read archive entry path")? .into_owned(); - let dest = match path.strip_prefix("tmp") { - Ok(rest) => dest_root.join(rest), - Err(_) => dest_root.join(path), - }; + let relative = path.strip_prefix("tmp").unwrap_or(&path); + let dest = archive_destination(dest_root, relative)?; if let Some(parent) = dest.parent() { fs::create_dir_all(parent) @@ -110,27 +39,20 @@ fn unpack_tar_archive(dest_root: &Path) -> Result<()> { Ok(()) } -fn run(dest_root: &Path) -> Result<()> { - if !PathBuf::from(env!("CARGO_MANIFEST_DIR")) - .join("assets/pglite.data") - .exists() - { - return unpack_tar_archive(dest_root); - } - - let manifest = read_manifest()?; - let bundle = read_bundle()?; - - for entry in manifest.iter() { - write_entry(dest_root, &bundle, entry) - .with_context(|| format!("extract {}", entry.path))?; +fn archive_destination(root: &Path, archive_path: &Path) -> Result { + let mut dest = root.to_path_buf(); + for component in archive_path.components() { + match component { + Component::CurDir => {} + Component::Normal(part) => dest.push(part), + _ => bail!("unsafe archive path {}", archive_path.display()), + } } - Ok(()) + Ok(dest) } fn main() -> Result<()> { let mut args = std::env::args().skip(1); let dest = args.next().unwrap_or_else(|| "./pglite-fs".to_string()); - let dest_path = PathBuf::from(dest); - run(&dest_path) + unpack_tar_archive(&PathBuf::from(dest)) } diff --git a/src/bin/pglite_manifest_sync.rs b/src/bin/pglite_manifest_sync.rs deleted file mode 100644 index 0fe03af1..00000000 --- a/src/bin/pglite_manifest_sync.rs +++ /dev/null @@ -1,55 +0,0 @@ -use std::fs; -use std::path::PathBuf; - -use anyhow::{Context, Result, anyhow}; -use regex::Regex; -use serde::Serialize; - -#[derive(Debug, Serialize)] -struct ManifestEntryOut<'a> { - path: &'a str, - start: usize, - end: usize, -} - -fn main() -> Result<()> { - let js_path = std::env::args() - .nth(1) - .unwrap_or_else(|| "./pglite.js".to_string()); - let out_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("assets/pglite_fs_manifest.json"); - - let js = fs::read_to_string(&js_path).with_context(|| format!("read {}", js_path))?; - - // Extract the JSON array passed to loadPackage({ files: [...] }) - let re = Regex::new(r#"loadPackage\(\{\s*\"files\":\s*(\[[^\]]*\])\s*,\s*\"remote_package_size\"\s*:\s*\d+\s*\}\)"#) - .expect("invalid regex"); - let caps = re - .captures(&js) - .ok_or_else(|| anyhow!("failed to locate files array in {}", js_path))?; - let files_json = caps.get(1).unwrap().as_str(); - - // Parse the array of { filename, start, end } - #[derive(serde::Deserialize)] - struct FileRec { - filename: String, - start: usize, - end: usize, - } - let files: Vec = serde_json::from_str(files_json).context("parse files array json")?; - - // Convert to our manifest format - let out: Vec = files - .iter() - .map(|f| ManifestEntryOut { - path: &f.filename, - start: f.start, - end: f.end, - }) - .collect(); - - let pretty = serde_json::to_string_pretty(&out).context("serialize manifest json")?; - fs::write(&out_path, pretty + "\n").with_context(|| format!("write {}", out_path.display()))?; - - println!("updated {} from {}", out_path.display(), js_path); - Ok(()) -} diff --git a/src/lib.rs b/src/lib.rs index a082b99e..fd06a6a2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ #![doc = include_str!("../README.md")] -#![forbid(unsafe_code)] +#![deny(unsafe_code)] mod pglite; mod protocol; @@ -15,7 +15,8 @@ pub use protocol::messages::{DatabaseError, NoticeMessage}; #[doc(hidden)] pub use pglite::{ - DebugLevel, InstallOptions, InstallOutcome, MountInfo, PglitePaths, PgliteProxy, - ensure_cluster, install_and_init, install_and_init_in, install_default, - install_extension_archive, install_extension_bytes, install_into, install_with_options, + DebugLevel, InstallOptions, InstallOutcome, MountInfo, PgDataTemplate, PgDataTemplateManifest, + PglitePaths, PgliteProxy, build_pgdata_template, ensure_cluster, install_and_init, + install_and_init_in, install_default, install_extension_archive, install_extension_bytes, + install_into, install_with_options, preload_runtime_module, }; diff --git a/src/pglite/base.rs b/src/pglite/base.rs index f9bdd664..222e7133 100644 --- a/src/pglite/base.rs +++ b/src/pglite/base.rs @@ -1,37 +1,39 @@ use std::ffi::OsStr; -use std::fs::{self, File}; -use std::io::Read; -use std::path::{Path, PathBuf}; -use std::sync::{Arc, LazyLock, OnceLock}; +use std::fs; +use std::io::{Cursor, Read, Write}; +use std::path::{Component, Path, PathBuf}; +use std::sync::{Arc, OnceLock}; -use anyhow::{Context, Result, anyhow, bail}; +use anyhow::{Context, Result, anyhow, bail, ensure}; use directories::ProjectDirs; use flate2::read::GzDecoder; -use serde::Deserialize; -use tar::Archive; +use serde::{Deserialize, Serialize}; +use sha2::{Digest, Sha256}; +use tar::{Archive, Builder}; use tracing::info; -use xz2::read::XzDecoder; +use zstd::stream::{read::Decoder as ZstdDecoder, write::Encoder as ZstdEncoder}; use super::postgres_mod::PostgresMod; use tempfile::TempDir; -#[derive(Debug, Deserialize)] -struct ManifestEntry { - path: String, - start: usize, - end: usize, -} - -static FS_MANIFEST: LazyLock> = LazyLock::new(|| { - serde_json::from_str(include_str!(concat!( - env!("CARGO_MANIFEST_DIR"), - "/assets/pglite_fs_manifest.json" - ))) - .expect("failed to parse pglite_fs_manifest.json") -}); +const RUNTIME_ARCHIVE_NAME: &str = "pglite-wasi.tar.zst"; +const EMBEDDED_RUNTIME_ARCHIVE: &[u8] = include_bytes!(concat!( + env!("CARGO_MANIFEST_DIR"), + "/assets/pglite-wasi.tar.zst" +)); +const PGDATA_TEMPLATE_ARCHIVE_NAME: &str = "pgdata-template.tar.zst"; +const EMBEDDED_PGDATA_TEMPLATE_ARCHIVE: &[u8] = include_bytes!(concat!( + env!("CARGO_MANIFEST_DIR"), + "/assets/prepopulated/pgdata-template.tar.zst" +)); +const EMBEDDED_PGDATA_TEMPLATE_MANIFEST: &[u8] = include_bytes!(concat!( + env!("CARGO_MANIFEST_DIR"), + "/assets/prepopulated/pgdata-template.json" +)); static TEMPLATE_CLUSTER: OnceLock, String>> = OnceLock::new(); +const TEMPLATE_RUNTIME_STATE_FILES: &[&str] = &["postmaster.pid", "postmaster.opts"]; #[derive(Debug)] struct TemplateCluster { @@ -39,21 +41,31 @@ struct TemplateCluster { _temp_dir: TempDir, } -pub fn load_fs_bundle() -> Result> { - if let Ok(path) = std::env::var("PGLITE_OXIDE_FS_BUNDLE") { - return std::fs::read(&path).with_context(|| format!("read bundle from {}", path)); - } - let default_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("assets/pglite.data"); - std::fs::read(&default_path) - .with_context(|| format!("read bundle from {}", default_path.display())) -} - #[derive(Debug, Clone)] pub struct PglitePaths { pub pgroot: PathBuf, pub pgdata: PathBuf, } +/// Files generated by [`build_pgdata_template`]. +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct PgDataTemplate { + pub archive_path: PathBuf, + pub manifest_path: PathBuf, +} + +/// Manifest that binds a PGDATA template to the PGlite WASI runtime it was +/// created with. +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] +#[serde(rename_all = "camelCase")] +pub struct PgDataTemplateManifest { + pub postgres_version: String, + pub wasm_sha256: String, + pub archive_sha256: String, + #[serde(default)] + pub architecture_independent: bool, +} + impl PglitePaths { pub fn new(app_qual: (&str, &str, &str)) -> Result { let pd = ProjectDirs::from(app_qual.0, app_qual.1, app_qual.2) @@ -125,24 +137,10 @@ fn ensure_runtime(paths: &PglitePaths) -> Result { fs::create_dir_all(&paths.pgroot).context("create pgroot dir")?; } - if install_runtime_from_tar(paths)? { - locate_runtime_module(paths).ok_or_else(|| { - anyhow!( - "runtime missing: could not locate module under {} after tar install", - paths.pgroot.display() - ) - })?; - return Ok(true); - } - - info!("installing embedded filesystem bundle"); - let bundle = load_fs_bundle()?; - install_fs_bundle(paths, &bundle)?; - install_wasm_binary(paths)?; - + install_runtime_from_tar(paths)?; locate_runtime_module(paths).ok_or_else(|| { anyhow!( - "runtime missing: could not locate module under {} after install", + "runtime missing: could not locate module under {} after archive install", paths.pgroot.display() ) })?; @@ -150,120 +148,80 @@ fn ensure_runtime(paths: &PglitePaths) -> Result { Ok(true) } -fn install_fs_bundle(paths: &PglitePaths, bundle: &[u8]) -> Result<()> { - for entry in FS_MANIFEST.iter() { - let dest = manifest_entry_dest(paths, &entry.path) - .with_context(|| format!("unsupported manifest path {}", entry.path))?; - - if let Some(parent) = dest.parent() { - fs::create_dir_all(parent) - .with_context(|| format!("create directory {}", parent.display()))?; - } - - let start = entry.start; - let end = entry.end; - if start > end || end > bundle.len() { - bail!( - "manifest entry {} has invalid bounds {}..{} (bundle len {})", - entry.path, - start, - end, - bundle.len() - ); - } - - if start == end { - fs::File::create(&dest).with_context(|| format!("create file {}", dest.display()))?; - } else { - fs::write(&dest, &bundle[start..end]) - .with_context(|| format!("write {}", dest.display()))?; - } - } - - let password_path = paths.pgroot.join("pglite/password"); - if password_path.exists() { - fs::write(&password_path, b"postgres\n") - .with_context(|| format!("overwrite {}", password_path.display()))?; - } - - Ok(()) -} - fn runtime_tar_path() -> Option { - if let Ok(path) = std::env::var("PGLITE_OXIDE_RUNTIME_TAR") { + if let Ok(path) = std::env::var("PGLITE_OXIDE_RUNTIME_ARCHIVE") + .or_else(|_| std::env::var("PGLITE_OXIDE_RUNTIME_TAR")) + { let candidate = PathBuf::from(path); if candidate.exists() { return Some(candidate); } } - let tar_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("assets/pglite-wasi.tar.xz"); - if tar_path.exists() { - return Some(tar_path); - } - None } fn install_runtime_from_tar(paths: &PglitePaths) -> Result { - let Some(tar_path) = runtime_tar_path() else { - return Ok(false); - }; - - info!("installing runtime from tar archive {}", tar_path.display()); - let file = File::open(&tar_path) - .with_context(|| format!("open runtime archive {}", tar_path.display()))?; - - let mut decoder = XzDecoder::new(file); - let mut archive = Archive::new(&mut decoder); - let unpack_target = paths - .pgroot - .parent() - .map(|p| p.to_path_buf()) - .unwrap_or_else(|| paths.pgroot.clone()); - archive.unpack(&unpack_target).with_context(|| { - format!( - "unpack runtime archive {} into {}", - tar_path.display(), - unpack_target.display() - ) - })?; - - Ok(true) -} - -fn manifest_entry_dest(paths: &PglitePaths, manifest_path: &str) -> Result { - if let Some(rest) = manifest_path.strip_prefix("/tmp/") { - Ok(paths.pgroot.join(rest)) - } else if let Some(rest) = manifest_path.strip_prefix('/') { - Ok(paths.pgroot.join(rest)) + if let Some(tar_path) = runtime_tar_path() { + info!("installing runtime from tar archive {}", tar_path.display()); + let file = fs::File::open(&tar_path) + .with_context(|| format!("open runtime archive {}", tar_path.display()))?; + unpack_runtime_archive_reader(file, &tar_path, &paths.pgroot)?; } else { - Err(anyhow!( - "manifest path {} has unknown prefix", - manifest_path - )) + info!("installing embedded runtime archive"); + unpack_runtime_archive_reader( + Cursor::new(EMBEDDED_RUNTIME_ARCHIVE), + Path::new(RUNTIME_ARCHIVE_NAME), + &paths.pgroot, + )?; } -} -fn install_wasm_binary(paths: &PglitePaths) -> Result<()> { - let src = wasm_asset_path(); - if !src.exists() { - bail!("missing wasm asset at {}", src.display()); - } + Ok(true) +} - let dest = paths.pgroot.join("pglite/bin/pglite.wasi"); - if let Some(parent) = dest.parent() { - fs::create_dir_all(parent) - .with_context(|| format!("create directory {}", parent.display()))?; +fn unpack_runtime_archive_reader( + reader: R, + archive_path: &Path, + destination: &Path, +) -> Result<()> { + let decoder = ZstdDecoder::new(reader) + .with_context(|| format!("decode zstd runtime archive {}", archive_path.display()))?; + let mut archive = Archive::new(decoder); + + for entry in archive + .entries() + .with_context(|| format!("read entries from {}", archive_path.display()))? + { + let mut entry = + entry.with_context(|| format!("read entry from {}", archive_path.display()))?; + let path = entry + .path() + .with_context(|| format!("read entry path from {}", archive_path.display()))? + .into_owned(); + let relative = path.strip_prefix("tmp").unwrap_or(&path); + let dest = archive_destination(destination, relative)?; + if let Some(parent) = dest.parent() { + fs::create_dir_all(parent) + .with_context(|| format!("create directory {}", parent.display()))?; + } + entry + .unpack(&dest) + .with_context(|| format!("unpack {} to {}", path.display(), dest.display()))?; } - fs::copy(&src, &dest) - .with_context(|| format!("copy {} to {}", src.display(), dest.display()))?; Ok(()) } -fn wasm_asset_path() -> PathBuf { - PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("assets/pglite.wasi") +fn archive_destination(root: &Path, archive_path: &Path) -> Result { + let mut dest = root.to_path_buf(); + for component in archive_path.components() { + match component { + Component::CurDir => {} + Component::Normal(part) => dest.push(part), + _ => bail!("unsafe archive path {}", archive_path.display()), + } + } + Ok(dest) } fn install_extension_reader(paths: &PglitePaths, reader: R) -> Result<()> { @@ -286,6 +244,227 @@ pub fn install_extension_bytes(paths: &PglitePaths, bytes: &[u8]) -> Result<()> install_extension_reader(paths, std::io::Cursor::new(bytes)) } +pub fn build_pgdata_template(output_dir: impl AsRef) -> Result { + let output_dir = output_dir.as_ref(); + fs::create_dir_all(output_dir) + .with_context(|| format!("create template output dir {}", output_dir.display()))?; + + let work_dir = output_dir.join(".build"); + if work_dir.exists() { + fs::remove_dir_all(&work_dir) + .with_context(|| format!("remove stale template build dir {}", work_dir.display()))?; + } + + let paths = PglitePaths::with_root(&work_dir); + let _outcome = install_into_internal_with_template(paths.clone(), false)?; + ensure_cluster_with_template(&paths, false)?; + + let (module_path, _) = locate_runtime_module(&paths).ok_or_else(|| { + anyhow!( + "runtime missing: could not locate module under {}", + paths.pgroot.display() + ) + })?; + let postgres_version = fs::read_to_string(paths.pgdata.join("PG_VERSION")) + .context("read generated template PG_VERSION")? + .trim() + .to_string(); + + let archive_path = output_dir.join(PGDATA_TEMPLATE_ARCHIVE_NAME); + write_pgdata_template_archive(&paths.pgdata, &archive_path)?; + + let manifest = PgDataTemplateManifest { + postgres_version, + wasm_sha256: sha256_file(&module_path)?, + archive_sha256: sha256_file(&archive_path)?, + architecture_independent: true, + }; + let manifest_path = output_dir.join("pgdata-template.json"); + fs::write(&manifest_path, serde_json::to_vec_pretty(&manifest)?) + .with_context(|| format!("write template manifest {}", manifest_path.display()))?; + + fs::remove_dir_all(&work_dir) + .with_context(|| format!("remove template build dir {}", work_dir.display()))?; + Ok(PgDataTemplate { + archive_path, + manifest_path, + }) +} + +fn try_install_embedded_pgdata_template(paths: &PglitePaths, module_path: &Path) -> Result { + if paths.marker_cluster().exists() { + return Ok(false); + } + + let manifest: PgDataTemplateManifest = + serde_json::from_slice(EMBEDDED_PGDATA_TEMPLATE_MANIFEST) + .context("parse embedded PGDATA template manifest")?; + ensure!( + manifest.architecture_independent, + "embedded PGDATA template manifest must set architectureIndependent=true" + ); + + let actual_wasm = sha256_file(module_path)?; + ensure!( + actual_wasm.eq_ignore_ascii_case(&manifest.wasm_sha256), + "embedded PGDATA template wasm hash mismatch: manifest={} actual={actual_wasm}", + manifest.wasm_sha256 + ); + + let actual_archive = sha256_hex(EMBEDDED_PGDATA_TEMPLATE_ARCHIVE); + ensure!( + actual_archive.eq_ignore_ascii_case(&manifest.archive_sha256), + "embedded PGDATA template archive hash mismatch: manifest={} actual={actual_archive}", + manifest.archive_sha256 + ); + + let staging = paths.pgdata.with_file_name(format!( + ".pgdata-template-{}-{}", + std::process::id(), + std::time::SystemTime::now() + .duration_since(std::time::UNIX_EPOCH) + .map(|duration| duration.as_nanos()) + .unwrap_or_default() + )); + if staging.exists() { + fs::remove_dir_all(&staging) + .with_context(|| format!("remove stale template staging {}", staging.display()))?; + } + fs::create_dir_all(&staging) + .with_context(|| format!("create template staging {}", staging.display()))?; + + if let Err(err) = unpack_pgdata_template_archive(EMBEDDED_PGDATA_TEMPLATE_ARCHIVE, &staging) { + let _ = fs::remove_dir_all(&staging); + return Err(err); + } + remove_template_runtime_state(&staging)?; + + let pg_version = fs::read_to_string(staging.join("PG_VERSION")) + .with_context(|| format!("read {}", staging.join("PG_VERSION").display()))?; + ensure!( + pg_version.trim() == manifest.postgres_version.trim(), + "embedded PGDATA template postgres version mismatch: manifest={} actual={}", + manifest.postgres_version, + pg_version.trim() + ); + ensure!( + staging.join("global").join("pg_control").exists(), + "embedded PGDATA template did not contain global/pg_control at archive root" + ); + + if let Some(parent) = paths.pgdata.parent() { + fs::create_dir_all(parent) + .with_context(|| format!("create pgdata parent {}", parent.display()))?; + } + if paths.pgdata.exists() { + fs::remove_dir_all(&paths.pgdata) + .with_context(|| format!("remove existing pgdata {}", paths.pgdata.display()))?; + } + fs::rename(&staging, &paths.pgdata).with_context(|| { + format!( + "promote PGDATA template {} -> {}", + staging.display(), + paths.pgdata.display() + ) + })?; + Ok(true) +} + +fn unpack_pgdata_template_archive(bytes: &[u8], destination: &Path) -> Result<()> { + let decoder = ZstdDecoder::new(Cursor::new(bytes)).context("decode PGDATA template archive")?; + let mut archive = Archive::new(decoder); + for entry in archive + .entries() + .context("read entries from PGDATA template archive")? + { + let mut entry = entry.context("read PGDATA template archive entry")?; + let path = entry + .path() + .context("read PGDATA template archive entry path")? + .into_owned(); + let dest = archive_destination(destination, &path)?; + if let Some(parent) = dest.parent() { + fs::create_dir_all(parent) + .with_context(|| format!("create directory {}", parent.display()))?; + } + entry + .unpack(&dest) + .with_context(|| format!("unpack PGDATA template {}", path.display()))?; + } + Ok(()) +} + +fn write_pgdata_template_archive(pgdata: &Path, archive_path: &Path) -> Result<()> { + let file = fs::File::create(archive_path) + .with_context(|| format!("create template archive {}", archive_path.display()))?; + let mut encoder = ZstdEncoder::new(file, 19) + .with_context(|| format!("create zstd encoder for {}", archive_path.display()))?; + { + let mut builder = Builder::new(&mut encoder); + append_pgdata_template_dir(&mut builder, pgdata, Path::new(""))?; + builder + .finish() + .with_context(|| format!("finish tar archive {}", archive_path.display()))?; + } + encoder + .finish() + .with_context(|| format!("finish zstd archive {}", archive_path.display()))?; + Ok(()) +} + +fn append_pgdata_template_dir( + builder: &mut Builder, + source: &Path, + archive_prefix: &Path, +) -> Result<()> { + for entry in + fs::read_dir(source).with_context(|| format!("read directory {}", source.display()))? + { + let entry = entry.with_context(|| format!("read entry under {}", source.display()))?; + let file_name = entry.file_name(); + if should_skip_template_entry(&file_name) { + continue; + } + let source_path = entry.path(); + let archive_path = archive_prefix.join(&file_name); + let file_type = entry + .file_type() + .with_context(|| format!("stat {}", source_path.display()))?; + if file_type.is_dir() { + builder + .append_dir(&archive_path, &source_path) + .with_context(|| format!("append directory {}", archive_path.display()))?; + append_pgdata_template_dir(builder, &source_path, &archive_path)?; + } else if file_type.is_file() { + builder + .append_path_with_name(&source_path, &archive_path) + .with_context(|| format!("append file {}", archive_path.display()))?; + } + } + Ok(()) +} + +fn remove_template_runtime_state(pgdata: &Path) -> Result<()> { + for name in TEMPLATE_RUNTIME_STATE_FILES { + let path = pgdata.join(name); + if path.exists() { + fs::remove_file(&path).with_context(|| format!("remove {}", path.display()))?; + } + } + Ok(()) +} + +fn sha256_file(path: &Path) -> Result { + let bytes = fs::read(path).with_context(|| format!("read {}", path.display()))?; + Ok(sha256_hex(&bytes)) +} + +fn sha256_hex(bytes: &[u8]) -> String { + let mut hasher = Sha256::new(); + hasher.update(bytes); + format!("{:x}", hasher.finalize()) +} + fn ensure_pgdata(paths: &PglitePaths) -> Result<()> { if !paths.pgdata.exists() { fs::create_dir_all(&paths.pgdata).with_context(|| { @@ -299,17 +478,43 @@ fn ensure_pgdata(paths: &PglitePaths) -> Result<()> { } pub fn ensure_cluster(paths: &PglitePaths) -> Result<()> { + ensure_cluster_with_template(paths, true) +} + +fn ensure_cluster_with_template(paths: &PglitePaths, use_template: bool) -> Result<()> { if paths.marker_cluster().exists() { return Ok(()); } ensure_runtime(paths)?; + if use_template { + let (module_path, _) = locate_runtime_module(paths).ok_or_else(|| { + anyhow!( + "runtime missing: could not locate module under {} after install", + paths.pgroot.display() + ) + })?; + if try_install_embedded_pgdata_template(paths, &module_path)? { + return Ok(()); + } + } ensure_pgdata(paths)?; let mut pg = PostgresMod::new(paths.clone())?; pg.ensure_cluster() } +pub fn preload_runtime_module(paths: &PglitePaths) -> Result<()> { + ensure_runtime(paths)?; + let (module_path, _) = locate_runtime_module(paths).ok_or_else(|| { + anyhow!( + "runtime missing: could not locate module under {}", + paths.pgroot.display() + ) + })?; + PostgresMod::preload_module(&module_path) +} + #[derive(Debug)] pub struct InstallOutcome { pub paths: PglitePaths, @@ -377,7 +582,23 @@ pub(crate) fn install_temporary_from_template() -> Result<(TempDir, InstallOutco } fn install_into_internal(paths: PglitePaths) -> Result { + install_into_internal_with_template(paths, true) +} + +fn install_into_internal_with_template( + paths: PglitePaths, + use_template: bool, +) -> Result { let unpacked_runtime = ensure_runtime(&paths)?; + if use_template && !paths.marker_cluster().exists() { + let (module_path, _) = locate_runtime_module(&paths).ok_or_else(|| { + anyhow!( + "runtime missing: could not locate module under {} after install", + paths.pgroot.display() + ) + })?; + try_install_embedded_pgdata_template(&paths, &module_path)?; + } ensure_pgdata(&paths)?; Ok(InstallOutcome { paths, @@ -411,9 +632,10 @@ pub fn install_and_init_in>(root: P) -> Result { pub fn install_with_options(paths: PglitePaths, options: InstallOptions) -> Result { let unpacked_runtime = ensure_runtime(&paths)?; - ensure_pgdata(&paths)?; if options.ensure_cluster && !paths.marker_cluster().exists() { ensure_cluster(&paths)?; + } else { + ensure_pgdata(&paths)?; } Ok(MountInfo { mount: paths.pgroot.clone(), @@ -480,7 +702,7 @@ fn copy_dir_filtered(src: &Path, dest: &Path) -> Result<()> { fn should_skip_template_entry(file_name: &OsStr) -> bool { let name = file_name.to_string_lossy(); - name.starts_with(".s.PGSQL.") || name == "postmaster.pid" + name.starts_with(".s.PGSQL.") || TEMPLATE_RUNTIME_STATE_FILES.contains(&name.as_ref()) } #[cfg(unix)] @@ -528,6 +750,7 @@ mod tests { fs::create_dir_all(&pgdata)?; fs::write(pgdata.join("PG_VERSION"), b"17\n")?; fs::write(pgdata.join("postmaster.pid"), b"stale pid")?; + fs::write(pgdata.join("postmaster.opts"), b"stale opts")?; fs::write(source.path().join(".s.PGSQL.5432"), b"socket")?; fs::write(source.path().join(".s.PGSQL.5432.lock"), b"lock")?; @@ -536,8 +759,32 @@ mod tests { assert!(dest.path().join("tmp/pglite/base/PG_VERSION").exists()); assert!(!dest.path().join("tmp/pglite/base/postmaster.pid").exists()); + assert!(!dest.path().join("tmp/pglite/base/postmaster.opts").exists()); assert!(!dest.path().join(".s.PGSQL.5432").exists()); assert!(!dest.path().join(".s.PGSQL.5432.lock").exists()); Ok(()) } + + #[test] + fn embedded_pgdata_template_installs_valid_cluster() -> Result<()> { + let temp_dir = TempDir::new()?; + let paths = PglitePaths::with_root(temp_dir.path()); + ensure_runtime(&paths)?; + + let (module_path, _) = + locate_runtime_module(&paths).context("runtime module should be installed")?; + assert!(try_install_embedded_pgdata_template(&paths, &module_path)?); + + assert!(paths.pgdata.join("PG_VERSION").exists()); + assert!(paths.pgdata.join("global/pg_control").exists()); + assert!(!paths.pgdata.join("postmaster.pid").exists()); + Ok(()) + } + + #[test] + fn archive_destination_rejects_parent_components() { + let err = archive_destination(Path::new("/tmp/root"), Path::new("../escape")) + .expect_err("parent components must be rejected"); + assert!(err.to_string().contains("unsafe archive path")); + } } diff --git a/src/pglite/mod.rs b/src/pglite/mod.rs index d1893a76..80ee3e91 100644 --- a/src/pglite/mod.rs +++ b/src/pglite/mod.rs @@ -12,9 +12,10 @@ pub(crate) mod transport; pub(crate) mod types; pub use base::{ - InstallOptions, InstallOutcome, MountInfo, PglitePaths, ensure_cluster, install_and_init, - install_and_init_in, install_default, install_extension_archive, install_extension_bytes, - install_into, install_with_options, + InstallOptions, InstallOutcome, MountInfo, PgDataTemplate, PgDataTemplateManifest, PglitePaths, + build_pgdata_template, ensure_cluster, install_and_init, install_and_init_in, install_default, + install_extension_archive, install_extension_bytes, install_into, install_with_options, + preload_runtime_module, }; pub use builder::PgliteBuilder; pub use client::{GlobalListenerHandle, ListenerHandle, Pglite, Transaction}; diff --git a/src/pglite/postgres_mod.rs b/src/pglite/postgres_mod.rs index 68849a79..0a567657 100644 --- a/src/pglite/postgres_mod.rs +++ b/src/pglite/postgres_mod.rs @@ -1,11 +1,10 @@ use anyhow::{Context, Result, anyhow, bail, ensure}; +use directories::ProjectDirs; use getrandom::fill as fill_random; -use std::collections::HashMap; -use std::collections::hash_map::DefaultHasher; +use sha2::{Digest, Sha256}; use std::fmt; use std::fs; -use std::hash::{Hash, Hasher}; -use std::path::Path; +use std::path::{Path, PathBuf}; use std::sync::{LazyLock, Mutex}; use tracing::warn; use wasmtime::OptLevel; @@ -19,6 +18,8 @@ use super::base::PglitePaths; const WASM_PREFIX: &str = "/tmp/pglite"; const PGDATA_DIR: &str = "/tmp/pglite/base"; +const WASMTIME_CACHE_VERSION: &str = "wasmtime-44"; +const WASMTIME_CONFIG_ID: &str = "opt-none-wasi-p1-v1"; pub struct PostgresMod { _engine: Engine, @@ -44,14 +45,8 @@ struct State { } static ENGINE: LazyLock = LazyLock::new(build_engine); -static MODULE_CACHE: LazyLock>> = - LazyLock::new(|| Mutex::new(HashMap::new())); - -#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] -struct ModuleCacheKey { - len: usize, - hash: u64, -} +static MODULE_CACHE: LazyLock>> = + LazyLock::new(|| Mutex::new(std::collections::HashMap::new())); fn with_wasmtime_context( result: std::result::Result, @@ -78,13 +73,12 @@ fn build_engine() -> Engine { Engine::new(&config).expect("failed to create Wasmtime engine") } -fn module_cache_key(bytes: &[u8]) -> ModuleCacheKey { - let mut hasher = DefaultHasher::new(); - bytes.hash(&mut hasher); - ModuleCacheKey { - len: bytes.len(), - hash: hasher.finish(), - } +fn module_cache_key(bytes: &[u8]) -> String { + let mut hasher = Sha256::new(); + hasher.update(bytes); + let wasm_sha256 = format!("{:x}", hasher.finalize()); + let target = format!("{}-{}", std::env::consts::OS, std::env::consts::ARCH); + format!("{WASMTIME_CACHE_VERSION}-{target}-{WASMTIME_CONFIG_ID}-{wasm_sha256}") } fn load_module(module_path: &Path) -> Result<(Engine, Module)> { @@ -102,10 +96,14 @@ fn load_module(module_path: &Path) -> Result<(Engine, Module)> { return Ok((engine, module)); } - let module = with_wasmtime_context( - Module::from_binary(&engine, &bytes), - format!("failed to compile {}", module_path.display()), - )?; + let module = match load_serialized_module(&engine, &key) { + Ok(Some(module)) => module, + Ok(None) => compile_and_cache_module(&engine, module_path, &bytes, &key)?, + Err(err) => { + warn!("failed to read compiled module cache: {err:#}"); + compile_module(&engine, module_path, &bytes)? + } + }; MODULE_CACHE .lock() .map_err(|err| anyhow!("module cache lock poisoned: {err}"))? @@ -114,6 +112,93 @@ fn load_module(module_path: &Path) -> Result<(Engine, Module)> { Ok((engine, module)) } +fn load_serialized_module(engine: &Engine, key: &str) -> Result> { + let Some(cache_path) = serialized_module_cache_path(key) else { + return Ok(None); + }; + if !cache_path.exists() { + return Ok(None); + } + + match deserialize_trusted_module_cache_file(engine, &cache_path) { + Ok(module) => Ok(Some(module)), + Err(err) => { + warn!( + "ignoring invalid compiled module cache {}: {err}", + cache_path.display() + ); + let _ = fs::remove_file(&cache_path); + Ok(None) + } + } +} + +#[allow(unsafe_code)] +fn deserialize_trusted_module_cache_file( + engine: &Engine, + cache_path: &Path, +) -> wasmtime::Result { + // SAFETY: Wasmtime compiled modules are only deserialized from this crate's + // private cache directory, and the file name is keyed by the runtime WASM + // SHA-256, Wasmtime major version, target, and config id. Corrupt or stale + // files are discarded and rebuilt by the caller. + unsafe { Module::deserialize_file(engine, cache_path) } +} + +fn compile_and_cache_module( + engine: &Engine, + module_path: &Path, + bytes: &[u8], + key: &str, +) -> Result { + let module = compile_module(engine, module_path, bytes)?; + let Some(cache_path) = serialized_module_cache_path(key) else { + return Ok(module); + }; + + if let Err(err) = write_serialized_module(&module, &cache_path) { + warn!( + "failed to write compiled module cache {}: {err:#}", + cache_path.display() + ); + } + Ok(module) +} + +fn compile_module(engine: &Engine, module_path: &Path, bytes: &[u8]) -> Result { + with_wasmtime_context( + Module::from_binary(engine, bytes), + format!("failed to compile {}", module_path.display()), + ) +} + +fn serialized_module_cache_path(key: &str) -> Option { + ProjectDirs::from("dev", "pglite-oxide", "pglite-oxide").map(|dirs| { + dirs.cache_dir() + .join("cwasm") + .join(format!("pglite-{key}.cwasm")) + }) +} + +fn write_serialized_module(module: &Module, cache_path: &Path) -> Result<()> { + if let Some(parent) = cache_path.parent() { + fs::create_dir_all(parent) + .with_context(|| format!("create module cache dir {}", parent.display()))?; + } + let bytes = with_wasmtime_context(module.serialize(), "serialize compiled pglite module")?; + let tmp_path = cache_path.with_extension("cwasm.tmp"); + fs::write(&tmp_path, bytes) + .with_context(|| format!("write compiled module cache {}", tmp_path.display()))?; + fs::rename(&tmp_path, cache_path).with_context(|| { + format!( + "promote compiled module cache {} -> {}", + tmp_path.display(), + cache_path.display() + ) + })?; + Ok(()) +} + struct Exports { pgl_initdb: TypedFunc<(), i32>, pgl_backend: TypedFunc<(), ()>, @@ -127,6 +212,11 @@ struct Exports { } impl PostgresMod { + pub(crate) fn preload_module(module_path: &Path) -> Result<()> { + let _ = load_module(module_path)?; + Ok(()) + } + pub fn new(paths: PglitePaths) -> Result { let module_path = paths.pgroot.join("pglite/bin/pglite.wasi"); diff --git a/src/pglite/proxy.rs b/src/pglite/proxy.rs index 9883c831..bd969d9a 100644 --- a/src/pglite/proxy.rs +++ b/src/pglite/proxy.rs @@ -26,7 +26,7 @@ const MAX_FRONTEND_MESSAGE: usize = 64 * 1024 * 1024; /// /// The proxy intentionally runs each accepted connection on one blocking thread /// and does not call Wasmtime from an async runtime. That avoids the nested -/// runtime panic that affected the old Tokio-based example. +/// runtime panic that can happen when an async wrapper blocks inside Wasmtime. #[derive(Debug, Clone)] pub struct PgliteProxy { root: Arc, diff --git a/src/pglite/server.rs b/src/pglite/server.rs index c2a6c9bb..7b6a05bf 100644 --- a/src/pglite/server.rs +++ b/src/pglite/server.rs @@ -82,7 +82,7 @@ impl PgliteServer { let port = parse_unix_socket_port(path).unwrap_or(5432); format!( "postgresql://postgres@/template1?host={}&port={}&sslmode=disable", - host.display(), + percent_encode_query_value(&host.display().to_string()), port ) } @@ -317,3 +317,32 @@ fn parse_unix_socket_port(path: &Path) -> Option { let name = path.file_name()?.to_str()?; name.strip_prefix(".s.PGSQL.")?.parse().ok() } + +#[cfg(unix)] +fn percent_encode_query_value(value: &str) -> String { + let mut encoded = String::with_capacity(value.len()); + for byte in value.bytes() { + if matches!( + byte, + b'A'..=b'Z' | b'a'..=b'z' | b'0'..=b'9' | b'-' | b'.' | b'_' | b'~' | b'/' + ) { + encoded.push(byte as char); + } else { + encoded.push_str(&format!("%{byte:02X}")); + } + } + encoded +} + +#[cfg(all(test, unix))] +mod tests { + use super::percent_encode_query_value; + + #[test] + fn unix_socket_uri_host_is_query_encoded() { + assert_eq!( + percent_encode_query_value("/tmp/Application Support/pglite"), + "/tmp/Application%20Support/pglite" + ); + } +}