diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28096056..949bc02b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: # Install pnpm at the exact version pinned in package.json's # `packageManager` field so local and CI environments match. - name: Install pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@f40ffcd9367d9f12939873eb1018b921a783ffaa # v4 with: version: 11.8.0 run_install: false @@ -69,7 +69,7 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable # Tauri v2 on Linux links against WebKit2GTK, GTK, libsoup and related # system libraries. The build-script crates (glib-sys, gtk-sys, @@ -100,7 +100,7 @@ jobs: run: sudo apt-get install -y sccache mold clang - name: Cache cargo - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@e9d7b9f1e587218970671bac74e5511ed9506e6a # v2 with: workspaces: apps/desktop/src-tauri @@ -124,10 +124,10 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable - name: Cache cargo - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@e9d7b9f1e587218970671bac74e5511ed9506e6a # v2 with: workspaces: apps/desktop/src-tauri key: windows @@ -165,7 +165,7 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable with: targets: ${{ matrix.target }} @@ -180,7 +180,7 @@ jobs: echo "CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=$TOOLCHAIN/aarch64-linux-android21-clang" >> "$GITHUB_ENV" - name: Cache cargo - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@e9d7b9f1e587218970671bac74e5511ed9506e6a # v2 with: workspaces: apps/desktop/src-tauri key: ${{ matrix.target }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9a787e9d..5afcaeeb 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,7 +46,7 @@ jobs: uses: actions/checkout@v4 - name: Install pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@f40ffcd9367d9f12939873eb1018b921a783ffaa # v4 with: version: 11.8.0 run_install: false @@ -58,7 +58,7 @@ jobs: cache: pnpm - name: Install Rust stable - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable - name: Install Tauri Linux system dependencies run: | @@ -93,7 +93,7 @@ jobs: - name: Build (Rust only) if: matrix.language == 'rust' - run: cargo build --manifest-path apps/desktop/src-tauri/Cargo.toml --lib + run: cargo build --locked --manifest-path apps/desktop/src-tauri/Cargo.toml --lib - name: Perform CodeQL analysis uses: github/codeql-action/analyze@v4 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 78e77859..73463af2 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -17,8 +17,10 @@ on: - cron: "0 2 * * *" workflow_dispatch: +# Least privilege: `check` only reads; the write grants live on the two jobs +# that publish the rolling prerelease. permissions: - contents: write + contents: read jobs: # ───────────────────────────── Check for changes ──────────────────────── @@ -59,6 +61,9 @@ jobs: # ───────────────────────────── Desktop (Linux / macOS / Windows) ──────── desktop: name: ${{ matrix.label }} + # tauri-action creates/overwrites the nightly prerelease. + permissions: + contents: write needs: check if: needs.check.outputs.should-build == 'true' strategy: @@ -86,7 +91,7 @@ jobs: ref: main - name: Install pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@f40ffcd9367d9f12939873eb1018b921a783ffaa # v4 with: version: 11.8.0 run_install: false @@ -98,7 +103,7 @@ jobs: cache: pnpm - name: Install Rust stable - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable with: targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} @@ -123,7 +128,7 @@ jobs: patchelf - name: Cache cargo - uses: swatinem/rust-cache@v2 + uses: swatinem/rust-cache@e9d7b9f1e587218970671bac74e5511ed9506e6a # v2 with: workspaces: apps/desktop/src-tauri @@ -131,7 +136,7 @@ jobs: run: pnpm install --frozen-lockfile - name: Build and publish - uses: tauri-apps/tauri-action@v0.6.2 + uses: tauri-apps/tauri-action@1ddc7b49b13c3038297360482fcb3e058764d7c9 # v0.6.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} @@ -178,6 +183,9 @@ jobs: name: Android needs: check if: needs.check.outputs.should-build == 'true' && vars.ANDROID_RELEASE_ENABLED == 'true' + # Uploads the APK to the nightly prerelease via `gh release upload`. + permissions: + contents: write runs-on: ubuntu-latest steps: @@ -187,7 +195,7 @@ jobs: ref: main - name: Install pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@f40ffcd9367d9f12939873eb1018b921a783ffaa # v4 with: version: 11.8.0 run_install: false @@ -199,7 +207,7 @@ jobs: cache: pnpm - name: Install Rust stable - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable with: targets: aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android @@ -239,7 +247,7 @@ jobs: done - name: Cache cargo - uses: swatinem/rust-cache@v2 + uses: swatinem/rust-cache@e9d7b9f1e587218970671bac74e5511ed9506e6a # v2 with: workspaces: apps/desktop/src-tauri key: android diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a8e27c8..515b716c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,9 +30,10 @@ on: workflow_dispatch: # `contents: write` is needed by tauri-action to create the GitHub Release and -# by the Android job to `gh release upload` assets to it. +# by the Android job to `gh release upload` assets to it — so it is granted on +# those two jobs, not workflow-wide. permissions: - contents: write + contents: read jobs: # ───────────────────────────── Desktop (Linux / macOS / Windows) ──────── @@ -41,6 +42,9 @@ jobs: # only uploads workflow artifacts (`tagName` is empty so no release is made). desktop: name: ${{ matrix.label }} + # tauri-action drafts the release and uploads bundles on tag pushes. + permissions: + contents: write strategy: fail-fast: false matrix: @@ -71,7 +75,7 @@ jobs: run: node scripts/version.mjs --check --tag "${{ github.ref_name }}" - name: Install pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@f40ffcd9367d9f12939873eb1018b921a783ffaa # v4 with: version: 11.8.0 run_install: false @@ -83,7 +87,7 @@ jobs: cache: pnpm - name: Install Rust stable - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable with: # macOS builds target both architectures; other platforms build natively. targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} @@ -109,7 +113,7 @@ jobs: patchelf - name: Cache cargo - uses: swatinem/rust-cache@v2 + uses: swatinem/rust-cache@e9d7b9f1e587218970671bac74e5511ed9506e6a # v2 with: workspaces: apps/desktop/src-tauri @@ -120,7 +124,7 @@ jobs: # Pinned to v0.6.2 (released 2026-03-14). The @v1 major alias does not # resolve in GitHub Actions (tauri-apps/tauri-action#1311), so we pin to # an explicit, vetted tag instead of a floating major version. - uses: tauri-apps/tauri-action@v0.6.2 + uses: tauri-apps/tauri-action@1ddc7b49b13c3038297360482fcb3e058764d7c9 # v0.6.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Signs the updater artifacts. The app only accepts an update signed @@ -200,6 +204,9 @@ jobs: # point building an unsigned release bundle for distribution, and failing # loudly here is better than shipping an unsigned artifact by accident. if: ${{ vars.ANDROID_RELEASE_ENABLED == 'true' }} + # Uploads the APK to the release via `gh release upload`. + permissions: + contents: write runs-on: ubuntu-latest steps: @@ -213,7 +220,7 @@ jobs: run: node scripts/version.mjs --check --tag "${{ github.ref_name }}" - name: Install pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@f40ffcd9367d9f12939873eb1018b921a783ffaa # v4 with: version: 11.8.0 run_install: false @@ -225,7 +232,7 @@ jobs: cache: pnpm - name: Install Rust stable - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable with: # All four Android ABIs Tauri builds by default. targets: aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android @@ -275,7 +282,7 @@ jobs: done - name: Cache cargo - uses: swatinem/rust-cache@v2 + uses: swatinem/rust-cache@e9d7b9f1e587218970671bac74e5511ed9506e6a # v2 with: workspaces: apps/desktop/src-tauri key: android @@ -357,7 +364,7 @@ jobs: sudo udevadm trigger --name-match=kvm - name: Smoke-test minified Android release - uses: reactivecircus/android-emulator-runner@v2 + uses: reactivecircus/android-emulator-runner@4c44018e59b437e86cdfc41da381398f93ed8808 # v2 with: api-level: 35 target: google_apis diff --git a/.gitignore b/.gitignore index b9e681c3..13331d56 100644 --- a/.gitignore +++ b/.gitignore @@ -67,5 +67,4 @@ ehthumbs.db temp/ tmp/ tools/keyring-migration-probe/target/ -tools/keyring-migration-probe/Cargo.lock .zvec-grep diff --git a/apps/desktop/src/extensions/bootstrap.ts b/apps/desktop/src/extensions/bootstrap.ts index aa229f08..282b47a8 100644 --- a/apps/desktop/src/extensions/bootstrap.ts +++ b/apps/desktop/src/extensions/bootstrap.ts @@ -106,7 +106,13 @@ export function bootstrapExtensions(options: BootstrapOptions = {}): ExtensionBo const failedManifests: BootstrapEntry[] = []; const disposeAll = (disposables: Disposable[]): Disposable[] => { - for (const disposable of disposables) disposable.dispose(); + for (const disposable of disposables) { + // Dispose may settle async, but this rollback helper is synchronous — + // report failures and keep unwinding rather than dropping the promise. + void Promise.resolve(disposable.dispose()).catch((error: unknown) => { + console.error("[extensions] Failed to dispose a bootstrap resource.", error); + }); + } return []; }; diff --git a/apps/desktop/src/journal/AddFieldRow.tsx b/apps/desktop/src/journal/AddFieldRow.tsx index ae0daea2..c1bd5367 100644 --- a/apps/desktop/src/journal/AddFieldRow.tsx +++ b/apps/desktop/src/journal/AddFieldRow.tsx @@ -50,16 +50,15 @@ export function AddFieldRow({ available, existingKeys, onAdd, readOnly = false } // Validity is the model's to decide; this only turns the code into words. const check = typed === "" ? null : validateFieldDefinition({ id: key, label: "x", type: "text" }); - const problem = - typed === "" || matched - ? null - : existingKeys.includes(key) - ? `"${key}" is already on this entry.` - : check?.definition - ? null - : check?.diagnostics[0]?.code === "journal_field_reserved" - ? `"${key}" is already used by the app itself. Try another name.` - : "Give this a name using letters or numbers."; + const problem = (() => { + if (typed === "" || matched) return null; + if (existingKeys.includes(key)) return `"${key}" is already on this entry.`; + if (check?.definition) return null; + if (check?.diagnostics[0]?.code === "journal_field_reserved") { + return `"${key}" is already used by the app itself. Try another name.`; + } + return "Give this a name using letters or numbers."; + })(); const add = (field: JournalFieldDefinition): void => { onAdd(field); @@ -88,7 +87,7 @@ export function AddFieldRow({ available, existingKeys, onAdd, readOnly = false } return (
el?.focus()} aria-label="New field name" value={draft} onChange={(event) => setDraft(event.target.value)} diff --git a/apps/desktop/src/journal/JournalPanel.tsx b/apps/desktop/src/journal/JournalPanel.tsx index 2552ed10..4f5b6c02 100644 --- a/apps/desktop/src/journal/JournalPanel.tsx +++ b/apps/desktop/src/journal/JournalPanel.tsx @@ -354,6 +354,7 @@ export function JournalPanel({
{ + if (row.kind === "year" || row.kind === "undated") return 1; + if (row.kind === "month") return 2; + return 3; + })(); // When renaming an entry row, render an inline input instead of the button. if (!isHeader && isRenaming) { return (
el?.focus()} aria-label="Rename entry" value={renaming.draft} onChange={(e) => onRenameChange?.(e.target.value)} @@ -52,10 +56,23 @@ export function Row({ ); } + const rowClass = (() => { + if (!isHeader) { + return `flex w-full flex-col justify-center gap-0.5 px-2 py-1 ${TOUCH} text-left cursor-pointer hover:bg-secondary`; + } + if (row.kind === "year") { + return `flex w-full items-center gap-1.5 px-2 py-1 ${TOUCH} bg-secondary border-t border-border text-[0.69rem] font-bold uppercase tracking-[0.12em] tabular-nums cursor-pointer text-left`; + } + return `flex w-full items-center gap-1.5 px-2 py-1 ${TOUCH} border-b border-border text-xs font-semibold cursor-pointer text-left`; + })(); + return (
{overflowed && ( -
Current location
-
-
{crumbs.map(crumb)}
-
-
+
{crumbs.map((segment, index) => crumb(segment, index))}
+ + )}
diff --git a/apps/desktop/src/tabs/editorDisplaySettings.ts b/apps/desktop/src/tabs/editorDisplaySettings.ts index 6dd9af74..0ac2c026 100644 --- a/apps/desktop/src/tabs/editorDisplaySettings.ts +++ b/apps/desktop/src/tabs/editorDisplaySettings.ts @@ -25,7 +25,7 @@ const EDITOR_FONT_SIZE_DEFAULT = 16; export function resolveEditorFontSize(value: unknown): number { // Numeric-only: the settings contract stores a number, and a coerced // non-number ("" → 0) must never shrink the editor toward the floor. - const parsed = typeof value === "number" ? value : NaN; + const parsed = typeof value === "number" ? value : Number.NaN; if (!Number.isFinite(parsed)) return EDITOR_FONT_SIZE_DEFAULT; return Math.min( EDITOR_FONT_SIZE_MAX, diff --git a/apps/desktop/src/tabs/tabRegistry.ts b/apps/desktop/src/tabs/tabRegistry.ts index c3d34dd3..f8323b04 100644 --- a/apps/desktop/src/tabs/tabRegistry.ts +++ b/apps/desktop/src/tabs/tabRegistry.ts @@ -139,7 +139,12 @@ export function createDesktopTabRegistry( const register = (view: DesktopTabView): Disposable => { if (views.get(view.kind)?.placeholder === true) { - placeholderHandles.get(view.kind)?.dispose(); + // Registration is synchronous, so an async placeholder disposal can + // only be reported, not awaited. + void Promise.resolve(placeholderHandles.get(view.kind)?.dispose()).catch( + (error: unknown) => + console.error(`[tabs] Failed to dispose placeholder "${view.kind}".`, error) + ); } const registration: TabRegistration = { kind: view.kind, @@ -160,7 +165,7 @@ export function createDesktopTabRegistry( let disposed = false; const handle: Disposable = { - dispose: (): void => { + dispose: (): void | Promise => { if (disposed) return; disposed = true; if (placeholderHandles.get(view.kind) === handle) { @@ -168,8 +173,9 @@ export function createDesktopTabRegistry( } // Core fires subscribers here; entries() derives from core so the // removed view is already absent before we clean up `views`. - coreHandle.dispose(); + const coreDisposal = coreHandle.dispose(); if (views.get(view.kind) === view) views.delete(view.kind); + return coreDisposal; } }; if (view.placeholder === true) placeholderHandles.set(view.kind, handle); diff --git a/apps/desktop/src/workspace/DeleteWorkspaceDialog.tsx b/apps/desktop/src/workspace/DeleteWorkspaceDialog.tsx index b17f7bd4..c229ef9e 100644 --- a/apps/desktop/src/workspace/DeleteWorkspaceDialog.tsx +++ b/apps/desktop/src/workspace/DeleteWorkspaceDialog.tsx @@ -61,7 +61,7 @@ export function DeleteWorkspaceDialog({
+ ); } @@ -144,7 +144,7 @@ function CreateManagedWorkspaceDialog({ readonly onCreate: (name: string) => Promise; }) { const [name, setName] = useState(""); - const submit = (event: FormEvent) => { + const submit = (event: SyntheticEvent) => { event.preventDefault(); if (!busy && name.trim()) void onCreate(name); }; @@ -157,8 +157,8 @@ function CreateManagedWorkspaceDialog({ >
{error &&

{error}

}
diff --git a/examples/extensions/hello-notes/extension.js b/examples/extensions/hello-notes/extension.js index 3f0c01e7..ee9770ea 100644 --- a/examples/extensions/hello-notes/extension.js +++ b/examples/extensions/hello-notes/extension.js @@ -256,7 +256,7 @@ function mountPanel(element, panel, context) { input.addEventListener("keydown", (event) => { if (event.key === "Enter" && (event.ctrlKey || event.metaKey)) { event.preventDefault(); - captureFromInput(); + void captureFromInput(); } }); @@ -342,7 +342,7 @@ function mountPanel(element, panel, context) { // No workspace or not ready yet — the list stays empty. } }; - loadExisting(); + void loadExisting(); // Anything the app does to the workspace shows up here, including the // captures this extension makes itself. New captures go to the top. diff --git a/packages/core/src/markdown.ts b/packages/core/src/markdown.ts index ca68ab7d..1befca32 100644 --- a/packages/core/src/markdown.ts +++ b/packages/core/src/markdown.ts @@ -11,8 +11,12 @@ import type { } from "./note-model"; const INLINE_TAG_PATTERN = /(^|[^A-Za-z0-9_/-])#([A-Za-z0-9][A-Za-z0-9_/-]*)/g; -const WIKI_LINK_PATTERN = /\[\[([^\]|]+?)(?:\|([^\]]+?))?\]\]/g; -const TASK_PATTERN = /^\s*-\s+\[([ xX])\](?:\s+(.*))?$/; +// The class excludes both brackets, so a failed attempt dies at the next +// `[`/`]` instead of rescanning it at every offset; the target/alias `|` +// split happens in code. +const WIKI_LINK_PATTERN = /\[\[([^[\]]+)\]\]/g; +// \s+ and \S.* are disjoint, so there's no ambiguity for the analyzer or engine. +const TASK_PATTERN = /^\s*-\s+\[([ xX])\](?:\s+(\S.*)?)?$/; /** * Parses a Markdown note into frontmatter metadata and derived Markdown indexes. @@ -42,47 +46,68 @@ export function parseNote(markdown: string): ParsedNote { }; } +/** Three-way compare for deterministic key order — internal ids, not user-facing text, so no localeCompare. */ +const compareMetadataKeys = ([left]: [string, unknown], [right]: [string, unknown]): number => { + if (left < right) return -1; + if (left > right) return 1; + return 0; +}; + +/** Filters raw metadata values to indexable ones, deduped by type+string identity. */ +function collectSupportedValues(rawValues: readonly unknown[]): { + values: IndexMetadataValue[]; + unsupportedCount: number; +} { + const values: IndexMetadataValue[] = []; + const seen = new Set(); + let unsupportedCount = 0; + + for (const value of rawValues) { + if (!isIndexMetadataValue(value)) { + unsupportedCount += 1; + continue; + } + const identity = `${typeof value}:${String(value)}`; + if (!seen.has(identity)) { + seen.add(identity); + values.push(value); + } + } + + return { values, unsupportedCount }; +} + +function unsupportedMetadataDiagnostic( + key: string, + rawValue: unknown, + unsupportedCount: number +): NoteDiagnostic { + const isList = Array.isArray(rawValue); + const noun = unsupportedCount === 1 ? "value" : "values"; + return { + code: isList + ? "frontmatter_metadata_unsupported_list_item" + : "frontmatter_metadata_unsupported_value", + message: isList + ? `Frontmatter field "${key}" contains ${unsupportedCount} metadata ${noun} that cannot be indexed.` + : `Frontmatter field "${key}" has a value that cannot be indexed.`, + severity: "warning" + }; +} + function collectIndexMetadata( metadata: Readonly>, diagnostics: NoteDiagnostic[] ): IndexMetadataField[] { const fields: IndexMetadataField[] = []; - for (const [key, rawValue] of Object.entries(metadata).sort(([left], [right]) => - left < right ? -1 : left > right ? 1 : 0 - )) { + for (const [key, rawValue] of Object.entries(metadata).sort(compareMetadataKeys)) { const rawValues = Array.isArray(rawValue) ? rawValue : [rawValue]; - const values: IndexMetadataValue[] = []; - const seen = new Set(); - let unsupportedCount = 0; - - for (const value of rawValues) { - if (!isIndexMetadataValue(value)) { - unsupportedCount += 1; - continue; - } - - const identity = `${typeof value}:${String(value)}`; - if (!seen.has(identity)) { - seen.add(identity); - values.push(value); - } - } + const { values, unsupportedCount } = collectSupportedValues(rawValues); if (unsupportedCount > 0) { - diagnostics.push({ - code: Array.isArray(rawValue) - ? "frontmatter_metadata_unsupported_list_item" - : "frontmatter_metadata_unsupported_value", - message: Array.isArray(rawValue) - ? `Frontmatter field "${key}" contains ${unsupportedCount} metadata ${ - unsupportedCount === 1 ? "value" : "values" - } that cannot be indexed.` - : `Frontmatter field "${key}" has a value that cannot be indexed.`, - severity: "warning" - }); + diagnostics.push(unsupportedMetadataDiagnostic(key, rawValue, unsupportedCount)); } - if (values.length > 0) { fields.push({ key, values }); } @@ -136,7 +161,7 @@ function extractWikiLinks(markdownBody: string): WikiLink[] { const links: WikiLink[] = []; for (const match of markdownBody.matchAll(WIKI_LINK_PATTERN)) { - const target = match[1]?.trim(); + const target = match[1]?.split("|")[0]?.trim(); if (!target) { continue; @@ -215,14 +240,98 @@ function maskMarkdown(markdown: string, frontmatter: { endOffset: number } | nul masked = blankNonNewlines(block) + masked.slice(frontmatter.endOffset); } - // Mask fenced code blocks (e.g., ```lang ... ``` or ~~~ ... ~~~) - masked = masked.replace( - /^( {0,3})(`{3,}|~{3,})[^\n]*(?:\n([^]*?))?(?:\n[ \t]*\2[ \t]*$|(?![^]))/gm, - blankNonNewlines - ); - - // Mask inline code snippets - masked = masked.replace(/(`+)((?:[^`\n]|\n(?!\n))+?)\1/g, blankNonNewlines); + masked = maskFencedCode(masked); + masked = maskInlineCode(masked); return masked; } + +const FENCE_OPEN_PATTERN = /^ {0,3}(`{3,}|~{3,})/; +const FENCE_CLOSE_PATTERN = /^[ \t]*(`{3,}|~{3,})[ \t]*$/; + +/** A fence closes on a line holding only the same run between whitespace. */ +const isFenceClose = (line: string, run: string): boolean => + FENCE_CLOSE_PATTERN.exec(line)?.[1] === run; + +/** + * Masks fenced code blocks (```lang ... ``` or ~~~ ... ~~~). A line scan + * replaces the old multi-line regexes: an open fence runs through the line + * holding only the same run, or to the end of input when it never closes. + */ +function maskFencedCode(text: string): string { + const lines = text.split("\n"); + + let index = 0; + while (index < lines.length) { + const run = FENCE_OPEN_PATTERN.exec(lines[index] ?? "")?.[1]; + if (!run) { + index += 1; + continue; + } + + let end = index + 1; + while (end < lines.length && !isFenceClose(lines[end] ?? "", run)) { + end += 1; + } + + const last = Math.min(end, lines.length - 1); + for (let i = index; i <= last; i += 1) { + lines[i] = blankNonNewlines(lines[i] ?? ""); + } + index = last + 1; + } + + return lines.join("\n"); +} + +/** + * Masks inline code spans (`code`). An open run of backticks closes on the + * first later run at least as long, and the content between may not contain + * backticks or a blank line. Scanning keeps this linear, where the old `\1` + * backreference regex backtracked once per offset inside backtick runs. + */ +function maskInlineCode(text: string): string { + const runLength = (index: number): number => { + let length = 0; + while (text[index + length] === "`") { + length += 1; + } + return length; + }; + + const spans: Array = []; + let index = 0; + while (index < text.length) { + if (text[index] !== "`") { + index += 1; + continue; + } + + const openLength = runLength(index); + // The first backtick after the opener is the only possible close. + let close = index + openLength; + let hitBlankLine = false; + while (close < text.length && text[close] !== "`") { + if (text[close] === "\n" && text[close + 1] === "\n") { + hitBlankLine = true; + break; + } + close += 1; + } + + if (!hitBlankLine && close > index + openLength && runLength(close) >= openLength) { + spans.push([index, close + openLength]); + index = close + openLength; + } else { + index += 1; + } + } + + let masked = ""; + let cursor = 0; + for (const [start, end] of spans) { + masked += text.slice(cursor, start) + blankNonNewlines(text.slice(start, end)); + cursor = end; + } + return masked + text.slice(cursor); +} diff --git a/packages/ui/src/components/ui/use-dismissable.ts b/packages/ui/src/components/ui/use-dismissable.ts index 49b6a942..37b02781 100644 --- a/packages/ui/src/components/ui/use-dismissable.ts +++ b/packages/ui/src/components/ui/use-dismissable.ts @@ -22,7 +22,7 @@ export function dismissTopOverlay(): boolean { } function onDocumentKeyDown(event: KeyboardEvent): void { - const top = overlayStack[overlayStack.length - 1]; + const top = overlayStack.at(-1); if (!top) return; if (event.key === "Escape") { if (event.defaultPrevented) return; @@ -67,7 +67,7 @@ function trapTab(event: KeyboardEvent, container: HTMLElement): void { return; } const first = elements[0]; - const last = elements[elements.length - 1]; + const last = elements.at(-1); if (first === undefined || last === undefined) return; const active = document.activeElement; const outside = !container.contains(active); @@ -97,14 +97,14 @@ function trapTab(event: KeyboardEvent, container: HTMLElement): void { * Tab/Shift+Tab stay inside the open panel (the `aria-modal` contract). Escape * dismisses the top-most registered overlay, not whichever mounted first. */ -export function useDismissable({ +export function useDismissable({ open, onDismiss }: { readonly open: boolean; readonly onDismiss: () => void; -}): { readonly containerRef: React.RefObject } { - const containerRef = useRef(null); +}): { readonly containerRef: React.RefObject } { + const containerRef = useRef(null); const restoreFocusRef = useRef(null); const onDismissRef = useRef(onDismiss); diff --git a/scripts/rust-env.sh b/scripts/rust-env.sh index 9c6a3118..7f2723e8 100644 --- a/scripts/rust-env.sh +++ b/scripts/rust-env.sh @@ -41,7 +41,7 @@ fi # clang is used as the linker frontend because it reliably forwards # `-fuse-ld=mold` to the linker; passing `mold` directly as `linker` can # mis-handle rustc's flag passing. -if [ "$(uname -s)" = "Linux" ] && [ "$(uname -m)" = "x86_64" ]; then +if [[ "$(uname -s)" = "Linux" ]] && [[ "$(uname -m)" = "x86_64" ]]; then if command -v mold >/dev/null 2>&1 && command -v clang >/dev/null 2>&1; then # CARGO_TARGET__RUSTFLAGS overrides rustflags for this target only, # leaving other targets (e.g. cross-compiles) unaffected. @@ -64,16 +64,16 @@ fi # manually exported NDK_HOME. Honors an existing NDK_HOME; otherwise picks the # highest-versioned NDK under ANDROID_HOME/ndk (or ANDROID_SDK_ROOT). Silently # skipped when no SDK/NDK is installed — desktop-only devs never need it. -if [ -z "${NDK_HOME:-}" ]; then +if [[ -z "${NDK_HOME:-}" ]]; then _sdk_root="${ANDROID_HOME:-${ANDROID_SDK_ROOT:-}}" - if [ -n "$_sdk_root" ] && [ -d "$_sdk_root/ndk" ]; then + if [[ -n "$_sdk_root" ]] && [[ -d "$_sdk_root/ndk" ]]; then # Shell glob sorts lexicographically; NDK dirs are version strings # (e.g. 30.0.15729638), so the last match is the highest version. _ndk_dir="" for _candidate in "$_sdk_root"/ndk/*/; do _ndk_dir="$_candidate" done - if [ -n "$_ndk_dir" ]; then + if [[ -n "$_ndk_dir" ]]; then export NDK_HOME="${_ndk_dir%/}" echo "rust-env: NDK_HOME set to $NDK_HOME" fi diff --git a/scripts/sync-cross-android.sh b/scripts/sync-cross-android.sh index e6f9534e..c36e096a 100755 --- a/scripts/sync-cross-android.sh +++ b/scripts/sync-cross-android.sh @@ -3,33 +3,33 @@ set -euo pipefail NDK_DIR="" -if [ -n "${ANDROID_NDK_HOME:-}" ] && [ -d "$ANDROID_NDK_HOME" ]; then +if [[ -n "${ANDROID_NDK_HOME:-}" ]] && [[ -d "$ANDROID_NDK_HOME" ]]; then NDK_DIR="$ANDROID_NDK_HOME" -elif [ -n "${ANDROID_HOME:-}" ] && [ -d "$ANDROID_HOME/ndk" ]; then +elif [[ -n "${ANDROID_HOME:-}" ]] && [[ -d "$ANDROID_HOME/ndk" ]]; then LATEST_NDK=$(ls -1d "$ANDROID_HOME/ndk/"* 2>/dev/null | sort -V | tail -n 1 || true) - if [ -n "$LATEST_NDK" ] && [ -d "$LATEST_NDK" ]; then + if [[ -n "$LATEST_NDK" ]] && [[ -d "$LATEST_NDK" ]]; then NDK_DIR="$LATEST_NDK" fi -elif [ -d "$HOME/Android/Sdk/ndk" ]; then +elif [[ -d "$HOME/Android/Sdk/ndk" ]]; then LATEST_NDK=$(ls -1d "$HOME/Android/Sdk/ndk/"* 2>/dev/null | sort -V | tail -n 1 || true) - if [ -n "$LATEST_NDK" ] && [ -d "$LATEST_NDK" ]; then + if [[ -n "$LATEST_NDK" ]] && [[ -d "$LATEST_NDK" ]]; then NDK_DIR="$LATEST_NDK" fi fi -if [ -z "$NDK_DIR" ] || [ ! -d "$NDK_DIR" ]; then +if [[ -z "$NDK_DIR" ]] || [[ ! -d "$NDK_DIR" ]]; then echo "Error: Android NDK not found. Set ANDROID_NDK_HOME or install NDK via Android SDK Manager." >&2 exit 1 fi TOOLCHAIN="$NDK_DIR/toolchains/llvm/prebuilt/linux-x86_64/bin" -if [ ! -d "$TOOLCHAIN" ]; then +if [[ ! -d "$TOOLCHAIN" ]]; then echo "Error: LLVM toolchain directory not found at $TOOLCHAIN" >&2 exit 1 fi CLANG_BIN=$(ls -1 "$TOOLCHAIN"/aarch64-linux-android*-clang 2>/dev/null | sort -V | tail -n 1 || true) -if [ -z "$CLANG_BIN" ]; then +if [[ -z "$CLANG_BIN" ]]; then CLANG_BIN="$TOOLCHAIN/aarch64-linux-android21-clang" fi diff --git a/tools/keyring-migration-probe/Cargo.lock b/tools/keyring-migration-probe/Cargo.lock new file mode 100644 index 00000000..1557dfa7 --- /dev/null +++ b/tools/keyring-migration-probe/Cargo.lock @@ -0,0 +1,1526 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures", +] + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "apple-native-keyring-store" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b350bfd03649e07aa05c0a81b3e15934374e585c98204a57e20b9d49f49bb9a" +dependencies = [ + "keyring-core", + "log", + "security-framework 3.7.0", +] + +[[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-io" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" +dependencies = [ + "autocfg", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite", + "parking", + "polling", + "rustix", + "slab", + "windows-sys 0.61.2", +] + +[[package]] +name = "async-lock" +version = "3.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311" +dependencies = [ + "event-listener", + "event-listener-strategy", + "pin-project-lite", +] + +[[package]] +name = "async-process" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75" +dependencies = [ + "async-channel", + "async-io", + "async-lock", + "async-signal", + "async-task", + "blocking", + "cfg-if", + "event-listener", + "futures-lite", + "rustix", +] + +[[package]] +name = "async-recursion" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "async-signal" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52b5aaafa020cf5053a01f2a60e8ff5dccf550f0f77ec54a4e47285ac2bab485" +dependencies = [ + "async-io", + "async-lock", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix", + "signal-hook-registry", + "slab", + "windows-sys 0.61.2", +] + +[[package]] +name = "async-task" +version = "4.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" + +[[package]] +name = "async-trait" +version = "0.1.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.4", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "bitflags" +version = "2.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da" + +[[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 = "block-padding" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93" +dependencies = [ + "generic-array", +] + +[[package]] +name = "blocking" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a70e4329df6cb94385eed412ec92375c3cdd8a6e502493d1229b6414e4036dfa" +dependencies = [ + "async-channel", + "async-task", + "futures-io", + "futures-lite", + "piper", +] + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "cbc" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6" +dependencies = [ + "cipher", +] + +[[package]] +name = "cfg-if" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common", + "inout", +] + +[[package]] +name = "concurrent-queue" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" + +[[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 = "dbus" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ab69f03cc8c4340c9c8e315114e1658e6775a9b16a04357973aa21cec22b32e" +dependencies = [ + "libc", + "libdbus-sys", + "windows-sys 0.61.2", +] + +[[package]] +name = "dbus-secret-service" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "708b509edf7889e53d7efb0ffadd994cc6c2345ccb62f55cfd6b0682165e4fa6" +dependencies = [ + "aes", + "block-padding", + "cbc", + "dbus", + "fastrand", + "hkdf", + "num", + "once_cell", + "sha2", + "zeroize", +] + +[[package]] +name = "dbus-secret-service-keyring-store" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7227ffd3b4896266bbc100348025cebe51d9aea94ce118a1d68f4a6463963dae" +dependencies = [ + "dbus-secret-service", + "keyring-core", +] + +[[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 = "endi" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099" + +[[package]] +name = "enumflags2" +version = "0.7.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1027f7680c853e056ebcec683615fb6fbbc07dbaa13b4d5d9442b146ded4ecef" +dependencies = [ + "enumflags2_derive", + "serde", +] + +[[package]] +name = "enumflags2_derive" +version = "0.7.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "event-listener" +version = "5.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a23add41df1562121a9393cb065eab5146a1242410f23a644851e90cfd669d2" +dependencies = [ + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" +dependencies = [ + "event-listener", + "pin-project-lite", +] + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-lite" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.4", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-core", + "futures-macro", + "futures-sink", + "futures-task", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" + +[[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 = "indexmap" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" +dependencies = [ + "equivalent", + "hashbrown", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "block-padding", + "generic-array", +] + +[[package]] +name = "keyring" +version = "3.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eebcc3aff044e5944a8fbaf69eb277d11986064cba30c468730e8b9909fb551c" +dependencies = [ + "byteorder", + "dbus-secret-service", + "linux-keyutils", + "log", + "secret-service", + "security-framework 2.11.1", + "security-framework 3.7.0", + "windows-sys 0.60.2", + "zeroize", +] + +[[package]] +name = "keyring-core" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb1e621458ca9c51aa110bd0339d4751a056b9576bf1253aee1aa560dda0fc9d" +dependencies = [ + "log", +] + +[[package]] +name = "keyring-migration-probe" +version = "0.0.0" +dependencies = [ + "apple-native-keyring-store", + "dbus-secret-service-keyring-store", + "keyring", + "keyring-core", + "windows-native-keyring-store", +] + +[[package]] +name = "libc" +version = "0.2.189" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" + +[[package]] +name = "libdbus-sys" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "328c4789d42200f1eeec05bd86c9c13c7f091d2ba9a6ea35acdf51f31bc0f043" +dependencies = [ + "pkg-config", +] + +[[package]] +name = "linux-keyutils" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83270a18e9f90d0707c41e9f35efada77b64c0e6f3f1810e71c8368a864d5590" +dependencies = [ + "bitflags", + "libc", +] + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "nix" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" +dependencies = [ + "bitflags", + "cfg-if", + "cfg_aliases", + "libc", + "memoffset", +] + +[[package]] +name = "num" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" +dependencies = [ + "num-bigint", + "num-complex", + "num-integer", + "num-iter", + "num-rational", + "num-traits", +] + +[[package]] +name = "num-bigint" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-complex" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-integer" +version = "0.1.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-iter" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c92800bd69a1eac91786bcfe9da64a897eb72911b8dc3095decbd07429e8048b" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-rational" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" +dependencies = [ + "num-bigint", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[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 = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[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.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" + +[[package]] +name = "polling" +version = "3.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" +dependencies = [ + "cfg-if", + "concurrent-queue", + "hermit-abi", + "pin-project-lite", + "rustix", + "windows-sys 0.61.2", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "libc", + "rand_chacha", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "regex" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "rustix" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys", + "windows-sys 0.61.2", +] + +[[package]] +name = "secret-service" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4d35ad99a181be0a60ffcbe85d680d98f87bdc4d7644ade319b87076b9dbfd4" +dependencies = [ + "aes", + "cbc", + "futures-util", + "generic-array", + "hkdf", + "num", + "once_cell", + "rand", + "serde", + "sha2", + "zbus", +] + +[[package]] +name = "security-framework" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" +dependencies = [ + "bitflags", + "core-foundation 0.9.4", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags", + "core-foundation 0.10.1", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.4", +] + +[[package]] +name = "serde_repr" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.4", +] + +[[package]] +name = "sha1" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a978451301f4db1d02937a4ab3ccce137717b81826e79b7d49ffe3244a13c3b8" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[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 = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6275cddf4610d1775e6d1fe9469b2e77d0f39fd98fb7450901b821e0c53649f" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom 0.4.3", + "once_cell", + "rustix", + "windows-sys 0.61.2", +] + +[[package]] +name = "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.25.13+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6975367e4d2ef766d86af01ffad14b622fecc8d4357a998fbc4deb6e9bacaf9b" +dependencies = [ + "indexmap", + "toml_datetime", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.1.3+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d38ac1cf9b95face32296c0a3ede1fdc270627c9d9c02a7274dd6d960dc4d56" +dependencies = [ + "winnow", +] + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "uds_windows" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f6fb2847f6742cd76af783a2a2c49e9375d0a111c7bef6f71cd9e738c72d6e" +dependencies = [ + "memoffset", + "tempfile", + "windows-sys 0.61.2", +] + +[[package]] +name = "unicode-ident" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-native-keyring-store" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "063426e76fdec7438d56bb777f67e318a84a25c707b07e575cb8b78e10c028f8" +dependencies = [ + "byteorder", + "keyring-core", + "regex", + "windows-sys 0.61.2", + "zeroize", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm 0.52.6", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + +[[package]] +name = "winnow" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" +dependencies = [ + "memchr", +] + +[[package]] +name = "xdg-home" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec1cdab258fb55c0da61328dc52c8764709b249011b2cad0454c72f0bf10a1f6" +dependencies = [ + "libc", + "windows-sys 0.59.0", +] + +[[package]] +name = "zbus" +version = "4.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb97012beadd29e654708a0fdb4c84bc046f537aecfde2c3ee0a9e4b4d48c725" +dependencies = [ + "async-broadcast", + "async-process", + "async-recursion", + "async-trait", + "enumflags2", + "event-listener", + "futures-core", + "futures-sink", + "futures-util", + "hex", + "nix", + "ordered-stream", + "rand", + "serde", + "serde_repr", + "sha1", + "static_assertions", + "tracing", + "uds_windows", + "windows-sys 0.52.0", + "xdg-home", + "zbus_macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zbus_macros" +version = "4.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "267db9407081e90bbfa46d841d3cbc60f59c0351838c4bc65199ecd79ab1983e" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.119", + "zvariant_utils", +] + +[[package]] +name = "zbus_names" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b9b1fef7d021261cc16cba64c351d291b715febe0fa10dc3a443ac5a5022e6c" +dependencies = [ + "serde", + "static_assertions", + "zvariant", +] + +[[package]] +name = "zerocopy" +version = "0.8.56" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "556764e583adb45a9f8d413c2a147fa7e8d821e48e12b14fd560b607998b75eb" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.56" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2ab42fc20575779bd240faa45f94a74256f755c0fa9e89f0ede20d91d0cdfc1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zeroize" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zvariant" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2084290ab9a1c471c38fc524945837734fbf124487e105daec2bb57fd48c81fe" +dependencies = [ + "endi", + "enumflags2", + "serde", + "static_assertions", + "zvariant_derive", +] + +[[package]] +name = "zvariant_derive" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73e2ba546bda683a90652bac4a279bc146adad1386f25379cf73200d2002c449" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.119", + "zvariant_utils", +] + +[[package]] +name = "zvariant_utils" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c51bcff7cc3dbb5055396bcf774748c3dab426b4b8659046963523cee4808340" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +]