diff --git a/docs/design/gpui-spikes.md b/docs/design/gpui-spikes.md new file mode 100644 index 0000000..a85b15e --- /dev/null +++ b/docs/design/gpui-spikes.md @@ -0,0 +1,594 @@ +# GPUI spikes: go/no-go for the Slint to GPUI migration + +Plan section 6, step 1 ("Spikes first"): three spikes on the pinned +`gpui-kit`, each a crate of the separate workspace `spikes/gpui/` (its own +lock; not a member of the root workspace, nothing wired into `voelin-ui`). +How to rebuild and rerun everything: [spikes/gpui/README.md](../../spikes/gpui/README.md). + +**Status (2026-10-27).** Step 1 is done: all three spikes are a **go**, +with the conditions under "Settled for step 3". The work was started on +2026-10-25 by an attempt that was interrupted before it committed anything +or measured the video cases; its code was judged and kept (with the changes +listed in "History"), and every figure and check below was run again on +2026-10-27. The review of that day's report found three minors, closed in +the commits after it: nightly clippy is clean (`as_chunks` in `bgra.rs`, and +a second lint that the first hid), the video headline says "raw" with the +quiet-window pipeline figure beside it, and the `--no-drop` row's XDamage +exception is explained (a counter window longer than the case). `gpui-kit` +0.8.1 of 2026-10-26 is still unmeasured, as "The version to pin" says. + +| Spike | The plan's no-go | Seen (software rendering, see Setup) | Verdict | +|---|---|---|---| +| 1. Video | below 30 fps at 1440p60 with no custom-element way out | `img()` with the port of `video.rs`' delivery, **raw (frames from memory, no decoder)**: 42 to 49 fps at 1440p60, 55 to 58 at 1080p60, on lavapipe; with the real VP8 encoder and decoder in the same process (pipeline) 40.8 fps at 1440p60 in a quiet window (the reviewer's run) and 9.6 at a busy one (the pipeline scales with free CPU); `cx.drop_image` keeps the atlas flat; a new 1440p picture costs GPUI's thread 6 to 7 ms; a persistent texture needs a GPUI change | **go**, with a GPU run first in the viewer slice | +| 2. Composer, IME, chat lines | no usable preedit | X11 preedit with fcitx5 and Pinyin works (marked text, candidate window at the caret, commit); emoji at the caret, paste, Ctrl+Enter, `TextRun`s as `StyledText` with links all work; Wayland preedit not exercised headless; colour emoji need a one-line GPUI patch | **go** | +| 3. Second window | the second window cannot share state or steal the hotkey | one root entity in two windows, both change it, focus, fullscreen and close work, the X11 global hotkey reaches the model while the second window has focus, the preview is one shared `RenderImage` (+46 % of a core on lavapipe for the second window) | **go** | + +Before step 3 can start: Rust 1.95 for the client (no `gpui-kit` builds on +1.94) and the client's ashpd on `async-io` (GPUI's and the client's ashpd +features cannot be built together); both are under "Settled for step 3". + +## Setup + +Every figure on this page comes from one machine and one software stack: + +| | | +|---|---| +| Machine | AMD Ryzen 9 7950X3D (16 cores, 32 threads), 61 GiB, NixOS; no GPU was used | +| Display | Xvfb `:91`, 3840x2160x24, openbox, a private D-Bus bus (`spikes/gpui/headless.sh`); the Wayland runs on sway's headless backend with its pixman renderer (`headless-wayland.sh`) | +| Device | Mesa 26.2.5 lavapipe (`llvmpipe (LLVM 21.1.8, 256 bits)`) through wgpu's Vulkan backend, the only Vulkan driver (`VK_DRIVER_FILES` = its `lvp_icd.x86_64.json`); GPUI's log: "Selected GPU adapter: llvmpipe … (Vulkan)" | +| GPUI | `gpui-kit` 0.8.0 (`gpui-pre` 0.3.9, `gpui-component` 0.8.0, `gpui-kit-assets` 0.8.0) | +| Rust | 1.95.0 (fenix, `spikes/gpui/shell.sh`); nixpkgs 02c087f3fe67 for the libraries and tools | +| Load | another task's load generator kept the machine busy for part of the day; every run records the load average before and after it (`.load`), and the tables give it | + +A software Vulkan device renders on the CPU: the `llvmpipe` threads in the +tables below are what a GPU takes over. What it does not take over is said +per spike. + +## Spike 1: the video path + +`spikes/gpui/video` ([README](../../spikes/gpui/video/README.md)) ports +`video.rs`' delivery (video.rs:360-480: `deliver`, `FrameSlot`, `Handoff`, +`Buffers`, `Latest`) to GPUI: the decoder hands over its newest frame only, a +converter thread turns it into an `Arc` (BGRA, +`spike_common::bgra::to_bgra`, the BGRA twin of `convert::to_rgba`), the +window takes the newest from the `Latest` in `render`, shows it with +`img()` and drops the one it replaces from every window's atlas +(`cx.drop_image`). `--mode pipeline` is `Video::demo`'s source +(`LocalPreview` with `SourceId::Synthetic`, the real VP8 encoder and +decoder, in the same process); `--mode raw` hands I420 frames from memory +(no encoder, no decoder) to the converter at 60 fps, so what is lost is +GPUI's, and "raw" below always means this source; `--mode static` is the +control: one picture uploaded once, the window repainted every frame. +`Buffers`' reuse cannot be ported: a `RenderImage` owns its pixels and +gives no way back to them, so every picture is a new buffer. + +**Conversion** (`--bench`, one thread, 300 runs; I420 to 32-bit, ms): + +| | RGBA, reused buffer | BGRA, reused buffer | BGRA, new buffer | BGRA, new buffer as `RenderImage` | +|---|---|---|---|---| +| 1920x1080 | 0.34 | 0.27 | 0.38 | 0.49 | +| 2560x1440 | 0.67 | 0.53 | 0.71 | 0.72 | + +BGRA costs what RGBA costs (the same `yuv` routines with the channels +swapped; a test checks they agree pixel for pixel). In the running +converter a 1440p picture takes 2.0 ms, not 0.7: a new 14 MiB buffer each +time is fresh memory, page faults included, which the reuse `video.rs` +does today avoids. That is the price of `RenderImage`, on a thread of its +own. + +**In the window** (Xvfb `:91`, lavapipe; 70 s per case, the first 10 not +counted; the load average before and after each case; "main" is GPUI's +thread): + +| Case | Shown fps (of 60) | CPU, process | llvmpipe | main thread | converter | Memory over 60 s | Load | +|---|---|---|---|---|---|---|---| +| static 1920x1080 | 60.2 (repaints) | 405 % | 391 % | 5.4 % | — | flat (199 MiB) | 40 / 35 | +| static 2560x1440 | 62.0 (repaints) | 727 % | 710 % | 5.0 % | — | flat (230 MiB) | 35 / 28 | +| raw 1920x1080 | **54.6** | 374 % | 345 % | 15.5 % | 6.8 % | flat (361 MiB) | 28 / 34 | +| raw 2560x1440 | **41.9** | 525 % | 477 % | 28.0 % | 11.5 % | within one picture (486 to 501 MiB) | 34 / 34 | +| raw 2560x1440, earlier run | 49.0 | 642 % | 577 % | 39.0 % | 15.1 % | within one picture | 43 / 44 | +| raw 1920x1080, earlier run | 57.6 | 410 % | 376 % | 18.1 % | 7.8 % | flat | 43 / 43 | +| pipeline 1920x1080 (encoded 26.3 fps) | 22.9 | 1085 % | 135 % | 7.1 % | 2.4 % | flat | 34 / 43 | +| pipeline 2560x1440 (encoded 10.8 fps) | 9.6 | 1131 % | 102 % | 9.9 % | 1.9 % | flat | 43 / 53 | +| pipeline 2560x1440, **a quiet window** (the reviewer's run of 2026-10-27; encoded 50.4 fps, decoded 49.5) | **40.8** (XDamage 41.3) | 1047 % (encoder 454 %) | 476 % | 28.7 % | 9.5 % | flat (499 MiB) | 24 / 31 | +| pipeline 2560x1440, voelin-media's RGBA (encoded 13.3) | 12.5 | 1259 % | 131 % | 12.9 % | 2.2 % | flat | 53 / 61 | +| **no `drop_image`**, pipeline 2560x1440 at 15 fps, 12 s | 13.9 | 1219 % | 146 % | 17.8 % | 2.3 % | **+1.9 GiB in 10 s** (827 to 2,816 MiB) | 61 / 45 | +| pipeline 1280x720 at 30 fps, 4.6 Mbit/s (`Video::demo`'s settings) | 28.5 (of 29.6 decoded) | 317 % | 79 % | 6.0 % | 1.2 % | flat (253 MiB) | 45 / 36 | +| **Slint**, `VOELIN_DEMO_STREAM=1` (the same 720p30 pipeline), 1440x960 window | window redrawn 58 to 61 times a second (`SLINT_DEBUG_PERFORMANCE`), X damage 59.9/s | 253 % | — | 6.6 % | 0.9 % | flat (151 MiB) | 36 / 28 | + +The X server counted as many content changes of the window (XDamage, from +outside the process) as the spike counted frames shown, within 0.3 fps, in +every case, the `--no-drop` one included. That case's summary line says +otherwise (13.9 frames shown a second against an XDamage mean of 0.5; the +reviewer's run: 5.0 against 0.1) and the summary is what is off, not the +frames: `measure.sh` runs `damage-count` for the 69 s of the 70-second cases +with the first 10 not counted, but this case lasts 12 s with 2 s of warm-up, +so its mean spreads the last two seconds of a window over 59. Second by +second, while the window lived, the X server counted 11 to 16 changes (13.8 +on average) against 13.6 frames shown (the reviewer's run: 5.2 against 5.1), +and a re-run with `damage-count spike-video 11 2`, the case's own length, +gave 6.8 against 7.0 (Xvfb `:93`, lavapipe, load 43 / 47; the re-run's rate +differs from the table's, and the matched pair is what counts): the frames +shown here were frames the X server saw. + +What the figures say: + +- **`img()` holds 1440p60 above the plan's 30 fps on a software device** + (raw, frames from memory with no decoder: 42 and 49 fps in two runs, 55 + and 58 at 1080p; with the VP8 encoder and decoder in the process, 40.8 fps + in a quiet window), with GPUI's thread a quarter to a third busy. The + static control repaints the same window at 60 to 62 fps, so what the raw + cases lose is the cost of a new picture per frame, not of drawing the + window. +- **The cost of a new picture on GPUI's thread:** main-thread CPU per frame + goes from 0.8-0.9 ms (static) to 2.8-3.1 ms at 1080p and 6.7-8.0 ms at + 1440p (raw), so a new 1440p picture costs GPUI's thread 6 to 7 ms. In + gpui-pre 0.3.9 that is: `paint_image` misses the atlas; a 2560x1440 image + is larger than an atlas page (1024x1024), so `push_texture` creates a + texture for it (`device.create_texture`), `upload_texture` copies the + bytes (`bytes.to_vec()`, 14 MiB) and `write_texture` copies them again + into wgpu's staging memory; `drop_image` on the next frame frees the + texture (it has no other tile) and the next picture creates one again. +- **`drop_image` keeps the atlas flat:** 60 s at 1440p60 stay within one + picture's size (14 MiB) of where they started; without it every picture + stays in the atlas (lavapipe's textures are process memory: +1.9 GiB in + 10 s at 15 fps, 11.6 GiB a minute). +- **The pipeline cases are bound by CPU contention, the encoder being the + largest user**, not by GPUI: the synthetic sender's VP8 encoder runs in + the same process, takes 450 to 1000 % of the CPU, and kept up with 26 fps + at 1080p and 11 at 1440p at the loads of these runs (34 to 53), when the + window showed nearly every frame decoded. So the pipeline rows above (22.9 + fps at 1080p, 9.6 at 1440p) scale with the free CPU and say more about the + machine's load that day than about GPUI: in a quiet window (the reviewer's + run, load 24 to 31, not repeated here: the load stayed above 40 while this + page was revised) the same 1440p60 case encoded 50.4 fps and decoded 49.5, + and the window showed 40.8 (XDamage 41.3) on 1047 % of CPU (encoder 454 %, + llvmpipe 476 %, memory flat), in line with the raw case's 42 to 49; at a + load of about 100 (104 before, 97 after) the same case showed 2 fps + (encoded 2.1). In the client, the encoder runs on the streamer's machine. +- **Against Slint, same machine and display** (the only rate the demo + stream offers is `StreamerConfig::default()`'s 1280x720 at 30 fps; Slint + at 1440p60 would need a change in `voelin-ui`, out of this task's scope): + both show the stream at the rate it is decoded (GPUI counted 28.5 of + 29.6; Slint's converter thread does the same work, 0.9 % against 1.2 %). + Slint's software renderer draws on the app's main thread (6.6 %, the + whole process 253 % with the encoder's 238 %); GPUI draws the window + through Vulkan, which on lavapipe is 79 % of a core that a GPU takes + over. The plan's + "35-49 fps at 1440p60" is not a Slint figure: it is the decode rate of a + 4-core VM with FFmpeg's VP8 on slice threads + (`docs/research/stream-fps.md`), since fixed in the decoder. + +**What a real GPU changes.** The `llvmpipe` column (100 % to 710 %) moves to +the GPU, and so does the copy from wgpu's staging memory into the texture. +What stays on the CPU is the converter thread (2 ms a 1440p picture) and +on GPUI's thread the two copies of the picture and the texture's creation +and destruction: the 6 to 7 ms measured here are their upper bound (on lavapipe +the texture's memory is also the process's), which fits a 60 Hz frame +(16.7 ms) at 1440p but leaves little at 4K (four times 1080p's bytes) or +at 144 Hz. A GPU run is the first thing slice 6 (the stream viewer) does. + +**A custom element with a persistent texture** is the way to take those +copies out, and it is not available from outside GPUI on Linux: +`Window::paint_surface` (a `CVPixelBuffer`) exists only on macOS and iOS, +and the atlas (`PlatformAtlas`: `get_or_insert_with`, `remove`) has no way to +write new pixels into a tile it keeps. A custom `Element` can only call +`paint_image`, which is what `img()` does. What it costs: a change to +gpui-pre-wgpu (an atlas entry updated in place with `write_texture`, about +a hundred lines with the renderer's bookkeeping) carried as a +`[patch.crates-io]` and offered upstream, plus its Windows and macOS +counterparts. Since `img()` already holds 1440p60 above 30 fps on software +rendering, it is an optimisation for 4K and high refresh rates, not a +condition of the go. + +**Go.** The video path works on `img()` with the port of today's delivery, +above the plan's threshold at 1440p60 on a software device (raw, frames from +memory with no decoder, 42 to 49 fps; with the VP8 pipeline in the process, +40.8 fps in a quiet window, less when the machine is busy), with a flat +atlas; the conditions are a GPU run in slice 6 and the per-picture cost +above. + +## Spike 2: composer, IME and chat lines + +`spikes/gpui/composer` ([README](../../spikes/gpui/composer/README.md)): a +chat view of sample messages made by `voelin-ui-vm` and a composer. + +![The sample message list](gpui-spikes/composer-messages.png) + +| Check (`drive.sh`, `ime.sh`) | Result | +|---|---| +| Multi-line input: gpui-component's `Textarea` (`TextareaState`, auto-grow 1 to 6 rows, placeholder) | works | +| An emoji from the picker (the first 96 of `voelin_ui_vm::emoji::archive().category(0)`) goes in at the caret (`TextareaState::insert`): "ab", caret between, picker → "a😀b" | PASS | +| Ctrl+Enter sends without a newline (bound to `Send` in the `Input` context after gpui-component's bindings, so its "secondary enter" newline does not come first) | PASS | +| A picture on the clipboard (`image/png`) becomes an attachment (`Textarea::on_paste`, `ClipboardEntry::Image`) | PASS | +| A file's path on the clipboard (text that is the absolute path of an existing file; `ExternalPaths` for file managers) becomes an attachment | PASS | +| The message goes with both attachments | PASS | +| A click on a masked link reaches the app with the URL and "masked" (asks first) | PASS | +| X11 preedit with a CJK input method: fcitx5 5.1.23 + Pinyin as the XIM server (on-the-spot), "nihao" typed: the input shows "ni hao" as marked text, the candidate window opens under the caret, Space commits 你好, Ctrl+Enter sends it | PASS (3 checks) | +| Wayland preedit (`zwp_text_input_v3`) with fcitx5 under headless sway | not exercised (below) | + +![X11 preedit: "ni hao" marked in the input, the candidate window under the caret](gpui-spikes/ime-preedit.png) + +**Chat lines.** `voelin_ui_vm::chat::line` turns BBCode into `TextBlock`s of +`TextRun`s (`bridge.rs:195`); each block is one `StyledText` with one GPUI +`TextRun` per `TextRun` (font, colour, background, underline, strike) inside +`InteractiveText`, whose clickable ranges are the link runs. Bold, italic, +underline, strike, code (the theme's monospace font on a background), +author colours, quotes, code blocks, lists, bare and masked links, a refused +`javascript:` link (plain text), CJK through the system's Noto Sans CJK, a +ZWJ sequence (👩‍💻), a flag (🇫🇷) and jumbo emoji (one to three alone) all +draw as the screenshot shows. The Twemoji archive is not needed for any of +it: `TextRun.emoji` only says that a run is an emoji. + +**Colour emoji: a gap, with a one-line fix.** With this desktop's font +configuration, the smileys U+1F600 to U+1F640 (😀 😂 😍 🙀, among the most +used emoji) draw in **monochrome**, the others (🙂 🎉 🙋 👩‍💻) in colour. +The probe in `drive.sh` counts the glyphs GPUI draws in colour +(`ShapedGlyph::is_emoji`) for three lines: + +| Line (colour glyphs of the emoji in it) | Emoji runs in Noto Color Emoji | Inter and its fallback chain | +|---|---|---| +| `a😀b` (1 emoji), the system's fonts | 0 | 0 | +| `😂🙀🙂🎉` (4), the system's fonts | 2 | 2 | +| `👩‍💻` (1), the system's fonts | 1 | 1 | +| the same three, only the Noto fonts (`FONTCONFIG_FILE`) | 1, 4, 1 | 1, 4, 1 | +| the same three, the system's fonts, GPUI with the patch below | 1, 4, 1 | 1, 4, 1 | + +![Stock GPUI](gpui-spikes/emoji-stock.png) +![With the patch](gpui-spikes/emoji-patched.png) + +Three things in GPUI 0.3.9 and cosmic-text 0.19 add up to this: + +1. A font is only a primary font if it has a glyph for `m` + (`load_family` in gpui-pre-wgpu's `cosmic_text_system.rs`: "The editor + measures layout with the width of 'm'"). Noto Color Emoji has none, so a + run whose font is Noto Color Emoji is drawn in GPUI's fallback stack, and + a `FontFallbacks` chain that names it silently drops it. +2. Colour emoji therefore come only from cosmic-text's own fallback list, + which on Unix tries "Noto Sans", **"DejaVu Sans"**, … and "Noto Color + Emoji" last (`common_fallback` in cosmic-text's `font/fallback/unix.rs`). + DejaVu Sans has U+1F600 to U+1F640 in monochrome, and nearly every Linux + desktop has DejaVu Sans. +3. A glyph is drawn in colour only from a font whose PostScript name is + `NotoColorEmoji` (`check_is_known_emoji_font`, "TODO: Include other + common emoji fonts"): by the code, Twemoji or JoyPixels installed as the + system's emoji font would draw in monochrome (not tried). + +The fix is one line in `load_family` (gpui-pre-wgpu 0.3.9), letting the +known emoji font through the `m` test, after which both a run in Noto +Color Emoji and the fallback chain draw every emoji in colour (last row of +the table; the composer's other checks pass with it): + +```diff + if font.as_swash().charmap().map('m') == 0 + && !allowed_bad_font_names.contains(&postscript_name.as_str()) ++ && !check_is_known_emoji_font(&postscript_name) + { + continue; + }; +``` + +Step 3 carries it as a `[patch.crates-io]` of `gpui-pre-wgpu` (and sends +it upstream) before the chat slice, and bundles Noto Color Emoji (OFL, +10.7 MB) so the one font GPUI draws in colour is always there. The spikes' +committed code runs on stock GPUI; the patched run was a scratch build. + +**Links: a click shorter than a frame is lost.** `InteractiveText` installs +its mouse-up listener in the frame painted after the mouse-down +(`elements/text.rs`), so a press and release that both arrive before the +next frame never click (the interrupted attempt lost xdotool's plain +click this way; `drive.sh` holds the button 120 ms). A touchpad tap can be +that short. Step 3 draws links as elements with `on_click` or fixes the +listener upstream. + +**IME.** GPUI owns the preedit: its X11 backend is an XIM client (on-the-spot, +the preedit drawn in the input as marked text, the candidate window placed at +the caret from the input handler's bounds) and its Wayland backend speaks +`zwp_text_input_v3` (preedit string, commit string, the cursor rectangle); +gpui-component's inputs draw the marked range. The app does nothing for it. +On Wayland the preedit could not be exercised headless: under sway's +headless backend with fcitx5 5.1.23's Wayland frontend (input-method-v2) +and wtype's virtual keyboard, GPUI enabled its text input and sent the +cursor rectangle once sway sent `zwp_text_input_v3.enter` (only after the +seat's focus moved away and back: sway sent none for a text input made +while the window already had focus), but the virtual keyboard's keys went +to the app as plain keys, not through fcitx5's keyboard grab, so no +preedit came (the script stayed in the scratch directory). It needs a real +session (a physical keyboard) on KDE, GNOME or sway. + +**Go.** Every composer and message behaviour the plan asks for works with +gpui-component as it is; usable preedit is shown on X11 with a real CJK +input method. The emoji gap and the short-click gap are risks with known +fixes, not no-gos. + +## Spike 3: the second window + +`spikes/gpui/windows` ([README](../../spikes/gpui/windows/README.md)): a +main window and a Studio-like window opened with `cx.open_window` +(`gpui_kit::open_window`, which wraps the view in gpui-component's `Root`), +both rendering views that `cx.observe` one root entity `Shared`. + +![Both windows sharing the counter, the hotkey state and the preview](gpui-spikes/windows-both.png) + +| Check (`drive.sh`) | Result | +|---|---| +| Ctrl+O in the main window opens the studio's window | PASS | +| Ctrl+K twice in the studio window: the shared counter is 2 in both windows | PASS | +| The global push-to-talk key (F8, `voelin_platform::hotkey::HotkeyManager::x11`: XInput2 raw events on the root window) held while the studio window has focus reaches the shared model (TALKING in both windows) | PASS | +| … and its release | PASS | +| F11: the studio window fullscreen (3840x2160) and back | PASS | +| … with its own size back (1000x900) | PASS | +| Ctrl+Tab in the studio window: GPUI activates the main window (`Window::activate_window`) | PASS | +| Ctrl+K in the main window: the same counter, 3 | PASS | +| Alt+F4 on the studio window (the window manager asks it to close): `on_window_should_close` docks the studio, the app goes on | PASS | +| The hotkey with the main window active and no studio window | PASS | +| Alt+F4 on the main window ends the app (in 0.1 s) | PASS | + +Keys in either window go through GPUI's action dispatch to the window's +focused view and from there to the shared entity; the hotkey's events (a +tokio `UnboundedReceiver`) are read by a GPUI foreground task, which needs +no tokio reactor, and update the same entity. Neither window can tell where +a change came from, which is what the Studio window of `voelin-ui` needs. + +**The preview.** GPUI cannot read a window's pixels (no `take_snapshot`), +so the studio's picture comes from where it comes from today: the engine's +compositor (`voelin_media::studio::Studio`, one scene of the test pattern, +1920x1080 at 30 fps) and its preview tap at the studio's default 960x540, +15 fps (RGBA). A thread converts each preview frame into one BGRA +`RenderImage`; the shared entity holds the newest, both windows show the +same `Arc` with `img()`, and the one it replaces leaves every window's atlas +(`cx.drop_image(old, None)`). What it costs (`windows/measure.sh`, 45 s, +10 s of warm-up): + +| Case | CPU, process | llvmpipe | main thread | compositor (engine) | preview conversion | Memory | Load | +|---|---|---|---|---|---|---|---| +| main window with the preview | 100 % | 52 % | 3.4 % | 43 % (`voelin-compose` 25 %, scaling, the test pattern) | 0.6 % (15 pictures a second) | 278 MiB, flat | 28 / 17 | +| both windows with the preview | 147 % | 97 % | 6.9 % | 39 % | 0.7 % | 304 MiB, flat | 17 / 26 | +| both windows, no compositor | 0.5 % | — | 0.1 % | — | — | 218 MiB, flat | 26 / 40 | + +The second window showing the same picture costs about 46 % of a core +here, nearly all of it lavapipe drawing a second 1000x900 window 15 times a +second (a GPU's work), and 26 MiB; the picture is converted once (0.7 %) +and shared by `Arc`, and dropping the replaced one from every window keeps +memory flat. GPUI draws nothing while nothing changes (0.5 % with both +windows open and no preview). + +**Go.** Both windows share state, both change it, focus moves either way, +fullscreen and close behave, and the global hotkey reaches the shared model +while the second window has focus (on X11; on Wayland the hotkey is the +portal's, see "Dependencies"). + +## Settled for step 3 + +### The version to pin + +**`gpui-kit` 0.8.0, exactly**, the version measured here (gpui-pre 0.3.9). +0.8.1 (gpui-pre 0.3.10) came out on 2026-10-26, after these spikes were +built; step 3's first commit moves to the newest release only after +building the three spikes on it (`cargo update -p gpui-kit --precise` in +`spikes/gpui`, then the READMEs' runs). A pre-1.0 release may change any +API (the pin is exact for that reason, and `gpui-kit` pins its `gpui-pre` +exactly too); upgrades are commits of their own. + +**Rust 1.95 or newer.** No `gpui-kit` release builds on the client's Rust +1.94: every `gpui-pre` 0.3.x (0.3.0 to 0.3.10, which every `gpui-kit` from +0.6.0 to 0.8.1 pins) calls `std::hint::cold_path`, stable since 1.95.0: + +```text +$ TOOLCHAIN=1.94 spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo check --locked --ignore-rust-version' +error[E0658]: use of unstable library feature `cold_path` + --> …/gpui-pre-0.3.9/src/profiler.rs:473:13 +error[E0658]: use of unstable library feature `cold_path` + --> …/gpui-pre-0.3.9/src/profiler.rs:494:13 +error: could not compile `gpui-pre` (lib) due to 2 previous errors +``` + +(without `--ignore-rust-version` cargo stops before that: the workspace says +`rust-version = "1.95"`). + +So step 3 starts by moving `rust-toolchain.toml` to 1.95 (or the stable of +the day) in the root workspace, a change of its own with the usual checks. +The spikes build on 1.95.0 and on nightly 2026-10-24 and pass clippy with +`--all-targets -- -D warnings` on both. Nightly's clippy has two lints +1.95 does not: `chunks_exact_to_as_chunks` flagged two `chunks_exact(4)` +loops in `spikes/gpui/common/src/bgra.rs` (the packed-RGBA branch and a +test), now `as_chunks::<4>()` (stable since 1.88); behind them, because +clippy stops at the first crate that fails, `for_unbounded_range` flagged +the raw source's `for n in 0u64..` in `spikes/gpui/video/src/main.rs`, now +`0..=u64::MAX`. + +### Dependencies + +- **ashpd.** GPUI's Linux backend enables ashpd's `async-io` feature; the + client's `voelin-media` (`pipewire`: the screen-cast and camera portals) + and `voelin-platform` (`portal`: global shortcuts, file chooser, proxy + resolver) enable `tokio`, and ashpd refuses both at once + (`compile_error!` in ashpd 0.13.13). The spikes leave both features out + (X11 capture and hotkeys only). **Step 3 must move the client's ashpd use + to `async-io`** before `voelin-ui` can depend on gpui-kit with PipeWire + capture and the portal hotkey; zbus with `async-io` runs its own I/O + thread, so it does not need GPUI's executor. +- **Size and compile time.** The spikes' lock has 1,069 packages; the + release binaries are 390 to 480 MB with line tables. A full debug build + of the workspace with a toolchain it had not built with before (nightly) + took 3 min 14 s on the 32 threads at a load average around 90. + +### The Linux renderer + +The plan says "blade: Vulkan"; gpui-pre 0.3.9 renders through **wgpu** +(`gpui-pre-wgpu`), which finds Vulkan and GL adapters and takes the first +that passes its configuration test (here: llvmpipe on Vulkan; GL was found +too). Both backends are a **go on this machine's software device**: X11 +(Xvfb with openbox) for every measurement; Wayland (sway's headless +backend, its pixman renderer, a 2560x1440 output) opens the window, draws +it, takes keys (the composer through a virtual keyboard) and enables its +text input. Its frame rate there was low: spike 1's static and raw 1440p +cases showed 15.3 and 13.1 fps at a load average rising from 40 to 148, +where X11 showed 62 and 42 to 49; a rerun with the compositor's own CPU +measured beside it (to tell sway's pixman compositing at 2560x1440 from +GPUI's Wayland path) did not find a quiet machine in time, so the Wayland +frame rate stays an open point for step 3, to be measured on a real +session. What it needs: + +- **On a real GPU:** a Vulkan driver (Mesa RADV, ANV or NVK, NVIDIA's) or + GL as wgpu's fallback; nothing else in the app changes. The rasterising + the tables charge to `llvmpipe` moves to the GPU; the per-frame upload of + a new picture (spike 1) stays on the CPU's side as two copies of the + picture. +- **Software only** (a VM, a remote desktop): lavapipe works and is what + these figures measure. A 2560x1440 window repaints at 60 fps with nothing + new to upload and at 42 to 49 with a new picture every frame (raw: from + memory, no decoder; 41 with the VP8 pipeline in the process, in a quiet + window), on 5 to 7 of this CPU's cores; the UI around it costs little + (spike 3's windows, 1000x900 and 1200x900, cost half a core each at 15 + frames a second). +- X11 needs a window manager for fullscreen, activation and close requests + (openbox here); GPUI asks for XInput 2.4 and logs "Found no xinput mouse + pointers" on Xvfb, harmlessly. On Wayland, GPUI needs a seat (weston's + headless backend has none, so `headless-wayland.sh` uses sway). + +### Inter and Lucide + +- **Inter**: the five TTFs the client bundles (`crates/voelin-ui/ui/assets/fonts`) + go in with `cx.text_system().add_fonts` (`spike_common::fonts`) and are + used by family name; the screenshots are Inter. Nothing depends on what + fontconfig finds for Latin text. +- **Lucide through `svg()`**: an `AssetSource` serves the client's own 147 + Lucide 1.48 SVGs (`voelin/.svg`, read from + `crates/voelin-ui/ui/assets/icons`) before gpui-kit-assets' Lucide 1.43 + catalog (`icons/.svg`, what gpui-component's `Icon` uses); `svg()` + draws them as masks tinted with `text_color` (the composer's emoji and + send buttons). Two Lucide versions side by side is the one thing to + settle: step 3 serves the client's set under gpui-component's paths + (`icons/`) so both draw the same icons. + +### The theme against "Theme tokens" + +gpui-component's theme (`Theme`, `ThemeColor`: about 135 colours; JSON +themes through `ThemeRegistry`, light and dark) is shadcn's vocabulary; +gpui-base 0.8 adds code-level tokens (radius none/sm/md/lg/xl/full, spacing +xxs to xxl, type xs to xl and mono, shadows, motion 120/180/280 ms). The +client's tokens (docs/ui.md, "Theme tokens") map like this: + +| `ui/theme.slint` | gpui-component | | +|---|---|---| +| `mode`, `dark` | `ThemeMode`, `Theme::change`, the registry's light and dark themes | "system" follows the window appearance | +| `font-scale` | `font_size` (one base size) | the eight type sizes scale in the client's code | +| `bg-app` | `background` | | +| `backdrop` (gradient) | a gradient token (0.8's `ThemeToken` parses `linear-gradient`) | | +| `bg-rail`, `surface` | `sidebar.background`, `title_bar.background` | | +| `surface-2` (cards, inputs) | `secondary.background`, `group_box.background` | | +| `surface-3` (hover, menus) | `accent.background`, `list.hover.background`, `popover.background` | gpui-component's "accent" is a **hover background**, not the brand colour | +| `surface-4` (pressed) | `secondary.active.background` | | +| `scrim`, `scrim-light`, `overlay` | `overlay` | one value for three | +| `border`, `border-strong`, `border-popup` | `border`, `input.border`, — | | +| `glow`, `glow-width` | `ring` | no width | +| `accent`, `accent-hover`, `accent-pressed`, `on-accent` | `primary.background`, `primary.hover.background`, `primary.active.background`, `primary.foreground` | | +| `accent-soft` (selected rows), `accent-soft-hover` | `list.active.background`, `table.active.background`; — | | +| `accent-text` (links), `name-text` | `link.foreground` (and hover, active); — | | +| `danger`, `success`, `warning`, `info` | `danger.background`, `success.background`, `warning.background`, `info.background` (with hover, active, foreground) | | +| `*-soft`, `live`, `live-soft`, `idle`, `dnd`, `offline`, `gold`, `meter-*` | — (`base.red` … `base.cyan` and their light variants are a palette, not roles) | | +| `text`, `text-muted` | `foreground`, `muted.foreground` | | +| `text-secondary`, `text-disabled`, `icon` | — | | +| `radius-xs` … `radius-pill` | `radius` (6), `radius.lg`; gpui-base's radius tokens | five steps against two in JSON | +| `space-1` … `space-8` | gpui-base's spacing tokens (code, not JSON) | | +| `font-xs` … `font-3xl`, weights | gpui-base's type tokens (code) | | +| sizes (`control-height` 36, `row-height`, `rail-width`, …) | — (gpui-component sizes its controls itself: `Size::Small/Medium/Large`) | | +| `fast` 120 ms, `normal` 200 ms | motion tokens 120/180 ms | | + +So the theme is two layers: a `VoelinTheme` global with every token of +`theme.slint` (the source of truth, light and dark), and on each change the +colours gpui-component's widgets read written into its `ThemeColor` (about +40 of the 135), so its inputs, lists, menus and dialogs look like ours. A +gpui-component JSON theme file alone cannot carry the presence, live, meter +and size tokens. + +### What step 3's first slice (the desktop shell) must contain + +1. The toolchain move to 1.95 and ashpd on `async-io` (above), each its own + commit with the root workspace's checks. +2. The GPUI front end's crate (its name to choose; the plan keeps both UIs + as two `[[bin]]`s on the same `HostedEngine` until parity), with + `gpui-kit = "=0.8.0"` or the version the spikes were rebuilt on, and the + deny and notices updates for its ~1,000 packages. +3. The root entity `Entity`, the engine's events through a GPUI + foreground task (spike 3's hotkey task is the pattern), the 1 s tick as + a `background_executor().timer` loop. +4. `VoelinTheme` with the two layers above, Inter via `add_fonts`, the + client's Lucide set as gpui-component's `icons/`. +5. The shell itself (slice 1 of the plan: ≈13 properties and 11 callbacks of + `bind/servers.rs`): the server rail, the sidebar, the top bar, empty + main area, window state, with screenshots made the `docs/ui.md` way + (`headless.sh` here is the GPUI equivalent of its xvfb recipe). +6. A meter like `spike_common::meter` (CPU by thread group, memory, the + app's own counters, once a second) as a development switch, so every + later slice can say what it costs. + +Not in it: video (slice 6) needs the decision of spike 1's "What a real GPU +changes"; emoji need the patch above before the chat slice (4). + +### The risks of plan section 6, against what was seen + +| Risk (plan) | Seen | +|---|---| +| Pre-1.0 API churn | Real: 0.8.1 came a week after 0.8.0; `gpui-pre` pins move in lockstep. Pin exactly, upgrade in commits of their own, rebuild the spikes first. | +| Wayland IME, fractional scaling | X11 preedit works; Wayland's text-input-v3 is implemented by GPUI (enable, cursor rectangle, preedit and commit strings) but was not exercised end to end headless: a check on a real session is part of the chat slice. Fractional scaling not exercised (Xvfb at scale 1, `GPUI_X11_SCALE_FACTOR=1`). | +| Accessibility weaker than Slint's | GPUI talks to AT-SPI (`accesskit_unix`, `atspi` in the tree; "org.a11y.Bus" looked for at start); not exercised. | +| Compile time | 1,069 packages; a full debug build 3 min 14 s on 32 threads under load. | +| New: colour emoji | GPUI draws U+1F600 to U+1F640 from DejaVu Sans in monochrome on most desktops; one-line patch above. | +| New: ashpd features | GPUI and the client's portals cannot share a binary until the client uses `async-io`. | +| New: short clicks on links | `InteractiveText` loses a click shorter than a frame. | +| New: video upload cost | Every new picture is a new atlas texture plus two copies (spike 1); a persistent texture needs a GPUI change. | +| New: Rust 1.95 | gpui-kit needs it; the client is on 1.94. | + +### Open choices for step 3 + +- Video: `img()` as measured here, or the persistent-texture change to + gpui-pre-wgpu. The GPU run of the viewer slice decides; the cases that + could need it are 4K, high refresh rates and several streams on screen at + once (the per-picture cost on GPUI's thread adds up per stream: four + 1080p60 tiles would be about 8 ms of every frame on this path). +- Emoji: carry the one-line GPUI patch (`[patch.crates-io]` of + `gpui-pre-wgpu`) and send it upstream, or bundle Noto Color Emoji and a + font configuration without DejaVu's emoji range (not possible from inside + the app: cosmic-text reads the font database, not fontconfig's order). +- Icons: the client's Lucide 1.48 set under gpui-component's paths, or + gpui-kit-assets' 1.43 catalog with the client's additions. +- Theme: which gpui-component colours the `VoelinTheme` writes (about 40) + and whether its JSON format is offered to users at all. +- Links: elements with `on_click` per link, or a fix of `InteractiveText`. + +## History + +An attempt of 2026-10-25 wrote the workspace, the three spikes, their +scripts and READMEs, ran the composer, IME and windows scenarios and a few +720p trial runs (at a load average of 100 to 157, so not used here), and +was interrupted before it committed anything or measured the video cases. +Its work was judged on 2026-10-27, kept, and committed in four pieces (the +commit messages say what changed in each); the changes: + +- `shell.sh` takes 1.94 and nightly from the pinned fenix (the store paths + it named had been garbage-collected); the README's Wayland paragraph + (sway, not weston), its `cargo fmt` command (`-p`, not `--all`, which + takes in the client's crates) and its toolchain lines. +- Spike 1: `--mode static` (the control: no new pictures) and its two cases + in `measure.sh`. +- Spike 2: one GPUI text run per `TextRun` instead of highlights (each run + its font: emoji, monospace for code, which `font_family("monospace")` did + not find); a sample of the smileys DejaVu Sans has; the emoji probe in + place of a font probe that printed "?" for every fallback font. +- Spike 3: the window's size after a fullscreen toggle logged and checked; + how long the app takes to end; `windows/measure.sh` in place of README + commands that wrote into the current directory. + +Nothing was dropped. The 720p trial runs, the 2026-10-25 screenshots and +the extracted `gpui-pre` crates the attempt used to look for `cold_path` +stayed in the attempt's scratch directory. + +Found while measuring, and fixed in two commits of their own: the headless +scripts did not move `XDG_STATE_HOME`, so the Slint app's runs (on +2026-10-25, and three on 2026-10-27) wrote their logs into the desktop's +`~/.local/state/voelin/logs`, whose five rotated files are now all from +these runs; and `headless-wayland.sh` left every headless sway running +(nixpkgs' wrapper puts sway under a `dbus-run-session` of its own), which +it now does not. diff --git a/docs/design/gpui-spikes/composer-messages.png b/docs/design/gpui-spikes/composer-messages.png new file mode 100644 index 0000000..aa6f644 Binary files /dev/null and b/docs/design/gpui-spikes/composer-messages.png differ diff --git a/docs/design/gpui-spikes/emoji-patched.png b/docs/design/gpui-spikes/emoji-patched.png new file mode 100644 index 0000000..b0e2f7e Binary files /dev/null and b/docs/design/gpui-spikes/emoji-patched.png differ diff --git a/docs/design/gpui-spikes/emoji-stock.png b/docs/design/gpui-spikes/emoji-stock.png new file mode 100644 index 0000000..2ffcced Binary files /dev/null and b/docs/design/gpui-spikes/emoji-stock.png differ diff --git a/docs/design/gpui-spikes/ime-preedit.png b/docs/design/gpui-spikes/ime-preedit.png new file mode 100644 index 0000000..102d378 Binary files /dev/null and b/docs/design/gpui-spikes/ime-preedit.png differ diff --git a/docs/design/gpui-spikes/windows-both.png b/docs/design/gpui-spikes/windows-both.png new file mode 100644 index 0000000..3f37b92 Binary files /dev/null and b/docs/design/gpui-spikes/windows-both.png differ diff --git a/spikes/gpui/.cargo/config.toml b/spikes/gpui/.cargo/config.toml new file mode 100644 index 0000000..1e9e478 --- /dev/null +++ b/spikes/gpui/.cargo/config.toml @@ -0,0 +1,4 @@ +# The spikes build into the worktree's target directory, next to the root +# workspace's artifacts (one target directory per checkout). +[build] +target-dir = "../../target" diff --git a/spikes/gpui/Cargo.lock b/spikes/gpui/Cargo.lock new file mode 100644 index 0000000..ff3925f --- /dev/null +++ b/spikes/gpui/Cargo.lock @@ -0,0 +1,11656 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "ab_glyph" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01c0457472c38ea5bd1c3b5ada5e368271cb550be7a4ca4a0b4634e9913f6cc2" +dependencies = [ + "ab_glyph_rasterizer", + "owned_ttf_parser", +] + +[[package]] +name = "ab_glyph_rasterizer" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618" + +[[package]] +name = "accesskit" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3b7f7f85a7e5f68090000ed7622545829afd484d210358702ae4cb97dd0c320" +dependencies = [ + "enumn", + "uuid", +] + +[[package]] +name = "accesskit_atspi_common" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "023da0e5097f46df7092d5280b02efb9bbf8d93298daeced42652463e357d636" +dependencies = [ + "accesskit", + "accesskit_consumer", + "atspi-common", + "phf 0.13.1", + "serde", + "zvariant", +] + +[[package]] +name = "accesskit_consumer" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d10a236f96f87d70732e44520046785431ef01d5bcd6b041317bfadd2f88245" +dependencies = [ + "accesskit", + "hashbrown 0.16.1", +] + +[[package]] +name = "accesskit_macos" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce02dc63b43f0c9296af9ac946312a2dc8814427d7a64d2d600971dac55b6076" +dependencies = [ + "accesskit", + "accesskit_consumer", + "hashbrown 0.16.1", + "objc2 0.5.2", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "accesskit_unix" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03e156ed3802e35eefe894ef2671bc6c889303d8a7e110b5e1b48f504b91362f" +dependencies = [ + "accesskit", + "accesskit_atspi_common", + "async-channel", + "async-executor", + "async-task", + "atspi", + "futures-lite", + "futures-util", + "serde", + "zbus", +] + +[[package]] +name = "accesskit_windows" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "106c2b961215864d1c2e703ee63269c25c4e80a577ffb2c1017b9c17dcdf83a1" +dependencies = [ + "accesskit", + "accesskit_consumer", + "hashbrown 0.16.1", + "static_assertions", + "windows 0.62.2", + "windows-core 0.62.2", +] + +[[package]] +name = "addr2line" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common 0.1.7", + "generic-array 0.14.7", +] + +[[package]] +name = "aead" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1973cfbc1a2daf9cf550e74e1f088c28e7f7d8c1e1418fb6c9dc5184b7e84c99" +dependencies = [ + "crypto-common 0.2.2", + "inout 0.2.2", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher 0.4.4", + "cpufeatures 0.2.17", + "zeroize", +] + +[[package]] +name = "aes" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35f0f96ce78e38c3dc6d8948aa8163d06385be74000f3c7a95bf1eef35d3ea32" +dependencies = [ + "cipher 0.5.2", + "cpubits", + "cpufeatures 0.3.1", + "zeroize", +] + +[[package]] +name = "aes-gcm" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f2b8006a0c83f52b62ba44a97b58bf76fe2f70a329e588f67f89691d93d498f" +dependencies = [ + "aead 0.6.1", + "aes 0.9.3", + "cipher 0.5.2", + "ctr 0.10.1", + "ctutils", + "ghash", + "zeroize", +] + +[[package]] +name = "ahash" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" +dependencies = [ + "cfg-if", + "const-random", + "once_cell", + "version_check", + "zerocopy", +] + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "aligned" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee4508988c62edf04abd8d92897fca0c2995d907ce1dfeaf369dac3716a40685" +dependencies = [ + "as-slice", +] + +[[package]] +name = "aligned-vec" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc890384c8602f339876ded803c97ad529f3842aba97f6392b3dba0dd171769b" +dependencies = [ + "equator", +] + +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + +[[package]] +name = "android_system_properties" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" +dependencies = [ + "libc", +] + +[[package]] +name = "annotate-snippets" +version = "0.12.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f211a51805bc641f3ad5b7664c77d2547af685cc33b4cd8d31964027a46f13f1" +dependencies = [ + "anstyle", + "memchr", + "unicode-width", +] + +[[package]] +name = "anstream" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" + +[[package]] +name = "anstyle-parse" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" +dependencies = [ + "anstyle", + "once_cell_polyfill", + "windows-sys 0.61.2", +] + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "arbitrary" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bc62ac97cc33321f50863d514c3bc38a453947a8f9e781137e47c7401020aed" + +[[package]] +name = "arc-swap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "380962b3d93b99642e50b9febf72c071e97e8b32d86eae9cf4ef582bb960ae6e" +dependencies = [ + "rustversion", +] + +[[package]] +name = "arg_enum_proc_macro" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "argon2" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "134c52ddac6d63c576bef8168db10c83c49c26444ecbc68060fef078925a901c" +dependencies = [ + "base64ct", + "blake2", + "cpufeatures 0.3.1", + "password-hash", +] + +[[package]] +name = "arraydeque" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d902e3d592a523def97af8f317b08ce16b7ab854c1985a0c671e6f15cebc236" + +[[package]] +name = "arrayref" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "as-raw-xcb-connection" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "175571dd1d178ced59193a6fc02dde1b972eb0bc56c892cde9beeceac5bf0f6b" + +[[package]] +name = "as-slice" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "516b6b4f0e40d50dcda9365d53964ec74560ad4284da2e7fc97122cd83174516" +dependencies = [ + "stable_deref_trait", +] + +[[package]] +name = "ash" +version = "0.38.0+1.3.281" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f" +dependencies = [ + "libloading", +] + +[[package]] +name = "ashpd" +version = "0.13.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb8421aaa9644a5faf26735f258b669b15f063313ef8f8e2bdb28912a1a6f111" +dependencies = [ + "enumflags2", + "futures-channel", + "futures-util", + "getrandom 0.4.3", + "serde", + "serde_repr", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "zbus", +] + +[[package]] +name = "asn1-rs" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f43a50ac4fdca5df8e885c21b835997f0a1cdee65494a6847694a98652d9d8" +dependencies = [ + "asn1-rs-derive", + "asn1-rs-impl", + "displaydoc", + "nom 7.1.3", + "num-traits", + "rusticata-macros", + "thiserror 2.0.21", + "time", +] + +[[package]] +name = "asn1-rs-derive" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", + "synstructure 0.13.2", +] + +[[package]] +name = "asn1-rs-impl" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[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-fs" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8034a681df4aed8b8edbd7fbe472401ecf009251c8b40556b304567052e294c5" +dependencies = [ + "async-lock", + "blocking", + "futures-lite", +] + +[[package]] +name = "async-io" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" +dependencies = [ + "autocfg", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite", + "parking", + "polling", + "rustix", + "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-net" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b948000fad4873c1c9339d60f2623323a0cfd3816e5181033c6a5cb68b2accf7" +dependencies = [ + "async-io", + "blocking", + "futures-lite", +] + +[[package]] +name = "async-process" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75" +dependencies = [ + "async-channel", + "async-io", + "async-lock", + "async-signal", + "async-task", + "blocking", + "cfg-if", + "event-listener", + "futures-lite", + "rustix", +] + +[[package]] +name = "async-recursion" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "async-signal" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52b5aaafa020cf5053a01f2a60e8ff5dccf550f0f77ec54a4e47285ac2bab485" +dependencies = [ + "async-io", + "async-lock", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix", + "signal-hook-registry", + "slab", + "windows-sys 0.61.2", +] + +[[package]] +name = "async-task" +version = "4.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" + +[[package]] +name = "async-trait" +version = "0.1.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "atspi" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c77886257be21c9cd89a4ae7e64860c6f0eefca799bb79127913052bd0eefb3d" +dependencies = [ + "atspi-common", + "atspi-proxies", +] + +[[package]] +name = "atspi-common" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20c5617155740c98003016429ad13fe43ce7a77b007479350a9f8bf95a29f63d" +dependencies = [ + "enumflags2", + "serde", + "static_assertions", + "zbus", + "zbus-lockstep", + "zbus-lockstep-macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "atspi-proxies" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2230e48787ed3eb4088996eab66a32ca20c0b67bbd4fd6cdfe79f04f1f04c9fc" +dependencies = [ + "atspi-common", + "serde", + "zbus", +] + +[[package]] +name = "audio-codec-algorithms" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1254ebf6529f3763c491acfb5ab6e960809e3c75a38584cc664f8c5667fb7107" + +[[package]] +name = "audioadapter" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1292ef9edf681b7426ed089004b021a42896492f58bd0c909ad44e5faec9ac4" + +[[package]] +name = "audioadapter-buffers" +version = "5.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46289a81a3bfa26d0f8b2415f8ca9decde9a66308a150568af5c102381b3c8ce" +dependencies = [ + "audioadapter", + "audioadapter-sample", + "num-traits", +] + +[[package]] +name = "audioadapter-sample" +version = "5.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5258faecf4edbe35ec483bda9b1f7438e6b391891819269c6b5461aeaa0e8d7d" +dependencies = [ + "audio-codec-algorithms", + "num-traits", +] + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "av-data" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fca67ba5d317924c02180c576157afd54babe48a76ebc66ce6d34bb8ba08308e" +dependencies = [ + "byte-slice-cast", + "bytes", + "num-derive", + "num-rational", + "num-traits", +] + +[[package]] +name = "av-scenechange" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f321d77c20e19b92c39e7471cf986812cbb46659d2af674adc4331ef3f18394" +dependencies = [ + "aligned", + "anyhow", + "arg_enum_proc_macro", + "arrayvec", + "log", + "num-rational", + "num-traits", + "pastey", + "rayon", + "thiserror 2.0.21", + "v_frame", + "y4m", +] + +[[package]] +name = "av1-grain" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cfddb07216410377231960af4fcab838eaa12e013417781b78bd95ee22077f8" +dependencies = [ + "anyhow", + "arrayvec", + "log", + "nom 8.0.0", + "num-rational", + "v_frame", +] + +[[package]] +name = "avif-serialize" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7178fe5f7d460b13895ebb9dcb28a3a6216d2df2574a0806cb51b555d297f38" +dependencies = [ + "arrayvec", +] + +[[package]] +name = "aws-lc-rs" +version = "1.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b281d307588d634de920874890732659e2e7672f72b5e10e81badc1a8a83621e" +dependencies = [ + "aws-lc-sys", + "untrusted 0.7.1", + "zeroize", +] + +[[package]] +name = "aws-lc-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bff6c3b54fad79a2e60b8102caf565819711497c1f5f092f49508e2f5c31b27" +dependencies = [ + "cc", + "cmake", + "dunce", + "fs_extra", + "pkg-config", +] + +[[package]] +name = "backtrace" +version = "0.3.76" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" +dependencies = [ + "addr2line", + "cfg-if", + "libc", + "miniz_oxide 0.8.9", + "object", + "rustc-demangle", + "windows-link 0.2.1", +] + +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + +[[package]] +name = "base16ct" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6" + +[[package]] +name = "base62" +version = "2.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3a647dce9631f152a99ec16cfc09267ae55fe280d5dc288964027d458076323" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "bcrypt-pbkdf" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "144e573728da132683b9488acd528274c790e07fc06ff81ee29f9d8f8b1041e0" +dependencies = [ + "blowfish", + "pbkdf2 0.13.0", + "sha2 0.11.0", +] + +[[package]] +name = "bit-set" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34ddef2995421ab6a5c779542c81ee77c115206f4ad9d5a8e05f4ff49716a3dd" +dependencies = [ + "bit-vec 0.9.1", +] + +[[package]] +name = "bit-vec" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" + +[[package]] +name = "bit-vec" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b71798fca2c1fe1086445a7258a4bc81e6e49dcd24c8d0dd9a1e57395b603f51" +dependencies = [ + "serde", +] + +[[package]] +name = "bit_field" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e4b40c7323adcfc0a41c4b88143ed58346ff65a288fc144329c5c45e05d70c6" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" +dependencies = [ + "serde_core", +] + +[[package]] +name = "bitstream-io" +version = "4.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7eff00be299a18769011411c9def0d827e8f2d7bf0c3dbf53633147a8867fd1f" +dependencies = [ + "no_std_io2", +] + +[[package]] +name = "blake2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b5d4d889834ee8ecfc0f8426ad30faf7cdcb10f741a8e6d7224d95325479f6f" +dependencies = [ + "digest 0.11.3", +] + +[[package]] +name = "block" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array 0.14.7", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", + "zeroize", +] + +[[package]] +name = "block-padding" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93" +dependencies = [ + "generic-array 0.14.7", +] + +[[package]] +name = "block-padding" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "710f1dd022ef4e93f8a438b4ba958de7f64308434fa6a87104481645cc30068b" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "block2" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f" +dependencies = [ + "objc2 0.5.2", +] + +[[package]] +name = "block2" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2 0.6.4", +] + +[[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 = "blowfish" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62ce3946557b35e71d1bbe07ec385073ce9eda05043f95de134eb578fcf1a298" +dependencies = [ + "byteorder", + "cipher 0.5.2", +] + +[[package]] +name = "bstr" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f" +dependencies = [ + "memchr", + "regex-automata", + "serde_core", +] + +[[package]] +name = "built" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c0e531d93d39c34eef561e929e8a7f86d77a5af08aac4f6d6e39976c51858e9" + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "byte-slice-cast" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7575182f7272186991736b70173b0ea045398f984bf5ebbb3804736ce1330c9d" + +[[package]] +name = "bytemuck" +version = "1.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797" +dependencies = [ + "bytemuck_derive", +] + +[[package]] +name = "bytemuck_derive" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a1f896587b6f2c069c73d2f0913e2d590c3990285cd2f0b6aa02b786b4c679c" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "byteorder-lite" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" + +[[package]] +name = "calloop" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dbf9978365bac10f54d1d4b04f7ce4427e51f71d61f2fe15e3fed5166474df7" +dependencies = [ + "bitflags 2.13.2", + "polling", + "rustix", + "slab", + "tracing", +] + +[[package]] +name = "calloop-wayland-source" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138efcf0940a02ebf0cc8d1eff41a1682a46b431630f4c52450d6265876021fa" +dependencies = [ + "calloop", + "rustix", + "wayland-backend", + "wayland-client", +] + +[[package]] +name = "cbc" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6" +dependencies = [ + "cipher 0.4.4", +] + +[[package]] +name = "cbc" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce2dc9ee5f88d11e0beb842c88b33c8a5cf0d1329c4b19494af42b07dbfe8896" +dependencies = [ + "cipher 0.5.2", +] + +[[package]] +name = "cbindgen" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eadd868a2ce9ca38de7eeafdcec9c7065ef89b42b32f0839278d55f35c54d1ff" +dependencies = [ + "heck 0.4.1", + "indexmap", + "log", + "proc-macro2", + "quote", + "serde", + "serde_json", + "syn 2.0.119", + "tempfile", + "toml 0.8.23", +] + +[[package]] +name = "cc" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "207aedd8d29a0eb804986bc99eed0d43719fec84a9b7f9c8b70cf83b97cffcc1" +dependencies = [ + "find-msvc-tools", + "jobserver", + "libc", + "shlex", +] + +[[package]] +name = "ccm" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ae3c82e4355234767756212c570e29833699ab63e6ffd161887314cc5b43847" +dependencies = [ + "aead 0.5.2", + "cipher 0.4.4", + "ctr 0.9.2", + "subtle", +] + +[[package]] +name = "cfg-expr" +version = "0.20.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe4ece8474b5f766c63426647e7b4b316b67431ade1036a8313cee24a03ae917" +dependencies = [ + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cipher 0.5.2", + "cpufeatures 0.3.1", + "rand_core 0.10.1", + "zeroize", +] + +[[package]] +name = "chrono" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +dependencies = [ + "iana-time-zone", + "js-sys", + "num-traits", + "serde", + "wasm-bindgen", + "windows-link 0.2.1", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common 0.1.7", + "inout 0.1.4", + "zeroize", +] + +[[package]] +name = "cipher" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", + "inout 0.2.2", + "zeroize", +] + +[[package]] +name = "cmac" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8543454e3c3f5126effff9cd44d562af4e31fb8ce1cc0d3dcd8f084515dbc1aa" +dependencies = [ + "cipher 0.4.4", + "dbl", + "digest 0.10.7", +] + +[[package]] +name = "cmake" +version = "0.1.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678" +dependencies = [ + "cc", +] + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "cocoa" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6140449f97a6e97f9511815c5632d84c8aacf8ac271ad77c559218161a1373c" +dependencies = [ + "bitflags 1.3.2", + "block", + "cocoa-foundation 0.1.2", + "core-foundation 0.9.4", + "core-graphics 0.23.2", + "foreign-types", + "libc", + "objc", +] + +[[package]] +name = "cocoa" +version = "0.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad36507aeb7e16159dfe68db81ccc27571c3ccd4b76fb2fb72fc59e7a4b1b64c" +dependencies = [ + "bitflags 2.13.2", + "block", + "cocoa-foundation 0.2.1", + "core-foundation 0.10.1", + "core-graphics 0.24.0", + "foreign-types", + "libc", + "objc", +] + +[[package]] +name = "cocoa-foundation" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c6234cbb2e4c785b456c0644748b1ac416dd045799740356f8363dfe00c93f7" +dependencies = [ + "bitflags 1.3.2", + "block", + "core-foundation 0.9.4", + "core-graphics-types 0.1.3", + "libc", + "objc", +] + +[[package]] +name = "cocoa-foundation" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81411967c50ee9a1fc11365f8c585f863a22a9697c89239c452292c40ba79b0d" +dependencies = [ + "bitflags 2.13.2", + "block", + "core-foundation 0.10.1", + "core-graphics-types 0.2.0", + "objc", +] + +[[package]] +name = "codespan-reporting" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af491d569909a7e4dee0ad7db7f5341fef5c614d5b8ec8cf765732aba3cff681" +dependencies = [ + "serde", + "termcolor", + "unicode-width", +] + +[[package]] +name = "color_quant" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" + +[[package]] +name = "colorchoice" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" + +[[package]] +name = "combine" +version = "4.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "concurrent-queue" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "console_error_panic_hook" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" +dependencies = [ + "cfg-if", + "wasm-bindgen", +] + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + +[[package]] +name = "const-random" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" +dependencies = [ + "const-random-macro", +] + +[[package]] +name = "const-random-macro" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" +dependencies = [ + "getrandom 0.2.17", + "once_cell", + "tiny-keccak", +] + +[[package]] +name = "convert_case" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "core-graphics" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081" +dependencies = [ + "bitflags 1.3.2", + "core-foundation 0.9.4", + "core-graphics-types 0.1.3", + "foreign-types", + "libc", +] + +[[package]] +name = "core-graphics" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa95a34622365fa5bbf40b20b75dba8dfa8c94c734aea8ac9a5ca38af14316f1" +dependencies = [ + "bitflags 2.13.2", + "core-foundation 0.10.1", + "core-graphics-types 0.2.0", + "foreign-types", + "libc", +] + +[[package]] +name = "core-graphics-helmer-fork" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32eb7c354ae9f6d437a6039099ce7ecd049337a8109b23d73e48e8ffba8e9cd5" +dependencies = [ + "bitflags 2.13.2", + "core-foundation 0.9.4", + "core-graphics-types 0.1.3", + "foreign-types", + "libc", +] + +[[package]] +name = "core-graphics-types" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf" +dependencies = [ + "bitflags 1.3.2", + "core-foundation 0.9.4", + "libc", +] + +[[package]] +name = "core-graphics-types" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb" +dependencies = [ + "bitflags 2.13.2", + "core-foundation 0.10.1", + "libc", +] + +[[package]] +name = "core-text" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a593227b66cbd4007b2a050dfdd9e1d1318311409c8d600dc82ba1b15ca9c130" +dependencies = [ + "core-foundation 0.10.1", + "core-graphics 0.24.0", + "foreign-types", + "libc", +] + +[[package]] +name = "core_detect" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48" + +[[package]] +name = "core_maths" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77745e017f5edba1a9c1d854f6f3a52dac8a12dd5af5d2f54aecf61e43d80d30" +dependencies = [ + "libm", +] + +[[package]] +name = "cosmic-text" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be17b688510d934ce13f48a2beba700e11583e281e0fda99c22bb256a14eda73" +dependencies = [ + "bitflags 2.13.2", + "fontdb", + "harfrust", + "linebender_resource_handle", + "log", + "rangemap", + "rustc-hash 2.1.3", + "self_cell", + "skrifa 0.40.0", + "smol_str", + "swash", + "sys-locale", + "unicode-bidi", + "unicode-linebreak", + "unicode-script", + "unicode-segmentation", +] + +[[package]] +name = "cpubits" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crc" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853" + +[[package]] +name = "crc32fast" +version = "1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "critical-section" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" + +[[package]] +name = "crossbeam-channel" +version = "0.5.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98b0cc327b5bc766e7fda9c9260cc0fa81b43a8e240440422dff70788e3f9ef1" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" + +[[package]] +name = "crunchy" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" + +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array 0.14.7", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + +[[package]] +name = "crypto-bigint" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96272c2ff28b807e09250b180ad1fb7889a3258f7455759b5c3c58b719467130" +dependencies = [ + "num-traits", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "crypto-bigint" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc907c45bb7e9ef8fc3778defd0f3cd8c81288f1b4e748eba064948f20c47122" +dependencies = [ + "cpubits", + "ctutils", + "getrandom 0.4.3", + "hybrid-array", + "num-traits", + "rand_core 0.10.1", + "serdect", + "subtle", + "zeroize", +] + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array 0.14.7", + "rand_core 0.6.4", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "getrandom 0.4.3", + "hybrid-array", + "rand_core 0.10.1", +] + +[[package]] +name = "crypto-primes" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3633a51a39c69ebbaa4feaa694bd83d241e4093901c84a0963b19d9bb3f0cf8f" +dependencies = [ + "crypto-bigint 0.7.7", + "rand_core 0.10.1", +] + +[[package]] +name = "csv" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52cd9d68cf7efc6ddfaaee42e7288d3a99d613d4b50f76ce9827ae0c6e14f938" +dependencies = [ + "csv-core", + "itoa", + "ryu", + "serde_core", +] + +[[package]] +name = "csv-core" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "704a3c26996a80471189265814dbc2c257598b96b8a7feae2d31ace646bb9782" +dependencies = [ + "memchr", +] + +[[package]] +name = "ctor" +version = "1.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "914a755b7c2d4af2bdcff7ce1739e2db9a1b81a9b07123d8015786ae03c0980d" +dependencies = [ + "link-section", + "linktime-proc-macro", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher 0.4.4", +] + +[[package]] +name = "ctr" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baaca1c4b237092596f64d571e9db6ce4109c4ef9742e27590f1709594461f21" +dependencies = [ + "cipher 0.5.2", +] + +[[package]] +name = "ctutils" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0" +dependencies = [ + "cmov", + "subtle", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "curve25519-dalek-derive", + "fiat-crypto 0.2.9", + "rand_core 0.6.4", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "curve25519-dalek-derive", + "digest 0.11.3", + "fiat-crypto 0.3.0", + "rand_core 0.10.1", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "data-encoding" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" + +[[package]] +name = "data-url" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be1e0bca6c3637f992fc1cc7cbc52a78c1ef6db076dbf1059c4323d6a2048376" + +[[package]] +name = "dav1d" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ee89cb860616069c67520dcd66cacdb900b57c799f634a0eb6d91f6e2a82b61" +dependencies = [ + "av-data", + "bitflags 2.13.2", + "dav1d-sys", + "static_assertions", +] + +[[package]] +name = "dav1d-sys" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c91aea6668645415331133ed6f8ddf0e7f40160cd97a12d59e68716a58704b" +dependencies = [ + "libc", + "system-deps", +] + +[[package]] +name = "dbl" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd2735a791158376708f9347fe8faba9667589d82427ef3aed6794a8981de3d9" +dependencies = [ + "generic-array 0.14.7", +] + +[[package]] +name = "defmt" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4a0795ac740cb54d7b3775c9c17345f6aaecf884c01733b39d6017738e0e3e1" +dependencies = [ + "bitflags 1.3.2", + "defmt-macros", +] + +[[package]] +name = "defmt-macros" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "840bb056bd99c495c9188198a258ab787c79f306d864db3e6e8451442d6d8366" +dependencies = [ + "defmt-parser", + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "defmt-parser" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71958f69fb2de856c5dd51ac9377e986ca1aa5919f931bf5395a807277f889a0" +dependencies = [ + "thiserror 2.0.21", +] + +[[package]] +name = "delegate" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "780eb241654bf097afb00fc5f054a09b687dad862e485fdcf8399bb056565370" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid 0.9.6", + "der_derive 0.7.3", + "flagset", + "pem-rfc7468 0.7.0", + "zeroize", +] + +[[package]] +name = "der" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a" +dependencies = [ + "const-oid 0.10.2", + "der_derive 0.8.0", + "flagset", + "pem-rfc7468 1.0.0", + "zeroize", +] + +[[package]] +name = "der-parser" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6" +dependencies = [ + "asn1-rs", + "displaydoc", + "nom 7.1.3", + "num-bigint 0.4.8", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "der_derive" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8034092389675178f570469e6c3b0465d3d30b4505c294a6550db47f3c17ad18" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "der_derive" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59600e2c2d636fde9b65e99cc6445ac770c63d3628195ff39932b8d6d7409903" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "deranged" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" +dependencies = [ + "serde_core", +] + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.119", + "unicode-xid", +] + +[[package]] +name = "des" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "916a94e407b54f9034d71dd748234cd1e516ced6284009906ae246f177eafe5a" +dependencies = [ + "cipher 0.5.2", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "const-oid 0.9.6", + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "const-oid 0.10.2", + "crypto-common 0.2.2", + "ctutils", +] + +[[package]] +name = "dimpl" +version = "0.7.4" +dependencies = [ + "aes 0.8.4", + "arrayvec", + "aws-lc-rs", + "ccm", + "der 0.7.10", + "log", + "nom 8.0.0", + "once_cell", + "pkcs8 0.10.2", + "rand 0.9.5", + "rcgen", + "sec1 0.7.3", + "signature 2.2.0", + "spki 0.7.3", + "subtle", + "time", + "x509-cert 0.2.5", +] + +[[package]] +name = "dirs" +version = "5.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +dependencies = [ + "dirs-sys 0.4.1", +] + +[[package]] +name = "dirs" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" +dependencies = [ + "dirs-sys 0.5.0", +] + +[[package]] +name = "dirs-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +dependencies = [ + "libc", + "option-ext", + "redox_users 0.4.6", + "windows-sys 0.48.0", +] + +[[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.3", + "windows-sys 0.61.2", +] + +[[package]] +name = "dispatch" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" + +[[package]] +name = "dispatch2" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" +dependencies = [ + "bitflags 2.13.2", + "block2 0.6.2", + "objc2 0.6.4", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "dlib" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab8ecd87370524b461f8557c119c405552c396ed91fc0a8eec68679eab26f94a" +dependencies = [ + "libloading", +] + +[[package]] +name = "document-features" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" +dependencies = [ + "litrs", +] + +[[package]] +name = "downcast-rs" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" + +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + +[[package]] +name = "dwrote" +version = "0.11.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1b35532432acc8b19ceed096e35dfa088d3ea037fe4f3c085f1f97f33b4d02" +dependencies = [ + "lazy_static", + "libc", + "winapi", + "wio", +] + +[[package]] +name = "dyn-clone" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" + +[[package]] +name = "eax" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9954fabd903b82b9d7a68f65f97dc96dd9ad368e40ccc907a7c19d53e6bfac28" +dependencies = [ + "aead 0.5.2", + "cipher 0.4.4", + "cmac", + "ctr 0.9.2", + "subtle", +] + +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der 0.7.10", + "digest 0.10.7", + "elliptic-curve 0.13.8", + "rfc6979 0.4.0", + "signature 2.2.0", + "spki 0.7.3", +] + +[[package]] +name = "ecdsa" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0681a4fc24c767085329728d8dfba959af91228aa4610cca4f8ce317ba46ae0" +dependencies = [ + "der 0.8.2", + "digest 0.11.3", + "elliptic-curve 0.14.1", + "rfc6979 0.6.0", + "signature 3.0.0", + "spki 0.8.0", + "zeroize", +] + +[[package]] +name = "ed25519" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a" +dependencies = [ + "pkcs8 0.11.0", + "signature 3.0.0", +] + +[[package]] +name = "ed25519-dalek" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" +dependencies = [ + "curve25519-dalek 5.0.0", + "ed25519", + "rand_core 0.10.1", + "serde", + "sha2 0.11.0", + "signature 3.0.0", + "subtle", + "zeroize", +] + +[[package]] +name = "either" +version = "1.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34" + +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct 0.2.0", + "crypto-bigint 0.5.5", + "digest 0.10.7", + "ff 0.13.1", + "generic-array 0.14.7", + "group 0.13.0", + "hkdf 0.12.4", + "pem-rfc7468 0.7.0", + "pkcs8 0.10.2", + "rand_core 0.6.4", + "sec1 0.7.3", + "subtle", + "zeroize", +] + +[[package]] +name = "elliptic-curve" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d65aa39b3a5c1c9c1b745c9a019234bb7a21b77abcb4f4d266d706e2d577d65" +dependencies = [ + "base16ct 1.0.0", + "crypto-bigint 0.7.7", + "crypto-common 0.2.2", + "digest 0.11.3", + "ff 0.14.0", + "group 0.14.0", + "hkdf 0.13.0", + "hybrid-array", + "pem-rfc7468 1.0.0", + "pkcs8 0.11.0", + "rand_core 0.10.1", + "sec1 0.8.1", + "subtle", + "zeroize", +] + +[[package]] +name = "embed-resource" +version = "3.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6168487b5e7eb2673e6efe1200b1848016e436a6ca0b8031bf04bd9d493a249f" +dependencies = [ + "cc", + "memchr", + "rustc_version", + "toml 1.1.6+spec-1.1.0", + "vswhom", + "winreg", +] + +[[package]] +name = "encoding_rs" +version = "0.8.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e985e0451871ad22fb8d2b6b076e2028a502a0d3950998c2c5c0a4f9b5d9679" +dependencies = [ + "cfg-if", + "core_detect", + "multiversion_no_op", + "rustversion", + "scopeguard", + "simdutf8", +] + +[[package]] +name = "encoding_rs_io" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fba3fe847045ecff794b9c138293a80db914678c453ad63fbf0c6a9eb6e00b22" +dependencies = [ + "encoding_rs", +] + +[[package]] +name = "endi" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099" + +[[package]] +name = "enum-iterator" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4549325971814bda7a44061bf3fe7e487d447cba01e4220a4b454d630d7a016" +dependencies = [ + "enum-iterator-derive", +] + +[[package]] +name = "enum-iterator-derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "685adfa4d6f3d765a26bc5dbc936577de9abf756c1feeb3089b01dd395034842" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "enum_dispatch" +version = "0.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa18ce2bc66555b3218614519ac839ddb759a7d6720732f979ef8d13be147ecd" +dependencies = [ + "once_cell", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[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 = "enumn" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "env_filter" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "900d271a03799a1ee8d1ca9b19893b48ca674a9284fefcfb85f05e74ed314217" +dependencies = [ + "log", + "regex", +] + +[[package]] +name = "env_logger" +version = "0.11.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de671bd27a75a797dc9ae289ba1e77276e75e2026408aab65185384e2d5cd3f6" +dependencies = [ + "anstream", + "anstyle", + "env_filter", + "jiff", + "log", +] + +[[package]] +name = "equator" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4711b213838dfee0117e3be6ac926007d7f433d7bbe33595975d4190cb07e6fc" +dependencies = [ + "equator-macro", +] + +[[package]] +name = "equator-macro" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44f23cf4b44bfce11a86ace86f8a73ffdec849c9fd00a386a53d278bd9e81fb3" +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 = "etagere" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc89bf99e5dc15954a60f707c1e09d7540e5cd9af85fa75caa0b510bc08c5342" +dependencies = [ + "euclid", + "svg_fmt", +] + +[[package]] +name = "euclid" +version = "0.22.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1a05365e3b1c6d1650318537c7460c6923f1abdd272ad6842baa2b509957a06" +dependencies = [ + "num-traits", +] + +[[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 = "exr" +version = "1.74.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711fe42c9964295e01ee3fba3f9fe0e1d24b98886950d68efe81b1c76e21adf3" +dependencies = [ + "bit_field", + "half", + "lebe", + "miniz_oxide 0.8.9", + "num-complex", + "pulp", + "rayon-core", + "smallvec", + "zune-inflate", +] + +[[package]] +name = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + +[[package]] +name = "fallible-streaming-iterator" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "fax" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caf1079563223d5d59d83c85886a56e586cfd5c1a26292e971a0fa266531ac5a" + +[[package]] +name = "fdeflate" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c" +dependencies = [ + "simd-adler32", +] + +[[package]] +name = "ff" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "ff" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1f686ab92a9fb0eaf188f6c6c87b89490baa6fdb0db4544ba4dc47f7942489f" +dependencies = [ + "rand_core 0.10.1", + "subtle", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + +[[package]] +name = "fiat-crypto" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" + +[[package]] +name = "filedescriptor" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e40758ed24c9b2eeb76c35fb0aebc66c626084edd827e07e1552279814c6682d" +dependencies = [ + "libc", + "thiserror 1.0.69", + "winapi", +] + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "flagset" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7ac824320a75a52197e8f2d787f6a38b6718bb6897a35142d749af3c0e8f4fe" + +[[package]] +name = "flate2" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb" +dependencies = [ + "crc32fast", + "miniz_oxide 0.9.1", + "zlib-rs", +] + +[[package]] +name = "float-cmp" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" + +[[package]] +name = "float-ord" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ce81f49ae8a0482e4c55ea62ebbd7e5a686af544c00b9d090bba3ff9be97b3d" + +[[package]] +name = "float_next_after" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bf7cc16383c4b8d58b9905a8509f02926ce3058053c056376248d958c9df1e8" + +[[package]] +name = "fluent-uri" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17c704e9dbe1ddd863da1e6ff3567795087b1eb201ce80d8fa81162e1516500d" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "flume" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e139bc46ca777eb5efaf62df0ab8cc5fd400866427e56c68b22e414e53bd3be" +dependencies = [ + "futures-core", + "futures-sink", + "spin 0.9.9", +] + +[[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 = "font-types" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b38ad915f6dadd993ced50848a8291a543bd41ca62bc10740d5e64e2ab4cfd7" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "font-types" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8eb065f3251655b3c90e22e5e363f310fc5332fb3402e37bbc94752283248f6" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "fontconfig-parser" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbc773e24e02d4ddd8395fd30dc147524273a83e54e0f312d986ea30de5f5646" +dependencies = [ + "roxmltree 0.20.0", +] + +[[package]] +name = "fontdb" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "457e789b3d1202543297a350643cf459f836cade38934e7a4cf6a39e7cde2905" +dependencies = [ + "fontconfig-parser", + "log", + "memmap2", + "slotmap", + "tinyvec", + "ttf-parser", +] + +[[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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea5190182e6915eb873ddbc16e23b711b6eb1f9c00a0d0a3a91b5f6228475225" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "foreign-types-shared" +version = "0.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 = "freetype-sys" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e7edc5b9669349acfda99533e9e0bcf26a51862ab43b08ee7745c55d28eb134" +dependencies = [ + "cc", + "libc", + "pkg-config", +] + +[[package]] +name = "fs_extra" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" + +[[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.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-executor" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-lite" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", + "zeroize", +] + +[[package]] +name = "generic-array" +version = "1.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "337d46834ee672ab3e48caca2cb0c78cc174fb12b3a68d0d88f99a0519a5e36e" +dependencies = [ + "generic-array 0.14.7", + "rustversion", + "typenum", +] + +[[package]] +name = "gethostname" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8" +dependencies = [ + "rustix", + "windows-link 0.2.1", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi 5.3.0", + "wasip2", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi 6.0.0", + "rand_core 0.10.1", + "wasm-bindgen", +] + +[[package]] +name = "ghash" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2eecf2d5dc9b66b732b97707a0210906b1d30523eb773193ab777c0c84b3e8d5" +dependencies = [ + "polyval", + "zeroize", +] + +[[package]] +name = "gif" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ae047235e33e2829703574b54fdec96bfbad892062d97fed2f76022287de61b" +dependencies = [ + "color_quant", + "weezl", +] + +[[package]] +name = "gif" +version = "0.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee8cfcc411d9adbbaba82fb72661cc1bcca13e8bba98b364e62b2dba8f960159" +dependencies = [ + "color_quant", + "weezl", +] + +[[package]] +name = "gimli" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" + +[[package]] +name = "git-testament" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a74999c921479f919c87a9d2e6922a79a18683f18105344df8e067149232e51" +dependencies = [ + "git-testament-derive", +] + +[[package]] +name = "git-testament-derive" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbeac967e71eb3dc1656742fc7521ec7cd3b6b88738face65bf1fddf702bc4c0" +dependencies = [ + "log", + "proc-macro2", + "quote", + "syn 2.0.119", + "time", +] + +[[package]] +name = "gl_generator" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" +dependencies = [ + "khronos_api", + "log", + "xml-rs", +] + +[[package]] +name = "glob" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" + +[[package]] +name = "globset" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07c34a9410465b45bd9787443bc7370f37735bad04b0f0cd57ff1a3186c98988" +dependencies = [ + "aho-corasick", + "bstr", + "log", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "globwalk" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc" +dependencies = [ + "bitflags 1.3.2", + "ignore", + "walkdir", +] + +[[package]] +name = "glow" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29038e1c483364cc6bb3cf78feee1816002e127c331a1eec55a4d202b9e1adb5" +dependencies = [ + "js-sys", + "slotmap", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "glutin_wgl_sys" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c4ee00b289aba7a9e5306d57c2d05499b2e5dc427f84ac708bd2c090212cf3e" +dependencies = [ + "gl_generator", +] + +[[package]] +name = "gpu-allocator" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51255ea7cfaadb6c5f1528d43e92a82acb2b96c43365989a28b2d44ee38f8795" +dependencies = [ + "ash", + "hashbrown 0.16.1", + "log", + "presser", + "thiserror 2.0.21", + "windows 0.62.2", +] + +[[package]] +name = "gpu-descriptor" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b89c83349105e3732062a895becfc71a8f921bb71ecbbdd8ff99263e3b53a0ca" +dependencies = [ + "bitflags 2.13.2", + "gpu-descriptor-types", + "hashbrown 0.15.5", +] + +[[package]] +name = "gpu-descriptor-types" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdf242682df893b86f33a73828fb09ca4b2d3bb6cc95249707fc684d27484b91" +dependencies = [ + "bitflags 2.13.2", +] + +[[package]] +name = "gpui-base" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5cd7de73d5b2d3d18b94a928abf343922091fa77bc472f77b7d2e7e8b1823a7" +dependencies = [ + "aho-corasick", + "anyhow", + "ashpd", + "async-channel", + "chrono", + "data-url", + "futures", + "gpui-pre", + "gpui-pre-macros", + "gpui-pre-sum-tree", + "html5ever", + "instant", + "itertools 0.13.0", + "lsp-types", + "markdown", + "markup5ever_rcdom", + "num-traits", + "objc2 0.6.4", + "objc2-app-kit 0.3.2", + "objc2-foundation 0.3.2", + "raw-window-handle", + "regex", + "ropey", + "schemars", + "serde", + "serde_json", + "smallvec", + "smol", + "tracing", + "unicode-linebreak", + "unicode-segmentation", + "web-time", + "windows 0.58.0", +] + +[[package]] +name = "gpui-component" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4097e161cc81e86323b439664be0cdd4f7c56148e867ed6f67fd72b966b6c2d1" +dependencies = [ + "anyhow", + "chrono", + "core-text", + "enum-iterator", + "gpui-base", + "gpui-component-macros", + "gpui-kit-assets", + "gpui-pre", + "gpui-pre-macros", + "gpui-pre-sum-tree", + "instant", + "itertools 0.13.0", + "log", + "lsp-types", + "markdown", + "notify", + "num-traits", + "objc2 0.6.4", + "objc2-app-kit 0.3.2", + "objc2-foundation 0.3.2", + "once_cell", + "paste", + "raw-window-handle", + "regex", + "resvg 0.45.1", + "ropey", + "rust-i18n", + "schemars", + "serde", + "serde_json", + "serde_repr", + "similar", + "smallvec", + "smol", + "tracing", + "unicode-segmentation", + "unicode-width", + "uuid", + "windows 0.58.0", +] + +[[package]] +name = "gpui-component-macros" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b98496748463b60ad69eab80cd91fc9b3807fed9a0e01ab4d5c159c949fd814" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "gpui-kit" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cdcb78553bef8785669e572e79759b0eab47fdd9d318fe0cce1def798189432" +dependencies = [ + "gpui-base", + "gpui-component", + "gpui-kit-assets", + "gpui-pre", + "gpui-pre-macros", + "gpui-pre-platform", + "gpui-pre-web", +] + +[[package]] +name = "gpui-kit-assets" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b037e2fa43d53a567a8aa5be6b1a8931f416cbd010ceee8d4a3727a71e9b1d05" +dependencies = [ + "anyhow", + "gpui-pre", + "gpui-pre-reqwest", + "log", + "rust-embed", + "wasm-bindgen", + "wasm-bindgen-futures", +] + +[[package]] +name = "gpui-pre" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34f61c1cfd36fc9c436af09308c963822ae27a45a84feb21a77ba5c9e051f1c0" +dependencies = [ + "accesskit", + "anyhow", + "async-channel", + "async-task", + "backtrace", + "bitflags 2.13.2", + "chrono", + "ctor", + "derive_more", + "embed-resource", + "etagere", + "futures", + "getrandom 0.3.4", + "gpui-pre-collections", + "gpui-pre-http-client", + "gpui-pre-macros", + "gpui-pre-refineable", + "gpui-pre-scheduler", + "gpui-pre-shared-string", + "gpui-pre-sum-tree", + "gpui-pre-util", + "heapless", + "image", + "inventory", + "itertools 0.14.0", + "libc", + "log", + "lyon", + "num_cpus", + "objc2-core-foundation", + "objc2-core-video", + "parking", + "parking_lot", + "pin-project", + "pollster", + "profiling", + "rand 0.9.5", + "raw-window-handle", + "regex", + "resvg 0.46.0", + "schemars", + "seahash", + "serde", + "serde_json", + "slotmap", + "smallvec", + "spin 0.10.1", + "strum", + "taffy", + "thiserror 2.0.21", + "ttf-parser", + "url", + "usvg 0.46.0", + "uuid", + "waker-fn", + "windows 0.62.2", + "zed-scap", +] + +[[package]] +name = "gpui-pre-apple" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b52f58893fe1a0836464428dfad2b5eaf42c9c303a9638f4c2aced5a69072a15" +dependencies = [ + "anyhow", + "async-task", + "block2 0.6.2", + "cbindgen", + "core-foundation 0.10.1", + "core-foundation-sys", + "core-graphics 0.24.0", + "core-text", + "derive_more", + "dispatch2", + "etagere", + "foreign-types", + "futures", + "gpui-pre", + "gpui-pre-collections", + "gpui-pre-util", + "image", + "libc", + "log", + "mach2", + "metal", + "objc2 0.6.4", + "objc2-core-foundation", + "objc2-core-text", + "objc2-core-video", + "objc2-foundation 0.3.2", + "objc2-metal 0.3.2", + "objc2-quartz-core 0.3.2", + "objc2-security", + "parking_lot", + "pathfinder_geometry", + "smallvec", + "thiserror 2.0.21", + "zed-font-kit", +] + +[[package]] +name = "gpui-pre-collections" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "920c2f5b2f1a7813114d89f4841f26f6060d9c35d7c8a852a4205d1a767a7ce0" +dependencies = [ + "gpui-pre-util", + "indexmap", + "rustc-hash 2.1.3", +] + +[[package]] +name = "gpui-pre-derive-refineable" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "947395f26228296c0c79fb889d3687b205e552c25bbcdece216fb2394ea9bcd1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "gpui-pre-http-client" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c56cdaa3f1a271162b7fede1d4557879eedb056e293cedbb82743600650b755e" +dependencies = [ + "anyhow", + "bytes", + "futures", + "http", + "http-body", + "log", + "parking_lot", + "serde", + "serde_json", + "serde_urlencoded", + "url", +] + +[[package]] +name = "gpui-pre-linux" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e28213c3fde6f13e91ba0b74b90cbaadec9373e36a031eda98561d31059870f3" +dependencies = [ + "accesskit", + "accesskit_unix", + "anyhow", + "as-raw-xcb-connection", + "ashpd", + "bytemuck", + "calloop", + "calloop-wayland-source", + "filedescriptor", + "futures", + "gpui-pre", + "gpui-pre-collections", + "gpui-pre-http-client", + "gpui-pre-util", + "gpui-pre-wgpu", + "libc", + "log", + "notify-rust", + "oo7", + "open", + "parking_lot", + "raw-window-handle", + "smallvec", + "smol", + "strum", + "url", + "uuid", + "wayland-backend", + "wayland-client", + "wayland-cursor", + "wayland-protocols", + "wayland-protocols-plasma", + "wayland-protocols-wlr", + "x11rb", + "xkbcommon", + "zed-scap", + "zed-xim", +] + +[[package]] +name = "gpui-pre-macos" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7c988b7e49775cc8542dbe48d5a10e073d8e898a023ef3ff3d24f33363e9863" +dependencies = [ + "accesskit", + "accesskit_macos", + "anyhow", + "block2 0.6.2", + "cocoa 0.26.1", + "core-foundation 0.10.1", + "core-foundation-sys", + "core-graphics 0.24.0", + "ctor", + "dispatch2", + "foreign-types", + "futures", + "gpui-pre", + "gpui-pre-apple", + "gpui-pre-collections", + "gpui-pre-scheduler", + "gpui-pre-util", + "image", + "itertools 0.14.0", + "log", + "objc", + "objc2 0.6.4", + "objc2-app-kit 0.3.2", + "objc2-core-video", + "objc2-foundation 0.3.2", + "objc2-user-notifications", + "parking_lot", + "raw-window-handle", + "semver", + "smallvec", + "strum", + "uuid", +] + +[[package]] +name = "gpui-pre-macros" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bb80dac5e1f6b8cde1d2740389e77dfc0071bfcc81fba5526d5dc90f68171cc" +dependencies = [ + "heck 0.5.0", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "gpui-pre-platform" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbdbdac421178313fed8929fe95b42634a266a735079fcf03ff231bc2ccb2c5e" +dependencies = [ + "anyhow", + "console_error_panic_hook", + "gpui-pre", + "gpui-pre-linux", + "gpui-pre-macos", + "gpui-pre-web", + "gpui-pre-windows", +] + +[[package]] +name = "gpui-pre-refineable" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "237703b3b219d11adb50dd33bb0fcca3d34fc001623b3143e72cb051d0fb3777" +dependencies = [ + "gpui-pre-derive-refineable", +] + +[[package]] +name = "gpui-pre-reqwest" +version = "0.12.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05be23908e707966824f8c51a609904b7f30739e8d915e120a53c1b995ba964c" +dependencies = [ + "base64 0.22.1", + "bytes", + "encoding_rs", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "ipnet", + "js-sys", + "log", + "mime", + "mime_guess", + "once_cell", + "percent-encoding", + "pin-project-lite", + "quinn", + "rustls", + "rustls-native-certs", + "rustls-pemfile", + "rustls-pki-types", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "system-configuration 0.6.1", + "tokio", + "tokio-rustls", + "tokio-socks", + "tokio-util", + "tower", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", + "windows-registry 0.4.0", +] + +[[package]] +name = "gpui-pre-scheduler" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83f342555282a59ed8dd58dd7e0a920524fa8ef6aa8c8f30e2edb7019a8f72cb" +dependencies = [ + "async-task", + "backtrace", + "chrono", + "flume", + "futures", + "parking_lot", + "rand 0.9.5", + "wasm_thread", + "web-time", +] + +[[package]] +name = "gpui-pre-shared-string" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71f488bf4780735f6b2dad24f8db1e3d9e2593de0ec298e3574c788f571b81c4" +dependencies = [ + "schemars", + "serde", + "smol_str", +] + +[[package]] +name = "gpui-pre-sum-tree" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aadb3bd3da22617e2158b1842f5a9c29c1626c926ad0686163ced1a009963ff3" +dependencies = [ + "gpui-pre-ztracing", + "heapless", + "rayon", + "tracing", +] + +[[package]] +name = "gpui-pre-util" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a04ec9abd7a87ac05a221f4629403831c44c17123bc33cb5d271a6303259b340" +dependencies = [ + "anyhow", + "log", + "which", +] + +[[package]] +name = "gpui-pre-web" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedd55b99dc77e28df8202b0ea868aa5c90fda4aefff539ea21087d7c2ff4bfb" +dependencies = [ + "anyhow", + "async-channel", + "console_error_panic_hook", + "futures", + "gpui-pre", + "gpui-pre-http-client", + "gpui-pre-scheduler", + "gpui-pre-wgpu", + "js-sys", + "log", + "parking_lot", + "raw-window-handle", + "smallvec", + "unicode-properties", + "unicode-script", + "unicode-segmentation", + "uuid", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm_thread", + "web-sys", + "web-time", +] + +[[package]] +name = "gpui-pre-wgpu" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b1cdb26c1503bf9662ee8fbc5ab0b44b2deeee4b5c12dc67491ba6fb5fc544b" +dependencies = [ + "anyhow", + "bytemuck", + "cosmic-text", + "etagere", + "gpui-pre", + "gpui-pre-collections", + "gpui-pre-util", + "itertools 0.14.0", + "log", + "parking_lot", + "profiling", + "raw-window-handle", + "smallvec", + "swash", + "unicode-bidi", + "unicode-segmentation", + "web-sys", + "wgpu", + "zed-font-kit", +] + +[[package]] +name = "gpui-pre-windows" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "513d4f0fc7d596d3bdef2a73a524ffb83dabc95bf484f2855a698e7f431290a9" +dependencies = [ + "accesskit", + "accesskit_windows", + "anyhow", + "dunce", + "etagere", + "futures", + "gpui-pre", + "gpui-pre-collections", + "gpui-pre-scheduler", + "gpui-pre-util", + "image", + "itertools 0.14.0", + "log", + "parking_lot", + "rand 0.9.5", + "raw-window-handle", + "smallvec", + "uuid", + "windows 0.62.2", + "windows-core 0.62.2", + "windows-numerics 0.3.1", + "windows-registry 0.6.1", +] + +[[package]] +name = "gpui-pre-ztracing" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f17bfd6bd1f77ba5c58181fa6f82fc7a63015a1c58bef94a76e5acb9f8e42572" +dependencies = [ + "gpui-pre-ztracing-macro", + "tracing", +] + +[[package]] +name = "gpui-pre-ztracing-macro" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b0d73e1bc02eef886a5947f41b8512708792e9e5d3053d181843311a487f96f" + +[[package]] +name = "granit-parser" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e20f99e46474f56bd905c56e817ebddcf377a611f94c53ac4649e4d3fa3c0cd0" +dependencies = [ + "arraydeque", + "smallvec", +] + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff 0.13.1", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "group" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fd1a1c7a5206c5b7a3f5a0d7ccd3ff85d0c8f5133d62a02680255b0004af5f4" +dependencies = [ + "ff 0.14.0", + "rand_core 0.10.1", + "subtle", +] + +[[package]] +name = "h2" +version = "0.4.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef8e5e5a340588f4452631496976cf8636d4a7ecf600239fdc27615d2530bc16" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "half" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" +dependencies = [ + "cfg-if", + "crunchy", + "num-traits", + "zerocopy", +] + +[[package]] +name = "harfrust" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9da2e5ae821f6e96664977bf974d6d6a2d6682f9ccee23e62ec1d134246845f9" +dependencies = [ + "bitflags 2.13.2", + "bytemuck", + "core_maths", + "read-fonts 0.37.0", + "smallvec", +] + +[[package]] +name = "hash32" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d60b12902ba28e2730cd37e95b8c9223af2808df9e902d4df49588d1470606" +dependencies = [ + "byteorder", +] + +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" + +[[package]] +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "foldhash 0.1.5", +] + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash 0.2.0", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "foldhash 0.2.0", +] + +[[package]] +name = "hashlink" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a596f1b20ed2cc5ecac41a164aaebc7258057060f06c0cf7a2ba3991ee7990fb" +dependencies = [ + "hashbrown 0.17.1", +] + +[[package]] +name = "heapless" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25ba4bd83f9415b58b4ed8dc5714c76e626a105be4646c02630ad730ad3b5aa4" +dependencies = [ + "hash32", + "stable_deref_trait", +] + +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hermit-abi" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hex-literal" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e712f64ec3850b98572bffac52e2c6f282b29fe6c5fa6d42334b30be438d95c1" + +[[package]] +name = "hexf-parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" + +[[package]] +name = "hickory-net" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c480823ed7c2c5d0f09c41020cb6b7c28029ce60ec42dc942158dcf22f8e0a4d" +dependencies = [ + "async-trait", + "cfg-if", + "data-encoding", + "futures-channel", + "futures-io", + "futures-util", + "hickory-proto", + "idna", + "ipnet", + "jni", + "rand 0.10.3", + "thiserror 2.0.21", + "tinyvec", + "tokio", + "tracing", + "url", +] + +[[package]] +name = "hickory-proto" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12b92608f679a6fa515dd1d15c1ff89443026e391200a2c840c7afcba482893d" +dependencies = [ + "data-encoding", + "idna", + "ipnet", + "jni", + "once_cell", + "prefix-trie", + "rand 0.10.3", + "ring", + "thiserror 2.0.21", + "tinyvec", + "tracing", + "url", +] + +[[package]] +name = "hickory-resolver" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f3da5255c95d5a716857d54b5b8f4e8d67c3484d3beaaaae2ce25063b3ba981" +dependencies = [ + "cfg-if", + "futures-util", + "hickory-net", + "hickory-proto", + "ipconfig", + "ipnet", + "jni", + "moka", + "ndk-context", + "once_cell", + "parking_lot", + "rand 0.10.3", + "resolv-conf", + "smallvec", + "system-configuration 0.7.0", + "thiserror 2.0.21", + "tokio", + "tracing", +] + +[[package]] +name = "hkdf" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +dependencies = [ + "hmac 0.12.1", +] + +[[package]] +name = "hkdf" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4aaa26c720c68b866f2c96ef5c1264b3e6f473fe5d4ce61cd44bbe913e553018" +dependencies = [ + "hmac 0.13.0", +] + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest 0.10.7", +] + +[[package]] +name = "hmac" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f" +dependencies = [ + "digest 0.11.3", +] + +[[package]] +name = "hound" +version = "3.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62adaabb884c94955b19907d60019f4e145d091c75345379e70d1ee696f7854f" + +[[package]] +name = "html5ever" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c13771afe0e6e846f1e67d038d4cb29998a6779f93c809212e4e9c32efd244d4" +dependencies = [ + "log", + "mac", + "markup5ever", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "http" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "ctutils", + "subtle", + "typenum", + "zeroize", +] + +[[package]] +name = "hyper" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27b501faa50e7a26c3d3560ca625132f4078a17771f4810baf70475ae48cbe43" +dependencies = [ + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "h2", + "http", + "http-body", + "httparse", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.27.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53" +dependencies = [ + "http", + "hyper", + "hyper-util", + "rustls", + "rustls-native-certs", + "tokio", + "tokio-rustls", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-channel", + "futures-util", + "http", + "http-body", + "httparse", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2", + "system-configuration 0.7.0", + "tokio", + "tower-service", + "tracing", + "windows-registry 0.6.1", +] + +[[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 = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" + +[[package]] +name = "icu_properties" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "ignore" +version = "0.4.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b69833ed729dc5aa7d19541d96d6cf8e9137194207a04916d658e43168402f" +dependencies = [ + "crossbeam-deque", + "globset", + "log", + "memchr", + "regex-automata", + "same-file", + "walkdir", + "winapi-util", +] + +[[package]] +name = "image" +version = "0.25.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85ab80394333c02fe689eaf900ab500fbd0c2213da414687ebf995a65d5a6104" +dependencies = [ + "bytemuck", + "byteorder-lite", + "color_quant", + "exr", + "gif 0.14.2", + "image-webp", + "moxcms", + "num-traits", + "png 0.18.1", + "qoi", + "ravif", + "rayon", + "tiff", + "zune-core 0.5.3", + "zune-jpeg 0.5.15", +] + +[[package]] +name = "image-webp" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "525e9ff3e1a4be2fbea1fdf0e98686a6d98b4d8f937e1bf7402245af1909e8c3" +dependencies = [ + "byteorder-lite", + "quick-error", +] + +[[package]] +name = "imagesize" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edcd27d72f2f071c64249075f42e205ff93c9a4c5f6c6da53e79ed9f9832c285" + +[[package]] +name = "imagesize" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e54e57b4c48b40f7aec75635392b12b3421fa26fe8b4332e63138ed278459c" + +[[package]] +name = "imgref" +version = "1.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e44b0a4eaa4c82f441d50a963f2d5f05a787240aeee097597033e72accfd22f" + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown 0.17.1", + "serde", + "serde_core", +] + +[[package]] +name = "inotify" +version = "0.11.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cc00ea907cab49550b7da656f80ebb97be1b997d931fbcd28d39734e17ce592" +dependencies = [ + "bitflags 2.13.2", + "inotify-sys", + "libc", +] + +[[package]] +name = "inotify-sys" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c033f80b2c113cdf91ab7a33faa9cbc014726dcad99880c8609af2a370edf37d" +dependencies = [ + "libc", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "block-padding 0.3.3", + "generic-array 0.14.7", +] + +[[package]] +name = "inout" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4250ce6452e92010fdf7268ccc5d14faa80bb12fc741938534c58f16804e03c7" +dependencies = [ + "block-padding 0.4.2", + "hybrid-array", +] + +[[package]] +name = "instant" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "interpolate_name" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c34819042dc3d3971c46c2190835914dfbe0c3c13f61449b2997f4e9722dfa60" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "inventory" +version = "0.3.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4f0c30c76f2f4ccee3fe55a2435f691ca00c0e4bd87abe4f4a851b1d4dac39b" +dependencies = [ + "rustversion", +] + +[[package]] +name = "ipconfig" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d40460c0ce33d6ce4b0630ad68ff63d6661961c48b6dba35e5a4d81cfb48222" +dependencies = [ + "socket2", + "widestring", + "windows-registry 0.6.1", + "windows-result 0.4.1", + "windows-sys 0.61.2", +] + +[[package]] +name = "ipnet" +version = "2.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0" +dependencies = [ + "serde", +] + +[[package]] +name = "is" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d08f9118d003d441f79c1070e84d0a2a89f35721ca8ae0cd5e1f9026dc4a2517" +dependencies = [ + "crc", + "serde", + "str0m-proto", + "subtle", + "tracing", +] + +[[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 = "is_terminal_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" + +[[package]] +name = "itertools" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + +[[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 = "jiff" +version = "0.2.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2b005715dcbeb0089a3c0dab99f2ff1cc3b2525323552703d648585d342a383" +dependencies = [ + "defmt", + "jiff-core", + "jiff-static", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", +] + +[[package]] +name = "jiff-core" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e52fe76043ccecc9005d2305ebaadf7d7fc0cc89ca6baa10a94d6bc68c7128c" +dependencies = [ + "defmt", + "log", +] + +[[package]] +name = "jiff-static" +version = "0.2.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cc9817253cf7c7ee4684451bd327e88d6f3658014e54a29198625590650695c" +dependencies = [ + "jiff-core", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "jni" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" +dependencies = [ + "cfg-if", + "combine", + "jni-macros", + "jni-sys 0.4.1", + "log", + "simd_cesu8", + "thiserror 2.0.21", + "walkdir", + "windows-link 0.2.1", +] + +[[package]] +name = "jni-macros" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "simd_cesu8", + "syn 2.0.119", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.119", +] + +[[package]] +name = "jobserver" +version = "0.1.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3" +dependencies = [ + "getrandom 0.4.3", + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "keccak" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8f198d1db720e4940b5a493201d199d9f24f568f8f746bd13706243a2f71598" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", +] + +[[package]] +name = "kem" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01737161ba802849cfd486b5bd209d38ba4943494c249a8126005170c7621edd" +dependencies = [ + "crypto-common 0.2.2", + "rand_core 0.10.1", +] + +[[package]] +name = "khronos-egl" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76" +dependencies = [ + "libc", + "libloading", + "pkg-config", +] + +[[package]] +name = "khronos_api" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" + +[[package]] +name = "kqueue" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d763e5b24120b4ddf50de6c92308156765aabfbbccebf401da7cff2d70a41ea" +dependencies = [ + "kqueue-sys", + "libc", +] + +[[package]] +name = "kqueue-sys" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07293a4e297ac234359b510362495713f75ea345d5307140414f20c69ffeb087" +dependencies = [ + "bitflags 2.13.2", + "libc", +] + +[[package]] +name = "kurbo" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c62026ae44756f8a599ba21140f350303d4f08dcdcc71b5ad9c9bb8128c13c62" +dependencies = [ + "arrayvec", + "euclid", + "smallvec", +] + +[[package]] +name = "kurbo" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b60dfc32f652b926df6192e55525b16d186c69d47876c3ead4da5cc9f8450e2" +dependencies = [ + "arrayvec", + "euclid", + "polycool", + "smallvec", +] + +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" + +[[package]] +name = "lebe" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a79a3332a6609480d7d0c9eab957bca6b455b91bb84e66d19f5ff66294b85b8" + +[[package]] +name = "libc" +version = "0.2.189" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" + +[[package]] +name = "libfuzzer-sys" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9fd2f41a1cba099f79a0b6b6c35656cf7c03351a7bae8ff0f28f25270f929d2" +dependencies = [ + "arbitrary", + "cc", +] + +[[package]] +name = "libloading" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" +dependencies = [ + "cfg-if", + "windows-link 0.2.1", +] + +[[package]] +name = "libm" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" + +[[package]] +name = "libopus_sys" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b81c32f233fb2507347a93f97b9919493be9db7ec2249ce2c3ed0c89ad8edf60" +dependencies = [ + "cmake", + "log", + "pkg-config", +] + +[[package]] +name = "libredox" +version = "0.1.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61ff90caf6077a803a240f62fdbe88645a890bbca49ef8174c3cb0404362171d" +dependencies = [ + "libc", +] + +[[package]] +name = "libsqlite3-sys" +version = "0.38.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1d20bef17f513b9b3004532233187769cd072d790971f4e4da0e346eb6401e8" +dependencies = [ + "cc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "libvpx-native-sys" +version = "5.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "296dc47df55b51ac871fac5f30a61dd3c3ea3f56a076498a6785f5e6f2f6ea75" +dependencies = [ + "pkg-config", + "semver-parser", +] + +[[package]] +name = "linebender_resource_handle" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4" + +[[package]] +name = "link-section" +version = "0.19.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39c29a617ce3df32c08497bdc1ab6e2376e0b17948ac166a2fbe5977c5954cd9" + +[[package]] +name = "linktime-proc-macro" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e57c38c1e860fd37c604281cdfb1dd2216977fd76a50f85ba2f388ef3219616" + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "litrs" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" +dependencies = [ + "serde_core", +] + +[[package]] +name = "loop9" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fae87c125b03c1d2c0150c90365d7d6bcc53fb73a9acaef207d2d065860f062" +dependencies = [ + "imgref", +] + +[[package]] +name = "lru-slab" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f" + +[[package]] +name = "lsp-types" +version = "0.97.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53353550a17c04ac46c585feb189c2db82154fc84b79c7a66c96c2c644f66071" +dependencies = [ + "bitflags 1.3.2", + "fluent-uri", + "serde", + "serde_json", + "serde_repr", +] + +[[package]] +name = "lyon" +version = "1.0.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd0578bdecb7d6d88987b8b2b1e3a4e2f81df9d0ece1078623324a567904e7b7" +dependencies = [ + "lyon_algorithms", + "lyon_tessellation", +] + +[[package]] +name = "lyon_algorithms" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdfa8785f95e57914ddb35e3b59994aeba6f5e79e9cfd03da1c269f010f36009" +dependencies = [ + "lyon_path", + "num-traits", +] + +[[package]] +name = "lyon_geom" +version = "1.0.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4336502e29e32af93cf2dad2214ed6003c17ceb5bd499df77b1de663b9042b92" +dependencies = [ + "arrayvec", + "euclid", + "num-traits", +] + +[[package]] +name = "lyon_path" +version = "1.0.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c463f9c428b7fc5ec885dcd39ce4aa61e29111d0e33483f6f98c74e89d8621e" +dependencies = [ + "lyon_geom", + "num-traits", +] + +[[package]] +name = "lyon_tessellation" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd4872650e70dc907dd4f7ebc449d7d657a0d2658e423b2e724970870bbbf75b" +dependencies = [ + "float_next_after", + "lyon_path", + "num-traits", +] + +[[package]] +name = "mac" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" + +[[package]] +name = "mac-notification-sys" +version = "0.6.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd604973958ddcc11b561193c0fb96ba146506ef2f231ef2e7c35fd2cbc9beca" +dependencies = [ + "cc", + "log", + "objc2 0.6.4", + "objc2-foundation 0.3.2", + "time", + "uuid", +] + +[[package]] +name = "mach2" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dae608c151f68243f2b000364e1f7b186d9c29845f7d2d85bd31b9ad77ad552b" + +[[package]] +name = "malloc_buf" +version = "0.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" +dependencies = [ + "libc", +] + +[[package]] +name = "markdown" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5cab8f2cadc416a82d2e783a1946388b31654d391d1c7d92cc1f03e295b1deb" +dependencies = [ + "serde", + "unicode-id", +] + +[[package]] +name = "markup5ever" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16ce3abbeba692c8b8441d036ef91aea6df8da2c6b6e21c7e14d3c18e526be45" +dependencies = [ + "log", + "phf 0.11.3", + "phf_codegen", + "string_cache", + "string_cache_codegen", + "tendril", +] + +[[package]] +name = "markup5ever_rcdom" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edaa21ab3701bfee5099ade5f7e1f84553fd19228cf332f13cd6e964bf59be18" +dependencies = [ + "html5ever", + "markup5ever", + "tendril", + "xml5ever", +] + +[[package]] +name = "maybe-rayon" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ea1f30cedd69f0a2954655f7188c6a834246d2bcf1e315e2ac40c4b24dc9519" +dependencies = [ + "cfg-if", + "rayon", +] + +[[package]] +name = "md-5" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" +dependencies = [ + "cfg-if", + "digest 0.10.7", +] + +[[package]] +name = "md5" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ebb8d8732c6a6df3d8f032a82911cfc747e00efb95cc46e8d0acd5b5b88570c" + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "memmap2" +version = "0.9.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1219ed1b7f229ee7104d281dd01d6802fe28bb6e95d292942c4daacdeb798c0" +dependencies = [ + "libc", +] + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "metal" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7047791b5bc903b8cd963014b355f71dc9864a9a0b727057676c1dcae5cbc15" +dependencies = [ + "bitflags 2.13.2", + "block", + "core-graphics-types 0.2.0", + "foreign-types", + "log", + "objc", + "paste", +] + +[[package]] +name = "mime" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" + +[[package]] +name = "mime_guess" +version = "2.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e" +dependencies = [ + "mime", + "unicase", +] + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "miniz_oxide" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" +dependencies = [ + "adler2", + "simd-adler32", +] + +[[package]] +name = "miniz_oxide" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c" +dependencies = [ + "adler2", + "simd-adler32", +] + +[[package]] +name = "mio" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b18443e9c262bfe8fa82f51666e2642c53393f7e5c27b3e1aeab922cff5b9d8" +dependencies = [ + "libc", + "log", + "wasi", + "windows-sys 0.61.2", +] + +[[package]] +name = "ml-kem" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e15f3e5b957493873e396a66914e83e616b6afe335cdef7efe5c6e1216aba66" +dependencies = [ + "hybrid-array", + "kem", + "module-lattice", + "pkcs8 0.11.0", + "rand_core 0.10.1", + "sha3 0.11.0", +] + +[[package]] +name = "module-lattice" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c61b87c9683ab7cb1c6871d261ad5479b6b10ceb52c4352aaca3b5d35a8febe" +dependencies = [ + "ctutils", + "hybrid-array", + "num-traits", +] + +[[package]] +name = "moka" +version = "0.12.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4293f18e7567a1caf3c584855554377025c65e0aa445344d04171f5ad63d19b9" +dependencies = [ + "crossbeam-channel", + "crossbeam-epoch", + "crossbeam-utils", + "equivalent", + "parking_lot", + "portable-atomic", + "smallvec", + "tagptr", + "uuid", +] + +[[package]] +name = "moxcms" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb85c154ba489f01b25c0d36ae69a87e4a1c73a72631fc6c0eb6dde34a73e44b" +dependencies = [ + "num-traits", + "pxfm", +] + +[[package]] +name = "multiversion_no_op" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "743fb55ba31b18fb1ecef6bdc9aa2743314978ac084044301a7eee33fb99a20d" + +[[package]] +name = "naga" +version = "29.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2bf919621e7975acb27d881bae2fb993e0d45c8e0446e85e6272971e00dc8df" +dependencies = [ + "arrayvec", + "bit-set", + "bitflags 2.13.2", + "cfg-if", + "cfg_aliases", + "codespan-reporting", + "half", + "hashbrown 0.16.1", + "hexf-parse", + "indexmap", + "libm", + "log", + "num-traits", + "once_cell", + "rustc-hash 1.1.0", + "spirv", + "thiserror 2.0.21", + "unicode-ident", +] + +[[package]] +name = "ndk" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" +dependencies = [ + "bitflags 2.13.2", + "jni-sys 0.3.1", + "log", + "ndk-sys", + "num_enum", + "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 = "nix" +version = "0.31.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d" +dependencies = [ + "bitflags 2.13.2", + "cfg-if", + "cfg_aliases", + "libc", +] + +[[package]] +name = "no_std_io2" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "418abd1b6d34fbf6cae440dc874771b0525a604428704c76e48b29a5e67b8003" +dependencies = [ + "memchr", +] + +[[package]] +name = "nohash-hasher" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "nom" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" +dependencies = [ + "memchr", +] + +[[package]] +name = "noop_proc_macro" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8" + +[[package]] +name = "normpath" +version = "1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b11ce00d2594068e8a27c9146fdc5cf9f3ac38eb42c7cd34d05fea618873ac9f" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "notify" +version = "8.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82f812702fbc75d35416d3f884e04925be7e9498f4eceea2e24ba34559284674" +dependencies = [ + "bitflags 2.13.2", + "inotify", + "kqueue", + "libc", + "log", + "mio", + "notify-types", + "objc2-core-foundation", + "objc2-core-services", + "walkdir", + "windows-sys 0.61.2", +] + +[[package]] +name = "notify-rust" +version = "4.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5b4c1b4f2aa9f25f63a7a49d3dd0ed567b3670da15330a66b29434be899b891" +dependencies = [ + "futures-lite", + "log", + "mac-notification-sys", + "serde", + "tauri-winrt-notification", + "zbus", +] + +[[package]] +name = "notify-types" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42b8cfee0e339a0337359f3c88165702ac6e600dc01c0cc9579a92d62b08477a" +dependencies = [ + "bitflags 2.13.2", +] + +[[package]] +name = "ntapi" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3b335231dfd352ffb0f8017f3b6027a4917f7df785ea2143d8af2adc66980ae" +dependencies = [ + "winapi", +] + +[[package]] +name = "num" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" +dependencies = [ + "num-bigint 0.4.8", + "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-bigint" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93e7820bc0a80a0238e650327316f929ba18d5be054b647490a3a6a339f3e7c0" +dependencies = [ + "num-integer", + "num-traits", + "rand 0.10.3", + "rand_core 0.10.1", +] + +[[package]] +name = "num-bigint-dig" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7f9a86e097b0d187ad0e65667c2f58b9254671e86e7dbb78036b16692eae099" +dependencies = [ + "libm", + "num-integer", + "num-iter", + "num-traits", + "once_cell", + "rand 0.9.5", + "serde", + "smallvec", + "zeroize", +] + +[[package]] +name = "num-complex" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" +dependencies = [ + "bytemuck", + "num-traits", +] + +[[package]] +name = "num-conv" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" + +[[package]] +name = "num-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[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 0.4.8", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_cpus" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" +dependencies = [ + "hermit-abi", + "libc", +] + +[[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", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "objc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" +dependencies = [ + "malloc_buf", + "objc_exception", +] + +[[package]] +name = "objc-foundation" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1add1b659e36c9607c7aab864a76c7a4c2760cd0cd2e120f3fb8b952c7e22bf9" +dependencies = [ + "block", + "objc", + "objc_id", +] + +[[package]] +name = "objc-sys" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310" + +[[package]] +name = "objc2" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804" +dependencies = [ + "objc-sys", + "objc2-encode", +] + +[[package]] +name = "objc2" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a12a8ed07aefc768292f076dc3ac8c48f3781c8f2d5851dd3d98950e8c5a89f" +dependencies = [ + "objc2-encode", +] + +[[package]] +name = "objc2-app-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "libc", + "objc2 0.5.2", + "objc2-core-data 0.2.2", + "objc2-core-image 0.2.2", + "objc2-foundation 0.2.2", + "objc2-quartz-core 0.2.2", +] + +[[package]] +name = "objc2-app-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" +dependencies = [ + "bitflags 2.13.2", + "block2 0.6.2", + "libc", + "objc2 0.6.4", + "objc2-cloud-kit", + "objc2-core-data 0.3.2", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-image 0.3.2", + "objc2-core-text", + "objc2-core-video", + "objc2-foundation 0.3.2", + "objc2-quartz-core 0.3.2", +] + +[[package]] +name = "objc2-cloud-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c" +dependencies = [ + "bitflags 2.13.2", + "objc2 0.6.4", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-core-data" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-core-data" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b402a653efbb5e82ce4df10683b6b28027616a2715e90009947d50b8dd298fa" +dependencies = [ + "bitflags 2.13.2", + "objc2 0.6.4", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags 2.13.2", + "dispatch2", + "objc2 0.6.4", +] + +[[package]] +name = "objc2-core-graphics" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" +dependencies = [ + "bitflags 2.13.2", + "dispatch2", + "objc2 0.6.4", + "objc2-core-foundation", + "objc2-io-surface", +] + +[[package]] +name = "objc2-core-image" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80" +dependencies = [ + "block2 0.5.1", + "objc2 0.5.2", + "objc2-foundation 0.2.2", + "objc2-metal 0.2.2", +] + +[[package]] +name = "objc2-core-image" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006" +dependencies = [ + "objc2 0.6.4", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-core-services" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "583300ad934cba24ff5292aee751ecc070f7ca6b39a574cc21b7b5e588e06a0b" +dependencies = [ + "libc", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-core-text" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d" +dependencies = [ + "bitflags 2.13.2", + "objc2 0.6.4", + "objc2-core-foundation", + "objc2-core-graphics", +] + +[[package]] +name = "objc2-core-video" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d425caf1df73233f29fd8a5c3e5edbc30d2d4307870f802d18f00d83dc5141a6" +dependencies = [ + "bitflags 2.13.2", + "objc2 0.6.4", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-io-surface", + "objc2-metal 0.3.2", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-foundation" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "libc", + "objc2 0.5.2", +] + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags 2.13.2", + "block2 0.6.2", + "libc", + "objc2 0.6.4", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-io-surface" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d" +dependencies = [ + "bitflags 2.13.2", + "objc2 0.6.4", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-metal" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "objc2 0.5.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-metal" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0125f776a10d00af4152d74616409f0d4a2053a6f57fa5b7d6aa2854ac04794" +dependencies = [ + "bitflags 2.13.2", + "block2 0.6.2", + "objc2 0.6.4", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-quartz-core" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "objc2 0.5.2", + "objc2-foundation 0.2.2", + "objc2-metal 0.2.2", +] + +[[package]] +name = "objc2-quartz-core" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f" +dependencies = [ + "bitflags 2.13.2", + "objc2 0.6.4", + "objc2-core-foundation", + "objc2-foundation 0.3.2", + "objc2-metal 0.3.2", +] + +[[package]] +name = "objc2-security" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe137109bd1e8b5a99390f77a7d8b2961dafc1a1c5db8f2e60329ad6d895a" +dependencies = [ + "objc2-core-foundation", +] + +[[package]] +name = "objc2-user-notifications" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9df9128cbbfef73cda168416ccf7f837b62737d748333bfe9ab71c245d76613e" +dependencies = [ + "bitflags 2.13.2", + "block2 0.6.2", + "objc2 0.6.4", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc_exception" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad970fb455818ad6cba4c122ad012fae53ae8b4795f86378bce65e4f6bab2ca4" +dependencies = [ + "cc", +] + +[[package]] +name = "objc_id" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c92d4ddb4bd7b50d730c215ff871754d0da6b2178849f8a2a2ab69712d0c073b" +dependencies = [ + "objc", +] + +[[package]] +name = "object" +version = "0.37.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" +dependencies = [ + "memchr", +] + +[[package]] +name = "oid-registry" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f40cff3dde1b6087cc5d5f5d4d65712f34016a03ed60e9c08dcc392736b5b7" +dependencies = [ + "asn1-rs", +] + +[[package]] +name = "omnom" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66562a92c66d5937e9d549597c2d3cafe3d2367dd08dc257da730587c2cfc218" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" +dependencies = [ + "critical-section", + "portable-atomic", +] + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" + +[[package]] +name = "oo7" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78f2bfed90f1618b4b48dcad9307f25e14ae894e2949642c87c351601d62cebd" +dependencies = [ + "aes 0.8.4", + "ashpd", + "async-fs", + "async-io", + "async-lock", + "blocking", + "cbc 0.1.2", + "cipher 0.4.4", + "digest 0.10.7", + "endi", + "futures-lite", + "futures-util", + "getrandom 0.4.3", + "hkdf 0.12.4", + "hmac 0.12.1", + "md-5", + "num", + "num-bigint-dig", + "pbkdf2 0.12.2", + "serde", + "serde_bytes", + "sha2 0.10.9", + "subtle", + "zbus", + "zbus_macros", + "zeroize", + "zvariant", +] + +[[package]] +name = "open" +version = "5.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d8c8b8e725ad26404d6896eb2f064294a0a7b4f1d9120210d85544684c4ca95" +dependencies = [ + "is-wsl", + "libc", +] + +[[package]] +name = "openh264" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcc9071a0b5f9c501ddd01066c2600d922cc799dc450a52975222bcda7755a08" +dependencies = [ + "openh264-sys2", + "wide", +] + +[[package]] +name = "openh264-sys2" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ada29a4cadc13d4d326737af87c13e224210d7d99fe47594e9f3f9b0102fd70" +dependencies = [ + "libloading", + "sha2 0.10.9", +] + +[[package]] +name = "openssl-probe" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" + +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + +[[package]] +name = "opus2" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49521e33fbf825d2abc8d696506c278cb8469d0c6cc05d3785bef5c5f7ee957b" +dependencies = [ + "libopus_sys", +] + +[[package]] +name = "ordered-float" +version = "5.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c7c9e0d9b23589f26070720bac724174bfec1083e82f7854cdd0267518343c0" +dependencies = [ + "num-traits", +] + +[[package]] +name = "ordered-stream" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aa2b01e1d916879f73a53d01d1d6cee68adbb31d6d9177a8cfce093cced1d50" +dependencies = [ + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "owned_ttf_parser" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36820e9051aca1014ddc75770aab4d68bc1e9e632f0f5627c4086bc216fb583b" +dependencies = [ + "ttf-parser", +] + +[[package]] +name = "p256" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" +dependencies = [ + "ecdsa 0.16.9", + "elliptic-curve 0.13.8", + "primeorder 0.13.6", + "sha2 0.10.9", +] + +[[package]] +name = "p256" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2c9239b2dbc807adbbe147e8cf72ea7450c3a0aabe62cb8e75ff4ec22e1f72a" +dependencies = [ + "ecdsa 0.17.0", + "elliptic-curve 0.14.1", + "primefield", + "primeorder 0.14.0", + "sha2 0.11.0", +] + +[[package]] +name = "p384" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d17b851e6b3e378ab4ecb07fa2ed23f4d15f075735f8fec9fa1e7bdce5f8301f" +dependencies = [ + "ecdsa 0.17.0", + "elliptic-curve 0.14.1", + "fiat-crypto 0.3.0", + "primefield", + "primeorder 0.14.0", + "sha2 0.11.0", +] + +[[package]] +name = "p521" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ad64cc32c2dc466317c12ee5853e61f159f9eab1fe7efade0395dc2e7b43449" +dependencies = [ + "base16ct 1.0.0", + "ecdsa 0.17.0", + "elliptic-curve 0.14.1", + "primefield", + "primeorder 0.14.0", + "sha2 0.11.0", +] + +[[package]] +name = "pageant" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d8eab09a361a4afe0b1668be978cd97e4f052e927a92b0b608cf902965d49ce" +dependencies = [ + "base16ct 1.0.0", + "byteorder", + "bytes", + "delegate", + "futures", + "log", + "rand 0.10.3", + "sha2 0.11.0", + "thiserror 2.0.21", + "tokio", + "windows 0.62.2", + "windows-strings 0.5.1", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link 0.2.1", +] + +[[package]] +name = "password-hash" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aab41826031698d6ffcd9cff78ef56ef998e39dc7e5067cdfebe373842d4723b" +dependencies = [ + "phc", +] + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "pastey" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35fb2e5f958ec131621fdd531e9fc186ed768cbe395337403ae56c17a74c68ec" + +[[package]] +name = "pathfinder_geometry" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b7e7b4ea703700ce73ebf128e1450eb69c3a8329199ffbfb9b2a0418e5ad3" +dependencies = [ + "log", + "pathfinder_simd", +] + +[[package]] +name = "pathfinder_simd" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4500030c302e4af1d423f36f3b958d1aecb6c04184356ed5a833bf6b60435777" +dependencies = [ + "rustc_version", +] + +[[package]] +name = "pbkdf2" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" +dependencies = [ + "digest 0.10.7", + "hmac 0.12.1", +] + +[[package]] +name = "pbkdf2" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "112d82ceb8c5bf524d9af484d4e4970c9fd5a0cc15ba14ad93dccd28873b0629" +dependencies = [ + "digest 0.11.3", + "hmac 0.13.0", +] + +[[package]] +name = "pem-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +dependencies = [ + "base64ct", +] + +[[package]] +name = "pem-rfc7468" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6305423e0e7738146434843d1694d621cce767262b2a86910beab705e4493d9" +dependencies = [ + "base64ct", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pest" +version = "2.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45d3aca230fad2e6f6317ca0a72724338c4960cb97168a85cdee66df4a9a21a8" +dependencies = [ + "memchr", + "ucd-trie", +] + +[[package]] +name = "phc" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44dc769b75f93afdddd8c7fa12d685292ddeff1e66f7f0f3a234cf1818afe892" +dependencies = [ + "base64ct", + "ctutils", +] + +[[package]] +name = "phf" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" +dependencies = [ + "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", + "phf_shared 0.13.1", + "serde", +] + +[[package]] +name = "phf_codegen" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a" +dependencies = [ + "phf_generator 0.11.3", + "phf_shared 0.11.3", +] + +[[package]] +name = "phf_generator" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" +dependencies = [ + "phf_shared 0.11.3", + "rand 0.8.8", +] + +[[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.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.119", +] + +[[package]] +name = "phf_shared" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" +dependencies = [ + "siphasher", +] + +[[package]] +name = "phf_shared" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266" +dependencies = [ + "siphasher", +] + +[[package]] +name = "pico-args" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315" + +[[package]] +name = "pin-project" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "piper" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c835479a4443ded371d6c535cbfd8d31ad92c5d23ae9770a61bc155e4992a3c1" +dependencies = [ + "atomic-waker", + "fastrand", + "futures-io", +] + +[[package]] +name = "pkcs1" +version = "0.8.0-rc.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "986d2e952779af96ea048f160fd9194e1751b4faea78bcf3ceb456efe008088e" +dependencies = [ + "der 0.8.2", + "spki 0.8.0", +] + +[[package]] +name = "pkcs5" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63d440a804ec8d6fafbb6b84471e013286658d373248927692ab3366686220ca" +dependencies = [ + "aes 0.9.3", + "aes-gcm", + "cbc 0.2.1", + "der 0.8.2", + "pbkdf2 0.13.0", + "rand_core 0.10.1", + "scrypt", + "sha2 0.11.0", + "spki 0.8.0", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der 0.7.10", + "spki 0.7.3", +] + +[[package]] +name = "pkcs8" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "451913da69c775a56034ea8d9003d27ee8948e12443eae7c038ba100a4f21cb7" +dependencies = [ + "der 0.8.2", + "pkcs5", + "rand_core 0.10.1", + "spki 0.8.0", +] + +[[package]] +name = "pkg-config" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" + +[[package]] +name = "png" +version = "0.17.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526" +dependencies = [ + "bitflags 1.3.2", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide 0.8.9", +] + +[[package]] +name = "png" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61" +dependencies = [ + "bitflags 2.13.2", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide 0.8.9", +] + +[[package]] +name = "polling" +version = "3.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" +dependencies = [ + "cfg-if", + "concurrent-queue", + "hermit-abi", + "pin-project-lite", + "rustix", + "windows-sys 0.61.2", +] + +[[package]] +name = "pollster" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f3a9f18d041e6d0e102a0a46750538147e5e8992d3b4873aaafee2520b00ce3" + +[[package]] +name = "poly1305" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2d0073b297041425c7c3df6eb4792d598a15323fe63346852b092eca02904c" +dependencies = [ + "cpufeatures 0.3.1", + "universal-hash", + "zeroize", +] + +[[package]] +name = "polycool" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50596ddc09eb5ad5f75cacd40209568e66df71baf86e1499a0e99c4cff12a5a6" +dependencies = [ + "arrayvec", +] + +[[package]] +name = "polyval" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0fa31d631f2b2cb2a544d0aa321ce847a94764d701ca2becc411138b93d49cd" +dependencies = [ + "cpubits", + "cpufeatures 0.3.1", + "universal-hash", + "zeroize", +] + +[[package]] +name = "portable-atomic" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" + +[[package]] +name = "portable-atomic-util" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "precomputed-hash" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" + +[[package]] +name = "prefix-trie" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cf6e3177f0684016a5c209b00882e15f8bdd3f3bb48f0491df10cd102d0c6e7" +dependencies = [ + "either", + "ipnet", + "num-traits", +] + +[[package]] +name = "presser" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa" + +[[package]] +name = "primal-check" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc0d895b311e3af9902528fbb8f928688abbd95872819320517cc24ca6b2bd08" +dependencies = [ + "num-integer", +] + +[[package]] +name = "primefield" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c555a6e4eb7d4e158fcb028c835c3b8642206ddc279b5c6b202ef9a8bdb592f4" +dependencies = [ + "crypto-bigint 0.7.7", + "crypto-common 0.2.2", + "ff 0.14.0", + "rand_core 0.10.1", + "subtle", + "zeroize", +] + +[[package]] +name = "primeorder" +version = "0.13.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" +dependencies = [ + "elliptic-curve 0.13.8", +] + +[[package]] +name = "primeorder" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c9f42978c78a00e3d68f69fc03e57a234debae69da4020a4fb588fcdcd07b06" +dependencies = [ + "elliptic-curve 0.14.1", + "once_cell", + "primefield", + "serdect", + "wnaf", +] + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit 0.25.15+spec-1.1.0", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "profiling" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d595e54a326bc53c1c197b32d295e14b169e3cfeaa8dc82b529f947fba6bcf5" +dependencies = [ + "profiling-procmacros", +] + +[[package]] +name = "profiling-procmacros" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4488a4a36b9a4ba6b9334a32a39971f77c1436ec82c38707bce707699cc3bbcb" +dependencies = [ + "quote", + "syn 2.0.119", +] + +[[package]] +name = "prost" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "528ac67416ff8646872a3c02cad9cc4ee5dc9f9540c9b10771855c95cb2e5ae1" +dependencies = [ + "bytes", + "prost-derive", +] + +[[package]] +name = "prost-derive" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b570b25f7617e43d59005d0990ccb79e950a423952cea19671b7a876da390adf" +dependencies = [ + "anyhow", + "itertools 0.13.0", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "pulp" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "046aa45b989642ec2e4717c8e72d677b13edd831a4d3b6cf37d9a3e54912496a" +dependencies = [ + "bytemuck", + "cfg-if", + "libm", + "num-complex", + "paste", + "pulp-wasm-simd-flag", + "raw-cpuid", + "reborrow", + "version_check", +] + +[[package]] +name = "pulp-wasm-simd-flag" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d8f70e07b9c3962945a74e59ca1c511bba65b6419468acc217c457d93f3c740" + +[[package]] +name = "pxfm" +version = "0.1.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea" + +[[package]] +name = "qoi" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "quick-error" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" + +[[package]] +name = "quick-xml" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1" +dependencies = [ + "memchr", +] + +[[package]] +name = "quicklz" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "750eab265a26a0cd064f2a2b222bf172cc06d7a873e113e5f6d0118cc6e5fbb1" +dependencies = [ + "bit-vec 0.6.3", + "byteorder", + "thiserror 1.0.69", +] + +[[package]] +name = "quinn" +version = "0.11.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4051e23e9185c255a7e33ef59cdbca87a22d359052eecd22fc6b901fb37d9d11" +dependencies = [ + "bytes", + "cfg_aliases", + "pin-project-lite", + "quinn-proto", + "quinn-udp", + "rustc-hash 2.1.3", + "rustls", + "socket2", + "thiserror 2.0.21", + "tokio", + "tracing", + "web-time", +] + +[[package]] +name = "quinn-proto" +version = "0.11.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9746dbde176634f4f2f1faf2404e30a31b2bc1e9cafb5329c95d8177a18c9fc" +dependencies = [ + "aws-lc-rs", + "bytes", + "getrandom 0.4.3", + "lru-slab", + "rand 0.10.3", + "rand_pcg", + "ring", + "rustc-hash 2.1.3", + "rustls", + "rustls-pki-types", + "slab", + "thiserror 2.0.21", + "tinyvec", + "tracing", + "web-time", +] + +[[package]] +name = "quinn-udp" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35a133f956daabe89a61a685c2649f13d82d5aa4bd5d12d1277e1072a21c0694" +dependencies = [ + "cfg_aliases", + "libc", + "once_cell", + "socket2", + "tracing", + "windows-sys 0.61.2", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.5", +] + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20", + "getrandom 0.4.3", + "rand_core 0.10.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_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.5", +] + +[[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_core" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" +dependencies = [ + "getrandom 0.3.4", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rand_pcg" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" +dependencies = [ + "rand_core 0.10.1", +] + +[[package]] +name = "range-alloc" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca45419789ae5a7899559e9512e58ca889e41f04f1f2445e9f4b290ceccd1d08" + +[[package]] +name = "rangemap" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a611d15b50743feb4c76b7d03edcb0e64f399c26961e4efe6975bc398be6aa3d" + +[[package]] +name = "rav1e" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43b6dd56e85d9483277cde964fd1bdb0428de4fec5ebba7540995639a21cb32b" +dependencies = [ + "aligned-vec", + "arbitrary", + "arg_enum_proc_macro", + "arrayvec", + "av-scenechange", + "av1-grain", + "bitstream-io", + "built", + "cfg-if", + "interpolate_name", + "itertools 0.14.0", + "libc", + "libfuzzer-sys", + "log", + "maybe-rayon", + "new_debug_unreachable", + "noop_proc_macro", + "num-derive", + "num-traits", + "paste", + "profiling", + "rand 0.9.5", + "rand_chacha 0.9.0", + "simd_helpers", + "thiserror 2.0.21", + "v_frame", + "wasm-bindgen", +] + +[[package]] +name = "ravif" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e52310197d971b0f5be7fe6b57530dcd27beb35c1b013f29d66c1ad73fbbcc45" +dependencies = [ + "avif-serialize", + "imgref", + "loop9", + "quick-error", + "rav1e", + "rayon", + "rgb", +] + +[[package]] +name = "raw-cpuid" +version = "11.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "498cd0dc59d73224351ee52a95fee0f1a617a2eae0e7d9d720cc622c73a54186" +dependencies = [ + "bitflags 2.13.2", +] + +[[package]] +name = "raw-window-handle" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" + +[[package]] +name = "raw-window-metal" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40d213455a5f1dc59214213c7330e074ddf8114c9a42411eb890c767357ce135" +dependencies = [ + "objc2 0.6.4", + "objc2-core-foundation", + "objc2-foundation 0.3.2", + "objc2-quartz-core 0.3.2", +] + +[[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 = "rcgen" +version = "0.14.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8774e05a7d0de114588e6a28fe7e71694b82614ed569d86d8b389dfbc98b8ad8" +dependencies = [ + "aws-lc-rs", + "rustls-pki-types", + "time", + "x509-parser", + "yasna", +] + +[[package]] +name = "read-fonts" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b634fabf032fab15307ffd272149b622260f55974d9fad689292a5d33df02e5" +dependencies = [ + "bytemuck", + "core_maths", + "font-types 0.11.3", +] + +[[package]] +name = "read-fonts" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "046a7d674daf459825b32f5062056d6882db0d2f5a479fbd76ccfc870ac18709" +dependencies = [ + "bytemuck", + "font-types 0.12.5", + "once_cell", +] + +[[package]] +name = "realfft" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f821338fddb99d089116342c46e9f1fbf3828dba077674613e734e01d6ea8677" +dependencies = [ + "rustfft", +] + +[[package]] +name = "reborrow" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03251193000f4bd3b042892be858ee50e8b3719f2b08e5833ac4353724632430" + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags 2.13.2", +] + +[[package]] +name = "redox_users" +version = "0.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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60dc65c0ff1a7ae1294b0c67b9f14baf70b644404010370171787bfac1038fc0" +dependencies = [ + "libredox", + "thiserror 2.0.21", +] + +[[package]] +name = "ref-cast" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e440fb4e4b4147295338efb76001ab9e4efc0e5839df2c47fc5ac2381d365c3" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "regex" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "renderdoc-sys" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" + +[[package]] +name = "reqwest" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029" +dependencies = [ + "base64 0.23.1", + "bytes", + "encoding_rs", + "futures-core", + "h2", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "mime", + "percent-encoding", + "pin-project-lite", + "quinn", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tokio-rustls", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "resolv-conf" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e061d1b48cb8d38042de4ae0a7a6401009d6143dc80d2e2d6f31f0bdd6470c7" + +[[package]] +name = "resvg" +version = "0.45.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8928798c0a55e03c9ca6c4c6846f76377427d2c1e1f7e6de3c06ae57942df43" +dependencies = [ + "gif 0.13.3", + "image-webp", + "log", + "pico-args", + "rgb", + "svgtypes 0.15.3", + "tiny-skia", + "usvg 0.45.1", + "zune-jpeg 0.4.21", +] + +[[package]] +name = "resvg" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b563218631706d614e23059436526d005b50ab5f2d506b55a17eb65c5eb83419" +dependencies = [ + "gif 0.14.2", + "image-webp", + "log", + "pico-args", + "rgb", + "svgtypes 0.16.1", + "tiny-skia", + "usvg 0.46.0", + "zune-jpeg 0.5.15", +] + +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac 0.12.1", + "subtle", +] + +[[package]] +name = "rfc6979" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4a459cddafb3fe76b31fd8f1108007566c40301feb64dc7b54656eb7388172b" +dependencies = [ + "crypto-bigint 0.7.7", + "hmac 0.13.0", +] + +[[package]] +name = "rgb" +version = "0.8.53" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b34b781b31e5d73e9fbc8689c70551fd1ade9a19e3e28cfec8580a79290cc4" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "ring" +version = "0.17.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.17", + "libc", + "untrusted 0.9.0", + "windows-sys 0.52.0", +] + +[[package]] +name = "ropey" +version = "2.0.0-beta.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4045a00dc327d084a2bbf126976e14125b54f23bd30511d45b842eba76c52d74" +dependencies = [ + "str_indices", +] + +[[package]] +name = "roxmltree" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97" + +[[package]] +name = "roxmltree" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1964b10c76125c36f8afe190065a4bf9a87bf324842c05701330bba9f1cacbb" +dependencies = [ + "memchr", +] + +[[package]] +name = "rsa" +version = "0.10.0-rc.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30b2aa4ba0d89f73d1e332df05be0eeab8840351c36ca5654341dfdb57bb3caf" +dependencies = [ + "const-oid 0.10.2", + "crypto-bigint 0.7.7", + "crypto-primes", + "digest 0.11.3", + "pkcs1", + "pkcs8 0.11.0", + "rand_core 0.10.1", + "sha2 0.11.0", + "signature 3.0.0", + "spki 0.8.0", + "zeroize", +] + +[[package]] +name = "rsqlite-vfs" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c51c9ae4df8a7fba42103df5c621fa3c37eccf3a3c650879e90fc48b11cc192c" +dependencies = [ + "hashbrown 0.16.1", + "thiserror 2.0.21", +] + +[[package]] +name = "rtrb" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9278fb35b3e730abe136e9b395b5b81b96d06b9f5478a50f0c8430a2237b22de" + +[[package]] +name = "rubato" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7cb1ffaf8738df50aab642a7f6465df81c6ba9e2818268053487165298114be" +dependencies = [ + "audioadapter", + "audioadapter-buffers", + "num-complex", + "num-integer", + "num-traits", + "realfft", + "visibility", + "windowfunctions", +] + +[[package]] +name = "rusqlite" +version = "0.40.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f2a97da3e3873c73cb2a2e71b35c40ff95e0b1eefa8d72d8499a6928c3b5b3" +dependencies = [ + "bitflags 2.13.2", + "fallible-iterator", + "fallible-streaming-iterator", + "hashlink", + "libsqlite3-sys", + "smallvec", + "sqlite-wasm-rs", +] + +[[package]] +name = "russh" +version = "0.63.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "036204edbd199552a5b3832f63c60dcdf395dc44c7f06b4af1c0e8139cc11bce" +dependencies = [ + "aes 0.9.3", + "aws-lc-rs", + "bitflags 2.13.2", + "block-padding 0.4.2", + "byteorder", + "bytes", + "cbc 0.2.1", + "cipher 0.5.2", + "crypto-bigint 0.7.7", + "ctr 0.10.1", + "curve25519-dalek 5.0.0", + "data-encoding", + "delegate", + "der 0.8.2", + "digest 0.11.3", + "ecdsa 0.17.0", + "ed25519-dalek", + "elliptic-curve 0.14.1", + "enum_dispatch", + "flate2", + "futures", + "generic-array 1.4.5", + "getrandom 0.4.3", + "ghash", + "hex-literal", + "hmac 0.13.0", + "inout 0.2.2", + "keccak", + "log", + "md5", + "ml-kem", + "module-lattice", + "num-bigint 0.5.1", + "p256 0.14.0", + "p384", + "p521", + "pageant", + "pbkdf2 0.13.0", + "pkcs1", + "pkcs5", + "pkcs8 0.11.0", + "polyval", + "rand 0.10.3", + "rand_core 0.10.1", + "rsa", + "russh-cryptovec", + "russh-util", + "salsa20", + "scrypt", + "sec1 0.8.1", + "sha1", + "sha2 0.11.0", + "sha3 0.12.0", + "signature 3.0.0", + "spki 0.8.0", + "ssh-encoding", + "ssh-key", + "subtle", + "thiserror 2.0.21", + "tokio", + "typenum", + "universal-hash", + "zeroize", +] + +[[package]] +name = "russh-cryptovec" +version = "0.62.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3aec6cb630dbe85d72ffd7bcd95f07e1bd69f9f270ee8adfa1afe443a6331438" +dependencies = [ + "log", + "nix", + "ssh-encoding", + "windows-sys 0.61.2", +] + +[[package]] +name = "russh-util" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "668424a5dde0bcb45b55ba7de8476b93831b4aa2fa6947e145f3b053e22c60b6" +dependencies = [ + "chrono", + "tokio", + "wasm-bindgen", + "wasm-bindgen-futures", +] + +[[package]] +name = "rust-embed" +version = "8.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19afa5b4b6a611de00bd1bdae6ae6f39084c9399f0679c3f52d8469cf335cc23" +dependencies = [ + "rust-embed-impl", + "rust-embed-utils", + "walkdir", +] + +[[package]] +name = "rust-embed-impl" +version = "8.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0d8afda6374eac59e066abee06d265247ebbaf3006cf878e2879e8356e34053" +dependencies = [ + "mime_guess", + "proc-macro2", + "quote", + "rust-embed-utils", + "shellexpand", + "syn 2.0.119", + "walkdir", +] + +[[package]] +name = "rust-embed-utils" +version = "8.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d84e8ba78bd384263e5922f084cbe1b081c3b7e69add59c8fb097b879ba968a" +dependencies = [ + "globset", + "sha2 0.11.0", + "walkdir", +] + +[[package]] +name = "rust-i18n" +version = "4.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8502e73e6461c738659455c5d2cf95bc132760a6f203c717e66ee72b78906d7f" +dependencies = [ + "globwalk", + "regex", + "rust-i18n-macro", + "rust-i18n-support", + "smallvec", +] + +[[package]] +name = "rust-i18n-macro" +version = "4.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d54a28dd9d46108d56b9f0c85b220908844233e561c03087890325104f90f2c6" +dependencies = [ + "glob", + "proc-macro2", + "quote", + "rust-i18n-support", + "serde", + "serde_json", + "syn 2.0.119", +] + +[[package]] +name = "rust-i18n-support" +version = "4.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e806c2a9701cbd6043992cd935c30cb1fdb128fa15e7b506f3b46f97045737c0" +dependencies = [ + "arc-swap", + "base62", + "foldhash 0.2.0", + "globwalk", + "itertools 0.11.0", + "normpath", + "serde", + "serde-saphyr", + "serde_json", + "siphasher", + "toml 0.8.23", + "triomphe", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b74b56ffa8bb2830709a538c2cbcae9aa062db0d2a42563bfb09bdaae44020eb" + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustfft" +version = "6.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21db5f9893e91f41798c88680037dba611ca6674703c1a18601b01a72c8adb89" +dependencies = [ + "num-complex", + "num-integer", + "num-traits", + "primal-check", + "strength_reduce", + "transpose", +] + +[[package]] +name = "rusticata-macros" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" +dependencies = [ + "nom 7.1.3", +] + +[[package]] +name = "rustix" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" +dependencies = [ + "bitflags 2.13.2", + "errno", + "libc", + "linux-raw-sys", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls" +version = "0.23.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf" +dependencies = [ + "aws-lc-rs", + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-native-certs" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d" +dependencies = [ + "openssl-probe", + "rustls-pki-types", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pemfile" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "rustls-pki-types" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96" +dependencies = [ + "web-time", + "zeroize", +] + +[[package]] +name = "rustls-platform-verifier" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1167586491e2b18b8bfbb293e8180ec17c201c4f076d7cb3070ca964e7598f98" +dependencies = [ + "core-foundation 0.10.1", + "core-foundation-sys", + "jni", + "log", + "once_cell", + "rustls", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki", + "security-framework", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f" + +[[package]] +name = "rustls-webpki" +version = "0.103.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281" +dependencies = [ + "aws-lc-rs", + "ring", + "rustls-pki-types", + "untrusted 0.9.0", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "rustybuzz" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3c7c96f8a08ee34eff8857b11b49b07d71d1c3f4e88f8a88d4c9e9f90b1702" +dependencies = [ + "bitflags 2.13.2", + "bytemuck", + "core_maths", + "log", + "smallvec", + "ttf-parser", + "unicode-bidi-mirroring", + "unicode-ccc", + "unicode-properties", + "unicode-script", +] + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[package]] +name = "safe_arch" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42c6efa15875e6ecb39ca61fb0b0c1a40b84fac5a5ffe71eef7d1000c8eb3f5f" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "salsa20" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f874456e72520ff1375a06c588eaf074b0f01f9e9e1aada45bd9b7954a6e42c" +dependencies = [ + "cfg-if", + "cipher 0.5.2", +] + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "schannel" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "schemars" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab508826f74a77ca9d5aba6ff19b522583ee3eaf28a19384ff3d0e5835fadf6e" +dependencies = [ + "dyn-clone", + "indexmap", + "ref-cast", + "schemars_derive", + "serde", + "serde_json", +] + +[[package]] +name = "schemars_derive" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1c3a92094fa7d61aa124645844facb6b554dfc797136d0f5fd1f890e2bffc69" +dependencies = [ + "proc-macro2", + "quote", + "serde_derive_internals", + "syn 3.0.6", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "screencapturekit" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a5eeeb57ac94960cfe5ff4c402be6585ae4c8d29a2cf41b276048c2e849d64e" +dependencies = [ + "screencapturekit-sys", +] + +[[package]] +name = "screencapturekit-sys" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22411b57f7d49e7fe08025198813ee6fd65e1ee5eff4ebc7880c12c82bde4c60" +dependencies = [ + "block", + "dispatch", + "objc", + "objc-foundation", + "objc_id", + "once_cell", +] + +[[package]] +name = "scrypt" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d87af57419b594aa23fa95f09f0e06d80d84ba01c26148c43844cad6ff4485f0" +dependencies = [ + "cfg-if", + "pbkdf2 0.13.0", + "salsa20", + "sha2 0.11.0", +] + +[[package]] +name = "sctp-proto" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "250132c5814c3d4f01269ee7a261450bc38dd5119280262d3c13a40062cfde55" +dependencies = [ + "bytes", + "crc", + "log", + "rand 0.9.5", + "rustc-hash 2.1.3", + "slab", + "thiserror 2.0.21", +] + +[[package]] +name = "seahash" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" + +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct 0.2.0", + "der 0.7.10", + "generic-array 0.14.7", + "pkcs8 0.10.2", + "subtle", + "zeroize", +] + +[[package]] +name = "sec1" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56d437c2f19203ce5f7122e507831de96f3d2d4d3be5af44a0b0a09d8a80e4d" +dependencies = [ + "base16ct 1.0.0", + "ctutils", + "der 0.8.2", + "hybrid-array", + "subtle", + "zeroize", +] + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags 2.13.2", + "core-foundation 0.10.1", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "self_cell" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ab42ca02749e120097e328d91d415325bdf43b1c72c4c8badf37375fe40a813" + +[[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 = "semver-parser" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9900206b54a3527fdc7b8a938bffd94a568bac4f4aa8113b209df75a09c0dec2" +dependencies = [ + "pest", +] + +[[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-saphyr" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8050abb251097357e24aff63ba2c52a6309ecb7d23a5474023df960a02694d8" +dependencies = [ + "annotate-snippets", + "base64 0.22.1", + "encoding_rs_io", + "granit-parser", + "nohash-hasher", + "num-traits", + "serde_core", + "smallvec", + "zmij", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "serde_derive_internals" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f852137cce035d6a4df67ccce505ff6b3e9fd3a10e3e52b24dc71e650bb1a9bd" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "serde_json" +version = "1.0.151" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" +dependencies = [ + "indexmap", + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_repr" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "serde_spanned" +version = "0.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_spanned" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26" +dependencies = [ + "serde_core", +] + +[[package]] +name = "serde_urlencoded" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serdect" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e" +dependencies = [ + "base16ct 1.0.0", + "serde", +] + +[[package]] +name = "sha-1" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha1" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aacc4cc499359472b4abe1bf11d0b12e688af9a805fa5e3016f9a386dc2d0214" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "sha1_smol" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d" + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "sha3" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be176f1a57ce4e3d31c1a166222d9768de5954f811601fb7ca06fc8203905ce1" +dependencies = [ + "digest 0.11.3", + "keccak", +] + +[[package]] +name = "sha3" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc9bad02c26382724b2d2692c6f179285e4b54eeecd7968f52a50059c3c11759" +dependencies = [ + "digest 0.11.3", + "keccak", + "sponge-cursor", +] + +[[package]] +name = "shellexpand" +version = "3.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32824fab5e16e6c4d86dc1ba84489390419a39f97699852b66480bb87d297ed8" +dependencies = [ + "dirs 6.0.0", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", +] + +[[package]] +name = "signature" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" +dependencies = [ + "digest 0.11.3", + "rand_core 0.10.1", +] + +[[package]] +name = "simd-adler32" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea" + +[[package]] +name = "simd_cesu8" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" +dependencies = [ + "rustc_version", + "simdutf8", +] + +[[package]] +name = "simd_helpers" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95890f873bec569a0362c235787f3aca6e1e887302ba4840839bcc6459c42da6" +dependencies = [ + "quote", +] + +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "similar" +version = "2.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" +dependencies = [ + "bstr", + "unicode-segmentation", +] + +[[package]] +name = "simple_asn1" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d585997b0ac10be3c5ee635f1bab02d512760d14b7c468801ac8a01d9ae5f1d" +dependencies = [ + "num-bigint 0.4.8", + "num-traits", + "thiserror 2.0.21", + "time", +] + +[[package]] +name = "simplecss" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a9c6883ca9c3c7c90e888de77b7a5c849c779d25d74a1269b0218b14e8b136c" +dependencies = [ + "log", +] + +[[package]] +name = "siphasher" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256" + +[[package]] +name = "skrifa" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fbdfe3d2475fbd7ddd1f3e5cf8288a30eb3e5f95832829570cd88115a7434ac" +dependencies = [ + "bytemuck", + "read-fonts 0.37.0", +] + +[[package]] +name = "skrifa" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819ab7d62b1d3e72d9d9dea5650bac30424f9111364bb94928dbf5ecad1baa68" +dependencies = [ + "bytemuck", + "read-fonts 0.41.0", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "slotmap" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038" +dependencies = [ + "version_check", +] + +[[package]] +name = "smallvec" +version = "1.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9395f0f0eee849a9b707b2f06bb92a6a422090e2123bb2ef8e87a0e61892a8e" + +[[package]] +name = "smol" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a33bd3e260892199c3ccfc487c88b2da2265080acb316cd920da72fdfd7c599f" +dependencies = [ + "async-channel", + "async-executor", + "async-fs", + "async-io", + "async-lock", + "async-net", + "async-process", + "blocking", + "futures-lite", +] + +[[package]] +name = "smol_str" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4aaa7368fcf4852a4c2dd92df0cace6a71f2091ca0a23391ce7f3a31833f1523" +dependencies = [ + "serde_core", +] + +[[package]] +name = "socket2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "sonora" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e1ce442ab5cb392c4067b8f2cced20be4cf12e479f6dfbf44acbe9b14ac9250" +dependencies = [ + "sonora-aec3", + "sonora-agc2", + "sonora-common-audio", + "sonora-ns", + "sonora-simd", + "tracing", +] + +[[package]] +name = "sonora-aec3" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50280e31256d09f7838aff6715ed4b7640e514dc1092a1e14013c01e552380db" +dependencies = [ + "sonora-common-audio", + "sonora-fft", + "sonora-simd", +] + +[[package]] +name = "sonora-agc2" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a93a9fa8373a33e61a7fb441d8a9e725ac6024079d2c77a845cf6abe1790b9f" +dependencies = [ + "bytemuck", + "derive_more", + "sonora-common-audio", + "sonora-fft", + "sonora-simd", + "tracing", +] + +[[package]] +name = "sonora-common-audio" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6635bc61b24807ceac93ad0807b1292b6b0620caa6cd360d3be89fc616b833cc" +dependencies = [ + "derive_more", + "sonora-simd", +] + +[[package]] +name = "sonora-fft" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27e272c70f34363afb5382dd1818c05f8f63ef6785635736a14e9ccbbb5ba012" + +[[package]] +name = "sonora-ns" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d511feef19302c716d245c4555087d161ba91c178735ea11107dcce0d0b7a86f" +dependencies = [ + "sonora-fft", +] + +[[package]] +name = "sonora-simd" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7cf0804e4752a5562262e143014f53043080ead4cd5a98f9278d3ceaf32d868" +dependencies = [ + "cpufeatures 0.3.1", +] + +[[package]] +name = "spike-common" +version = "0.0.0" +dependencies = [ + "anyhow", + "env_logger", + "gpui-kit", + "image", + "log", + "rustix", + "serde_json", + "voelin-media", + "x11rb", + "yuv", +] + +[[package]] +name = "spike-composer" +version = "0.0.0" +dependencies = [ + "anyhow", + "gpui-kit", + "log", + "serde_json", + "spike-common", + "voelin-model", + "voelin-ui-vm", +] + +[[package]] +name = "spike-video" +version = "0.0.0" +dependencies = [ + "anyhow", + "futures", + "gpui-kit", + "log", + "serde_json", + "spike-common", + "tokio", + "voelin-core", + "voelin-media", + "yuv", +] + +[[package]] +name = "spike-windows" +version = "0.0.0" +dependencies = [ + "anyhow", + "futures", + "gpui-kit", + "log", + "serde_json", + "spike-common", + "tokio", + "voelin-media", + "voelin-platform", +] + +[[package]] +name = "spin" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e" +dependencies = [ + "lock_api", +] + +[[package]] +name = "spin" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "023a211cb3138dbc438680b32560ad89f699977624c9f8dbb95a47d5b4c07dd3" +dependencies = [ + "lock_api", +] + +[[package]] +name = "spirv" +version = "0.4.0+sdk-1.4.341.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9571ea910ebd84c86af4b3ed27f9dbdc6ad06f17c5f96146b2b671e2976744f" +dependencies = [ + "bitflags 2.13.2", +] + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der 0.7.10", +] + +[[package]] +name = "spki" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d9efca8738c78ee9484207732f728b1ef517bbb1833d6fc0879ca898a522f6f" +dependencies = [ + "base64ct", + "der 0.8.2", +] + +[[package]] +name = "sponge-cursor" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a0219bd7d979d58245a4f41f695e1ac9f8befdffadd7f61f1bae9e39abc6620" + +[[package]] +name = "sqlite-wasm-rs" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc3efc0da82635d7e1ced0053bbbfa8c7ab9645d0bf36ceb4f7127bb85315d75" +dependencies = [ + "cc", + "js-sys", + "rsqlite-vfs", + "wasm-bindgen", +] + +[[package]] +name = "ssh-cipher" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d801accda99469cde6d73da741422610fdf6508a72d9a69d1b55cb241c720597" +dependencies = [ + "aead 0.6.1", + "aes 0.9.3", + "aes-gcm", + "chacha20", + "cipher 0.5.2", + "ctutils", + "des", + "poly1305", + "ssh-encoding", + "zeroize", +] + +[[package]] +name = "ssh-encoding" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b54d0ed0498daf3f78d82e00e28c8eec9d75a067c4cfbcc7a0f7d0f4077749e" +dependencies = [ + "base64ct", + "bytes", + "crypto-bigint 0.7.7", + "ctutils", + "digest 0.11.3", + "pem-rfc7468 1.0.0", + "zeroize", +] + +[[package]] +name = "ssh-key" +version = "0.7.0-rc.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9a32fae177b74a22aa9c5b01bf7e68b33545be32d9e381e248058d2adc15ce3" +dependencies = [ + "argon2", + "bcrypt-pbkdf", + "ctutils", + "ed25519-dalek", + "hex", + "hmac 0.13.0", + "p256 0.14.0", + "p384", + "p521", + "rand_core 0.10.1", + "rsa", + "sec1 0.8.1", + "sha1", + "sha2 0.11.0", + "signature 3.0.0", + "ssh-cipher", + "ssh-encoding", + "zeroize", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "str0m" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8522aa06c731cfdc1488e32de7fcebcfc8d9d86d49a6ecc95a64779fe7b545f2" +dependencies = [ + "arrayvec", + "base64ct", + "combine", + "dimpl", + "fastrand", + "is", + "sctp-proto", + "serde", + "str0m-aws-lc-rs", + "str0m-proto", + "subtle", + "time", + "tracing", +] + +[[package]] +name = "str0m-aws-lc-rs" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73269314334fc6bfa8024f09dd652b9f5068360bf623c871e3d8d18e26d8035a" +dependencies = [ + "aws-lc-rs", + "dimpl", + "str0m-proto", + "time", +] + +[[package]] +name = "str0m-proto" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8f3d99f2cf6c76a502e45feb896ea71e54787ede8744bcdb215acfbfcb905dd" +dependencies = [ + "base64ct", + "dimpl", + "fastrand", + "serde", + "subtle", + "time", +] + +[[package]] +name = "str_indices" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d08889ec5408683408db66ad89e0e1f93dff55c73a4ccc71c427d5b277ee47e6" + +[[package]] +name = "strength_reduce" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe895eb47f22e2ddd4dabc02bce419d2e643c8e3b585c78158b349195bc24d82" + +[[package]] +name = "strict-num" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6637bab7722d379c8b41ba849228d680cc12d0a45ba1fa2b48f2a30577a06731" +dependencies = [ + "float-cmp", +] + +[[package]] +name = "string_cache" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf776ba3fa74f83bf4b63c3dcbbf82173db2632ed8452cb2d891d33f459de70f" +dependencies = [ + "new_debug_unreachable", + "parking_lot", + "phf_shared 0.11.3", + "precomputed-hash", + "serde", +] + +[[package]] +name = "string_cache_codegen" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c711928715f1fe0fe509c53b43e993a9a557babc2d0a3567d0a3006f1ac931a0" +dependencies = [ + "phf_generator 0.11.3", + "phf_shared 0.11.3", + "proc-macro2", + "quote", +] + +[[package]] +name = "strum" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "svg_fmt" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0193cc4331cfd2f3d2011ef287590868599a2f33c3e69bc22c1a3d3acf9e02fb" + +[[package]] +name = "svgtypes" +version = "0.15.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68c7541fff44b35860c1a7a47a7cadf3e4a304c457b58f9870d9706ece028afc" +dependencies = [ + "kurbo 0.11.3", + "siphasher", +] + +[[package]] +name = "svgtypes" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "695b5790b3131dafa99b3bbfd25a216edb3d216dad9ca208d4657bfb8f2abc3d" +dependencies = [ + "kurbo 0.13.1", + "siphasher", +] + +[[package]] +name = "swash" +version = "0.2.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c2499c2d826531388872b2268718aed907a39bd785ab0dcfe57fab26283f92e" +dependencies = [ + "skrifa 0.44.0", + "yazi", + "zeno", +] + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + +[[package]] +name = "synstructure" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "sys-locale" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eab9a99a024a169fe8a903cf9d4a3b3601109bcc13bd9e3c6fff259138626c4" +dependencies = [ + "libc", +] + +[[package]] +name = "sysinfo" +version = "0.31.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "355dbe4f8799b304b05e1b0f05fc59b2a18d36645cf169607da45bde2f69a1be" +dependencies = [ + "core-foundation-sys", + "libc", + "memchr", + "ntapi", + "rayon", + "windows 0.57.0", +] + +[[package]] +name = "system-configuration" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" +dependencies = [ + "bitflags 2.13.2", + "core-foundation 0.9.4", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b" +dependencies = [ + "bitflags 2.13.2", + "core-foundation 0.9.4", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "system-deps" +version = "7.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "396a35feb67335377e0251fcbc1092fc85c484bd4e3a7a54319399da127796e7" +dependencies = [ + "cfg-expr", + "heck 0.5.0", + "pkg-config", + "toml 1.1.6+spec-1.1.0", + "version-compare", +] + +[[package]] +name = "t4rust-derive" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e411692d6e0c8ce07f65a8210e95dcfb56cc4600940456592a49a3579ef6396" +dependencies = [ + "nom 7.1.3", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "taffy" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c034e05f6ee85a12daa63863c2245797715075c70649947aa0da54f3f2ab1d0f" +dependencies = [ + "arrayvec", + "serde", + "slotmap", + "smallvec", +] + +[[package]] +name = "tagptr" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417" + +[[package]] +name = "tao-core-video-sys" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "271450eb289cb4d8d0720c6ce70c72c8c858c93dd61fc625881616752e6b98f6" +dependencies = [ + "cfg-if", + "core-foundation-sys", + "libc", + "objc", +] + +[[package]] +name = "target-lexicon" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca" + +[[package]] +name = "tauri-winrt-notification" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed071c670382e85fc2f48ae706492d8c338f4f89bf72520d32f8abfe880aade" +dependencies = [ + "thiserror 2.0.21", + "windows 0.61.3", + "windows-version", +] + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom 0.3.4", + "once_cell", + "rustix", + "windows-sys 0.61.2", +] + +[[package]] +name = "tendril" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0" +dependencies = [ + "futf", + "mac", + "utf-8", +] + +[[package]] +name = "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.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl 2.0.21", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "tiff" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b63feaf3343d35b6ca4d50483f94843803b0f51634937cc2ec519fc32232bc52" +dependencies = [ + "fax", + "flate2", + "half", + "quick-error", + "weezl", + "zune-jpeg 0.5.15", +] + +[[package]] +name = "time" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" +dependencies = [ + "deranged", + "num-conv", + "powerfmt", + "serde_core", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" + +[[package]] +name = "time-macros" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + +[[package]] +name = "tiny-skia" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83d13394d44dae3207b52a326c0c85a8bf87f1541f23b0d143811088497b09ab" +dependencies = [ + "arrayref", + "arrayvec", + "bytemuck", + "cfg-if", + "log", + "png 0.17.16", + "tiny-skia-path", +] + +[[package]] +name = "tiny-skia-path" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c9e7fc0c2e86a30b117d0462aa261b72b7a99b7ebd7deb3a14ceda95c5bdc93" +dependencies = [ + "arrayref", + "bytemuck", + "strict-num", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" + +[[package]] +name = "tokio" +version = "1.54.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b52fd3255258d26fac7264ab5a76b53c13367136dc011d3d6ad4f8ed070396a3" +dependencies = [ + "bytes", + "libc", + "mio", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "tracing", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "tokio-rustls" +version = "0.26.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0c85f2c3ef0b1cd58b36682f4b17aaa995f0e5db534d85692b4903abce21f67" +dependencies = [ + "rustls", + "tokio", +] + +[[package]] +name = "tokio-socks" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7e2948f60dbe26b35f2c7fb74ac2854c1fddded0fe9d7548fcc674a246f7615" +dependencies = [ + "either", + "futures-util", + "thiserror 1.0.69", + "tokio", +] + +[[package]] +name = "tokio-stream" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17a073bfed563fa236697a068031408a93cd9522e08abf9933ead3e73411bd71" +dependencies = [ + "futures-util", + "log", + "rustls", + "rustls-native-certs", + "rustls-pki-types", + "tokio", + "tokio-rustls", + "tungstenite", +] + +[[package]] +name = "tokio-util" +version = "0.7.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "494815d09bf52b5548659851081238f0ca39ff638363907596da739561c62c52" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "libc", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "toml" +version = "0.8.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 = "1.1.6+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "920602543f0911ab71da12c50d59701da54c196d1a2bf5cb4b75667f137a406a" +dependencies = [ + "indexmap", + "serde_core", + "serde_spanned 1.1.1", + "toml_datetime 1.1.1+spec-1.1.0", + "toml_parser", + "toml_writer", + "winnow 1.0.4", +] + +[[package]] +name = "toml_datetime" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c" +dependencies = [ + "serde", +] + +[[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.22.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a" +dependencies = [ + "indexmap", + "serde", + "serde_spanned 0.6.9", + "toml_datetime 0.6.11", + "toml_write", + "winnow 0.7.15", +] + +[[package]] +name = "toml_edit" +version = "0.25.15+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1340ea94a5856333492c9064b02c778b191dd2c853778d9609debdcdfea3a614" +dependencies = [ + "indexmap", + "toml_datetime 1.1.1+spec-1.1.0", + "toml_parser", + "winnow 1.0.4", +] + +[[package]] +name = "toml_parser" +version = "1.1.3+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d38ac1cf9b95face32296c0a3ede1fdc270627c9d9c02a7274dd6d960dc4d56" +dependencies = [ + "winnow 1.0.4", +] + +[[package]] +name = "toml_write" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801" + +[[package]] +name = "toml_writer" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2" + +[[package]] +name = "tower" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" +dependencies = [ + "bitflags 2.13.2", + "bytes", + "futures-util", + "http", + "http-body", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", + "url", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "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.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 = "transpose" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad61aed86bc3faea4300c7aee358b4c6d0c8d6ccc36524c96e4c92ccf26e77e" +dependencies = [ + "num-integer", + "strength_reduce", +] + +[[package]] +name = "triomphe" +version = "0.1.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d15f4f5898bcfc5d8a8e45ed30b2f108d710c1a2e5489dbf80e078f707181bc" +dependencies = [ + "arc-swap", + "serde", + "stable_deref_trait", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "ts-bookkeeping" +version = "0.1.0" +dependencies = [ + "base64 0.22.1", + "heck 0.5.0", + "itertools 0.14.0", + "num-derive", + "num-traits", + "serde", + "t4rust-derive", + "thiserror 2.0.21", + "time", + "tracing", + "tsproto-packets", + "tsproto-structs", + "tsproto-types", +] + +[[package]] +name = "tsclientlib" +version = "0.2.0" +dependencies = [ + "base64 0.22.1", + "futures", + "git-testament", + "hickory-net", + "hickory-resolver", + "itertools 0.14.0", + "num-traits", + "opus2", + "pin-utils", + "rand 0.10.3", + "reqwest", + "thiserror 2.0.21", + "time", + "tokio", + "tokio-stream", + "tracing", + "ts-bookkeeping", + "tsproto", + "tsproto-packets", + "tsproto-types", + "url", +] + +[[package]] +name = "tsproto" +version = "0.2.0" +dependencies = [ + "aes 0.8.4", + "base64 0.22.1", + "crypto-bigint 0.6.1", + "curve25519-dalek 4.1.3", + "eax", + "futures", + "generic-array 0.14.7", + "git-testament", + "num-bigint 0.4.8", + "num-derive", + "num-traits", + "omnom", + "pin-project-lite", + "quicklz", + "rand 0.10.3", + "serde", + "sha-1", + "sha2 0.10.9", + "thiserror 2.0.21", + "time", + "tokio", + "tracing", + "tsproto-packets", + "tsproto-types", + "zeroize", +] + +[[package]] +name = "tsproto-packets" +version = "0.1.0" +dependencies = [ + "base64 0.22.1", + "bitflags 2.13.2", + "num-derive", + "num-traits", + "omnom", + "self_cell", + "serde", + "thiserror 2.0.21", +] + +[[package]] +name = "tsproto-structs" +version = "0.2.0" +dependencies = [ + "base64 0.22.1", + "csv", + "heck 0.5.0", + "once_cell", + "serde", + "toml 1.1.6+spec-1.1.0", +] + +[[package]] +name = "tsproto-types" +version = "0.1.0" +dependencies = [ + "base64 0.22.1", + "bitflags 2.13.2", + "curve25519-dalek 4.1.3", + "elliptic-curve 0.13.8", + "generic-array 0.14.7", + "heck 0.5.0", + "num-bigint 0.4.8", + "num-derive", + "num-traits", + "p256 0.13.2", + "rand 0.8.8", + "ref-cast", + "serde", + "sha-1", + "simple_asn1", + "t4rust-derive", + "thiserror 2.0.21", + "time", + "tsproto-structs", +] + +[[package]] +name = "ttf-parser" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2df906b07856748fa3f6e0ad0cbaa047052d4a7dd609e231c4f72cee8c36f31" +dependencies = [ + "core_maths", +] + +[[package]] +name = "tungstenite" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48ac77174b19c110a50ab2128b24215ac9cb40e0e12e093fb602d175c569d22" +dependencies = [ + "bytes", + "data-encoding", + "http", + "httparse", + "log", + "rand 0.10.3", + "rustls", + "rustls-pki-types", + "sha1", + "thiserror 2.0.21", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "ucd-trie" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" + +[[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 = "unicase" +version = "2.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142" + +[[package]] +name = "unicode-bidi" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" + +[[package]] +name = "unicode-bidi-mirroring" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dfa6e8c60bb66d49db113e0125ee8711b7647b5579dc7f5f19c42357ed039fe" + +[[package]] +name = "unicode-ccc" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce61d488bcdc9bc8b5d1772c404828b17fc481c0a582b5581e95fb233aef503e" + +[[package]] +name = "unicode-id" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65dd75ab2d9d379dbe86d4059e91d8b5a6e7054865eaba1ddbfc7a817ff96392" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-linebreak" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f" + +[[package]] +name = "unicode-properties" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d" + +[[package]] +name = "unicode-script" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "383ad40bb927465ec0ce7720e033cb4ca06912855fc35db31b5755d0de75b1ee" + +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + +[[package]] +name = "unicode-vo" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1d386ff53b415b7fe27b50bb44679e2cc4660272694b7b6f3326d8480823a94" + +[[package]] +name = "unicode-width" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "universal-hash" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4987bdc12753382e0bec4a65c50738ffaabc998b9cdd1f952fb5f39b0048a96" +dependencies = [ + "crypto-common 0.2.2", + "ctutils", +] + +[[package]] +name = "untrusted" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" + +[[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", +] + +[[package]] +name = "usvg" +version = "0.45.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80be9b06fbae3b8b303400ab20778c80bbaf338f563afe567cf3c9eea17b47ef" +dependencies = [ + "base64 0.22.1", + "data-url", + "flate2", + "fontdb", + "imagesize 0.13.0", + "kurbo 0.11.3", + "log", + "pico-args", + "roxmltree 0.20.0", + "rustybuzz", + "simplecss", + "siphasher", + "strict-num", + "svgtypes 0.15.3", + "tiny-skia-path", + "unicode-bidi", + "unicode-script", + "unicode-vo", + "xmlwriter", +] + +[[package]] +name = "usvg" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e419dff010bb12512b0ae9e3d2f318dfbdf0167fde7eb05465134d4e8756076f" +dependencies = [ + "base64 0.22.1", + "data-url", + "flate2", + "fontdb", + "imagesize 0.14.0", + "kurbo 0.13.1", + "log", + "pico-args", + "roxmltree 0.21.1", + "rustybuzz", + "simplecss", + "siphasher", + "strict-num", + "svgtypes 0.16.1", + "tiny-skia-path", + "unicode-bidi", + "unicode-script", + "unicode-vo", + "xmlwriter", +] + +[[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 = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + +[[package]] +name = "uuid" +version = "1.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ef6dac1e96601b4fb3acccccff2139741fcb757cb9a36089bf5be91cfb285ce" +dependencies = [ + "getrandom 0.4.3", + "js-sys", + "serde_core", + "sha1_smol", + "wasm-bindgen", +] + +[[package]] +name = "v_frame" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "666b7727c8875d6ab5db9533418d7c764233ac9c0cff1d469aec8fa127597be2" +dependencies = [ + "aligned-vec", + "num-traits", + "wasm-bindgen", +] + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]] +name = "version-compare" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03c2856837ef78f57382f06b2b8563a2f512f7185d732608fd9176cb3b8edf0e" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "visibility" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d674d135b4a8c1d7e813e2f8d1c9a58308aee4a680323066025e53132218bd91" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "voelin-audio" +version = "0.1.0" +dependencies = [ + "hound", + "opus2", + "rubato", + "serde", + "sonora", + "sonora-agc2", + "sonora-simd", + "thiserror 2.0.21", + "tracing", +] + +[[package]] +name = "voelin-core" +version = "0.1.0" +dependencies = [ + "anyhow", + "base64 0.22.1", + "bytes", + "dirs 6.0.0", + "futures", + "h2", + "hickory-resolver", + "httpdate", + "md5", + "reqwest", + "rusqlite", + "serde", + "serde_json", + "thiserror 2.0.21", + "tokio", + "tokio-tungstenite", + "toml 1.1.6+spec-1.1.0", + "tracing", + "tsclientlib", + "tsproto", + "tsproto-packets", + "tsproto-types", + "voelin-audio", + "voelin-gateway-proto", + "voelin-identity", + "voelin-media", + "voelin-model", + "voelin-observer", + "voelin-platform", + "voelin-proto", + "voelin-query", + "voelin-store", + "voelin-stream", +] + +[[package]] +name = "voelin-gateway-proto" +version = "0.1.0" +dependencies = [ + "base64 0.22.1", + "futures-util", + "serde", + "serde_json", + "sha-1", + "sha2 0.10.9", + "thiserror 2.0.21", + "tokio", + "tokio-tungstenite", + "tsproto-types", + "voelin-model", +] + +[[package]] +name = "voelin-identity" +version = "0.2.0" +source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?rev=c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562#c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" +dependencies = [ + "aws-lc-rs", + "base64 0.23.1", + "prost", + "rcgen", + "serde", + "serde_json", + "thiserror 2.0.21", + "voelin-proto", + "x509-cert 0.3.0", + "zeroize", +] + +[[package]] +name = "voelin-media" +version = "0.1.0" +dependencies = [ + "ab_glyph", + "dav1d", + "image", + "libloading", + "libvpx-native-sys", + "memmap2", + "ndk", + "openh264", + "reqwest", + "rtrb", + "rustix", + "serde", + "str0m", + "thiserror 2.0.21", + "tokio", + "tracing", + "wasapi", + "windows 0.62.2", + "windows-capture 2.0.1", + "x11rb", + "yuv", +] + +[[package]] +name = "voelin-model" +version = "0.1.0" +source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?rev=c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562#c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" +dependencies = [ + "prost", + "serde", + "voelin-proto", +] + +[[package]] +name = "voelin-observer" +version = "0.1.0" +dependencies = [ + "thiserror 2.0.21", + "tokio", + "tracing", + "voelin-model", + "voelin-query", +] + +[[package]] +name = "voelin-platform" +version = "0.1.0" +dependencies = [ + "dirs 6.0.0", + "notify-rust", + "serde", + "thiserror 2.0.21", + "tokio", + "tracing", + "windows 0.62.2", + "x11rb", +] + +[[package]] +name = "voelin-proto" +version = "0.2.0" +source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?rev=c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562#c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" +dependencies = [ + "bytes", + "prost", + "thiserror 2.0.21", + "tokio", +] + +[[package]] +name = "voelin-query" +version = "0.1.0" +dependencies = [ + "reqwest", + "russh", + "serde", + "serde_json", + "socket2", + "thiserror 2.0.21", + "tokio", + "tracing", +] + +[[package]] +name = "voelin-store" +version = "0.1.0" +dependencies = [ + "rusqlite", + "serde", + "serde_json", + "thiserror 2.0.21", + "tracing", + "tsclientlib", + "voelin-identity", +] + +[[package]] +name = "voelin-stream" +version = "0.1.0" +dependencies = [ + "dimpl", + "serde", + "serde_json", + "socket2", + "str0m", + "thiserror 2.0.21", + "tokio", + "tracing", + "tsclientlib", + "tsproto-packets", + "voelin-media", +] + +[[package]] +name = "voelin-ui-vm" +version = "0.0.1-alpha" +dependencies = [ + "chrono", + "image", + "miniz_oxide 0.8.9", + "png 0.18.1", + "roxmltree 0.21.1", + "serde", + "serde_json", + "unicode-segmentation", + "voelin-audio", + "voelin-core", + "voelin-gateway-proto", + "voelin-model", + "voelin-store", +] + +[[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 = "waker-fn" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" + +[[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 = "wasapi" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee144c215d8d31e94c1a599fbaf540ca82a7017e4f1786816b179f334fac751d" +dependencies = [ + "log", + "num-integer", + "thiserror 2.0.21", + "windows 0.62.2", + "windows-core 0.62.2", +] + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.4+wasi-0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.79" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e" +dependencies = [ + "js-sys", + "tokio", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.6", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-streams" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "wasm_thread" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7516db7f32decdadb1c3b8deb1b7d78b9df7606c5cc2f6241737c2ab3a0258e" +dependencies = [ + "futures", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wayland-backend" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38a91b4eaddff87b1cd1074985e3713da4af2c49742d1b356b2c01670a67a078" +dependencies = [ + "cc", + "downcast-rs", + "log", + "rustix", + "scoped-tls", + "smallvec", + "wayland-sys", +] + +[[package]] +name = "wayland-client" +version = "0.31.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3c36a0f861ad76d0901f2800b46321410d9f73f2ea88aac0650d86c32688073" +dependencies = [ + "bitflags 2.13.2", + "rustix", + "wayland-backend", + "wayland-scanner", +] + +[[package]] +name = "wayland-cursor" +version = "0.31.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a52d18780be9b1314328a3de5f930b73d2200112e3849ca6cb11822793fb34d" +dependencies = [ + "rustix", + "wayland-client", + "xcursor", +] + +[[package]] +name = "wayland-protocols" +version = "0.32.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23d0c813de3daa2ed6520af85a3bd49b0e722a3078506899aa9686fea58dc4b6" +dependencies = [ + "bitflags 2.13.2", + "wayland-backend", + "wayland-client", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-plasma" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b6d8cf1eb2c1c31ed1f5643c88a6e53538129d4af80030c8cabd1f9fa884d91" +dependencies = [ + "bitflags 2.13.2", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-wlr" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb04e52f7836d7c7976c78ca0250d61e33873c34156a2a1fc9474828ec268234" +dependencies = [ + "bitflags 2.13.2", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-scanner" +version = "0.31.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "338e30461b3a2b67d70eb30a6d89f8e0c93a833e07d2ae89085cd070c4a00ac0" +dependencies = [ + "proc-macro2", + "quick-xml", + "quote", +] + +[[package]] +name = "wayland-sys" +version = "0.31.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8eab23fefc9e41f8e841df4a9c707e8a8c4ed26e944ef69297184de2785e3be" +dependencies = [ + "dlib", + "log", + "once_cell", + "pkg-config", +] + +[[package]] +name = "web-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-root-certs" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e49d0e65abc00c142e8f9428da991da9f1a250c39be97459901eb12b9b49f62a" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "weezl" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88" + +[[package]] +name = "wgpu" +version = "29.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76e8840e1ba2881d4cbb18d2147627a56af426ff064c0401eb0c8410c6325d07" +dependencies = [ + "arrayvec", + "bitflags 2.13.2", + "bytemuck", + "cfg-if", + "cfg_aliases", + "document-features", + "hashbrown 0.16.1", + "js-sys", + "log", + "naga", + "parking_lot", + "portable-atomic", + "profiling", + "raw-window-handle", + "smallvec", + "static_assertions", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "wgpu-core", + "wgpu-hal", + "wgpu-types", +] + +[[package]] +name = "wgpu-core" +version = "29.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f519832254e56965a9940c4af57dcb75f702b6f6fa4a0b172f685395843a4d7" +dependencies = [ + "arrayvec", + "bit-set", + "bit-vec 0.9.1", + "bitflags 2.13.2", + "bytemuck", + "cfg_aliases", + "document-features", + "hashbrown 0.16.1", + "indexmap", + "log", + "naga", + "once_cell", + "parking_lot", + "portable-atomic", + "profiling", + "raw-window-handle", + "rustc-hash 1.1.0", + "smallvec", + "thiserror 2.0.21", + "wgpu-core-deps-apple", + "wgpu-core-deps-emscripten", + "wgpu-core-deps-wasm", + "wgpu-core-deps-windows-linux-android", + "wgpu-hal", + "wgpu-naga-bridge", + "wgpu-types", +] + +[[package]] +name = "wgpu-core-deps-apple" +version = "29.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5e39e26c4c0e07589e67d18546cf79ff45383659fc72fca4dd293358a0347f3" +dependencies = [ + "wgpu-hal", +] + +[[package]] +name = "wgpu-core-deps-emscripten" +version = "29.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01e09be551dc939498bdd5f6b2c66e55ab275dad25825267a08605a80fc9f0af" +dependencies = [ + "wgpu-hal", +] + +[[package]] +name = "wgpu-core-deps-wasm" +version = "29.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af1fb1798be2a912497d4c224f72d39bb0cb34af50e8bcc29865bc339c943059" +dependencies = [ + "wgpu-hal", +] + +[[package]] +name = "wgpu-core-deps-windows-linux-android" +version = "29.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e592c1bbef6ad047647ae6e666ebd8cee7a32bb4544d9700ec96cbf73230257" +dependencies = [ + "wgpu-hal", +] + +[[package]] +name = "wgpu-hal" +version = "29.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97ace1c17727311c22a46e4e3faf56ea6de81af99dcc839bdfb54857b94d448d" +dependencies = [ + "android_system_properties", + "arrayvec", + "ash", + "bit-set", + "bitflags 2.13.2", + "block2 0.6.2", + "bytemuck", + "cfg-if", + "cfg_aliases", + "glow", + "glutin_wgl_sys", + "gpu-allocator", + "gpu-descriptor", + "hashbrown 0.16.1", + "js-sys", + "khronos-egl", + "libc", + "libloading", + "log", + "naga", + "ndk-sys", + "objc2 0.6.4", + "objc2-core-foundation", + "objc2-foundation 0.3.2", + "objc2-metal 0.3.2", + "objc2-quartz-core 0.3.2", + "once_cell", + "ordered-float", + "parking_lot", + "portable-atomic", + "portable-atomic-util", + "profiling", + "range-alloc", + "raw-window-handle", + "raw-window-metal", + "renderdoc-sys", + "smallvec", + "thiserror 2.0.21", + "wasm-bindgen", + "wayland-sys", + "web-sys", + "wgpu-naga-bridge", + "wgpu-types", + "windows 0.62.2", + "windows-core 0.62.2", + "windows-result 0.4.1", +] + +[[package]] +name = "wgpu-naga-bridge" +version = "29.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95226013f547544b223281cd16a4fb549aa9dcb562adbda0faae4c73ffbbc161" +dependencies = [ + "naga", + "wgpu-types", +] + +[[package]] +name = "wgpu-types" +version = "29.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84bf84cd9ca8ca45e2b223a3868f1adf9bfc0c66aeac212e76ee7e40fdadf8f5" +dependencies = [ + "bitflags 2.13.2", + "bytemuck", + "js-sys", + "log", + "raw-window-handle", + "web-sys", +] + +[[package]] +name = "which" +version = "8.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bae2f2b2b816647a1cab1acc91f5bd20812d53cb344382635ec2181940c8034f" +dependencies = [ + "libc", +] + +[[package]] +name = "wide" +version = "1.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d920ac99c3c8edce110cb8d07dbb324d6d026011dce85b1e9355b70f0adacc4f" +dependencies = [ + "bytemuck", + "safe_arch", +] + +[[package]] +name = "widestring" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471" + +[[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.48.0", +] + +[[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 = "windowfunctions" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90628d739333b7c5d2ee0b70210b97b8cddc38440c682c96fd9e2c24c2db5f3a" +dependencies = [ + "num-traits", +] + +[[package]] +name = "windows" +version = "0.57.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143" +dependencies = [ + "windows-core 0.57.0", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6" +dependencies = [ + "windows-core 0.58.0", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows" +version = "0.61.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" +dependencies = [ + "windows-collections 0.2.0", + "windows-core 0.61.2", + "windows-future 0.2.1", + "windows-link 0.1.3", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", +] + +[[package]] +name = "windows-capture" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a4df73e95feddb9ec1a7e9c2ca6323b8c97d5eeeff78d28f1eccdf19c882b24" +dependencies = [ + "parking_lot", + "rayon", + "thiserror 2.0.21", + "windows 0.61.3", + "windows-future 0.2.1", +] + +[[package]] +name = "windows-capture" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09046acbe9b6d039cde50e8c8178d95bb0f9b33ed7feccc4465dadc5404b31b4" +dependencies = [ + "parking_lot", + "rayon", + "thiserror 2.0.21", + "windows 0.62.2", + "windows-future 0.3.2", +] + +[[package]] +name = "windows-collections" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" +dependencies = [ + "windows-core 0.61.2", +] + +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core 0.62.2", +] + +[[package]] +name = "windows-core" +version = "0.57.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d" +dependencies = [ + "windows-implement 0.57.0", + "windows-interface 0.57.0", + "windows-result 0.1.2", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-core" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99" +dependencies = [ + "windows-implement 0.58.0", + "windows-interface 0.58.0", + "windows-result 0.2.0", + "windows-strings 0.1.0", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-core" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" +dependencies = [ + "windows-implement 0.60.2", + "windows-interface 0.59.3", + "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 0.60.2", + "windows-interface 0.59.3", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", +] + +[[package]] +name = "windows-future" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" +dependencies = [ + "windows-core 0.61.2", + "windows-link 0.1.3", + "windows-threading 0.1.0", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", +] + +[[package]] +name = "windows-implement" +version = "0.57.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-implement" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.57.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" +dependencies = [ + "windows-core 0.61.2", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core 0.62.2", + "windows-link 0.2.1", +] + +[[package]] +name = "windows-registry" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3" +dependencies = [ + "windows-result 0.3.4", + "windows-strings 0.3.1", + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" +dependencies = [ + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", +] + +[[package]] +name = "windows-result" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-result" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +dependencies = [ + "windows-targets 0.52.6", +] + +[[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.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +dependencies = [ + "windows-result 0.2.0", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-strings" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-strings" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-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.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.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.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-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows-version" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4060a1da109b9d0326b7262c8e12c84df67cc0dbc9e33cf49e01ccc2eb63631" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.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.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.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.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.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.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.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.7.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" +dependencies = [ + "memchr", +] + +[[package]] +name = "winreg" +version = "0.56.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d6f32a0ff4a9f6f01231eb2059cc85479330739333e0e58cadf03b6af2cca10" +dependencies = [ + "cfg-if", + "windows-sys 0.61.2", +] + +[[package]] +name = "wio" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d129932f4644ac2396cb456385cbf9e63b5b30c6e8dc4820bdca4eb082037a5" +dependencies = [ + "winapi", +] + +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + +[[package]] +name = "wnaf" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "795ca18b3fdb5e62bf982199278341ddcf7ebf7d32e25e212ad05d496e95f6fa" +dependencies = [ + "ff 0.14.0", + "group 0.14.0", + "hybrid-array", + "primefield", +] + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[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 = "x11rb" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9993aa5be5a26815fe2c3eacfc1fde061fc1a1f094bf1ad2a18bf9c495dd7414" +dependencies = [ + "as-raw-xcb-connection", + "gethostname", + "libc", + "rustix", + "x11rb-protocol", + "xcursor", +] + +[[package]] +name = "x11rb-protocol" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea6fc2961e4ef194dcbfe56bb845534d0dc8098940c7e5c012a258bfec6701bd" + +[[package]] +name = "x509-cert" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1301e935010a701ae5f8655edc0ad17c44bad3ac5ce8c39185f75453b720ae94" +dependencies = [ + "const-oid 0.9.6", + "der 0.7.10", + "spki 0.7.3", +] + +[[package]] +name = "x509-cert" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "105ef4642d9cb137ef83d623d0e4bf08b8adf69e9918ca904a174adb6d3d038b" +dependencies = [ + "const-oid 0.10.2", + "der 0.8.2", + "spki 0.8.0", +] + +[[package]] +name = "x509-parser" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43b0f71ce057da06bc0851b23ee24f3f86190b07203dd8f567d0b706a185202" +dependencies = [ + "asn1-rs", + "aws-lc-rs", + "data-encoding", + "der-parser", + "lazy_static", + "nom 7.1.3", + "oid-registry", + "rusticata-macros", + "thiserror 2.0.21", + "time", +] + +[[package]] +name = "xcb" +version = "1.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6c2ad15e0e922856ee89afe862b8992334bbe7953adad56cd1199358cb30566" +dependencies = [ + "bitflags 2.13.2", + "libc", + "quick-xml", + "x11", +] + +[[package]] +name = "xcursor" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "163b33ed8786455e2fa5d72f554057ce3f3182425434f756cd39c99839d88e23" + +[[package]] +name = "xim-ctext" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ac61a7062c40f3c37b6e82eeeef835d5cc7824b632a72784a89b3963c33284c" +dependencies = [ + "encoding_rs", +] + +[[package]] +name = "xim-parser" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dcee45f89572d5a65180af3a84e7ddb24f5ea690a6d3aa9de231281544dd7b7" +dependencies = [ + "bitflags 2.13.2", +] + +[[package]] +name = "xkbcommon" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d66ca9352cbd4eecbbc40871d8a11b4ac8107cfc528a6e14d7c19c69d0e1ac9" +dependencies = [ + "as-raw-xcb-connection", + "libc", + "memmap2", + "xkeysym", +] + +[[package]] +name = "xkeysym" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9cc00251562a284751c9973bace760d86c0276c471b4be569fe6b068ee97a56" + +[[package]] +name = "xml-rs" +version = "0.8.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e450f9b2ed1dff33c94c12589a87338689467b9c4f5d8a5710bd09a847d2c8a7" + +[[package]] +name = "xml5ever" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bbb26405d8e919bc1547a5aa9abc95cbfa438f04844f5fdd9dc7596b748bf69" +dependencies = [ + "log", + "mac", + "markup5ever", +] + +[[package]] +name = "xmlwriter" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec7a2a501ed189703dba8b08142f057e887dfc4b2cc4db2d343ac6376ba3e0b9" + +[[package]] +name = "y4m" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a5a4b21e1a62b67a2970e6831bc091d7b87e119e7f9791aef9702e3bef04448" + +[[package]] +name = "yasna" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5f6765e852b9b4dc8e2a76843e4d64d1cea8e79bcde0b6901aea8e7c7f08282" +dependencies = [ + "bit-vec 0.9.1", + "time", +] + +[[package]] +name = "yazi" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e01738255b5a16e78bbb83e7fbba0a1e7dd506905cfc53f4622d89015a03fbb5" + +[[package]] +name = "yeslogic-fontconfig-sys" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d8b8abf912b9a29ff112e1671c97c33636903d13a69712037190e6805af4f76" +dependencies = [ + "dlib", + "once_cell", + "pkg-config", +] + +[[package]] +name = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", + "synstructure 0.14.0", +] + +[[package]] +name = "yuv" +version = "0.8.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a295923535c00a4e72a50a0a1130097f93160b39892dd4d2d006b1e2b90d6bf9" +dependencies = [ + "num-traits", +] + +[[package]] +name = "zbus" +version = "5.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5db4be7c075cb421e4b7ee645541604239bd243ba7c357511f4ff3a74b555907" +dependencies = [ + "async-broadcast", + "async-executor", + "async-io", + "async-lock", + "async-process", + "async-recursion", + "async-task", + "async-trait", + "blocking", + "enumflags2", + "event-listener", + "futures-core", + "futures-lite", + "hex", + "libc", + "ordered-stream", + "rustix", + "serde", + "serde_repr", + "tokio", + "tracing", + "uds_windows", + "uuid", + "windows-sys 0.61.2", + "winnow 1.0.4", + "zbus_macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zbus-lockstep" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6998de05217a084b7578728a9443d04ea4cd80f2a0839b8d78770b76ccd45863" +dependencies = [ + "zbus_xml", + "zvariant", +] + +[[package]] +name = "zbus-lockstep-macros" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10da05367f3a7b7553c8cdf8fa91aee6b64afebe32b51c95177957efc47ca3a0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", + "zbus-lockstep", + "zbus_xml", + "zvariant", +] + +[[package]] +name = "zbus_macros" +version = "5.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2990635d09ade6df1868f72f8cac69a876a90981e8bd3c40b1be413f8dc88f40" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 3.0.6", + "zbus_names", + "zvariant", + "zvariant_utils", +] + +[[package]] +name = "zbus_names" +version = "4.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8bf88b4a3ff53e883001e0e0115b297a9d53c31b9c1edd2bfdd853e3428624e" +dependencies = [ + "serde", + "winnow 1.0.4", + "zvariant", +] + +[[package]] +name = "zbus_xml" +version = "5.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1586c021a01ca0a9216dcd874e546382e156a5cbab5fab6cb5f10087e22682a" +dependencies = [ + "serde", + "winnow 1.0.4", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zcheapstr" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1afec51604565183aeb5c54c20aeab286120d4e4460f7f76e3e8bb8c0d99473" +dependencies = [ + "serde", +] + +[[package]] +name = "zed-font-kit" +version = "0.14.1-zed" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3898e450f36f852edda72e3f985c34426042c4951790b23b107f93394f9bff5" +dependencies = [ + "bitflags 2.13.2", + "byteorder", + "core-foundation 0.10.1", + "core-graphics 0.24.0", + "core-text", + "dirs 5.0.1", + "dwrote", + "float-ord", + "freetype-sys", + "lazy_static", + "libc", + "log", + "pathfinder_geometry", + "pathfinder_simd", + "walkdir", + "winapi", + "yeslogic-fontconfig-sys", +] + +[[package]] +name = "zed-scap" +version = "0.0.8-zed" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6b338d705ae33a43ca00287c11129303a7a0aa57b101b72a1c08c863f698ac8" +dependencies = [ + "anyhow", + "cocoa 0.25.0", + "core-graphics-helmer-fork", + "log", + "objc", + "rand 0.8.8", + "screencapturekit", + "screencapturekit-sys", + "sysinfo", + "tao-core-video-sys", + "windows 0.61.3", + "windows-capture 1.5.0", + "x11", + "xcb", +] + +[[package]] +name = "zed-xim" +version = "0.4.0-zed" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c0b46ed118eba34d9ba53d94ddc0b665e0e06a2cf874cfa2dd5dec278148642" +dependencies = [ + "ahash", + "hashbrown 0.14.5", + "log", + "x11rb", + "xim-ctext", + "xim-parser", +] + +[[package]] +name = "zeno" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6df3dc4292935e51816d896edcd52aa30bc297907c26167fec31e2b0c6a32524" + +[[package]] +name = "zerocopy" +version = "0.8.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c17e8fafad82b542ff3717217ecdc736231b59e387768c9630123b4ce4d2db44" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "595f56e044df4f46a0c9a626f65c3d99eb8488f7e8a8baa12dd76326d9710bf2" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", + "synstructure 0.14.0", +] + +[[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 = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "zlib-rs" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112" + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" + +[[package]] +name = "zune-core" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f423a2c17029964870cfaabb1f13dfab7d092a62a29a89264f4d36990ca414a" + +[[package]] +name = "zune-core" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56377fd46368984a170bc5aac5567e52ca5da874caa60bea39fcbca78fb658b" + +[[package]] +name = "zune-inflate" +version = "0.2.54" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02" +dependencies = [ + "simd-adler32", +] + +[[package]] +name = "zune-jpeg" +version = "0.4.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29ce2c8a9384ad323cf564b67da86e21d3cfdff87908bc1223ed5c99bc792713" +dependencies = [ + "zune-core 0.4.12", +] + +[[package]] +name = "zune-jpeg" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27bc9d5b815bc103f142aa054f561d9187d191692ec7c2d1e2b4737f8dbd7296" +dependencies = [ + "zune-core 0.5.3", +] + +[[package]] +name = "zvariant" +version = "5.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1d34c27cc6cdd1f458427519dd6b8612f7b7e3f7b9a0b2355d041dda9869147" +dependencies = [ + "endi", + "enumflags2", + "serde", + "serde_bytes", + "winnow 1.0.4", + "zcheapstr", + "zvariant_derive", + "zvariant_utils", +] + +[[package]] +name = "zvariant_derive" +version = "5.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "864155e69b4352db0c7f374917bf45d1e0c8d17659c8b3dbf9795f3673f8c497" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 3.0.6", + "zvariant_utils", +] + +[[package]] +name = "zvariant_utils" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bad0294361a320b694a328460dc73add56c306150f5cb6bfafc44446120008a3" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "syn 3.0.6", + "winnow 1.0.4", +] diff --git a/spikes/gpui/Cargo.toml b/spikes/gpui/Cargo.toml new file mode 100644 index 0000000..80f4061 --- /dev/null +++ b/spikes/gpui/Cargo.toml @@ -0,0 +1,60 @@ +# The GPUI spikes of plan section 6 step 1 (docs/design/gpui-spikes.md): a +# workspace of its own with its own lock, not a member of the root workspace, +# so the root's lock, deny policy, notices and CI stay as they are. It builds +# into the checkout's target directory (.cargo/config.toml). +[workspace] +resolver = "3" +members = ["common", "video", "composer", "windows"] + +[workspace.package] +version = "0.0.0" +edition = "2024" +# gpui-pre (every 0.3.x release) calls std::hint::cold_path, stable since 1.95. +rust-version = "1.95" +license = "MIT OR Apache-2.0" +publish = false + +[workspace.dependencies] +# GPUI, gpui-component and their assets, pinned exactly (pre-1.0). +gpui-kit = "=0.8.0" +spike-common = { path = "common" } +# The client's crates, read only. voelin-core brings LocalPreview (the test +# pattern through the real encoder and decoder). +voelin-core = { path = "../../crates/voelin-core", default-features = false, features = ["media"] } +# The desktop codecs of `media-desktop` (libvpx, dav1d, OpenH264, FFmpeg at +# run time) and X11 capture, without `pipewire`: it enables ashpd's `tokio` +# feature, GPUI enables its `async-io` one, and ashpd refuses both +# (docs/design/gpui-spikes.md, "Dependencies"). +voelin-media = { path = "../../crates/voelin-media", default-features = false, features = ["vpx", "openh264", "ffmpeg", "av1", "x11"] } +voelin-platform = { path = "../../crates/voelin-platform", default-features = false, features = ["x11"] } +voelin-ui-vm = { path = "../../crates/voelin-ui-vm" } +# The revision the root workspace pins (chat messages for voelin-ui-vm). +voelin-model = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", rev = "c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" } +# Logs of GPUI (the adapter it picked) and of the client's crates. +env_logger = { version = "0.11", default-features = false, features = ["auto-color", "humantime"] } +log = "0.4" +# The same version voelin-media converts with. +yuv = "=0.8.19" + +[workspace.lints.rust] +unsafe_code = "deny" +missing_docs = "warn" + +[workspace.lints.clippy] +all = { level = "warn", priority = -1 } + +# As the root workspace: dimpl (DTLS for str0m, under voelin-stream) with its +# patch. +[patch.crates-io] +dimpl = { path = "../../third_party/dimpl" } + +[profile.release] +debug = "line-tables-only" + +# As the root workspace's dev profile: media code optimised in debug builds. +[profile.dev.package.yuv] +opt-level = 3 +[profile.dev.package.voelin-media] +opt-level = 3 +[profile.dev.package.dav1d] +opt-level = 3 diff --git a/spikes/gpui/README.md b/spikes/gpui/README.md new file mode 100644 index 0000000..81cb7c6 --- /dev/null +++ b/spikes/gpui/README.md @@ -0,0 +1,78 @@ +# GPUI spikes + +The three spikes of plan section 6 step 1 (Slint to GPUI), with their +measurements and the go/no-go in [docs/design/gpui-spikes.md](../../docs/design/gpui-spikes.md): + +| Crate | Spike | README | +|---|---|---| +| `video/` | decoded video as BGRA `RenderImage`s in `img()`, 1080p60 and 1440p60, against the Slint path | [video/README.md](video/README.md) | +| `composer/` | the composer (multi-line input, emoji at the caret, paste, Ctrl+Enter, IME preedit) and chat lines as `StyledText` | [composer/README.md](composer/README.md) | +| `windows/` | a second window sharing the root entity, focus, fullscreen, close, a global push-to-talk hotkey, a shared preview | [windows/README.md](windows/README.md) | +| `common/` | CPU, thread and memory meter (`/proc`), `damage-count` and `proc-meter`, fonts, icons, the BGRA conversion | | + +This is a Cargo workspace of its own (own `Cargo.lock`, not a member of the +root workspace: the root's lock, deny policy, notices and CI are not +involved). It builds into the checkout's `target/` (`.cargo/config.toml`). +Nothing here is wired into `crates/voelin-ui`; the client's crates are used +read only, by path (`voelin-core`, `voelin-media`, `voelin-platform`, +`voelin-ui-vm`, and `voelin-model` at the root's revision). + +## Toolchain + +`gpui-kit` 0.8.0 is pinned exactly. No `gpui-kit` release builds with the +repository's Rust 1.94: every `gpui-pre` 0.3.x (the GPUI snapshot under all +of them) calls `std::hint::cold_path`, stable since 1.95.0 (E0658 on 1.94). +The workspace says `rust-version = "1.95"`; the spikes build with 1.95.0 +(the default of `shell.sh`) and nightly 2026-10-24 (`TOOLCHAIN=nightly`, +rustc 1.101.0-nightly of 2026-10-23), both from one pinned fenix; clippy +with `-D warnings` is clean on both (nightly's has two lints 1.95.0's lacks, +`chunks_exact_to_as_chunks` and `for_unbounded_range`; the code uses +`as_chunks` in `common/src/bgra.rs` and an inclusive range in +`video/src/main.rs`). `TOOLCHAIN=1.94 spikes/gpui/shell.sh sh -c 'cd spikes/gpui && +cargo build --locked --ignore-rust-version'` shows the failure. + +## Environment (NixOS) + +`shell.sh` runs a command with everything the builds and runs need: the +toolchain (1.95.0 from a pinned fenix), the native libraries (pkg-config +and `LD_LIBRARY_PATH` built from nixpkgs store paths), Mesa's lavapipe as the +only Vulkan driver (`VK_DRIVER_FILES`), the Vulkan loader, Xvfb, openbox, +xdotool, xwd, ImageMagick, xclip, jq, and the Noto Color Emoji and Noto Sans +CJK fonts (`SPIKE_EMOJI_FONT`, `SPIKE_EXTRA_FONTS`). `nixpkgs` is the flake +registry's: the measurements in the report used nixpkgs 02c087f3fe67 +(Mesa 26.2.5, llvmpipe on LLVM 21.1.8); `nix registry pin` or another +registry entry changes them. + +```sh +spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo build --locked --release' +# -p: `--all` would take in the client's crates, which are path dependencies +spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo fmt -p spike-common -p spike-video -p spike-composer -p spike-windows --check' +spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo clippy --locked --all-targets -- -D warnings' +spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo test --locked' +TOOLCHAIN=nightly spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo build --locked' +TOOLCHAIN=nightly spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo clippy --locked --all-targets -- -D warnings' +``` + +## Headless displays + +Every window runs on a display of its own, never on the desktop's: + +- `headless.sh` (used for every measurement): Xvfb `:91` (3840x2160, 24 bit, + no TCP), openbox as the window manager (fullscreen, activation and close + requests need one), a private D-Bus session bus that starts no services, + `WAYLAND_DISPLAY`, `XDG_SESSION_TYPE` and the desktop's bus address + removed, the XDG directories under `.scratch/gpui-spikes-state`. GPUI + takes its X11 backend; the renderer is wgpu on lavapipe. +- `headless-wayland.sh`: sway on wlroots' headless backend (weston's has no + seat, which GPUI's Wayland backend requires) on a socket in its own + runtime directory (`.scratch/wl`), for GPUI's Wayland backend; no X + display is set. `-r pixman` (default) keeps the compositor on the CPU; + `-r gles2` or `-r vulkan` put it on a render node. + +```sh +spikes/gpui/shell.sh spikes/gpui/headless.sh -- COMMAND +spikes/gpui/shell.sh spikes/gpui/headless-wayland.sh -- COMMAND +``` + +Results (JSON lines, screenshots) go to `$OUT`, by default +`.scratch/gpui-spikes-results` (git ignores `.scratch/`). diff --git a/spikes/gpui/common/Cargo.toml b/spikes/gpui/common/Cargo.toml new file mode 100644 index 0000000..f7b167f --- /dev/null +++ b/spikes/gpui/common/Cargo.toml @@ -0,0 +1,34 @@ +[package] +name = "spike-common" +description = "What the GPUI spikes share: process and thread CPU, memory and frame counters, logging, fonts and icons." +version.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +publish.workspace = true + +[dependencies] +anyhow = "1" +env_logger = { workspace = true } +gpui-kit = { workspace = true } +log = { workspace = true } +# Clock ticks and the page size, for /proc/self. +rustix = { version = "1.1", features = ["param"] } +# RenderImage holds image::Frame (the version GPUI uses). +image = { version = "0.25", default-features = false } +serde_json = "1" +voelin-media = { workspace = true } +yuv = { workspace = true } +# The damage counter (frames a window's content changed, whatever draws it). +x11rb = { version = "0.13", features = ["damage"] } + +[[bin]] +name = "damage-count" +path = "src/bin/damage-count.rs" + +[[bin]] +name = "proc-meter" +path = "src/bin/proc-meter.rs" + +[lints] +workspace = true diff --git a/spikes/gpui/common/src/assets.rs b/spikes/gpui/common/src/assets.rs new file mode 100644 index 0000000..cda0a68 --- /dev/null +++ b/spikes/gpui/common/src/assets.rs @@ -0,0 +1,37 @@ +//! Icons for `svg()`: the client's own Lucide SVGs +//! (`crates/voelin-ui/ui/assets/icons`, Lucide 1.48, read from the checkout +//! at run time) under `voelin/.svg`, then gpui-kit-assets' complete +//! Lucide 1.43 catalog under `icons/.svg` (what gpui-component's +//! `Icon` uses). + +use std::borrow::Cow; +use std::path::PathBuf; + +use gpui_kit::{AssetSource, Result, SharedString}; + +/// The client's icons first, then gpui-kit's catalog. +pub struct Assets { + client_icons: PathBuf, +} + +impl Default for Assets { + fn default() -> Self { + Self { + client_icons: PathBuf::from(env!("CARGO_MANIFEST_DIR")) + .join("../../../crates/voelin-ui/ui/assets/icons"), + } + } +} + +impl AssetSource for Assets { + fn load(&self, path: &str) -> Result>> { + if let Some(name) = path.strip_prefix("voelin/") { + return Ok(std::fs::read(self.client_icons.join(name)).ok().map(Cow::Owned)); + } + gpui_kit::assets::AllAssets.load(path) + } + + fn list(&self, path: &str) -> Result> { + gpui_kit::assets::AllAssets.list(path) + } +} diff --git a/spikes/gpui/common/src/bgra.rs b/spikes/gpui/common/src/bgra.rs new file mode 100644 index 0000000..699393a --- /dev/null +++ b/spikes/gpui/common/src/bgra.rs @@ -0,0 +1,136 @@ +//! Frames as BGRA, the byte order GPUI's `RenderImage` holds: the BGRA twin +//! of `voelin_media::convert::to_rgba` (the same `yuv` calls with the +//! channels swapped, BT.601 limited range), and the picture GPUI shows. + +use std::sync::Arc; + +use gpui_kit::RenderImage; +use voelin_media::frame::{FrameRef, PixelsRef, VideoFrame}; +use yuv::{YuvBiPlanarImage, YuvConversionMode, YuvPlanarImage, YuvRange, YuvStandardMatrix}; + +const RANGE: YuvRange = YuvRange::Limited; +const MATRIX: YuvStandardMatrix = YuvStandardMatrix::Bt601; + +fn u32_of(n: usize) -> Result { + u32::try_from(n).map_err(|_| format!("{n} does not fit a stride")) +} + +/// Write `frame` as BGRA (alpha 255) into `out`, `stride` bytes per row. +pub fn to_bgra(frame: &VideoFrame, out: &mut [u8], stride: usize) -> Result<(), String> { + to_bgra_ref(&frame.view(), out, stride) +} + +/// [`to_bgra`] of a borrowed frame; allocates nothing. +pub fn to_bgra_ref(frame: &FrameRef<'_>, out: &mut [u8], stride: usize) -> Result<(), String> { + frame.validate().map_err(|e| e.to_string())?; + let (w, h) = (frame.width, frame.height); + let row = w as usize * 4; + if stride < row || out.len() < stride * (h as usize - 1) + row { + return Err(format!("BGRA output of {} bytes is too small for {w}x{h}", out.len())); + } + let out_stride = u32_of(stride)?; + match &frame.pixels { + PixelsRef::I420 { y, u, v } => { + let image = YuvPlanarImage { + y_plane: y.data, + y_stride: u32_of(y.stride)?, + u_plane: u.data, + u_stride: u32_of(u.stride)?, + v_plane: v.data, + v_stride: u32_of(v.stride)?, + width: w, + height: h, + }; + yuv::yuv420_to_bgra(&image, out, out_stride, RANGE, MATRIX).map_err(|e| e.to_string()) + } + PixelsRef::Nv12 { y, uv } => { + let image = YuvBiPlanarImage { + y_plane: y.data, + y_stride: u32_of(y.stride)?, + uv_plane: uv.data, + uv_stride: u32_of(uv.stride)?, + width: w, + height: h, + }; + yuv::yuv_nv12_to_bgra( + &image, + out, + out_stride, + RANGE, + MATRIX, + YuvConversionMode::Balanced, + ) + .map_err(|e| e.to_string()) + } + PixelsRef::Bgra(p) => { + for y in 0..h as usize { + out[y * stride..y * stride + row].copy_from_slice(p.row(y, row)); + } + Ok(()) + } + PixelsRef::Rgba(p) => { + for y in 0..h as usize { + let (src, dst) = (p.row(y, row), &mut out[y * stride..y * stride + row]); + // `row` is a whole number of pixels: there is no remainder. + let (dst, src) = (dst.as_chunks_mut::<4>().0, src.as_chunks::<4>().0); + for (d, s) in dst.iter_mut().zip(src) { + *d = [s[2], s[1], s[0], 255]; + } + } + Ok(()) + } + } +} + +/// The pixels as GPUI's image: one frame, BGRA, `width * 4` bytes per row. +pub fn render_image(width: u32, height: u32, bgra: Vec) -> Arc { + let buffer = image::RgbaImage::from_raw(width, height, bgra).expect("a buffer of the size"); + Arc::new(RenderImage::new([image::Frame::new(buffer)])) +} + +/// `frame` converted into a new picture. +pub fn picture(frame: &VideoFrame) -> Result, String> { + let stride = frame.width as usize * 4; + let mut bgra = vec![0u8; stride * frame.height as usize]; + to_bgra(frame, &mut bgra, stride)?; + Ok(render_image(frame.width, frame.height, bgra)) +} + +#[cfg(test)] +mod tests { + use super::*; + use voelin_media::capture::synthetic::{Pattern, SyntheticScreen}; + use voelin_media::convert; + + /// BGRA is RGBA with red and blue swapped, pixel for pixel, for I420 and + /// for packed input. + #[test] + fn bgra_is_rgba_swapped() { + let picture = SyntheticScreen::with_pattern(64, 36, Pattern::Desktop).frame(3, 30); + let i420 = convert::to_i420(&picture).unwrap().into_owned(); + let rgba_in = + VideoFrame::from_rgba(64, 36, 64 * 4, convert::to_rgba_vec(&picture).unwrap()).unwrap(); + for frame in [&picture, &i420, &rgba_in] { + let mut rgba = vec![0; 64 * 36 * 4]; + let mut bgra = vec![0; 64 * 36 * 4]; + convert::to_rgba(frame, &mut rgba, 64 * 4).unwrap(); + to_bgra(frame, &mut bgra, 64 * 4).unwrap(); + for (r, b) in rgba.as_chunks::<4>().0.iter().zip(bgra.as_chunks::<4>().0) { + assert_eq!([r[2], r[1], r[0], r[3]], *b); + } + } + } + + #[test] + fn small_output_is_refused() { + let picture = SyntheticScreen::new(32, 32).frame(0, 30); + assert!(to_bgra(&picture, &mut [0; 16], 32 * 4).is_err()); + } + + #[test] + fn pictures_have_the_frame_size() { + let picture = SyntheticScreen::new(40, 20).frame(0, 30); + let image = super::picture(&picture).unwrap(); + assert_eq!((image.size(0).width.0, image.size(0).height.0), (40, 20)); + } +} diff --git a/spikes/gpui/common/src/bin/damage-count.rs b/spikes/gpui/common/src/bin/damage-count.rs new file mode 100644 index 0000000..2c87289 --- /dev/null +++ b/spikes/gpui/common/src/bin/damage-count.rs @@ -0,0 +1,96 @@ +//! Counts how often a window's content changes, whatever draws it (GPUI, +//! Slint): XDamage events of a top-level window of the X display in +//! `DISPLAY`, one line per second (`damage/s`) and the mean at the end. +//! +//! `damage-count [warm-up seconds]` +//! +//! Every damage report is subtracted at once, so a frame drawn with one +//! `PutImage` counts once; a frame drawn in several requests within 2 ms +//! counts once too. + +use std::time::{Duration, Instant}; + +use x11rb::connection::Connection; +use x11rb::protocol::Event; +use x11rb::protocol::damage::{ConnectionExt as _, ReportLevel}; +use x11rb::protocol::xproto::{AtomEnum, ConnectionExt as _, Window}; + +fn find(conn: &impl Connection, root: Window, needle: &str) -> anyhow::Result> { + let tree = conn.query_tree(root)?.reply()?; + for &child in &tree.children { + let name = conn + .get_property(false, child, AtomEnum::WM_NAME, AtomEnum::ANY, 0, 1024)? + .reply()? + .value; + if String::from_utf8_lossy(&name).contains(needle) { + return Ok(Some(child)); + } + if let Some(found) = find(conn, child, needle)? { + return Ok(Some(found)); + } + } + Ok(None) +} + +fn main() -> anyhow::Result<()> { + let mut args = std::env::args().skip(1); + let needle = args.next().ok_or_else(|| anyhow::anyhow!("no window name"))?; + let seconds: f64 = args.next().map_or(Ok(30.0), |s| s.parse())?; + let warmup: f64 = args.next().map_or(Ok(5.0), |s| s.parse())?; + let (conn, screen) = x11rb::connect(None)?; + let root = conn.setup().roots[screen].root; + let deadline = Instant::now() + Duration::from_secs(30); + let window = loop { + if let Some(w) = find(&conn, root, &needle)? { + break w; + } + anyhow::ensure!(Instant::now() < deadline, "no window named like {needle:?}"); + std::thread::sleep(Duration::from_millis(200)); + }; + conn.damage_query_version(1, 1)?.reply()?; + let damage = conn.generate_id()?; + conn.damage_create(damage, window, ReportLevel::NON_EMPTY)?; + conn.flush()?; + let start = Instant::now(); + let (mut second, mut in_second, mut counted, mut last_event) = + (start, 0u32, 0u64, None::); + let mut steady_start = None; + loop { + let event = conn.poll_for_event()?; + let now = Instant::now(); + match event { + Some(Event::DamageNotify(_)) => { + conn.damage_subtract(damage, x11rb::NONE, x11rb::NONE)?; + conn.flush()?; + if last_event.is_none_or(|t| now.duration_since(t) > Duration::from_millis(2)) { + in_second += 1; + if steady_start.is_some() { + counted += 1; + } + } + last_event = Some(now); + } + Some(_) => {} + None => std::thread::sleep(Duration::from_micros(500)), + } + if now.duration_since(second) >= Duration::from_secs(1) { + println!( + "{{\"t\": {:.1}, \"damage_per_s\": {in_second}}}", + now.duration_since(start).as_secs_f64() + ); + second = now; + in_second = 0; + if steady_start.is_none() && now.duration_since(start).as_secs_f64() >= warmup { + steady_start = Some(now); + } + } + if now.duration_since(start).as_secs_f64() >= seconds { + let steady = steady_start.map_or(0.0, |s| now.duration_since(s).as_secs_f64()); + println!( + "{{\"summary\": true, \"window\": {needle:?}, \"damage_per_s_mean\": {:.1}, \"steady_seconds\": {steady:.1}}}", + counted as f64 / steady.max(1e-6) + ); + return Ok(()); + } + } +} diff --git a/spikes/gpui/common/src/bin/proc-meter.rs b/spikes/gpui/common/src/bin/proc-meter.rs new file mode 100644 index 0000000..887ece9 --- /dev/null +++ b/spikes/gpui/common/src/bin/proc-meter.rs @@ -0,0 +1,53 @@ +//! CPU (process and thread groups, percent of one core) and resident memory +//! of another process, from `/proc/`, once a second, and the means +//! after a warm-up: the same numbers `spike_common::meter` gives for the +//! spikes, for a program that has no meter of its own (the Slint app). +//! +//! `proc-meter [warm-up seconds]` + +use std::time::Duration; + +use serde_json::json; +use spike_common::meter::{Snapshot, cpu_between}; + +fn round(v: f64) -> f64 { + (v * 10.0).round() / 10.0 +} + +fn main() -> anyhow::Result<()> { + let mut args = std::env::args().skip(1); + let pid = args.next().ok_or_else(|| anyhow::anyhow!("no pid"))?; + let seconds: u64 = args.next().map_or(Ok(60), |s| s.parse())?; + let warmup: u64 = args.next().map_or(Ok(10), |s| s.parse())?; + let first = Snapshot::of(&pid); + let mut last = first.clone(); + let mut steady = None; + for t in 1..=seconds { + std::thread::sleep(Duration::from_secs(1)); + let now = Snapshot::of(&pid); + let (cpu, threads) = cpu_between(&last, &now); + println!( + "{}", + json!({"t": t, "cpu": round(cpu), "rss_mib": round(now.rss_mib()), "threads": threads.iter().map(|(k, v)| (k.clone(), json!(round(*v)))).collect::>()}) + ); + if t == warmup { + steady = Some(now.clone()); + } + last = now; + } + let start = steady.unwrap_or(first); + let (cpu, threads) = cpu_between(&start, &last); + println!( + "{}", + json!({ + "summary": true, + "pid": pid, + "steady_seconds": seconds.saturating_sub(warmup), + "cpu_mean": round(cpu), + "threads_mean": threads.iter().map(|(k, v)| (k.clone(), json!(round(*v)))).collect::>(), + "rss_mib_steady_start": round(start.rss_mib()), + "rss_mib_end": round(last.rss_mib()), + }) + ); + Ok(()) +} diff --git a/spikes/gpui/common/src/fonts.rs b/spikes/gpui/common/src/fonts.rs new file mode 100644 index 0000000..f9964f6 --- /dev/null +++ b/spikes/gpui/common/src/fonts.rs @@ -0,0 +1,80 @@ +//! Fonts: Inter as the client bundles it (`crates/voelin-ui/ui/assets/fonts`, +//! read at build time, OFL), a colour emoji font (`SPIKE_EMOJI_FONT`) and +//! further fonts (`SPIKE_EXTRA_FONTS`, colon-separated: CJK), which +//! `shell.sh` points at Noto Color Emoji and Noto Sans CJK, added to GPUI's +//! text system so nothing depends on what fontconfig finds. + +use std::borrow::Cow; + +use gpui_kit::App; + +/// The family name of the bundled UI font. +pub const UI_FAMILY: &str = "Inter"; + +/// The colour emoji font's family. GPUI's Linux text system draws a glyph in +/// colour only from a font whose PostScript name is `NotoColorEmoji` +/// (`check_is_known_emoji_font` in gpui-pre-wgpu's `cosmic_text_system.rs`). +pub const EMOJI_FAMILY: &str = "Noto Color Emoji"; + +const INTER: [&[u8]; 5] = [ + include_bytes!("../../../../crates/voelin-ui/ui/assets/fonts/Inter-Regular.ttf"), + include_bytes!("../../../../crates/voelin-ui/ui/assets/fonts/Inter-Medium.ttf"), + include_bytes!("../../../../crates/voelin-ui/ui/assets/fonts/Inter-SemiBold.ttf"), + include_bytes!("../../../../crates/voelin-ui/ui/assets/fonts/Inter-Bold.ttf"), + include_bytes!("../../../../crates/voelin-ui/ui/assets/fonts/Inter-Italic.ttf"), +]; + +/// Add Inter, the emoji font and the extra fonts. Returns the emoji font's +/// path if it was added. +pub fn load(cx: &mut App) -> Option { + let mut fonts: Vec> = INTER.iter().map(|b| Cow::Borrowed(*b)).collect(); + let extra = std::env::var("SPIKE_EXTRA_FONTS").unwrap_or_default(); + for path in extra.split(':').filter(|p| !p.is_empty()) { + match std::fs::read(path) { + Ok(bytes) => fonts.push(Cow::Owned(bytes)), + Err(e) => log::warn!("no font at {path}: {e}"), + } + } + let mut added = None; + if let Some(path) = std::env::var("SPIKE_EMOJI_FONT").ok().filter(|p| !p.is_empty()) { + match std::fs::read(&path) { + Ok(bytes) => { + fonts.push(Cow::Owned(bytes)); + added = Some(path); + } + Err(e) => log::warn!("no emoji font at {path}: {e}"), + } + } + if let Err(e) = cx.text_system().add_fonts(fonts) { + log::warn!("cannot add the fonts: {e:#}"); + } + added +} + +/// Inter with the colour emoji font and CJK after it. GPUI 0.3.9 keeps a +/// family in the chain only if it could be a primary font, which takes a +/// glyph for `m`: Noto Color Emoji has none and is dropped (`load_family` in +/// gpui-pre-wgpu's `cosmic_text_system.rs`), so colour emoji come from +/// cosmic-text's own fallback list, where DejaVu Sans (monochrome U+1F600 to +/// U+1F640) comes first (the composer's emoji probe). +pub fn ui_font() -> gpui_kit::Font { + gpui_kit::Font { + family: UI_FAMILY.into(), + features: gpui_kit::FontFeatures::default(), + fallbacks: Some(gpui_kit::FontFallbacks::from_fonts(vec![ + EMOJI_FAMILY.into(), + "Noto Sans CJK SC".into(), + ])), + weight: gpui_kit::FontWeight::NORMAL, + style: gpui_kit::FontStyle::Normal, + } +} + +/// The colour emoji font alone, for text known to be emoji (a chat run +/// `voelin-ui-vm` marks as one, the picker). GPUI 0.3.9 refuses it as a +/// run's font for the reason given at [`ui_font`] and draws such a run in +/// its fallback font stack; docs/design/gpui-spikes.md has the patch that +/// lets it through. +pub fn emoji_font() -> gpui_kit::Font { + gpui_kit::Font { family: EMOJI_FAMILY.into(), fallbacks: None, ..ui_font() } +} diff --git a/spikes/gpui/common/src/lib.rs b/spikes/gpui/common/src/lib.rs new file mode 100644 index 0000000..ad92237 --- /dev/null +++ b/spikes/gpui/common/src/lib.rs @@ -0,0 +1,47 @@ +//! What the GPUI spikes share: the process's and its threads' CPU and memory +//! read from `/proc/self` once a second with the spike's own counters +//! ([`meter`]), logging, the fonts the client ships ([`fonts`]) and its +//! Lucide icons as GPUI assets ([`assets`]), and decoded frames as the BGRA +//! pictures GPUI shows ([`bgra`]). + +pub mod assets; +pub mod bgra; +pub mod fonts; +pub mod meter; + +/// Log to stderr: `RUST_LOG`, by default warnings and what GPUI says about +/// the GPU adapter and the display it picked. +pub fn init_logging() { + env_logger::Builder::from_env( + env_logger::Env::default().default_filter_or("warn,gpui_wgpu=info,gpui_linux=info"), + ) + .format_timestamp_millis() + .init(); +} + +/// The value of `--name value` or `--name=value` among the arguments. +pub fn arg(name: &str) -> Option { + let flag = format!("--{name}"); + let mut args = std::env::args().skip(1); + while let Some(a) = args.next() { + if a == flag { + return args.next(); + } + if let Some(v) = a.strip_prefix(&flag).and_then(|r| r.strip_prefix('=')) { + return Some(v.to_owned()); + } + } + None +} + +/// Whether `--name` is among the arguments. +pub fn flag(name: &str) -> bool { + let flag = format!("--{name}"); + std::env::args().skip(1).any(|a| a == flag) +} + +/// `WIDTHxHEIGHT` as numbers. +pub fn parse_size(text: &str) -> Option<(u32, u32)> { + let (w, h) = text.split_once('x')?; + Some((w.parse().ok()?, h.parse().ok()?)) +} diff --git a/spikes/gpui/common/src/meter.rs b/spikes/gpui/common/src/meter.rs new file mode 100644 index 0000000..b082411 --- /dev/null +++ b/spikes/gpui/common/src/meter.rs @@ -0,0 +1,272 @@ +//! CPU and memory of this process from `/proc/self`, by thread name, with +//! the spike's own counters, sampled once a second on a thread of their own. +//! +//! CPU is in percent of one core (200 = two cores busy). Threads are grouped +//! by name without a trailing number (`llvmpipe-12` → `llvmpipe`), so the +//! software renderer's share (Mesa's `llvmpipe-*` threads, which a GPU would +//! replace) is told apart from the decoder, the converter and GPUI's main +//! thread. + +use std::collections::BTreeMap; +use std::fs; +use std::io::Write; +use std::path::PathBuf; +use std::sync::Arc; +use std::sync::atomic::{AtomicU64, Ordering}; +use std::time::{Duration, Instant}; + +use serde_json::{Value, json}; + +/// A number the spike counts up (frames shown) or sets (images alive); the +/// meter reports counters per second and gauges as they are. +#[derive(Clone, Default)] +pub struct Counter(Arc); + +impl Counter { + /// Add one. + pub fn incr(&self) { + self.0.fetch_add(1, Ordering::Relaxed); + } + + /// Add `n`. + pub fn add(&self, n: u64) { + self.0.fetch_add(n, Ordering::Relaxed); + } + + /// Set (gauges). + pub fn set(&self, value: u64) { + self.0.store(value, Ordering::Relaxed); + } + + /// The current value. + pub fn get(&self) -> u64 { + self.0.load(Ordering::Relaxed) + } +} + +/// CPU ticks of the process and of each thread group, and the resident +/// memory, at one moment. +#[derive(Clone, Debug)] +pub struct Snapshot { + at: Instant, + process: u64, + threads: BTreeMap, + rss: u64, +} + +/// `utime + stime` and the name of a `/proc/.../stat` line. +fn ticks_of(stat: &str) -> Option<(String, u64)> { + let open = stat.find('(')?; + let close = stat.rfind(')')?; + let name = stat.get(open + 1..close)?.to_owned(); + let fields: Vec<&str> = stat.get(close + 1..)?.split_whitespace().collect(); + // Fields 14 and 15 of proc(5); the remainder starts at field 3. + let utime: u64 = fields.get(11)?.parse().ok()?; + let stime: u64 = fields.get(12)?.parse().ok()?; + Some((name, utime + stime)) +} + +/// A thread's group: its name without a trailing number or separator. +pub fn group_of(name: &str) -> String { + let trimmed = name.trim_end_matches(|c: char| c.is_ascii_digit()); + let trimmed = trimmed.trim_end_matches(['-', '_', ':', ' ', '#']); + if trimmed.is_empty() { name.to_owned() } else { trimmed.to_owned() } +} + +impl Snapshot { + /// Read `/proc/self` now. + pub fn now() -> Self { + Self::of("self") + } + + /// Read `/proc/` now (`"self"` or a process id). + pub fn of(process: &str) -> Self { + let proc = format!("/proc/{process}"); + let process = fs::read_to_string(format!("{proc}/stat")) + .ok() + .and_then(|s| ticks_of(&s)) + .map_or(0, |(_, t)| t); + let mut threads = BTreeMap::new(); + if let Ok(dir) = fs::read_dir(format!("{proc}/task")) { + for entry in dir.flatten() { + let Ok(stat) = fs::read_to_string(entry.path().join("stat")) else { continue }; + if let Some((name, ticks)) = ticks_of(&stat) { + *threads.entry(group_of(&name)).or_insert(0) += ticks; + } + } + } + let rss = fs::read_to_string(format!("{proc}/statm")) + .ok() + .and_then(|s| s.split_whitespace().nth(1)?.parse::().ok()) + .map_or(0, |pages| pages * rustix::param::page_size() as u64); + Self { at: Instant::now(), process, threads, rss } + } + + /// Resident memory in MiB. + pub fn rss_mib(&self) -> f64 { + self.rss as f64 / (1024.0 * 1024.0) + } +} + +/// CPU in percent of one core between two snapshots: the process's and each +/// thread group's (groups that exited in between count from zero). +pub fn cpu_between(a: &Snapshot, b: &Snapshot) -> (f64, BTreeMap) { + let hz = rustix::param::clock_ticks_per_second() as f64; + let secs = b.at.duration_since(a.at).as_secs_f64().max(1e-6); + let pct = |ticks: u64| ticks as f64 / hz / secs * 100.0; + let process = pct(b.process.saturating_sub(a.process)); + let threads = b + .threads + .iter() + .map(|(name, &t)| (name.clone(), pct(t.saturating_sub(*a.threads.get(name).unwrap_or(&0))))) + .filter(|(_, p)| *p > 0.0) + .collect(); + (process, threads) +} + +/// What a run measures and how long. +pub struct Meter { + /// The run's settings, copied into every line. + pub config: Value, + /// Counted up; reported per second. + pub counters: Vec<(&'static str, Counter)>, + /// Set; reported as they are. + pub gauges: Vec<(&'static str, Counter)>, + /// Seconds not averaged at the start (start-up, the first keyframe). + pub warmup: Duration, + /// The whole run, warm-up included; the process exits after it. + pub duration: Duration, + /// JSON lines: one per second, then the summary (`"summary": true`). + pub out: Option, +} + +impl Meter { + /// Sample once a second on a thread; after `duration` write the summary + /// and end the process with `exit_code`. + pub fn start(self, exit_code: Arc) { + std::thread::Builder::new() + .name("spike-meter".into()) + .spawn(move || self.run(&exit_code)) + .expect("a meter thread"); + } + + fn run(self, exit_code: &AtomicU64) { + let mut out = self.out.as_ref().map(|p| fs::File::create(p).expect("the meter's file")); + let mut emit = |line: &Value| { + let text = line.to_string(); + println!("{text}"); + if let Some(f) = out.as_mut() { + let _ = writeln!(f, "{text}"); + } + }; + let start = Instant::now(); + let values = |list: &[(&'static str, Counter)]| -> Vec { + list.iter().map(|(_, c)| c.get()).collect() + }; + let mut last = Snapshot::now(); + let mut last_counts = values(&self.counters); + let mut steady: Option<(Snapshot, Vec)> = None; + let mut cpu_samples: Vec = Vec::new(); + let mut rss_max = last.rss_mib(); + let rss_start = last.rss_mib(); + let mut rss_steady_start = None; + loop { + std::thread::sleep(Duration::from_secs(1)); + let now = Snapshot::now(); + let counts = values(&self.counters); + let (cpu, threads) = cpu_between(&last, &now); + let secs = now.at.duration_since(last.at).as_secs_f64(); + let rates: serde_json::Map = self + .counters + .iter() + .zip(counts.iter().zip(&last_counts)) + .map(|((name, _), (c, l))| { + ((*name).to_owned(), json!(round((c - l) as f64 / secs))) + }) + .collect(); + let gauges: serde_json::Map = + self.gauges.iter().map(|(n, g)| ((*n).to_owned(), json!(g.get()))).collect(); + let elapsed = start.elapsed(); + emit(&json!({ + "t": round(elapsed.as_secs_f64()), + "cpu": round(cpu), + "threads": threads.iter().map(|(k, v)| (k.clone(), json!(round(*v)))).collect::>(), + "rss_mib": round(now.rss_mib()), + "rates": rates, + "gauges": gauges, + })); + rss_max = rss_max.max(now.rss_mib()); + if elapsed >= self.warmup { + if steady.is_none() { + steady = Some((now.clone(), counts.clone())); + rss_steady_start = Some(now.rss_mib()); + } else { + cpu_samples.push(cpu); + } + } + if elapsed >= self.duration { + let (first, first_counts) = + steady.unwrap_or_else(|| (last.clone(), last_counts.clone())); + let (cpu, threads) = cpu_between(&first, &now); + let secs = now.at.duration_since(first.at).as_secs_f64().max(1e-6); + let rates: serde_json::Map = self + .counters + .iter() + .zip(counts.iter().zip(&first_counts)) + .map(|((name, _), (c, f))| { + ((*name).to_owned(), json!(round((c - f) as f64 / secs))) + }) + .collect(); + cpu_samples.sort_by(f64::total_cmp); + let pick = |q: f64| { + cpu_samples + .get(((cpu_samples.len() as f64 - 1.0) * q).round() as usize) + .copied() + .unwrap_or(cpu) + }; + emit(&json!({ + "summary": true, + "config": self.config, + "steady_seconds": round(secs), + "cpu_mean": round(cpu), + "cpu_p10": round(pick(0.1)), + "cpu_p90": round(pick(0.9)), + "threads_mean": threads.iter().map(|(k, v)| (k.clone(), json!(round(*v)))).collect::>(), + "rates_mean": rates, + "gauges_end": gauges, + "rss_mib_start": round(rss_start), + "rss_mib_steady_start": rss_steady_start.map(round), + "rss_mib_end": round(now.rss_mib()), + "rss_mib_max": round(rss_max), + "rss_growth_mib_per_min": rss_steady_start.map(|s| round((now.rss_mib() - s) / secs * 60.0)), + })); + std::process::exit(exit_code.load(Ordering::Relaxed) as i32); + } + last = now; + last_counts = counts; + } + } +} + +fn round(v: f64) -> f64 { + (v * 10.0).round() / 10.0 +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn groups_drop_trailing_numbers() { + assert_eq!(group_of("llvmpipe-12"), "llvmpipe"); + assert_eq!(group_of("tokio-runtime-w"), "tokio-runtime-w"); + assert_eq!(group_of("spike-video"), "spike-video"); + assert_eq!(group_of("1234"), "1234"); + } + + #[test] + fn stat_lines_parse_with_spaces_in_names() { + let line = "42 (a b) c) S 1 2 3 4 5 6 7 8 9 10 100 23 0 0 20 0 1 0 0"; + assert_eq!(ticks_of(line), Some(("a b) c".to_owned(), 123))); + } +} diff --git a/spikes/gpui/composer/Cargo.toml b/spikes/gpui/composer/Cargo.toml new file mode 100644 index 0000000..9636457 --- /dev/null +++ b/spikes/gpui/composer/Cargo.toml @@ -0,0 +1,20 @@ +[package] +name = "spike-composer" +description = "Spike 2: the composer (multi-line input, emoji, paste, Ctrl+Enter, preedit) and chat lines as StyledText." +version.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +publish.workspace = true + +[dependencies] +anyhow = "1" +gpui-kit = { workspace = true } +log = { workspace = true } +spike-common = { workspace = true } +serde_json = "1" +voelin-model = { workspace = true } +voelin-ui-vm = { workspace = true } + +[lints] +workspace = true diff --git a/spikes/gpui/composer/README.md b/spikes/gpui/composer/README.md new file mode 100644 index 0000000..ecccfd5 --- /dev/null +++ b/spikes/gpui/composer/README.md @@ -0,0 +1,51 @@ +# Spike 2: composer, IME and chat lines + +`spike-composer` is a chat view with a composer: + +- **Lines.** Sample messages in BBCode go through `voelin-ui-vm` + (`chat::line`: `bbcode` → `TextBlock`s of `TextRun`s, read only) and are + drawn as `StyledText` with one GPUI text run per `TextRun` (its font: + Inter, the theme's monospace font for code, Noto Color Emoji for the runs + marked as emoji; bold, italic, underline, strike, code background, the + author colour `ink_dark`) inside `InteractiveText`, whose clickable ranges + are the runs with a link (a click prints the link and whether it is + masked, which asks first). Quotes, code blocks, list items and rules are + blocks; one to three emoji alone are large (`ChatLine.jumbo`). Emoji are + characters drawn by a colour emoji font (`TextRun.emoji`, the Twemoji key, + only says that a run is one). +- **Emoji probe.** At start the spike lays out three lines of emoji the way + the list draws them, once with the emoji runs in Noto Color Emoji and once + in Inter with its fallback chain, and prints how many glyphs GPUI draws in + colour (`ShapedGlyph::is_emoji`). +- **Composer.** gpui-component's `Textarea` (`TextareaState`, auto-grow 1 + to 6 rows). The emoji button opens a picker of the first 96 emoji of + `voelin_ui_vm::emoji::archive().category(0)` (the names and characters of + the client's picker); a click inserts at the caret (`TextareaState::insert`) + and gives the focus back. Ctrl+Enter sends (bound to a `Send` action in the + `Input` context after gpui-component's own bindings, so its + "secondary enter" newline is not inserted first). `Textarea::on_paste` + takes pictures (`ClipboardEntry::Image`), files (`ExternalPaths`) and text + that is the absolute path of an existing file as attachments; other text + is pasted. +- **Preedit.** Nothing in the app: GPUI's platform input handler and + gpui-component's marked text. The spike reads the marked range ten times a + second and prints it. + +## Reproducing + +```sh +spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo build --locked --release' +# the sample list, the picker, typing, emoji at the caret, Ctrl+Enter, +# picture and path paste, a link click: eight checks and the emoji probe's +# findings, screenshots in $OUT +spikes/gpui/shell.sh spikes/gpui/headless.sh -- spikes/gpui/composer/drive.sh +# X11 preedit: fcitx5 + Pinyin as the XIM server (on-the-spot), "nihao", +# Space, Ctrl+Enter: three checks, screenshots of the preedit +spikes/gpui/shell.sh spikes/gpui/headless.sh -- spikes/gpui/composer/ime.sh +``` + +`drive.sh` first opens the window once with a font configuration of only +Noto Color Emoji, Noto Sans CJK and Cantarell (`FONTCONFIG_FILE`), then with +the system's: the two screenshots and the probe's two lines show the colour +emoji finding in +[docs/design/gpui-spikes.md](../../../docs/design/gpui-spikes.md#spike-2-composer-ime-and-chat-lines). diff --git a/spikes/gpui/composer/drive.sh b/spikes/gpui/composer/drive.sh new file mode 100755 index 0000000..3bfb4a6 --- /dev/null +++ b/spikes/gpui/composer/drive.sh @@ -0,0 +1,115 @@ +#!/bin/sh +# Spike 2's scenario on the headless display: a screenshot of the sample +# chat lines, then typing, an emoji from the picker inserted at the caret, +# Ctrl+Enter, a picture and a file path pasted from the clipboard, a click +# on a masked link; then checks the events the spike printed. Screenshots +# and the event log go to $OUT. +# +# spikes/gpui/shell.sh spikes/gpui/headless.sh -- spikes/gpui/composer/drive.sh +set -eu +root=$(cd "$(dirname "$0")/../../.." && pwd) +out=${OUT:-$root/.scratch/gpui-spikes-results} +mkdir -p "$out" +out=$(cd "$out" && pwd) + +# First the same window with a font configuration of only Noto Color Emoji +# and Noto Sans CJK (no DejaVu Sans, whose monochrome U+1F600-U+1F640 win +# over the fallback chain's Noto Color Emoji), picker open: its emoji probe +# is the comparison for the system configuration's. +# GPUI itself needs one of its default UI fonts (Cantarell is one). +latin=$(nix build --no-link --print-out-paths nixpkgs#cantarell-fonts | head -1) +cat >"$out/fonts-noto-only.conf" < + + + $(dirname "$SPIKE_EMOJI_FONT") + $(dirname "$SPIKE_EXTRA_FONTS") + $latin/share/fonts + +CONF +FONTCONFIG_FILE=$out/fonts-noto-only.conf "$root/target/release/spike-composer" --picker --seconds 6 >"$out/composer-noto-only.jsonl" 2>/dev/null & +pid=$! +sleep 4 +win=$(xdotool search --name 'Composer \(spike\)' | head -1) +xwd -id "$win" -silent | magick xwd:- "png:$out/composer-noto-only.png" +wait "$pid" || true +events=$out/composer-events.jsonl +"$root/target/release/spike-composer" --seconds 90 >"$events" 2>"$out/composer.log" & +pid=$! +step() { echo "== $*" >&2; } +i=0 +until win=$(xdotool search --name 'Composer \(spike\)' 2>/dev/null | head -1) && [ -n "$win" ]; do + i=$((i + 1)) + [ $i -lt 150 ] || { echo "no window" >&2; exit 1; } + sleep 0.1 +done +xdotool windowactivate --sync "$win" +sleep 2.5 +xwd -id "$win" -silent | magick xwd:- "png:$out/composer-messages.png" +eval "$(xdotool getwindowgeometry --shell "$win")" +step "typing, then the caret one character back" +xdotool type --delay 80 'ab' +xdotool key Left +sleep 0.3 +step "the emoji button, then the picker's first emoji" +xdotool mousemove --window "$win" 30 $((HEIGHT - 30)) click 1 +sleep 0.8 +xwd -id "$win" -silent | magick xwd:- "png:$out/composer-picker.png" +xdotool mousemove --window "$win" 37 $((HEIGHT - 12 - 36 - 8 - 180 + 8 + 17)) click 1 +sleep 0.5 +step "Ctrl+Enter sends" +xdotool key ctrl+Return +sleep 0.5 +step "a picture on the clipboard, Ctrl+V" +magick -size 64x48 xc:'#3b6cf6' "$out/paste.png" +xclip -selection clipboard -t image/png -i "$out/paste.png" +sleep 0.3 +xdotool key ctrl+v +sleep 0.8 +step "a file's path on the clipboard, Ctrl+V" +printf '%s' "$out/paste.png" | xclip -selection clipboard +sleep 0.3 +xdotool key ctrl+v +sleep 0.8 +xdotool type --delay 80 'files' +xwd -id "$win" -silent | magick xwd:- "png:$out/composer-attachments.png" +xdotool key ctrl+Return +sleep 0.5 +step "a click on the first message's masked link" +# Held 120 ms: InteractiveText installs its mouse-up listener on the frame +# after the mouse-down, so a click shorter than a frame is lost. +xdotool mousemove --window "$win" 50 59 mousedown 1 +sleep 0.12 +xdotool mouseup 1 +sleep 0.5 +xwd -id "$win" -silent | magick xwd:- "png:$out/composer-after.png" +kill "$pid" 2>/dev/null || true +wait "$pid" 2>/dev/null || true + +fail=0 +check() { + if jq -e -s "$2" "$events" >/dev/null; then + echo "PASS $1" + else + echo "FAIL $1" + fail=1 + fi +} +ev='[.[] | select(.event)]' +probe='[.[] | select(.event == "emoji probe")]' +check "the emoji font is loaded" "$ev | any(.event == \"fonts\" and .emoji != null)" +check "voelin-ui-vm marks every emoji of the probe as an emoji run" "$probe | length == 3 and all(.emoji_runs > 0)" +# Findings, not checks (docs/design/gpui-spikes.md, spike 2, "Colour +# emoji"): of each probe text's emoji, how many GPUI draws in colour, with +# the emoji runs in the emoji font and with the UI font's fallback chain +# alone, under the system's font configuration and under the Noto-only one. +for f in "$events" "$out/composer-noto-only.jsonl"; do + jq -c -s --arg f "$(basename "$f")" '[.[] | select(.event == "emoji probe") | {text, emoji_font: .emoji_font.colour_glyphs, fallback_chain: .fallback_chain.colour_glyphs}] | {file: $f, colour_glyphs: .}' "$f" | sed 's/^/FINDING /' +done +check "an emoji from the picker goes in at the caret" "$ev | any(.event == \"emoji inserted\" and (.value | startswith(\"a\") and endswith(\"b\") and length > 2))" +check "Ctrl+Enter sends the text with the emoji (no newline)" "$ev | any(.event == \"sent\" and (.text | startswith(\"a\") and endswith(\"b\")) and (.text | contains(\"\n\") | not))" +check "a pasted picture is attached" "$ev | any(.event == \"attached\" and (.what[0] | startswith(\"picture Png\")))" +check "a pasted file path is attached" "$ev | any(.event == \"attached\" and (.what[0] | startswith(\"file \")))" +check "the message goes with both attachments" "$ev | any(.event == \"sent\" and .text == \"files\" and (.attachments | length) == 2)" +check "a click on a masked link reaches the app, which asks first" "$ev | any(.event == \"link clicked\" and .masked and .url == \"https://example.com/raid\")" +exit $fail diff --git a/spikes/gpui/composer/ime.sh b/spikes/gpui/composer/ime.sh new file mode 100755 index 0000000..934e03d --- /dev/null +++ b/spikes/gpui/composer/ime.sh @@ -0,0 +1,97 @@ +#!/bin/sh +# X11 preedit with a CJK input method on the headless display: fcitx5 with +# Pinyin (fcitx5-chinese-addons) as the XIM server, the composer as its +# client (XMODIFIERS=@im=fcitx), "nihao" typed: the preedit must show in +# the input (marked text), Space commits 你好, Ctrl+Enter sends it. fcitx5's +# configuration and state stay in the headless session's XDG directories. +# +# spikes/gpui/shell.sh spikes/gpui/headless.sh -- spikes/gpui/composer/ime.sh +# +# FCITX5: an fcitx5 with the Pinyin addon (default: built from nixpkgs). +set -eu +root=$(cd "$(dirname "$0")/../../.." && pwd) +out=${OUT:-$root/.scratch/gpui-spikes-results} +mkdir -p "$out" +out=$(cd "$out" && pwd) +if [ -z "${FCITX5:-}" ]; then + FCITX5=$(nix build --option substituters "https://cache.nixos.org/ https://nix-community.cachix.org" \ + --no-link --print-out-paths --impure --expr \ + 'let p = (builtins.getFlake "nixpkgs").legacyPackages.x86_64-linux; in p.qt6Packages.fcitx5-with-addons.override { addons = [ p.qt6Packages.fcitx5-chinese-addons ]; }') +fi +mkdir -p "$XDG_CONFIG_HOME/fcitx5" +cat >"$XDG_CONFIG_HOME/fcitx5/profile" <<'PROFILE' +[Groups/0] +Name=Default +Default Layout=us +DefaultIM=pinyin + +[Groups/0/Items/0] +Name=keyboard-us +Layout= + +[Groups/0/Items/1] +Name=pinyin +Layout= + +[GroupOrder] +0=Default +PROFILE +cat >"$XDG_CONFIG_HOME/fcitx5/config" <<'CONFIG' +[Behavior] +ActiveByDefault=True +ShareInputState=All +CONFIG +# On-the-spot: the preedit goes to the client (GPUI asks for +# XIMPreeditCallbacks); fcitx5 draws it in its own window otherwise. +mkdir -p "$XDG_CONFIG_HOME/fcitx5/conf" +printf 'UseOnTheSpot=True\n' >"$XDG_CONFIG_HOME/fcitx5/conf/xim.conf" +"$FCITX5/bin/fcitx5" --replace --disable=wayland,waylandim,notificationitem,kimpanel >"$out/fcitx5.log" 2>&1 & +fcitx=$! +i=0 +until "$FCITX5/bin/fcitx5-remote" >/dev/null 2>&1; do + i=$((i + 1)) + [ $i -lt 100 ] || { echo "fcitx5 did not start" >&2; break; } + sleep 0.1 +done +sleep 1 +events=$out/ime-events.jsonl +XMODIFIERS=@im=fcitx "$root/target/release/spike-composer" --seconds 60 >"$events" 2>"$out/ime.log" & +pid=$! +i=0 +until win=$(xdotool search --name 'Composer \(spike\)' 2>/dev/null | head -1) && [ -n "$win" ]; do + i=$((i + 1)) + [ $i -lt 150 ] || { echo "no window" >&2; exit 1; } + sleep 0.1 +done +xdotool windowactivate --sync "$win" +sleep 2 +"$FCITX5/bin/fcitx5-remote" -o || true +echo "fcitx5 state: $("$FCITX5/bin/fcitx5-remote" 2>&1) (2: active)" >&2 +sleep 0.5 +xdotool type --delay 150 'nihao' +sleep 1.5 +xwd -root -silent | magick xwd:- -resize 50% "png:$out/ime-preedit.png" +xwd -id "$win" -silent | magick xwd:- "png:$out/ime-preedit-window.png" +xdotool key space +sleep 1 +xwd -id "$win" -silent | magick xwd:- "png:$out/ime-committed.png" +xdotool key ctrl+Return +sleep 0.8 +kill "$pid" 2>/dev/null || true +wait "$pid" 2>/dev/null || true +kill "$fcitx" 2>/dev/null || true + +fail=0 +check() { + if jq -e -s "$2" "$events" >/dev/null; then + echo "PASS $1" + else + echo "FAIL $1" + fail=1 + fi +} +ev='[.[] | select(.event)]' +check "the input shows the preedit as marked text" "$ev | any(.event == \"preedit\" and .marked != null and (.marked | length) > 0)" +check "the commit puts Chinese text in the input" "$ev | any((.value // \"\") | explode | any(. >= 19968 and . <= 40959))" +check "Ctrl+Enter sends it" "$ev | any(.event == \"sent\" and (.text | explode | any(. >= 19968 and . <= 40959)))" +exit $fail diff --git a/spikes/gpui/composer/src/main.rs b/spikes/gpui/composer/src/main.rs new file mode 100644 index 0000000..e918a38 --- /dev/null +++ b/spikes/gpui/composer/src/main.rs @@ -0,0 +1,657 @@ +//! Spike 2, the composer and chat lines (plan section 6 step 1): +//! gpui-component's multi-line input with emoji inserted at the caret from a +//! picker (names from `voelin-ui-vm`'s emoji module), file and picture +//! paste, Ctrl+Enter to send, IME preedit (the platform's, through GPUI's +//! input handler), and chat lines made by `voelin-ui-vm` (`chat::line`: +//! BBCode → `TextBlock`s of `TextRun`s) drawn as `StyledText` in +//! `InteractiveText` with clickable links and inline colour emoji (the runs +//! `voelin-ui-vm` marks as emoji in the colour emoji font). +//! +//! ```text +//! spike-composer [--picker] [--seconds N] +//! ``` +//! +//! Every event (sent, attached, emoji inserted, link clicked, the input's +//! text and preedit) is a JSON line on stdout, which `drive.sh` checks. + +use std::ops::Range; +use std::path::PathBuf; +use std::sync::Arc; +use std::time::Instant; + +use gpui_kit::component::ActiveTheme as _; +use gpui_kit::component::input::{InputEvent, Textarea, TextareaState}; +use gpui_kit::{ + App, AppContext as _, Context, Entity, EntityInputHandler as _, FocusHandle, Font, FontStyle, + FontWeight, Hsla, Image, ImageSource, InteractiveElement as _, InteractiveText, IntoElement, + KeyBinding, ParentElement as _, Render, StatefulInteractiveElement as _, StrikethroughStyle, + Styled as _, StyledText, TitlebarOptions, UnderlineStyle, Window, WindowBounds, WindowOptions, + actions, div, img, point, px, rgb, size, svg, +}; +use serde_json::json; +use voelin_model::{ChatMessage, ChatTarget}; +use voelin_ui_vm::bridge::{ChatLine, TextBlock}; +use voelin_ui_vm::chat; +use voelin_ui_vm::emoji; + +actions!( + spike_composer, + [ + /// Send the composer's text and attachments. + Send, + /// Open or close the emoji picker. + TogglePicker, + ] +); + +/// The messages the list starts with: what the chat must draw (styles, +/// colours, masked and bare links, code, quotes, lists, emoji, a ZWJ +/// sequence, a flag, CJK text, jumbo emoji). +const SAMPLES: &[(&str, &str)] = &[ + ( + "Mira", + "[url=https://example.com/raid]raid board[/url] for tonight (a masked link: asks before it opens)", + ), + ("Mira", "Raid tonight at [b]21:00[/b]! Bring the flask 🎉"), + ( + "Mira", + "[i]Bring[/i] [u]consumables[/u], [s]not[/s] snacks. Colours: [color=#e5484d]red[/color] [color=#46a758]green[/color]", + ), + ( + "Jonas", + "Patch notes: https://example.org/notes/2026-10, see `voice --fix` and [code]let gain = -6.0;\nmixer.set(gain);[/code]", + ), + ("Jonas", "[quote=Mira]Who brings the flask?[/quote]Me 🙋 — and a 👩‍💻 for the logs 🇫🇷"), + ("Aiko", "日本語のテキスト、中文的文本、한국어 텍스트 — CJK through the system fonts"), + ("Aiko", "[list][*]first item[*]second with 🙂[*]third[/list]"), + // U+1F600 to U+1F640, which DejaVu Sans also has (in monochrome). + ("Jonas", "Smileys DejaVu also has: 😀 😂 😍 🙀, and one it lacks: 🙂"), + ("Aiko", "🎉🎉"), + ( + "Mira", + "Join us: ts3server://voice.example.com?port=9987 or [url=javascript:alert(1)]this[/url] (refused)", + ), +]; + +/// A file or picture waiting to go with the next message. +#[derive(Clone)] +enum Attachment { + File(PathBuf), + Picture(Arc), +} + +/// The fonts chat runs are drawn in: the UI font (Inter and its fallback +/// chain), the colour emoji font for the runs `voelin-ui-vm` marks as emoji +/// (`TextRun.emoji`, the Twemoji key, is only used to know that), and the +/// theme's monospace font for code. +#[derive(Clone)] +struct RunFonts { + ui: Font, + emoji: Font, + mono: Font, +} + +impl RunFonts { + fn new(cx: &App) -> Self { + Self { + ui: spike_common::fonts::ui_font(), + emoji: spike_common::fonts::emoji_font(), + mono: Font { + family: cx.theme().mono_font_family.clone(), + ..spike_common::fonts::ui_font() + }, + } + } +} + +struct Composer { + start: Instant, + fonts: RunFonts, + input: Entity, + lines: Vec, + previous: Option, + attachments: Vec, + picker_open: bool, + picker: Vec, + focus: FocusHandle, + last_preedit: Option, +} + +fn event(start: Instant, what: serde_json::Value) { + let mut line = what; + line["t"] = json!((start.elapsed().as_secs_f64() * 10.0).round() / 10.0); + println!("{line}"); +} + +fn hex(rgb_value: u32) -> Hsla { + rgb(rgb_value).into() +} + +impl Composer { + fn new(window: &mut Window, cx: &mut Context) -> Self { + let input = cx.new(|cx| { + let mut state = + TextareaState::new(window, cx).placeholder("Message #Lobby (Ctrl+Enter sends)"); + state.set_auto_grow(1, 6, cx); + state + }); + cx.subscribe_in(&input, window, |this: &mut Self, input, e: &InputEvent, _, cx| { + if let InputEvent::Change = e { + let value = input.read(cx).value().to_string(); + event(this.start, json!({"event": "changed", "value": value})); + } + }) + .detach(); + // The preedit, read as the platform's IME sees it (the marked range of + // GPUI's input handler) ten times a second: a preedit is not a change + // of the input's value. + cx.spawn_in(window, async move |this, cx| { + loop { + cx.background_executor().timer(std::time::Duration::from_millis(100)).await; + if this.update_in(cx, |this, window, cx| this.poll_preedit(window, cx)).is_err() { + break; + } + } + }) + .detach(); + let mut lines = Vec::new(); + let mut previous = None; + for (i, (author, text)) in SAMPLES.iter().enumerate() { + let message = ChatMessage { + target: ChatTarget::Channel(1), + author_name: (*author).to_owned(), + author_uid: None, + author_id: None, + text: (*text).to_owned(), + ts_ms: 1_792_830_000_000 + i as i64 * 60_000, + via_relay: false, + blocked: false, + }; + lines.push(chat::line(&message, previous.as_ref())); + previous = Some(chat::Previous::of(&message)); + } + let picker = emoji::archive().category(0).into_iter().take(96).collect(); + Self { + start: Instant::now(), + fonts: RunFonts::new(cx), + input, + lines, + previous, + attachments: Vec::new(), + picker_open: spike_common::flag("picker"), + picker, + focus: cx.focus_handle(), + last_preedit: None, + } + } + + /// Log the input's preedit (marked text) when it changes. + fn poll_preedit(&mut self, window: &mut Window, cx: &mut Context) { + let value = self.input.read(cx).value().to_string(); + let marked = self.input.update(cx, |s, cx| { + s.marked_text_range(window, cx).map(|r| { + let utf16: Vec = value.encode_utf16().collect(); + String::from_utf16_lossy(utf16.get(r).unwrap_or_default()) + }) + }); + if marked != self.last_preedit { + event(self.start, json!({"event": "preedit", "marked": marked, "value": value})); + self.last_preedit = marked; + } + } + + fn send(&mut self, window: &mut Window, cx: &mut Context) { + let text = self.input.read(cx).value().trim().to_owned(); + if text.is_empty() && self.attachments.is_empty() { + return; + } + let names: Vec = self + .attachments + .drain(..) + .map(|a| match a { + Attachment::File(p) => p.display().to_string(), + Attachment::Picture(i) => { + format!("picture ({:?}, {} bytes)", i.format, i.bytes.len()) + } + }) + .collect(); + let mut body = text.clone(); + for name in &names { + body.push_str(&format!("\n📎 {name}")); + } + let message = ChatMessage { + target: ChatTarget::Channel(1), + author_name: "me".into(), + author_uid: None, + author_id: None, + text: body, + ts_ms: 1_792_840_000_000, + via_relay: false, + blocked: false, + }; + self.lines.push(chat::line(&message, self.previous.as_ref())); + self.previous = Some(chat::Previous::of(&message)); + event(self.start, json!({"event": "sent", "text": text, "attachments": names})); + self.input.update(cx, |s, cx| s.set_value("", window, cx)); + cx.notify(); + } + + fn insert_emoji(&mut self, text: &str, window: &mut Window, cx: &mut Context) { + self.input.update(cx, |s, cx| { + s.insert(text.to_owned(), window, cx); + s.focus(window, cx); + }); + let value = self.input.read(cx).value().to_string(); + event(self.start, json!({"event": "emoji inserted", "emoji": text, "value": value})); + } + + /// A paste: pictures and files become attachments (and nothing is + /// inserted); a path to an existing file in text does too; other text is + /// pasted as usual. + fn paste(&mut self, item: &gpui_kit::ClipboardItem, cx: &mut App) -> bool { + let mut taken = Vec::new(); + for entry in item.entries() { + match entry { + gpui_kit::ClipboardEntry::Image(image) => { + taken.push(Attachment::Picture(Arc::new(image.clone()))) + } + gpui_kit::ClipboardEntry::ExternalPaths(paths) => { + taken.extend(paths.paths().iter().cloned().map(Attachment::File)) + } + gpui_kit::ClipboardEntry::String(s) => { + let paths: Vec = s + .text() + .lines() + .map(|l| PathBuf::from(l.trim().trim_start_matches("file://"))) + .collect(); + if !paths.is_empty() && paths.iter().all(|p| p.is_absolute() && p.is_file()) { + taken.extend(paths.into_iter().map(Attachment::File)); + } + } + } + } + if taken.is_empty() { + return false; + } + let names: Vec = taken + .iter() + .map(|a| match a { + Attachment::File(p) => format!("file {}", p.display()), + Attachment::Picture(i) => format!("picture {:?} {} bytes", i.format, i.bytes.len()), + }) + .collect(); + event(self.start, json!({"event": "attached", "what": names})); + self.attachments.extend(taken); + cx.refresh_windows(); + true + } +} + +/// A clickable range of a block: the link and whether it is masked. +type Link = (Range, String, bool); + +/// One text block as GPUI text runs: the runs' text joined, each run with +/// its font (emoji runs in the emoji font, code in the monospace one), colour +/// (`base` unless the run has its own) and decoration, and the link ranges. +fn gpui_runs( + block: &TextBlock, + fonts: &RunFonts, + base: Hsla, +) -> (String, Vec, Vec) { + let mut text = String::new(); + let mut runs = Vec::new(); + let mut links: Vec = Vec::new(); + let line = |thickness| UnderlineStyle { thickness, ..Default::default() }; + for run in &block.runs { + let from = text.len(); + text.push_str(&run.text); + let range = from..text.len(); + let mut font = if !run.emoji.is_empty() { + fonts.emoji.clone() + } else if run.code || block.kind == 2 { + fonts.mono.clone() + } else { + fonts.ui.clone() + }; + if run.bold { + font.weight = FontWeight::BOLD; + } + if run.italic { + font.style = FontStyle::Italic; + } + let mut color = run.ink_dark.map_or(base, |ink| hex(ink.0 & 0xffffff)); + let mut underline = run.underline.then(|| line(px(1.0))); + if !run.link.is_empty() { + color = hex(0x7aa2ff); + underline = Some(line(px(1.0))); + // Runs of one link follow each other: one clickable range. + match links.last_mut() { + Some((r, url, _)) if r.end == from && *url == *run.link => r.end = range.end, + _ => links.push((range.clone(), run.link.to_string(), run.masked)), + } + } + runs.push(gpui_kit::TextRun { + len: range.len(), + font, + color, + background_color: run.code.then(|| hex(0x1f2a3d)), + underline, + strikethrough: run + .strike + .then(|| StrikethroughStyle { thickness: px(1.0), ..Default::default() }), + }); + } + (text, runs, links) +} + +/// One text block of a line as styled text with its links clickable. +fn block_text( + start: Instant, + id: (usize, usize), + block: &TextBlock, + jumbo: bool, + fonts: &RunFonts, +) -> impl IntoElement { + let base = if block.kind == 1 { hex(0xb4c0d3) } else { hex(0xe6edf7) }; + let (text, runs, links) = gpui_runs(block, fonts, base); + let ranges: Vec> = links.iter().map(|(r, _, _)| r.clone()).collect(); + let targets: Vec<(String, bool)> = links.into_iter().map(|(_, u, m)| (u, m)).collect(); + let styled = StyledText::new(text).with_runs(runs); + let body = InteractiveText::new(("block", id.0 * 1000 + id.1), styled).on_click( + ranges, + move |i, _, _| { + if let Some((url, masked)) = targets.get(i) { + event( + start, + json!({"event": "link clicked", "url": url, "masked": masked, "asks_first": masked}), + ); + } + }, + ); + let row = div().child(body); + let row = if jumbo { row.text_size(px(40.0)) } else { row }; + match block.kind { + 1 => row.pl_3().border_l_2().border_color(rgb(0x3b4a63)), + 2 => row.bg(rgb(0x111a2b)).px_2(), + 3 => div().flex().gap_2().child("•").child(row), + 4 => div().h(px(1.0)).w_full().bg(rgb(0x3b4a63)), + _ => row, + } +} + +fn line_view(start: Instant, index: usize, line: &ChatLine, fonts: &RunFonts) -> impl IntoElement { + let header = (!line.continued).then(|| { + div() + .flex() + .gap_2() + .child( + div() + .font_weight(FontWeight::SEMIBOLD) + .text_color(hex(line.tint.0 & 0xffffff)) + .child(line.author.to_string()), + ) + .child(div().text_xs().text_color(rgb(0x7d8aa3)).child(line.time.to_string())) + }); + let body = if line.rich { + div() + .flex() + .flex_col() + .children( + line.blocks + .iter() + .enumerate() + .map(|(b, block)| block_text(start, (index, b), block, line.jumbo, fonts)), + ) + .into_any_element() + } else { + div().child(line.text.to_string()).into_any_element() + }; + div().flex().flex_col().gap_1().children(header).child(body) +} + +impl Render for Composer { + fn render(&mut self, _window: &mut Window, cx: &mut Context) -> impl IntoElement { + let start = self.start; + let picker = self.picker_open.then(|| { + div() + .id("picker") + .flex() + .flex_wrap() + .gap_1() + .p_2() + .max_h(px(180.0)) + .overflow_y_scroll() + .bg(rgb(0x131c2e)) + .rounded_md() + .children(self.picker.iter().enumerate().map(|(i, e)| { + let text = e.text.clone(); + div() + .id(("emoji", i)) + .w(px(34.0)) + .h(px(34.0)) + .flex() + .items_center() + .justify_center() + .text_size(px(22.0)) + .font_family(spike_common::fonts::EMOJI_FAMILY) + .rounded_md() + .hover(|s| s.bg(rgb(0x24324a))) + .child(e.text.clone()) + .on_click(cx.listener(move |this, _, window, cx| { + this.insert_emoji(&text, window, cx) + })) + })) + }); + let attachments = (!self.attachments.is_empty()).then(|| { + div().flex().gap_2().children(self.attachments.iter().enumerate().map(|(i, a)| { + match a { + Attachment::File(p) => div() + .id(("attachment", i)) + .px_2() + .py_1() + .rounded_md() + .bg(rgb(0x1f2a3d)) + .child(format!( + "📎 {}", + p.file_name().map(|n| n.to_string_lossy()).unwrap_or_default() + )) + .into_any_element(), + Attachment::Picture(image) => div() + .id(("attachment", i)) + .child(img(ImageSource::Image(image.clone())).w(px(96.0)).h(px(64.0))) + .into_any_element(), + } + })) + }); + let input = self.input.clone(); + div() + .id("composer-root") + .key_context("Composer") + .track_focus(&self.focus) + .on_action(cx.listener(|this, _: &Send, window, cx| this.send(window, cx))) + .on_action(cx.listener(|this, _: &TogglePicker, _, cx| { + this.picker_open = !this.picker_open; + cx.notify(); + })) + .size_full() + .flex() + .flex_col() + .bg(rgb(0x0b1220)) + .text_color(rgb(0xe6edf7)) + .font(spike_common::fonts::ui_font()) + .child( + div() + .id("messages") + .flex_1() + .overflow_y_scroll() + .p_4() + .flex() + .flex_col() + .gap_3() + .children( + self.lines + .iter() + .enumerate() + .map(|(i, l)| line_view(start, i, l, &self.fonts)), + ), + ) + .child( + div().p_3().flex().flex_col().gap_2().children(picker).children(attachments).child( + div() + .flex() + .gap_2() + .items_end() + .child( + div() + .id("emoji-button") + .size(px(36.0)) + .flex() + .items_center() + .justify_center() + .rounded_md() + .bg(rgb(0x1f2a3d)) + .child( + svg() + .path("voelin/smile.svg") + .size(px(20.0)) + .text_color(rgb(0xc8d3e6)), + ) + .on_click(cx.listener(|this, _, _, cx| { + this.picker_open = !this.picker_open; + cx.notify(); + })), + ) + .child(div().flex_1().child(Textarea::new(&input).on_paste({ + let this = cx.entity().downgrade(); + move |item, _, cx| { + this.update(cx, |this, cx| this.paste(item, cx)).unwrap_or(false) + } + }))) + .child( + div() + .id("send") + .px_3() + .h(px(36.0)) + .flex() + .items_center() + .rounded_md() + .bg(rgb(0x3b6cf6)) + .child( + svg() + .path("icons/send.svg") + .size(px(18.0)) + .text_color(rgb(0xffffff)), + ) + .on_click(cx.listener(|this, _, window, cx| this.send(window, cx))), + ), + ), + ) + } +} + +fn main() -> anyhow::Result<()> { + spike_common::init_logging(); + let seconds: Option = spike_common::arg("seconds").map(|v| v.parse()).transpose()?; + gpui_kit::application().with_assets(spike_common::assets::Assets::default()).run(move |cx| { + gpui_kit::init(cx); + let emoji_font = spike_common::fonts::load(cx); + // The client is dark: gpui-component's inputs follow its theme. + gpui_kit::component::Theme::change(gpui_kit::component::ThemeMode::Dark, None, cx); + println!( + "{}", + json!({"event": "fonts", "ui": spike_common::fonts::UI_FAMILY, "emoji": emoji_font}) + ); + // After gpui-component's bindings, so Ctrl+Enter in the input is + // Send rather than the input's own "secondary enter" (a newline). + cx.bind_keys([ + KeyBinding::new("ctrl-enter", Send, Some("Input")), + KeyBinding::new("ctrl-e", TogglePicker, None), + ]); + let window = gpui_kit::open_window( + WindowOptions { + window_bounds: Some(WindowBounds::Windowed(gpui_kit::Bounds { + origin: point(px(20.0), px(40.0)), + size: size(px(900.0), px(1000.0)), + })), + titlebar: Some(TitlebarOptions { + title: Some("Composer (spike)".into()), + ..Default::default() + }), + ..Default::default() + }, + cx, + |window, cx| cx.new(|cx| Composer::new(window, cx)), + ) + .expect("a window"); + // The input has focus from the start. + let _ = window.0.update(cx, |_, window, cx| { + window.dispatch_action(Box::new(gpui_kit::component::input::MoveToEnd), cx) + }); + // Which glyphs GPUI draws in colour (`ShapedGlyph::is_emoji`: from the + // colour emoji font), for lines made by `voelin-ui-vm` and drawn as the + // list draws them, once with the emoji runs in the emoji font and once + // in the UI font and its fallback chain. + let _ = window.0.update(cx, |_, window, cx| { + let fonts = RunFonts::new(cx); + let fallback = RunFonts { emoji: fonts.ui.clone(), ..fonts.clone() }; + for sample in [ + "a\u{1f600}b", + "\u{1f602}\u{1f640}\u{1f642}\u{1f389}", + "\u{1f469}\u{200d}\u{1f4bb}", + ] { + let message = ChatMessage { + target: ChatTarget::Channel(1), + author_name: "probe".into(), + author_uid: None, + author_id: None, + text: sample.into(), + ts_ms: 0, + via_relay: false, + blocked: false, + }; + let line = chat::line(&message, None); + let count = |fonts: &RunFonts| { + let (mut colour, mut glyphs) = (0, 0); + for block in &line.blocks { + let (text, runs, _) = gpui_runs(block, fonts, hex(0xffffff)); + let layout = window.text_system().layout_line(&text, px(16.0), &runs, None); + for run in &layout.runs { + glyphs += run.glyphs.len(); + colour += run.glyphs.iter().filter(|g| g.is_emoji).count(); + } + } + json!({"colour_glyphs": colour, "glyphs": glyphs}) + }; + let emoji_runs: usize = line + .blocks + .iter() + .flat_map(|b| &b.runs) + .filter(|r| !r.emoji.is_empty()) + .count(); + println!( + "{}", + json!({ + "event": "emoji probe", + "text": sample, + "emoji_runs": emoji_runs, + "emoji_font": count(&fonts), + "fallback_chain": count(&fallback), + }) + ); + } + }); + let composer = window.1; + let _ = window.0.update(cx, |_, window, cx| { + let input = composer.read(cx).input.clone(); + input.update(cx, |s, cx| s.focus(window, cx)); + }); + if let Some(seconds) = seconds { + cx.spawn(async move |cx| { + cx.background_executor().timer(std::time::Duration::from_secs(seconds)).await; + cx.update(|cx| cx.quit()); + }) + .detach(); + } + }); + Ok(()) +} diff --git a/spikes/gpui/headless-wayland.sh b/spikes/gpui/headless-wayland.sh new file mode 100755 index 0000000..34cd6a1 --- /dev/null +++ b/spikes/gpui/headless-wayland.sh @@ -0,0 +1,75 @@ +#!/bin/sh +# Run a command on a private headless Wayland compositor: sway on wlroots' +# headless backend (it has a seat, which GPUI's Wayland backend requires and +# weston's headless backend lacks), its socket in its own XDG_RUNTIME_DIR, +# and a private D-Bus session bus, so nothing reaches the desktop the +# command is started from. No X display is set (no XWayland). +# +# spikes/gpui/headless-wayland.sh [-r pixman|gles2|vulkan] [-s WIDTHxHEIGHT] -- COMMAND... +# +# -r: the compositor's renderer (default pixman, the CPU; gles2 or vulkan +# use the GPU of a render node); -s: the output size (default 3840x2160). +# Run it inside shell.sh; keys go in with wtype (virtual keyboard). State +# lives in $SPIKE_STATE as for headless.sh. +set -eu +renderer=pixman size=3840x2160 +while [ $# -gt 0 ]; do + case $1 in + -r) renderer=$2; shift 2 ;; + -s) size=$2; shift 2 ;; + --) shift; break ;; + *) break ;; + esac +done +[ $# -gt 0 ] || { echo "headless-wayland.sh: no command" >&2; exit 2; } +root=$(cd "$(dirname "$0")/../.." && pwd) +SPIKE_STATE=${SPIKE_STATE:-$root/.scratch/gpui-spikes-state} +# Short: a socket path has at most 107 bytes (sway's IPC socket is +# sway-ipc...sock in it). +runtime=$root/.scratch/wl +mkdir -p "$runtime" "$SPIKE_STATE/config" "$SPIKE_STATE/data" "$SPIKE_STATE/cache" "$SPIKE_STATE/state" +chmod 700 "$runtime" +# A compositor that died uncleanly leaves its socket, which the wait below +# would take for the new one's. +rm -f "$runtime"/wayland-* "$runtime"/sway-ipc.* +# sway-unwrapped: nixpkgs' sway wrapper starts sway under a dbus-run-session +# of its own when no bus is set, and that child outlives the kill below. +tools=$(nix build --option substituters "https://cache.nixos.org/ https://nix-community.cachix.org" \ + --no-link --print-out-paths nixpkgs#sway-unwrapped nixpkgs#wtype) +for t in $tools; do PATH="$t/bin:$PATH"; done +unset DISPLAY WAYLAND_DISPLAY WAYLAND_SOCKET XDG_SESSION_TYPE DBUS_SESSION_BUS_ADDRESS SWAYSOCK +export XDG_RUNTIME_DIR="$runtime" XDG_CONFIG_HOME="$SPIKE_STATE/config" +export XDG_DATA_HOME="$SPIKE_STATE/data" XDG_CACHE_HOME="$SPIKE_STATE/cache" +# The Slint app keeps its logs in XDG_STATE_HOME: never the desktop's. +export XDG_STATE_HOME="$SPIKE_STATE/state" +cat >"$SPIKE_STATE/sway.conf" <"$SPIKE_STATE/sway.log" 2>&1 & +compositor=$! +trap 'kill $compositor 2>/dev/null; wait $compositor 2>/dev/null || true' EXIT INT TERM +i=0 +until socket=$(ls "$runtime" 2>/dev/null | grep '^wayland-[0-9]*$' | head -1) && [ -n "$socket" ]; do + i=$((i + 1)) + [ $i -lt 100 ] || { echo "sway did not start" >&2; cat "$SPIKE_STATE/sway.log" >&2; exit 1; } + sleep 0.1 +done +export WAYLAND_DISPLAY=$socket +cat >"$SPIKE_STATE/dbus-session-wayland.conf" < + + session + unix:path=$runtime/bus + EXTERNAL + + + + + + +CONF +dbus-run-session --config-file="$SPIKE_STATE/dbus-session-wayland.conf" -- "$@" diff --git a/spikes/gpui/headless.sh b/spikes/gpui/headless.sh new file mode 100755 index 0000000..1fc3e48 --- /dev/null +++ b/spikes/gpui/headless.sh @@ -0,0 +1,73 @@ +#!/bin/sh +# Run a command on a private headless X display: Xvfb, a window manager +# (openbox: fullscreen, activation and close requests need one) and a +# private D-Bus session bus, so nothing reaches the desktop the command is +# started from (its Wayland or X display, its session bus, its portals). +# +# spikes/gpui/headless.sh [-d DISPLAY_NUMBER] [-s WIDTHxHEIGHT] [-n] -- COMMAND... +# +# -d: the display number (default 91); -s: the screen size (default +# 3840x2160); -n: no window manager. Run it inside shell.sh (Xvfb, openbox +# and dbus come from there). The display, the window manager's and the +# command's state live in $SPIKE_STATE (default: .scratch/gpui-spikes-state +# of the checkout, which git ignores). +set -eu +number=91 size=3840x2160 wm=1 +while [ $# -gt 0 ]; do + case $1 in + -d) number=$2; shift 2 ;; + -s) size=$2; shift 2 ;; + -n) wm=0; shift ;; + --) shift; break ;; + *) break ;; + esac +done +[ $# -gt 0 ] || { echo "headless.sh: no command" >&2; exit 2; } +root=$(cd "$(dirname "$0")/../.." && pwd) +SPIKE_STATE=${SPIKE_STATE:-$root/.scratch/gpui-spikes-state} +mkdir -p "$SPIKE_STATE/runtime" "$SPIKE_STATE/config" "$SPIKE_STATE/data" "$SPIKE_STATE/cache" "$SPIKE_STATE/state" +chmod 700 "$SPIKE_STATE/runtime" +if [ -e "/tmp/.X11-unix/X$number" ]; then + echo "headless.sh: display :$number is taken" >&2 + exit 1 +fi +Xvfb ":$number" -screen 0 "${size}x24" -nolisten tcp -noreset >"$SPIKE_STATE/xvfb-$number.log" 2>&1 & +xvfb=$! +trap 'kill $wm_pid $xvfb 2>/dev/null; wait $xvfb 2>/dev/null || true' EXIT INT TERM +wm_pid= +i=0 +until [ -e "/tmp/.X11-unix/X$number" ]; do + i=$((i + 1)) + [ $i -lt 100 ] || { echo "headless.sh: Xvfb did not start" >&2; exit 1; } + sleep 0.1 +done +# Never the desktop's display, bus or portals. +unset WAYLAND_DISPLAY WAYLAND_SOCKET XDG_SESSION_TYPE DBUS_SESSION_BUS_ADDRESS +export DISPLAY=":$number" +export XDG_RUNTIME_DIR="$SPIKE_STATE/runtime" XDG_CONFIG_HOME="$SPIKE_STATE/config" +export XDG_DATA_HOME="$SPIKE_STATE/data" XDG_CACHE_HOME="$SPIKE_STATE/cache" +# The Slint app keeps its logs in XDG_STATE_HOME: never the desktop's. +export XDG_STATE_HOME="$SPIKE_STATE/state" +export GPUI_X11_SCALE_FACTOR=${GPUI_X11_SCALE_FACTOR:-1} +if [ $wm = 1 ]; then + openbox --sm-disable >"$SPIKE_STATE/openbox-$number.log" 2>&1 & + wm_pid=$! + sleep 0.5 +fi +# A session bus of its own that starts no services: the desktop's portals +# (and their backends, which look for a compositor) stay out of the run. +cat >"$SPIKE_STATE/dbus-session.conf" < + + session + unix:path=$SPIKE_STATE/runtime/bus + EXTERNAL + + + + + + +CONF +dbus-run-session --config-file="$SPIKE_STATE/dbus-session.conf" -- "$@" diff --git a/spikes/gpui/shell.sh b/spikes/gpui/shell.sh new file mode 100755 index 0000000..925fce3 --- /dev/null +++ b/spikes/gpui/shell.sh @@ -0,0 +1,74 @@ +#!/bin/sh +# Run a command with the spikes' build and run environment (NixOS): the +# native libraries GPUI and voelin-media link, Mesa (lavapipe, the software +# Vulkan device), the Vulkan loader, Xvfb, a window manager and the X tools +# the measurements use, and a Rust toolchain on PATH. +# +# spikes/gpui/shell.sh cargo build --locked --release +# TOOLCHAIN=nightly spikes/gpui/shell.sh cargo build --locked +# +# TOOLCHAIN: 1.95 (default: the oldest release gpui-kit builds with), 1.94 +# (rust-toolchain.toml's, which cannot build gpui-kit), stable or nightly, +# all from one pinned fenix (stable: 2026-10-15's, nightly: 2026-10-24's); +# RUST_BIN overrides the directory with cargo and rustc. VK_DRIVER_FILES: the +# Vulkan drivers GPUI may use (default: lavapipe alone). +set -eu +substituters="https://cache.nixos.org/ https://nix-community.cachix.org" +fenix=github:nix-community/fenix/e691190ae78c9551d1e6a0cba156555c8f7cceca +components='[ "cargo" "rustc" "rust-std" "clippy" "rustfmt" ]' +case "${TOOLCHAIN:-1.95}" in +1.95) toolchain="(f.toolchainOf { channel = \"1.95.0\"; sha256 = \"sha256-gh/xTkxKHL4eiRXzWv8KP7vfjSk61Iq48x47BEDFgfk=\"; })" ;; +1.94) toolchain="(f.toolchainOf { channel = \"1.94.0\"; sha256 = \"sha256-qqF33vNuAdU5vua96VKVIwuc43j4EFeEXbjQ6+l4mO4=\"; })" ;; +stable) toolchain=f.stable ;; +nightly) toolchain=f.latest ;; +*) echo "shell.sh: TOOLCHAIN is 1.95, 1.94, stable or nightly" >&2; exit 2 ;; +esac +if [ -z "${RUST_BIN:-}" ]; then + default_bin=$(nix build --option substituters "$substituters" --no-link --print-out-paths --impure \ + --expr "let f = (builtins.getFlake \"$fenix\").packages.x86_64-linux; in $toolchain.withComponents $components")/bin +fi +RUST_BIN=${RUST_BIN:-$default_bin} + +# Tools (bin/ on PATH) and libraries (lib/ and pkg-config files). +tools="gcc cmake gnumake pkg-config jq xvfb xdotool xwd imagemagick vulkan-tools + procps xclip coreutils openbox dbus xrandr xdpyinfo xprop xwininfo" +# Libraries with every output (lib/ and the pkg-config files are in different +# ones). +libs="alsa-lib openssl libvpx dav1d pipewire fontconfig freetype libxkbcommon + expat wayland libxcb vulkan-loader libglvnd libx11 libxcursor libxrandr libxi libxext + libxrender" +installables="nixpkgs#libclang.lib nixpkgs#glibc.dev nixpkgs#mesa nixpkgs#noto-fonts-color-emoji + nixpkgs#noto-fonts-cjk-sans" +for p in $tools; do installables="$installables nixpkgs#$p"; done +for p in $libs; do installables="$installables nixpkgs#$p^*"; done +# shellcheck disable=SC2086 +paths=$(nix build --option substituters "$substituters" --no-link --print-out-paths $installables) + +bin= pc= lib= +for p in $paths; do + [ -d "$p/bin" ] && bin="$bin:$p/bin" + [ -d "$p/lib/pkgconfig" ] && pc="$pc:$p/lib/pkgconfig" + [ -d "$p/share/pkgconfig" ] && pc="$pc:$p/share/pkgconfig" + [ -d "$p/lib" ] && lib="$lib:$p/lib" + case $p in + *-mesa-[0-9]*) [ -e "$p/share/vulkan/icd.d/lvp_icd.x86_64.json" ] && MESA=$p ;; + *-clang-*-lib) [ -e "$p/lib/libclang.so" ] && LIBCLANG_PATH=$p/lib ;; + *-glibc-*-dev) GLIBC_INCLUDE=$p/include ;; + *-noto-fonts-color-emoji-*) SPIKE_EMOJI_FONT=$p/share/fonts/noto/NotoColorEmoji.ttf ;; + *-noto-fonts-cjk-sans-*) SPIKE_EXTRA_FONTS=$p/share/fonts/opentype/noto-cjk/NotoSansCJK-VF.otf.ttc ;; + esac +done +export PATH="$RUST_BIN$bin:$PATH" +export PKG_CONFIG_PATH="${pc#:}" +# Run time: the Vulkan loader, libGL/EGL, Wayland and xkbcommon are opened +# by name (dlopen); link time: -L for every library above. +export LD_LIBRARY_PATH="${lib#:}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" +export LIBRARY_PATH="${lib#:}" +export LIBCLANG_PATH MESA +# The fonts the spikes add to GPUI (common/src/fonts.rs): colour emoji, CJK. +export SPIKE_EMOJI_FONT SPIKE_EXTRA_FONTS +# bindgen (libclang, unwrapped) needs the C library's headers. +export BINDGEN_EXTRA_CLANG_ARGS="-isystem $GLIBC_INCLUDE" +export VK_DRIVER_FILES="${VK_DRIVER_FILES:-$MESA/share/vulkan/icd.d/lvp_icd.x86_64.json}" +export __EGL_VENDOR_LIBRARY_DIRS="$MESA/share/glvnd/egl_vendor.d" +exec "$@" diff --git a/spikes/gpui/video/Cargo.toml b/spikes/gpui/video/Cargo.toml new file mode 100644 index 0000000..ea90675 --- /dev/null +++ b/spikes/gpui/video/Cargo.toml @@ -0,0 +1,23 @@ +[package] +name = "spike-video" +description = "Spike 1: decoded video frames shown with img() as BGRA RenderImages." +version.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +publish.workspace = true + +[dependencies] +anyhow = "1" +gpui-kit = { workspace = true } +log = { workspace = true } +spike-common = { workspace = true } +futures = "0.3" +serde_json = "1" +tokio = { version = "1", features = ["rt-multi-thread", "time"] } +voelin-core = { workspace = true } +voelin-media = { workspace = true } +yuv = { workspace = true } + +[lints] +workspace = true diff --git a/spikes/gpui/video/README.md b/spikes/gpui/video/README.md new file mode 100644 index 0000000..8c77039 --- /dev/null +++ b/spikes/gpui/video/README.md @@ -0,0 +1,72 @@ +# Spike 1: the video path + +`spike-video` shows the synthetic test pattern in a GPUI window the way +`voelin-ui` shows a watched stream: + +- **Source.** `--mode pipeline` runs `voelin_core::media::LocalPreview` with + `SourceId::Synthetic`, as `Video::demo` (`crates/voelin-ui/src/video.rs`) + does: capture, the VP8 encoder (libvpx), the decoder, no server. + `--mode raw` hands decoded-looking I420 frames from memory at `--fps` + straight to the converter, so a frame rate below the source's belongs to + the conversion and GPUI alone. +- **Delivery** (`src/frames.rs`): the port of `video.rs`' `deliver`, + `FrameSlot`, `Handoff` and `Buffers`. The decoder hands over its newest + frame only; a converter thread (`voelin-picture`) turns it into an + `Arc` (BGRA, `spike_common::bgra::to_bgra`, the BGRA twin of + `voelin_media::convert::to_rgba`) and puts it into a `Latest`; the window + is woken through a channel only when the slot was empty (GPUI's + `AsyncApp` is not `Send`). A `RenderImage` owns its pixels and gives no + way back to them, so the buffer reuse of `Buffers` cannot be ported: every + picture is a new buffer. +- **Window** (`src/main.rs`): `img(ImageSource::Render(..))`, the picture + taken from `Latest` in `render`, the one it replaces dropped from every + window's sprite atlas with `cx.drop_image` (`--no-drop` leaves it: the + negative control). `inactive_frame_interval: None`: GPUI throttles + animation frames of an unfocused window to 30 fps by default. + +Once a second it prints a JSON line (CPU of the process and of each thread +group in percent of one core, resident memory, and per second: frames +captured, encoded, decoded, handed to the converter, converted, shown and +rendered, conversion time); at the end a summary over the steady part. + +## Reproducing the measurements + +Build, then run every case on the headless display (Xvfb `:91`, openbox, +lavapipe through wgpu's Vulkan backend; see [../README.md](../README.md)): + +```sh +spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo build --locked --release' +# the Slint app, for its demo stream (the root workspace, Rust 1.94): +TOOLCHAIN=1.94 spikes/gpui/shell.sh cargo build --locked --release -p voelin-ui +spikes/gpui/shell.sh spikes/gpui/headless.sh -- spikes/gpui/video/measure.sh +``` + +`measure.sh` runs, 70 s each with 10 s of warm-up not averaged +(`SECONDS_RUN`, `WARMUP`), and writes `.jsonl`, `-damage.jsonl` +(the X server's count of the window's content changes), `.load` (load +average before and after) and a screenshot from the warm-up to `$OUT` +(default `.scratch/gpui-spikes-results`): + +| Case | Command | +|---|---| +| `bench` | `spike-video --bench --iterations 300` (RGBA against BGRA, 1080p and 1440p, into a reused and a new buffer, and as a `RenderImage`) | +| `static-1080p60`, `static-1440p60` | `spike-video --mode static --size …`: one picture, the window repainted every frame (the control: what GPUI and the renderer manage with no upload) | +| `raw-1080p60`, `raw-1440p60` | `spike-video --mode raw --size 1920x1080` (or `2560x1440`) `--fps 60` | +| `pipeline-1080p60`, `pipeline-1440p60` | `spike-video --mode pipeline --size … --fps 60` (bitrate automatic, as the share dialog's default) | +| `pipeline-1440p60-rgba` | the same with `--convert rgba` (voelin-media's conversion; red and blue show swapped) | +| `nodrop-1440p` | `spike-video --mode pipeline --size 2560x1440 --fps 15 --no-drop --seconds 12 --warmup 2` (memory grows by a picture per frame; its `-damage.jsonl` summary averages over a 59-s window set for the other cases, so read the per-second lines or run `damage-count spike-video 11 2` beside it) | +| `pipeline-720p30` | `spike-video --mode pipeline --size 1280x720 --fps 30 --bitrate 4608`: `Video::demo`'s own settings (`StreamerConfig::default()`) | +| `slint-720p30` | `voelin` with `VOELIN_DEMO_STREAM=1 SLINT_BACKEND=winit-software`, measured from outside with `proc-meter` and `damage-count` | + +One case: `spikes/gpui/shell.sh spikes/gpui/headless.sh -- spikes/gpui/video/measure.sh raw-1440p60`. + +GPUI's Wayland backend, on sway's headless backend with a 2560x1440 +output (the window is tiled to it; no damage count there): + +```sh +spikes/gpui/shell.sh spikes/gpui/headless-wayland.sh -s 2560x1440 -- sh -c \ + 'mkdir -p .scratch/gpui-spikes-results && target/release/spike-video --mode raw --size 2560x1440 --fps 60 --seconds 40 --warmup 10 --out .scratch/gpui-spikes-results/wayland-raw-1440p60.jsonl' +``` + +The figures and what they mean are in +[docs/design/gpui-spikes.md](../../../docs/design/gpui-spikes.md#spike-1-the-video-path). diff --git a/spikes/gpui/video/measure.sh b/spikes/gpui/video/measure.sh new file mode 100755 index 0000000..cca917e --- /dev/null +++ b/spikes/gpui/video/measure.sh @@ -0,0 +1,92 @@ +#!/bin/sh +# Spike 1's measurements on the headless display, one case after another; +# every case writes .jsonl (one line a second, then the summary) to +# $OUT. Cases (default: all, in this order): +# +# bench RGBA against BGRA conversion, no window +# static-1080p60 static-1440p60 one picture, repainted every frame (the control) +# raw-1080p60 raw-1440p60 frames from memory: conversion + GPUI only +# pipeline-1080p60 pipeline-1440p60 LocalPreview: capture, VP8, decoder (as Video::demo) +# pipeline-1440p60-rgba the same with voelin-media's RGBA conversion +# nodrop-1440p the negative control: no cx.drop_image (15 fps, 12 s) +# pipeline-720p30 GPUI with Video::demo's own settings (1280x720, 30 fps, 4.6 Mbit/s) +# slint-720p30 the Slint app's demo stream (VOELIN_DEMO_STREAM), same display +# +# spikes/gpui/shell.sh spikes/gpui/headless.sh -- spikes/gpui/video/measure.sh [CASE...] +# +# SECONDS_RUN (default 70) and WARMUP (default 10) set the length of the +# window cases. damage-count runs beside every window case: it counts the +# window's content changes from the X server's side. +set -eu +root=$(cd "$(dirname "$0")/../../.." && pwd) +out=${OUT:-$root/.scratch/gpui-spikes-results} +mkdir -p "$out" +out=$(cd "$out" && pwd) +bin=$root/target/release +seconds=${SECONDS_RUN:-70} +warmup=${WARMUP:-10} +cases=${*:-bench static-1080p60 static-1440p60 raw-1080p60 raw-1440p60 pipeline-1080p60 pipeline-1440p60 pipeline-1440p60-rgba nodrop-1440p pipeline-720p30 slint-720p30} + +video() { + name=$1 + shift + echo "== $name: spike-video $*" >&2 + echo "load before: $(cat /proc/loadavg)" >"$out/$name.load" + "$bin/damage-count" spike-video "$((seconds - 1))" "$warmup" >"$out/$name-damage.jsonl" & + damage=$! + # A picture of the window during the warm-up (not averaged). + (sleep 5 && w=$(xdotool search --name '^spike-video$' | head -1) && xwd -id "$w" -silent | magick xwd:- -resize 50% "png:$out/$name.png") & + "$bin/spike-video" "$@" --out "$out/$name.jsonl" >/dev/null 2>"$out/$name.log" + wait "$damage" || true + echo "load after: $(cat /proc/loadavg)" >>"$out/$name.load" + tail -1 "$out/$name.jsonl" + tail -1 "$out/$name-damage.jsonl" +} + +for c in $cases; do + case $c in + bench) "$bin/spike-video" --bench --iterations 300 | tee "$out/bench.jsonl" ;; + static-1080p60) video "$c" --mode static --size 1920x1080 --seconds "$seconds" --warmup "$warmup" ;; + static-1440p60) video "$c" --mode static --size 2560x1440 --seconds "$seconds" --warmup "$warmup" ;; + raw-1080p60) video "$c" --mode raw --size 1920x1080 --fps 60 --seconds "$seconds" --warmup "$warmup" ;; + raw-1440p60) video "$c" --mode raw --size 2560x1440 --fps 60 --seconds "$seconds" --warmup "$warmup" ;; + pipeline-1080p60) video "$c" --mode pipeline --size 1920x1080 --fps 60 --seconds "$seconds" --warmup "$warmup" ;; + pipeline-1440p60) video "$c" --mode pipeline --size 2560x1440 --fps 60 --seconds "$seconds" --warmup "$warmup" ;; + pipeline-1440p60-rgba) + video "$c" --mode pipeline --size 2560x1440 --fps 60 --convert rgba --seconds "$seconds" --warmup "$warmup" + ;; + nodrop-1440p) video "$c" --mode pipeline --size 2560x1440 --fps 15 --no-drop --seconds 12 --warmup 2 ;; + pipeline-720p30) + video "$c" --mode pipeline --size 1280x720 --fps 30 --bitrate 4608 --seconds "$seconds" --warmup "$warmup" + ;; + slint-720p30) + echo "== $c: voelin (Slint, software renderer) with VOELIN_DEMO_STREAM=1" >&2 + echo "load before: $(cat /proc/loadavg)" >"$out/$c.load" + data=$out/slint-data + rm -rf "$data" + mkdir -p "$data" + SLINT_BACKEND=winit-software SLINT_DEBUG_PERFORMANCE=console,refresh_lazy \ + VOELIN_DATA_DIR="$data" VOELIN_DEMO_STREAM=1 VOELIN_WINDOW_SIZE=1440x960 VOELIN_FFMPEG=0 \ + "$bin/voelin" >"$out/$c.log" 2>&1 & + app=$! + # The app takes 20 s or more to open its window on a busy machine. + i=0 + until w=$(xdotool search --name '^Voelin$' 2>/dev/null | head -1) && [ -n "$w" ]; do + i=$((i + 1)) + [ $i -lt 600 ] || { echo "no Voelin window" >&2; kill "$app"; exit 1; } + sleep 0.1 + done + "$bin/damage-count" Voelin "$((seconds - 1))" "$warmup" >"$out/$c-damage.jsonl" & + damage=$! + (sleep 5 && xwd -id "$w" -silent | magick xwd:- "png:$out/$c.png") & + "$bin/proc-meter" "$app" "$seconds" "$warmup" >"$out/$c.jsonl" + wait "$damage" || true + echo "load after: $(cat /proc/loadavg)" >>"$out/$c.load" + kill "$app" 2>/dev/null || true + wait "$app" 2>/dev/null || true + tail -1 "$out/$c.jsonl" + tail -1 "$out/$c-damage.jsonl" + ;; + *) echo "unknown case $c" >&2; exit 2 ;; + esac +done diff --git a/spikes/gpui/video/src/convert.rs b/spikes/gpui/video/src/convert.rs new file mode 100644 index 0000000..c65bd04 --- /dev/null +++ b/spikes/gpui/video/src/convert.rs @@ -0,0 +1,90 @@ +//! Which conversion the converter thread runs (BGRA, what GPUI shows, or +//! voelin-media's RGBA for comparison), and the benchmark of the two. + +use std::time::Instant; + +use spike_common::bgra::{render_image, to_bgra}; +use voelin_media::convert; +use voelin_media::frame::VideoFrame; + +/// Which conversion the converter thread runs. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum Order { + /// What GPUI wants. + Bgra, + /// voelin-media's (what Slint wants): the picture shows with red and + /// blue swapped; only for measuring the difference in place. + Rgba, +} + +impl Order { + /// Convert with this order. + pub fn convert(self, frame: &VideoFrame, out: &mut [u8], stride: usize) -> Result<(), String> { + match self { + Self::Bgra => to_bgra(frame, out, stride), + Self::Rgba => convert::to_rgba(frame, out, stride).map_err(|e| e.to_string()), + } + } +} + +/// Milliseconds per call of `f`, over `n` calls after two warm-up calls: +/// (mean, median). +fn time(n: usize, mut f: impl FnMut()) -> (f64, f64) { + f(); + f(); + let mut samples: Vec = (0..n) + .map(|_| { + let t = Instant::now(); + f(); + t.elapsed().as_secs_f64() * 1000.0 + }) + .collect(); + samples.sort_by(f64::total_cmp); + (samples.iter().sum::() / n as f64, samples[n / 2]) +} + +/// The conversion benchmark (`spike-video --bench`): RGBA against BGRA at +/// 1080p and 1440p, into a reused buffer and into a new one, and the new +/// buffer wrapped as GPUI's `RenderImage` (what the converter thread does +/// per frame). Prints one JSON line per case. +pub fn bench(iterations: usize) { + use voelin_media::capture::synthetic::{Pattern, SyntheticScreen}; + for (w, h) in [(1920u32, 1080u32), (2560, 1440)] { + let picture = SyntheticScreen::with_pattern(w, h, Pattern::Desktop).frame(1, 60); + let i420 = convert::to_i420(&picture).expect("I420").into_owned(); + let stride = w as usize * 4; + let bytes = stride * h as usize; + for order in [Order::Rgba, Order::Bgra] { + let mut reused = vec![0u8; bytes]; + let (reuse_mean, reuse_median) = time(iterations, || { + order.convert(&i420, &mut reused, stride).expect("convert"); + }); + let (new_mean, new_median) = time(iterations, || { + let mut fresh = vec![0u8; bytes]; + order.convert(&i420, &mut fresh, stride).expect("convert"); + std::hint::black_box(&fresh); + }); + let (image_mean, image_median) = time(iterations, || { + let mut fresh = vec![0u8; bytes]; + order.convert(&i420, &mut fresh, stride).expect("convert"); + std::hint::black_box(render_image(w, h, fresh)); + }); + println!( + "{}", + serde_json::json!({ + "size": format!("{w}x{h}"), + "order": format!("{order:?}"), + "threads": 1, + "reused_ms": {"mean": r3(reuse_mean), "median": r3(reuse_median)}, + "new_buffer_ms": {"mean": r3(new_mean), "median": r3(new_median)}, + "new_buffer_render_image_ms": {"mean": r3(image_mean), "median": r3(image_median)}, + "iterations": iterations, + }) + ); + } + } +} + +fn r3(v: f64) -> f64 { + (v * 1000.0).round() / 1000.0 +} diff --git a/spikes/gpui/video/src/frames.rs b/spikes/gpui/video/src/frames.rs new file mode 100644 index 0000000..6ddf0b8 --- /dev/null +++ b/spikes/gpui/video/src/frames.rs @@ -0,0 +1,160 @@ +//! `voelin-ui`'s `video.rs` delivery (`deliver`, `FrameSlot`, `Handoff`, +//! `Buffers`, video.rs:360-480) ported to GPUI: decoded frames become +//! `Arc` (BGRA) instead of Slint pixel buffers. +//! +//! What carries over unchanged: the decoder hands over its newest frame only +//! and never waits for the conversion; a converter thread converts only what +//! the window can show; the window takes the newest picture from a +//! [`Latest`] and is woken only when the slot was empty. +//! +//! What does not: buffer reuse. A `RenderImage` owns its pixels +//! (`SmallVec<[image::Frame; 1]>`, private, no accessor), so the buffer of +//! a picture the window let go of cannot be recovered and every frame is a +//! new allocation. [`Buffers`] keeps the shape (and the size check) without +//! the reuse; the allocator may still hand the same memory back. + +use std::sync::atomic::{AtomicU64, Ordering}; +use std::sync::{Arc, Condvar, Mutex, PoisonError}; + +use gpui_kit::RenderImage; +use spike_common::bgra::render_image; +use spike_common::meter::Counter; +use voelin_core::media::Latest; +use voelin_media::VideoFrame; + +use crate::convert::Order; + +/// What the converter counts. +#[derive(Clone, Default)] +pub struct Counts { + /// Frames the decoder (or the raw source) handed over. + pub arrived: Counter, + /// Frames converted into pictures. + pub converted: Counter, + /// Microseconds spent converting (with the allocation), summed. + pub convert_us: Counter, +} + +/// A callback for the decoder that converts its newest frame on a thread of +/// its own into `pictures`; `wake` runs (on that thread) when a picture is +/// ready and none was waiting. +pub fn deliver( + pictures: Arc>>, + order: Order, + counts: Counts, + wake: impl Fn() + Send + Sync + 'static, +) -> impl FnMut(Arc) + Send + 'static { + let slot = Arc::new(FrameSlot::default()); + let wake = Arc::new(wake); + let thread = { + let (slot, pictures, wake, counts) = + (slot.clone(), pictures.clone(), wake.clone(), counts.clone()); + std::thread::Builder::new().name("voelin-picture".into()).spawn(move || { + let mut buffers = Buffers::new(order, counts); + while let Some(frame) = slot.wait() { + buffers.show(&frame, &pictures, &*wake); + } + }) + }; + let mut inline = match thread { + Ok(_) => None, + Err(e) => { + log::warn!("no picture thread, converting on the decoder's: {e}"); + Some(Buffers::new(order, counts.clone())) + } + }; + let handoff = Handoff(slot); + move |frame: Arc| { + counts.arrived.incr(); + match &mut inline { + Some(buffers) => buffers.show(&frame, &pictures, &*wake), + None => handoff.0.put(frame), + } + } +} + +/// The newest decoded frame, waiting for the converter thread. +#[derive(Default)] +struct FrameSlot { + /// The frame, and whether the decoder is gone. + state: Mutex<(Option>, bool)>, + ready: Condvar, +} + +impl FrameSlot { + /// Replace the waiting frame (an older one is never converted). + fn put(&self, frame: Arc) { + self.state.lock().unwrap_or_else(PoisonError::into_inner).0 = Some(frame); + self.ready.notify_one(); + } + + fn close(&self) { + self.state.lock().unwrap_or_else(PoisonError::into_inner).1 = true; + self.ready.notify_one(); + } + + /// The next frame; `None` once the decoder is gone. + fn wait(&self) -> Option> { + let mut state = self.state.lock().unwrap_or_else(PoisonError::into_inner); + loop { + if state.1 { + return None; + } + if let Some(frame) = state.0.take() { + return Some(frame); + } + state = self.ready.wait(state).unwrap_or_else(PoisonError::into_inner); + } + } +} + +/// The decoder's side of a [`FrameSlot`]: dropped with the decoder's +/// callback, it ends the converter thread. +struct Handoff(Arc); + +impl Drop for Handoff { + fn drop(&mut self) { + self.0.close(); + } +} + +/// Converts frames into new pictures (see the module docs on reuse). +struct Buffers { + order: Order, + counts: Counts, + /// Size of the last picture. + size: (u32, u32), +} + +/// Pictures converted so far (for the log line of the first one). +static CONVERTED: AtomicU64 = AtomicU64::new(0); + +impl Buffers { + fn new(order: Order, counts: Counts) -> Self { + Self { order, counts, size: (0, 0) } + } + + fn show(&mut self, frame: &VideoFrame, pictures: &Latest>, wake: &dyn Fn()) { + let (width, height) = (frame.width, frame.height); + if self.size != (width, height) { + log::info!("pictures of {width}x{height}"); + self.size = (width, height); + } + let started = std::time::Instant::now(); + let stride = width as usize * 4; + let mut bgra = vec![0u8; stride * height as usize]; + if let Err(e) = self.order.convert(frame, &mut bgra, stride) { + log::warn!("cannot show a picture: {e}"); + return; + } + let picture = render_image(width, height, bgra); + self.counts.convert_us.add(started.elapsed().as_micros() as u64); + self.counts.converted.incr(); + if CONVERTED.fetch_add(1, Ordering::Relaxed) == 0 { + log::info!("first picture converted ({:?})", self.order); + } + if pictures.put(picture) { + wake(); + } + } +} diff --git a/spikes/gpui/video/src/main.rs b/spikes/gpui/video/src/main.rs new file mode 100644 index 0000000..1b654b2 --- /dev/null +++ b/spikes/gpui/video/src/main.rs @@ -0,0 +1,352 @@ +//! Spike 1, the video path (plan section 6 step 1): the synthetic test +//! pattern through the real encoder and decoder (`LocalPreview`, as +//! `voelin-ui`'s `Video::demo` runs it) or straight from memory (`raw`), +//! converted to BGRA on a thread of its own (`frames`, the port of +//! `video.rs`' delivery) and shown with `img()` in a GPUI window, measured +//! once a second (`spike_common::meter`). `static` is the control: one +//! picture, uploaded once, the window repainted every frame. +//! +//! ```text +//! spike-video [--mode pipeline|raw|static] [--size 2560x1440] [--fps 60] +//! [--bitrate KBPS (0: automatic)] [--convert bgra|rgba] +//! [--no-drop] [--window WxH] [--seconds 60] [--warmup 10] +//! [--out FILE.jsonl] +//! spike-video --bench [--iterations 200] +//! ``` +//! +//! `--no-drop` leaves every picture in GPUI's sprite atlas (the negative +//! control for `cx.drop_image`). See the README for the measurements. + +mod convert; +mod frames; + +use std::path::PathBuf; +use std::sync::atomic::AtomicU64; +use std::sync::{Arc, Mutex, PoisonError}; +use std::time::{Duration, Instant}; + +use futures::StreamExt as _; +use gpui_kit::{ + App, AppContext as _, Bounds, Context, ImageSource, IntoElement, ObjectFit, ParentElement, + Render, RenderImage, SharedString, Styled, StyledImage, TitlebarOptions, Window, WindowBounds, + WindowOptions, div, img, px, rgb, size, +}; +use serde_json::json; +use spike_common::meter::{Counter, Meter}; +use voelin_core::media::voelin_media::capture::SourceId; +use voelin_core::media::voelin_media::capture::synthetic::{Pattern, SyntheticScreen}; +use voelin_core::media::voelin_media::{Codecs, VideoFrame, convert as media_convert}; +use voelin_core::media::{Latest, LocalPreview, StreamerConfig}; + +use crate::convert::Order; + +/// Where frames come from. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +enum Mode { + /// `LocalPreview`: capture, VP8 encoder, decoder (what the Slint demo + /// shows). + Pipeline, + /// Decoded-looking I420 frames from memory, paced at `fps`: only the + /// conversion and GPUI, so a frame rate below the source's is theirs. + Raw, + /// One picture, converted and uploaded once, the window repainted every + /// frame (`request_animation_frame`): what GPUI and the renderer manage + /// with no new picture to upload, the most a texture kept across frames + /// could give. + Static, +} + +struct Config { + mode: Mode, + size: (u32, u32), + fps: u32, + bitrate_kbps: u32, + order: Order, + drop_images: bool, + window: (u32, u32), + seconds: u64, + warmup: u64, + out: Option, +} + +impl Config { + fn from_args() -> anyhow::Result { + use spike_common::{arg, flag, parse_size}; + let size = parse_size(&arg("size").unwrap_or_else(|| "2560x1440".into())) + .ok_or_else(|| anyhow::anyhow!("--size WIDTHxHEIGHT"))?; + let window = match arg("window") { + Some(w) => parse_size(&w).ok_or_else(|| anyhow::anyhow!("--window WIDTHxHEIGHT"))?, + None => size, + }; + Ok(Self { + mode: match arg("mode").as_deref() { + None | Some("pipeline") => Mode::Pipeline, + Some("raw") => Mode::Raw, + Some("static") => Mode::Static, + Some(other) => anyhow::bail!("--mode pipeline|raw|static, not {other}"), + }, + size, + fps: arg("fps").map_or(Ok(60), |v| v.parse())?, + bitrate_kbps: arg("bitrate").map_or(Ok(0), |v| v.parse())?, + order: match arg("convert").as_deref() { + None | Some("bgra") => Order::Bgra, + Some("rgba") => Order::Rgba, + Some(other) => anyhow::bail!("--convert bgra|rgba, not {other}"), + }, + drop_images: !flag("no-drop"), + window, + seconds: arg("seconds").map_or(Ok(60), |v| v.parse())?, + warmup: arg("warmup").map_or(Ok(10), |v| v.parse())?, + out: arg("out").map(PathBuf::from), + }) + } + + fn json(&self) -> serde_json::Value { + json!({ + "spike": "video", + "mode": format!("{:?}", self.mode), + "size": format!("{}x{}", self.size.0, self.size.1), + "fps": self.fps, + "bitrate_kbps": self.bitrate_kbps, + "convert": format!("{:?}", self.order), + "drop_image": self.drop_images, + "window": format!("{}x{}", self.window.0, self.window.1), + "display": std::env::var("DISPLAY").ok(), + "vk_driver_files": std::env::var("VK_DRIVER_FILES").ok(), + }) + } +} + +/// The window: the newest picture, and a line about the run. +struct Viewer { + pictures: Arc>>, + current: Option>, + drop_images: bool, + /// Repaint every frame (`Mode::Static`). + repaint: bool, + shown: Counter, + renders: Counter, + label: SharedString, +} + +impl Render for Viewer { + fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement { + self.renders.incr(); + if self.repaint { + window.request_animation_frame(); + } + if let Some(next) = self.pictures.take() { + if let Some(previous) = self.current.replace(next) + && self.drop_images + { + // Out of every window's sprite atlas; without this the atlas + // keeps every picture ever shown. + cx.drop_image(previous, Some(window)); + } + self.shown.incr(); + } + let picture = match &self.current { + Some(picture) => img(ImageSource::Render(picture.clone())) + .size_full() + .object_fit(ObjectFit::Contain) + .into_any_element(), + None => div().child("Waiting for the first picture…").into_any_element(), + }; + div() + .size_full() + .bg(rgb(0x000000)) + .text_color(rgb(0xffffff)) + .child(picture) + .child(div().absolute().top_2().left_2().child(self.label.clone())) + } +} + +/// The view, woken by the converter through a channel: GPUI's `AsyncApp` +/// is not `Send`, so other threads reach the UI thread this way. +fn open_viewer( + cx: &mut App, + config: &Config, + pictures: Arc>>, + counters: (Counter, Counter), + wakes: futures::channel::mpsc::UnboundedReceiver<()>, +) { + let (w, h) = config.window; + let label: SharedString = format!( + "{:?} {}x{} at {} fps, {:?}{}", + config.mode, + config.size.0, + config.size.1, + config.fps, + config.order, + if config.drop_images { "" } else { ", no drop_image" } + ) + .into(); + let drop_images = config.drop_images; + let repaint = config.mode == Mode::Static; + let options = WindowOptions { + window_bounds: Some(WindowBounds::Windowed(Bounds::centered( + None, + size(px(w as f32), px(h as f32)), + cx, + ))), + titlebar: Some(TitlebarOptions { title: Some("spike-video".into()), ..Default::default() }), + // A video plays at its rate whether the window has focus or not. + inactive_frame_interval: None, + ..Default::default() + }; + cx.open_window(options, move |_, cx| { + cx.new(move |cx| { + let mut wakes = wakes; + cx.spawn(async move |this, cx| { + while wakes.next().await.is_some() { + if this.update(cx, |_, cx| cx.notify()).is_err() { + break; + } + } + }) + .detach(); + Viewer { + pictures, + current: None, + drop_images, + repaint, + shown: counters.0, + renders: counters.1, + label, + } + }) + }) + .expect("a window"); +} + +/// The raw source: `fps` frames a second from a ring of pictures converted +/// to I420 once, handed to `on_frame` on a thread of its own. +fn start_raw(config: &Config, mut on_frame: impl FnMut(Arc) + Send + 'static) { + let (w, h, fps) = (config.size.0, config.size.1, config.fps.max(1)); + std::thread::Builder::new() + .name("spike-raw-source".into()) + .spawn(move || { + let screen = SyntheticScreen::with_pattern(w, h, Pattern::Simple); + let ring: Vec> = (0..30u64) + .map(|n| { + let picture = screen.frame(n, fps); + Arc::new(media_convert::to_i420(&picture).expect("I420").into_owned()) + }) + .collect(); + let start = Instant::now(); + for n in 0..=u64::MAX { + let due = start + Duration::from_secs(n) / fps; + if let Some(wait) = due.checked_duration_since(Instant::now()) { + std::thread::sleep(wait); + } + on_frame(ring[(n % ring.len() as u64) as usize].clone()); + } + }) + .expect("a source thread"); +} + +fn main() -> anyhow::Result<()> { + spike_common::init_logging(); + if spike_common::flag("bench") { + convert::bench(spike_common::arg("iterations").map_or(Ok(200), |v| v.parse())?); + return Ok(()); + } + let config = Config::from_args()?; + let runtime = tokio::runtime::Builder::new_multi_thread().enable_all().build()?; + let pictures: Arc>> = Arc::new(Latest::new()); + let counts = frames::Counts::default(); + let (shown, renders) = (Counter::default(), Counter::default()); + let (captured, encoded, decoded, skipped) = + (Counter::default(), Counter::default(), Counter::default(), Counter::default()); + let (wake_tx, wakes) = futures::channel::mpsc::unbounded::<()>(); + let on_frame = frames::deliver(pictures.clone(), config.order, counts.clone(), move || { + let _ = wake_tx.unbounded_send(()); + }); + let preview: Arc>> = Arc::default(); + match config.mode { + Mode::Raw => start_raw(&config, on_frame), + Mode::Static => { + // Converted here, before the window opens: its first frame takes it. + let (w, h) = config.size; + let picture = SyntheticScreen::with_pattern(w, h, Pattern::Simple).frame(1, config.fps); + let i420 = media_convert::to_i420(&picture)?.into_owned(); + pictures.put(spike_common::bgra::picture(&i420).map_err(anyhow::Error::msg)?); + drop(on_frame); + } + Mode::Pipeline => { + let streamer = StreamerConfig { + source: SourceId::Synthetic, + synthetic_size: config.size, + fps: config.fps, + bitrate_kbps: config.bitrate_kbps, + ..StreamerConfig::default() + }; + let codecs = Arc::new(Codecs::new()); + let slot = preview.clone(); + runtime.spawn(async move { + match LocalPreview::start(codecs, streamer, on_frame).await { + Ok(p) => *slot.lock().unwrap_or_else(PoisonError::into_inner) = Some(p), + Err(e) => { + log::error!("the preview failed: {e}"); + std::process::exit(3); + } + } + }); + // The encoder's and decoder's own counts, for the meter. + let (slot, captured, encoded, decoded, skipped) = ( + preview.clone(), + captured.clone(), + encoded.clone(), + decoded.clone(), + skipped.clone(), + ); + std::thread::Builder::new().name("spike-stats".into()).spawn(move || { + let mut logged = false; + loop { + std::thread::sleep(Duration::from_millis(250)); + let guard = slot.lock().unwrap_or_else(PoisonError::into_inner); + let Some(p) = guard.as_ref() else { continue }; + let s = p.streamer().stats(); + let d = p.stats(); + captured.set(s.captured_frames); + encoded.set(s.video_frames); + decoded.set(d.decoded); + skipped.set(d.skipped); + if !logged && d.decoded > 0 { + log::info!( + "encoder {:?} {:?}, decoder {:?}", + s.codec, + s.layers.first().map(|l| (l.width, l.height)), + d.decoder + ); + logged = true; + } + } + })?; + } + } + let meter = Meter { + config: config.json(), + counters: vec![ + ("captured", captured), + ("encoded", encoded), + ("decoded", decoded), + ("decode_skipped", skipped), + ("arrived", counts.arrived.clone()), + ("converted", counts.converted.clone()), + ("convert_us", counts.convert_us.clone()), + ("shown", shown.clone()), + ("renders", renders.clone()), + ], + gauges: vec![], + warmup: Duration::from_secs(config.warmup), + duration: Duration::from_secs(config.seconds), + out: config.out.clone(), + }; + meter.start(Arc::new(AtomicU64::new(0))); + gpui_kit::application().run(move |cx| { + open_viewer(cx, &config, pictures, (shown, renders), wakes); + }); + drop(runtime); + Ok(()) +} diff --git a/spikes/gpui/windows/Cargo.toml b/spikes/gpui/windows/Cargo.toml new file mode 100644 index 0000000..db814ef --- /dev/null +++ b/spikes/gpui/windows/Cargo.toml @@ -0,0 +1,22 @@ +[package] +name = "spike-windows" +description = "Spike 3: a second window sharing the root entity, focus, fullscreen, close, a global push-to-talk hotkey and a shared preview." +version.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +publish.workspace = true + +[dependencies] +anyhow = "1" +gpui-kit = { workspace = true } +log = { workspace = true } +spike-common = { workspace = true } +futures = "0.3" +serde_json = "1" +tokio = { version = "1", features = ["rt-multi-thread", "time"] } +voelin-media = { workspace = true } +voelin-platform = { workspace = true } + +[lints] +workspace = true diff --git a/spikes/gpui/windows/README.md b/spikes/gpui/windows/README.md new file mode 100644 index 0000000..d4667f9 --- /dev/null +++ b/spikes/gpui/windows/README.md @@ -0,0 +1,47 @@ +# Spike 3: the second window + +`spike-windows` opens a main window and, on Ctrl+O (or the Open Studio +button), a Studio-like window with `cx.open_window` (`gpui_kit::open_window`, +which wraps the view in gpui-component's `Root`). Both windows render one +root entity, `Shared`: a counter both change (Ctrl+K or +1 in either), the +push-to-talk state, which window is active, and the studio's preview. + +- **Preview.** GPUI cannot read a window's pixels (no `take_snapshot`), so + the studio's preview comes from where the client gets it today: the + engine's compositor (`voelin_media::studio::Studio` with one scene of the + test pattern, 1920x1080 at 30 fps) and its preview tap at the studio's + default 960x540, 15 fps (RGBA). A thread converts each preview frame to + one BGRA `RenderImage`; the shared entity holds it and both windows show + the same `Arc` (`img()`), the replaced one leaves every window's atlas + (`cx.drop_image(old, None)`). +- **Global push-to-talk.** `voelin_platform::hotkey::HotkeyManager::x11` + on the display (XInput2 raw events on the root window: whichever window + has focus, nothing grabbed), F8 by default (`--hotkey`). Its events (a + tokio `UnboundedReceiver`) are read by a GPUI foreground task, which needs + no tokio reactor, and set the shared model. +- **Close and fullscreen.** Closing the studio window (`on_window_should_close`) + docks the studio back into the main window and the app goes on; closing + the main window quits. F11 toggles fullscreen in either window; Ctrl+Tab + activates the other window (`Window::activate_window`). + +Every change is a JSON line on stdout (`{"event": …}`); with `--seconds` the +meter adds its once-a-second CPU and memory lines. + +## Reproducing + +```sh +spikes/gpui/shell.sh sh -c 'cd spikes/gpui && cargo build --locked --release' +# the scenario and its eleven checks (PASS/FAIL), screenshots in $OUT: +spikes/gpui/shell.sh spikes/gpui/headless.sh -- spikes/gpui/windows/drive.sh +# the cost of the shared preview: CPU and memory with the main window +# alone, with both windows showing it, and without the compositor (45 s +# each, 10 s of warm-up; .jsonl and .load in $OUT): +spikes/gpui/shell.sh spikes/gpui/headless.sh -- spikes/gpui/windows/measure.sh +``` + +`drive.sh` (xdotool on the headless display, keys through XTEST so the +hotkey's raw events see them): Ctrl+O in the main window; Ctrl+K twice in +the studio window; F8 held while the studio window has focus; F11 twice; +Ctrl+Tab; Ctrl+K in the main window; Alt+F4 on the studio window (openbox +asks it to close); F8 with the main window active; Alt+F4 on the main +window. Results: [docs/design/gpui-spikes.md](../../../docs/design/gpui-spikes.md#spike-3-the-second-window). diff --git a/spikes/gpui/windows/drive.sh b/spikes/gpui/windows/drive.sh new file mode 100755 index 0000000..9ef8c66 --- /dev/null +++ b/spikes/gpui/windows/drive.sh @@ -0,0 +1,118 @@ +#!/bin/sh +# Spike 3's scenario on the headless display: opens the studio window from +# the main one, changes the shared counter from both, holds the global +# push-to-talk key while the studio window has focus, toggles fullscreen, +# moves focus with GPUI and with the window manager, closes the studio +# window (it docks) and then the main one (the app ends); then checks the +# events the spike printed. Screenshots and the event log go to $OUT. +# +# spikes/gpui/shell.sh spikes/gpui/headless.sh -- spikes/gpui/windows/drive.sh +set -eu +root=$(cd "$(dirname "$0")/../../.." && pwd) +out=${OUT:-$root/.scratch/gpui-spikes-results} +mkdir -p "$out" +out=$(cd "$out" && pwd) +events=$out/windows-events.jsonl +"$root/target/release/spike-windows" --seconds 120 --warmup 3 >"$events" 2>"$out/windows.log" & +pid=$! +shot() { xwd -root -silent | magick xwd:- -resize 50% "png:$out/$1"; } +find_window() { + i=0 + until w=$(xdotool search --name "$1" 2>/dev/null | head -1) && [ -n "$w" ]; do + i=$((i + 1)) + [ $i -lt 150 ] || { echo "no window $1" >&2; return 1; } + sleep 0.1 + done + echo "$w" +} +step() { echo "== $*" >&2; } + +main=$(find_window 'Voelin \(spike\)') +sleep 2 +step "Ctrl+O in the main window opens the studio window" +xdotool windowactivate --sync "$main" +sleep 0.3 +xdotool key ctrl+o +studio=$(find_window 'Stream Studio \(spike\)') +sleep 2 +step "Ctrl+K twice in the studio window: the shared counter" +xdotool windowactivate --sync "$studio" +sleep 0.3 +xdotool key ctrl+k +sleep 0.2 +xdotool key ctrl+k +sleep 0.5 +step "the global push-to-talk key held while the studio window has focus" +xdotool keydown F8 +sleep 0.6 +shot windows-talking.png +xdotool keyup F8 +sleep 0.5 +step "F11: the studio window fullscreen, then windowed" +xdotool key F11 +sleep 1.5 +shot windows-studio-fullscreen.png +xdotool key F11 +sleep 1.5 +step "Ctrl+Tab in the studio: GPUI activates the main window" +xdotool key ctrl+Tab +sleep 1 +step "Ctrl+K in the main window" +xdotool key ctrl+k +sleep 0.5 +shot windows-both.png +step "the window manager activates the studio window, Alt+F4 closes it" +xdotool windowactivate --sync "$studio" +sleep 0.5 +xdotool key alt+F4 +sleep 1 +step "push-to-talk with the main window and no studio window" +xdotool windowactivate --sync "$main" +sleep 0.3 +xdotool keydown F8 +sleep 0.3 +xdotool keyup F8 +sleep 0.5 +shot windows-docked.png +step "Alt+F4 on the main window ends the app" +xdotool key alt+F4 +ended=true +i=0 +while kill -0 "$pid" 2>/dev/null; do + i=$((i + 1)) + if [ $i -ge 100 ]; then + ended=false + kill "$pid" + break + fi + sleep 0.1 +done +wait "$pid" || true + +fail=0 +check() { + if jq -e -s "$2" "$events" >/dev/null; then + echo "PASS $1" + else + echo "FAIL $1" + fail=1 + fi +} +ev='[.[] | select(.event)]' +check "the studio window opens from the main one" "$ev | any(.event == \"studio window opened\")" +check "a key in the studio window reaches the shared model" "$ev | map(select(.event == \"studio: increment\")) | length == 2 and (last.counter == 2)" +check "the global hotkey reaches the shared model with the studio window active" "$ev | any(.event == \"hotkey Pressed with the studio window active\" and .talking)" +check "the hotkey's release too" "$ev | any(.event | startswith(\"hotkey Released\"))" +check "fullscreen and back" "$ev | (any(.event | startswith(\"studio window fullscreen\")) and any(.event | startswith(\"studio window windowed\")))" +check "the studio window gets its own size back (1000x900)" "$ev | any(.event == \"studio window now 1000x900\")" +check "GPUI moves focus to the other window (Ctrl+Tab)" "$ev | (map(select(.event | startswith(\"studio window windowed\"))) | last.t) as \$a | (map(select(.event == \"main: increment\")) | first.t) as \$b | any(.event == \"main window active\" and .t >= \$a and .t <= \$b)" +check "the main window changes the same counter" "$ev | any(.event == \"main: increment\" and .counter == 3)" +check "closing the studio window docks it, the app goes on" "$ev | any(.event == \"studio window closed, docked in the main window\")" +check "the hotkey with the main window active" "$ev | any(.event == \"hotkey Pressed with the main window active\")" +if $ended; then + echo "PASS closing the main window ends the app (after $((i / 10)).$((i % 10)) s)" +else + echo "FAIL closing the main window ends the app (killed after 10 s)" + fail=1 +fi +exit $fail diff --git a/spikes/gpui/windows/measure.sh b/spikes/gpui/windows/measure.sh new file mode 100755 index 0000000..70f61ec --- /dev/null +++ b/spikes/gpui/windows/measure.sh @@ -0,0 +1,33 @@ +#!/bin/sh +# The cost of spike 3's shared preview on the headless display: CPU and +# memory with the main window alone (the preview in it), with the studio's +# window open too (one picture in both), and with both windows but no +# compositor. Every case writes .jsonl (one line a second, then the +# summary) and .load (load average before and after) to $OUT. +# +# spikes/gpui/shell.sh spikes/gpui/headless.sh -- spikes/gpui/windows/measure.sh [CASE...] +# +# Cases (default: all): windows-main windows-both windows-none. +# SECONDS_RUN (default 45) and WARMUP (default 10) set their length. +set -eu +root=$(cd "$(dirname "$0")/../../.." && pwd) +out=${OUT:-$root/.scratch/gpui-spikes-results} +mkdir -p "$out" +out=$(cd "$out" && pwd) +seconds=${SECONDS_RUN:-45} +warmup=${WARMUP:-10} +for c in ${*:-windows-main windows-both windows-none}; do + case $c in + windows-main) args= ;; + windows-both) args=--open-studio ;; + windows-none) args="--open-studio --no-preview" ;; + *) echo "unknown case $c" >&2; exit 2 ;; + esac + echo "== $c: spike-windows $args" >&2 + echo "load before: $(cat /proc/loadavg)" >"$out/$c.load" + # shellcheck disable=SC2086 + "$root/target/release/spike-windows" $args --seconds "$seconds" --warmup "$warmup" \ + --out "$out/$c.jsonl" >/dev/null 2>"$out/$c.log" + echo "load after: $(cat /proc/loadavg)" >>"$out/$c.load" + tail -1 "$out/$c.jsonl" +done diff --git a/spikes/gpui/windows/src/main.rs b/spikes/gpui/windows/src/main.rs new file mode 100644 index 0000000..d3e4265 --- /dev/null +++ b/spikes/gpui/windows/src/main.rs @@ -0,0 +1,528 @@ +//! Spike 3, the second window (plan section 6 step 1): a main window and a +//! Studio-like window opened with `cx.open_window`, both rendering one +//! shared model entity (a counter both change, the push-to-talk state, the +//! studio's preview); close, fullscreen and focus handling; a global +//! push-to-talk hotkey (`voelin-platform`'s X11 backend) that reaches the +//! shared model while the second window has focus; and the studio +//! compositor's preview shown in both windows as one shared `RenderImage`. +//! +//! ```text +//! spike-windows [--open-studio] [--no-preview] [--hotkey F8] +//! [--seconds 600] [--warmup 5] [--out FILE.jsonl] +//! ``` +//! +//! Keys: Ctrl+K adds one (in either window), Ctrl+O opens the studio +//! window, Ctrl+Tab activates the other window, F11 toggles fullscreen, +//! closing the studio window docks it back. Every event is a JSON line on +//! stdout (`{"event": ...}`), which `drive.sh` checks. + +use std::sync::atomic::AtomicU64; +use std::sync::{Arc, Mutex, PoisonError}; +use std::time::{Duration, Instant}; + +use futures::StreamExt as _; +use gpui_kit::component::button::{Button, ButtonVariants as _}; +use gpui_kit::{ + AnyWindowHandle, App, AppContext as _, AsyncApp, Bounds, Context, Entity, FocusHandle, + ImageSource, InteractiveElement as _, IntoElement, KeyBinding, ObjectFit, ParentElement as _, + Render, RenderImage, SharedString, Styled as _, StyledImage as _, TitlebarOptions, Window, + WindowBounds, WindowOptions, actions, div, img, point, px, rgb, size, +}; +use serde_json::json; +use spike_common::meter::{Counter, Meter}; +use voelin_media::studio::scene::{Scene, Scenes, Source, SourceKind}; +use voelin_media::studio::{Command, Studio}; +use voelin_platform::hotkey::{HotkeyEvent, HotkeyManager}; + +actions!( + spike_windows, + [ + /// Add one to the shared counter. + Increment, + /// Open (or activate) the studio's own window. + OpenStudio, + /// Toggle this window's fullscreen. + ToggleFullscreen, + /// Activate the other window. + ActivateOther, + /// End the app. + Quit, + ] +); + +/// The root model both windows render. +struct Shared { + start: Instant, + counter: i64, + talking: bool, + hotkey_presses: u64, + /// The studio compositor's newest preview, shown by both windows. + preview: Option>, + preview_frames: u64, + main: Option, + studio: Option, + /// Which window has focus ("main", "studio", "none"). + active: &'static str, + events: Vec, +} + +impl Shared { + /// Note `what` (a JSON line on stdout and the windows' event list). + fn event(&mut self, what: impl Into) { + let what = what.into(); + println!( + "{}", + json!({"t": (self.start.elapsed().as_secs_f64() * 10.0).round() / 10.0, "event": what, "counter": self.counter, "talking": self.talking, "active": self.active}) + ); + self.events.push(what.into()); + if self.events.len() > 8 { + self.events.remove(0); + } + } +} + +/// Which window a view is. +#[derive(Clone, Copy, PartialEq, Eq)] +enum Role { + Main, + Studio, +} + +impl Role { + fn name(self) -> &'static str { + match self { + Self::Main => "main", + Self::Studio => "studio", + } + } +} + +/// One window's view of the shared model. +struct Pane { + role: Role, + shared: Entity, + focus: FocusHandle, + fullscreen: bool, + /// The size when fullscreen last changed: the bounds the window manager + /// sets afterwards are logged once they differ (they may come later). + resize_after_toggle: Option<(f32, f32)>, +} + +impl Pane { + fn new( + role: Role, + shared: Entity, + window: &mut Window, + cx: &mut Context, + ) -> Self { + cx.observe(&shared, |_, _, cx| cx.notify()).detach(); + cx.observe_window_activation(window, move |this: &mut Self, window, cx| { + let active = window.is_window_active(); + this.shared.update(cx, |s, cx| { + if active { + s.active = role.name(); + } else if s.active == role.name() { + s.active = "none"; + } + s.event(format!( + "{} window {}", + role.name(), + if active { "active" } else { "inactive" } + )); + cx.notify(); + }); + }) + .detach(); + cx.observe_window_bounds(window, move |this: &mut Self, window, cx| { + let fullscreen = window.is_fullscreen(); + let bounds = window.bounds(); + let size = (bounds.size.width.as_f32(), bounds.size.height.as_f32()); + if fullscreen != this.fullscreen { + this.fullscreen = fullscreen; + this.resize_after_toggle = Some(size); + this.shared.update(cx, |s, _| { + s.event(format!( + "{} window {} ({}x{})", + role.name(), + if fullscreen { "fullscreen" } else { "windowed" }, + size.0, + size.1 + )) + }); + } else if this.resize_after_toggle.is_some_and(|before| before != size) { + this.resize_after_toggle = None; + this.shared.update(cx, |s, _| { + s.event(format!("{} window now {}x{}", role.name(), size.0, size.1)) + }); + } + }) + .detach(); + let focus = cx.focus_handle(); + window.focus(&focus, cx); + Self { role, shared, focus, fullscreen: false, resize_after_toggle: None } + } +} + +impl Render for Pane { + fn render(&mut self, _window: &mut Window, cx: &mut Context) -> impl IntoElement { + let role = self.role; + let s = self.shared.read(cx); + let (preview_w, preview_h) = match role { + Role::Main => (480.0, 270.0), + Role::Studio => (960.0, 540.0), + }; + let preview = match &s.preview { + Some(picture) => img(ImageSource::Render(picture.clone())) + .w(px(preview_w)) + .h(px(preview_h)) + .object_fit(ObjectFit::Contain) + .into_any_element(), + None => div().w(px(preview_w)).h(px(preview_h)).bg(rgb(0x101828)).into_any_element(), + }; + let title = match role { + Role::Main => "Main window", + Role::Studio => "Stream Studio (its own window)", + }; + let studio_line = match (role, s.studio.is_some()) { + (Role::Main, true) => "The studio is in its own window", + (Role::Main, false) => "The studio is docked (Ctrl+O opens its window)", + (Role::Studio, _) => "Closing this window docks the studio", + }; + div() + .id(role.name()) + .key_context(match role { + Role::Main => "Main", + Role::Studio => "Studio", + }) + .track_focus(&self.focus) + .on_action(cx.listener(move |this, _: &Increment, _, cx| { + this.shared.update(cx, |s, cx| { + s.counter += 1; + s.event(format!("{}: increment", role.name())); + cx.notify(); + }); + })) + .on_action( + cx.listener(|this, _: &OpenStudio, _, cx| open_studio(this.shared.clone(), cx)), + ) + .on_action(cx.listener(|_, _: &ToggleFullscreen, window, _| window.toggle_fullscreen())) + .on_action(cx.listener(move |this, _: &ActivateOther, _, cx| { + let other = { + let s = this.shared.read(cx); + match role { + Role::Main => s.studio, + Role::Studio => s.main, + } + }; + if let Some(other) = other { + let _ = other.update(cx, |_, window, _| window.activate_window()); + } + })) + .size_full() + .flex() + .flex_col() + .gap_3() + .p_4() + .bg(rgb(0x0b1220)) + .text_color(rgb(0xe6edf7)) + .font(spike_common::fonts::ui_font()) + .child(div().text_xl().child(title)) + .child(format!("Counter (shared): {}", s.counter)) + .child(format!( + "Push-to-talk (global hotkey): {}, {} presses", + if s.talking { "TALKING" } else { "silent" }, + s.hotkey_presses + )) + .child(format!("Active window: {}; preview frames: {}", s.active, s.preview_frames)) + .child(studio_line) + .child(preview) + .child( + div() + .flex() + .gap_2() + .child( + Button::new(SharedString::from(format!("{}-plus", role.name()))) + .primary() + .label("+1") + .on_click(cx.listener(move |this, _, _, cx| { + this.shared.update(cx, |s, cx| { + s.counter += 1; + s.event(format!("{}: +1 clicked", role.name())); + cx.notify(); + }) + })), + ) + .when_main(role, |d| { + d.child(Button::new("open-studio").label("Open Studio").on_click( + cx.listener(|this, _, _, cx| open_studio(this.shared.clone(), cx)), + )) + }), + ) + .children( + s.events + .iter() + .rev() + .map(|e| div().text_sm().text_color(rgb(0x8b9bb4)).child(e.clone())), + ) + } +} + +/// `when` for the main window only. +trait WhenMain: Sized { + fn when_main(self, role: Role, f: impl FnOnce(Self) -> Self) -> Self { + if role == Role::Main { f(self) } else { self } + } +} + +impl WhenMain for gpui_kit::Div {} + +fn window_options(title: &str, size_px: (f32, f32), origin: (f32, f32)) -> WindowOptions { + WindowOptions { + window_bounds: Some(WindowBounds::Windowed(Bounds { + origin: point(px(origin.0), px(origin.1)), + size: size(px(size_px.0), px(size_px.1)), + })), + titlebar: Some(TitlebarOptions { + title: Some(title.to_owned().into()), + ..Default::default() + }), + // The preview plays on in the window without focus. + inactive_frame_interval: None, + ..Default::default() + } +} + +/// Open the studio's own window (once), sharing the root entity. +fn open_studio(shared: Entity, cx: &mut App) { + if let Some(existing) = shared.read(cx).studio { + let _ = existing.update(cx, |_, window, _| window.activate_window()); + return; + } + let opened = gpui_kit::open_window( + window_options("Stream Studio (spike)", (1000.0, 900.0), (1240.0, 40.0)), + cx, + { + let shared = shared.clone(); + move |window, cx| { + let handle = window.window_handle(); + // Closing the studio's window docks the studio again; the app + // goes on. + window.on_window_should_close(cx, { + let shared = shared.clone(); + move |_, cx| { + shared.update(cx, |s, cx| { + s.studio = None; + if s.active == "studio" { + s.active = "none"; + } + s.event("studio window closed, docked in the main window"); + cx.notify(); + }); + true + } + }); + shared.update(cx, |s, _| s.studio = Some(handle)); + cx.new(|cx| Pane::new(Role::Studio, shared, window, cx)) + } + }, + ); + match opened { + Ok(_) => shared.update(cx, |s, cx| { + s.event("studio window opened"); + cx.notify(); + }), + Err(e) => log::error!("cannot open the studio window: {e:#}"), + } +} + +/// The studio compositor (voelin-media's `Studio`: one scene with the test +/// pattern, 1920x1080 at 30 fps) and its preview tap at 960x540, 15 fps, +/// the studio's default rate: every preview becomes one BGRA picture on a +/// thread of its own; `wake` runs when one is waiting. +fn start_compositor( + runtime: &tokio::runtime::Runtime, + latest: Arc>>>, + converted: Counter, + wake: impl Fn() + Send + 'static, +) { + runtime.spawn(async move { + let mut scene = Scene::new(1, "Scene"); + scene.sources.push(Source::new(1, SourceKind::Pattern { size: (1920, 1080) })); + let scenes = Scenes { scenes: vec![scene], active: 1, width: 1920, height: 1080, fps: 30 }; + let studio = match Studio::start(scenes).await { + Ok(s) => s, + Err(e) => { + log::error!("no studio: {e}"); + return; + } + }; + if let Err(e) = studio.apply(Command::SetPreview { width: 960, height: 540, fps: 15 }).await + { + log::error!("no preview: {e}"); + } + let tap = studio.preview(); + std::thread::Builder::new() + .name("spike-preview".into()) + .spawn(move || { + // The studio lives as long as its preview is read. + let _studio = studio; + loop { + let Some(frame) = tap.wait_timeout(Duration::from_secs(1)) else { continue }; + match spike_common::bgra::picture(&frame) { + Ok(picture) => { + converted.incr(); + let was_empty = latest + .lock() + .unwrap_or_else(PoisonError::into_inner) + .replace(picture) + .is_none(); + if was_empty { + wake(); + } + } + Err(e) => log::warn!("cannot show the preview: {e}"), + } + } + }) + .expect("a preview thread"); + }); +} + +fn main() -> anyhow::Result<()> { + spike_common::init_logging(); + use spike_common::{arg, flag}; + let seconds: u64 = arg("seconds").map_or(Ok(600), |v| v.parse())?; + let warmup: u64 = arg("warmup").map_or(Ok(5), |v| v.parse())?; + let preview_on = !flag("no-preview"); + let open_studio_at_start = flag("open-studio"); + let hotkey_name = arg("hotkey").unwrap_or_else(|| "F8".into()); + let runtime = + tokio::runtime::Builder::new_multi_thread().worker_threads(2).enable_all().build()?; + + // The global hotkey: XInput2 raw events on the root window of this + // display, whichever window has focus (voelin-platform, X11 backend). + let display = std::env::var("DISPLAY").unwrap_or_else(|_| ":0".into()); + let mut hotkeys = HotkeyManager::x11(&display)?; + let hotkey_events = + futures::executor::block_on(hotkeys.register("ptt", "Push to talk", hotkey_name.parse()?))?; + + let latest: Arc>>> = Arc::default(); + let (converted, shown) = (Counter::default(), Counter::default()); + let (wake_tx, mut wakes) = futures::channel::mpsc::unbounded::<()>(); + if preview_on { + start_compositor(&runtime, latest.clone(), converted.clone(), move || { + let _ = wake_tx.unbounded_send(()); + }); + } + Meter { + config: json!({ + "spike": "windows", + "preview": preview_on, + "open_studio": open_studio_at_start, + "hotkey": hotkey_name, + "display": display, + "vk_driver_files": std::env::var("VK_DRIVER_FILES").ok(), + }), + counters: vec![("preview_converted", converted), ("preview_shown", shown.clone())], + gauges: vec![], + warmup: Duration::from_secs(warmup), + duration: Duration::from_secs(seconds), + out: arg("out").map(Into::into), + } + .start(Arc::new(AtomicU64::new(0))); + + gpui_kit::application().with_assets(spike_common::assets::Assets::default()).run(move |cx| { + gpui_kit::init(cx); + spike_common::fonts::load(cx); + gpui_kit::component::Theme::change(gpui_kit::component::ThemeMode::Dark, None, cx); + cx.bind_keys([ + KeyBinding::new("ctrl-k", Increment, None), + KeyBinding::new("ctrl-o", OpenStudio, None), + KeyBinding::new("ctrl-tab", ActivateOther, None), + KeyBinding::new("f11", ToggleFullscreen, None), + KeyBinding::new("ctrl-q", Quit, None), + ]); + cx.on_action(|_: &Quit, cx| cx.quit()); + let shared = cx.new(|_| Shared { + start: Instant::now(), + counter: 0, + talking: false, + hotkey_presses: 0, + preview: None, + preview_frames: 0, + main: None, + studio: None, + active: "none", + events: Vec::new(), + }); + let main = gpui_kit::open_window( + window_options("Voelin (spike)", (1200.0, 900.0), (20.0, 40.0)), + cx, + { + let shared = shared.clone(); + move |window, cx| { + // The main window's close ends the app. + window.on_window_should_close(cx, |_, cx| { + cx.quit(); + true + }); + cx.new(|cx| Pane::new(Role::Main, shared, window, cx)) + } + }, + ) + .expect("the main window"); + shared.update(cx, |s, _| { + s.main = Some(main.0); + s.event("main window opened"); + }); + + // The hotkey's events, on the UI thread: the tokio receiver needs no + // reactor. + let ptt = shared.clone(); + let mut hotkey_events = hotkey_events; + cx.spawn(async move |cx: &mut AsyncApp| { + while let Some(event) = hotkey_events.recv().await { + ptt.update(cx, |s, cx| { + s.talking = event == HotkeyEvent::Pressed; + if s.talking { + s.hotkey_presses += 1; + } + s.event(format!("hotkey {event:?} with the {} window active", s.active)); + cx.notify(); + }); + } + }) + .detach(); + + // The preview: one picture for both windows; the one it replaces + // leaves every window's atlas. + let preview = shared.clone(); + cx.spawn(async move |cx: &mut AsyncApp| { + while wakes.next().await.is_some() { + let Some(picture) = latest.lock().unwrap_or_else(PoisonError::into_inner).take() + else { + continue; + }; + shown.incr(); + cx.update(|cx| { + let old = preview.update(cx, |s, cx| { + s.preview_frames += 1; + cx.notify(); + s.preview.replace(picture) + }); + if let Some(old) = old { + cx.drop_image(old, None); + } + }); + } + }) + .detach(); + + if open_studio_at_start { + open_studio(shared, cx); + } + }); + drop(hotkeys); + drop(runtime); + Ok(()) +}