Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

updates

Jareer9ee48aa5cd6e
diff --git a/desktop/src-tauri/Cargo.lock b/desktop/src-tauri/Cargo.lock
index 98bbf3f2..2a49c633 100644
--- a/desktop/src-tauri/Cargo.lock
+++ b/desktop/src-tauri/Cargo.lock
@@ -923,7 +923,7 @@ version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab8ecd87370524b461f8557c119c405552c396ed91fc0a8eec68679eab26f94a"
dependencies = [
- "libloading 0.7.4",
+ "libloading 0.8.9",
]
[[package]]
@@ -1585,7 +1585,7 @@ dependencies = [
"log",
"presser",
"thiserror 2.0.20",
- "windows 0.54.0",
+ "windows 0.62.2",
]
[[package]]
@@ -3267,6 +3267,7 @@ dependencies = [
"tauri-build",
"tauri-plugin-dialog",
"tauri-plugin-opener",
+ "ureq",
]
[[package]]
@@ -3351,6 +3352,20 @@ dependencies = [
"windows-sys 0.60.2",
]
+[[package]]
+name = "ring"
+version = "0.17.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
+dependencies = [
+ "cc",
+ "cfg-if",
+ "getrandom 0.2.17",
+ "libc",
+ "untrusted",
+ "windows-sys 0.52.0",
+]
+
[[package]]
name = "rsqlite-vfs"
version = "0.1.1"
@@ -3410,6 +3425,41 @@ dependencies = [
"windows-sys 0.61.2",
]
+[[package]]
+name = "rustls"
+version = "0.23.43"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0283386ce02abc0151e1761d08802dfe86c173b0b494af5cbc086574e453da06"
+dependencies = [
+ "log",
+ "once_cell",
+ "ring",
+ "rustls-pki-types",
+ "rustls-webpki",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "rustls-pki-types"
+version = "1.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96"
+dependencies = [
+ "zeroize",
+]
+
+[[package]]
+name = "rustls-webpki"
+version = "0.103.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2"
+dependencies = [
+ "ring",
+ "rustls-pki-types",
+ "untrusted",
+]
+
[[package]]
name = "rustversion"
version = "1.0.23"
@@ -3851,6 +3901,12 @@ version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
+[[package]]
+name = "subtle"
+version = "2.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
+
[[package]]
name = "swift-rs"
version = "1.0.8"
@@ -4737,6 +4793,28 @@ version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
+[[package]]
+name = "untrusted"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
+
+[[package]]
+name = "ureq"
+version = "2.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "02d1a66277ed75f640d608235660df48c8e3c19f3b4edb6a263315626cc3c01d"
+dependencies = [
+ "base64 0.22.1",
+ "flate2",
+ "log",
+ "once_cell",
+ "rustls",
+ "rustls-pki-types",
+ "url",
+ "webpki-roots 0.26.11",
+]
+
[[package]]
name = "url"
version = "2.5.8"
@@ -4998,6 +5076,24 @@ dependencies = [
"system-deps",
]
+[[package]]
+name = "webpki-roots"
+version = "0.26.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
+dependencies = [
+ "webpki-roots 1.0.9",
+]
+
+[[package]]
+name = "webpki-roots"
+version = "1.0.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a"
+dependencies = [
+ "rustls-pki-types",
+]
+
[[package]]
name = "webview2-com"
version = "0.38.2"
@@ -5472,6 +5568,15 @@ dependencies = [
"windows-targets 0.42.2",
]
+[[package]]
+name = "windows-sys"
+version = "0.52.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+dependencies = [
+ "windows-targets 0.52.6",
+]
+
[[package]]
name = "windows-sys"
version = "0.59.0"
@@ -5963,6 +6068,12 @@ dependencies = [
"synstructure",
]
+[[package]]
+name = "zeroize"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e"
+
[[package]]
name = "zerotrie"
version = "0.2.5"
diff --git a/desktop/src-tauri/Cargo.lock.bak b/desktop/src-tauri/Cargo.lock.bak
new file mode 100644
index 00000000..98bbf3f2
--- /dev/null
+++ b/desktop/src-tauri/Cargo.lock.bak
@@ -0,0 +1,6044 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 4
+
+[[package]]
+name = "adler2"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
+
+[[package]]
+name = "aho-corasick"
+version = "1.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "alloc-no-stdlib"
+version = "2.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
+
+[[package]]
+name = "alloc-stdlib"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0e76a019e91224d279006ff972f1e984179a6e9feb050adba6ce8274aef23195"
+dependencies = [
+ "alloc-no-stdlib",
+]
+
+[[package]]
+name = "allocator-api2"
+version = "0.2.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
+
+[[package]]
+name = "alsa"
+version = "0.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed7572b7ba83a31e20d1b48970ee402d2e3e0537dcfe0a3ff4d6eb7508617d43"
+dependencies = [
+ "alsa-sys",
+ "bitflags 2.13.1",
+ "cfg-if",
+ "libc",
+]
+
+[[package]]
+name = "alsa-sys"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db8fee663d06c4e303404ef5f40488a53e062f89ba8bfed81f42325aafad1527"
+dependencies = [
+ "libc",
+ "pkg-config",
+]
+
+[[package]]
+name = "android_system_properties"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "anyhow"
+version = "1.0.104"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
+
+[[package]]
+name = "arrayvec"
+version = "0.7.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56"
+
+[[package]]
+name = "ash"
+version = "0.38.0+1.3.281"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f"
+dependencies = [
+ "libloading 0.8.9",
+]
+
+[[package]]
+name = "async-broadcast"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532"
+dependencies = [
+ "event-listener",
+ "event-listener-strategy",
+ "futures-core",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "async-channel"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2"
+dependencies = [
+ "concurrent-queue",
+ "event-listener-strategy",
+ "futures-core",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "async-executor"
+version = "1.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c96bf972d85afc50bf5ab8fe2d54d1586b4e0b46c97c50a0c9e71e2f7bcd812a"
+dependencies = [
+ "async-task",
+ "concurrent-queue",
+ "fastrand",
+ "futures-lite",
+ "pin-project-lite",
+ "slab",
+]
+
+[[package]]
+name = "async-io"
+version = "2.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc"
+dependencies = [
+ "autocfg",
+ "cfg-if",
+ "concurrent-queue",
+ "futures-io",
+ "futures-lite",
+ "parking",
+ "polling",
+ "rustix",
+ "slab",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "async-lock"
+version = "3.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311"
+dependencies = [
+ "event-listener",
+ "event-listener-strategy",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "async-process"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75"
+dependencies = [
+ "async-channel",
+ "async-io",
+ "async-lock",
+ "async-signal",
+ "async-task",
+ "blocking",
+ "cfg-if",
+ "event-listener",
+ "futures-lite",
+ "rustix",
+]
+
+[[package]]
+name = "async-recursion"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "async-signal"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "52b5aaafa020cf5053a01f2a60e8ff5dccf550f0f77ec54a4e47285ac2bab485"
+dependencies = [
+ "async-io",
+ "async-lock",
+ "atomic-waker",
+ "cfg-if",
+ "futures-core",
+ "futures-io",
+ "rustix",
+ "signal-hook-registry",
+ "slab",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "async-task"
+version = "4.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de"
+
+[[package]]
+name = "async-trait"
+version = "0.1.92"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.4",
+]
+
+[[package]]
+name = "atk"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "241b621213072e993be4f6f3a9e4b45f65b7e6faad43001be957184b7bb1824b"
+dependencies = [
+ "atk-sys",
+ "glib",
+ "libc",
+]
+
+[[package]]
+name = "atk-sys"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c5e48b684b0ca77d2bbadeef17424c2ea3c897d44d566a1617e7e8f30614d086"
+dependencies = [
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "atomic-waker"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
+
+[[package]]
+name = "autocfg"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
+
+[[package]]
+name = "base64"
+version = "0.21.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
+
+[[package]]
+name = "base64"
+version = "0.22.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
+
+[[package]]
+name = "bit-set"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
+dependencies = [
+ "bit-vec 0.8.0",
+]
+
+[[package]]
+name = "bit-set"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09ec2f926cc3060f09db9ebc5b52823d85268d24bb917e472c0c4bea35780a7d"
+dependencies = [
+ "bit-vec 0.9.1",
+]
+
+[[package]]
+name = "bit-vec"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
+
+[[package]]
+name = "bit-vec"
+version = "0.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b71798fca2c1fe1086445a7258a4bc81e6e49dcd24c8d0dd9a1e57395b603f51"
+
+[[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.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da"
+dependencies = [
+ "serde_core",
+]
+
+[[package]]
+name = "block-buffer"
+version = "0.10.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
+dependencies = [
+ "generic-array",
+]
+
+[[package]]
+name = "block2"
+version = "0.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5"
+dependencies = [
+ "objc2",
+]
+
+[[package]]
+name = "blocking"
+version = "1.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a70e4329df6cb94385eed412ec92375c3cdd8a6e502493d1229b6414e4036dfa"
+dependencies = [
+ "async-channel",
+ "async-task",
+ "futures-io",
+ "futures-lite",
+ "piper",
+]
+
+[[package]]
+name = "brotli"
+version = "8.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5cc91aac060a7a1e25823bdccbfb6af1875b88f17c6daac97894eed8207166b3"
+dependencies = [
+ "alloc-no-stdlib",
+ "alloc-stdlib",
+ "brotli-decompressor",
+]
+
+[[package]]
+name = "brotli-decompressor"
+version = "5.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a32acac15fe1967bc3986b2a6347dffc965602354ea6f450ad07e8bfd253583"
+dependencies = [
+ "alloc-no-stdlib",
+ "alloc-stdlib",
+]
+
+[[package]]
+name = "bs58"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4"
+dependencies = [
+ "tinyvec",
+]
+
+[[package]]
+name = "bumpalo"
+version = "3.20.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
+
+[[package]]
+name = "bytemuck"
+version = "1.25.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797"
+dependencies = [
+ "bytemuck_derive",
+]
+
+[[package]]
+name = "bytemuck_derive"
+version = "1.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc0e56a716f1e132ff6bf4bdac1c944a3fcdc1cae65f70a4a2a1ac3b401d2d1f"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.4",
+]
+
+[[package]]
+name = "byteorder"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
+
+[[package]]
+name = "bytes"
+version = "1.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "cairo-rs"
+version = "0.18.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ca26ef0159422fb77631dc9d17b102f253b876fe1586b03b803e63a309b4ee2"
+dependencies = [
+ "bitflags 2.13.1",
+ "cairo-sys-rs",
+ "glib",
+ "libc",
+ "once_cell",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "cairo-sys-rs"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "685c9fa8e590b8b3d678873528d83411db17242a73fccaed827770ea0fedda51"
+dependencies = [
+ "glib-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "camino"
+version = "1.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb1307f12aa967b5a58416e87b3653360e0fd614a016b6e970db08fecbb1b80d"
+dependencies = [
+ "serde_core",
+]
+
+[[package]]
+name = "cargo-platform"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "cargo_metadata"
+version = "0.19.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba"
+dependencies = [
+ "camino",
+ "cargo-platform",
+ "semver",
+ "serde",
+ "serde_json",
+ "thiserror 2.0.20",
+]
+
+[[package]]
+name = "cargo_toml"
+version = "0.22.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "374b7c592d9c00c1f4972ea58390ac6b18cbb6ab79011f3bdc90a0b82ca06b77"
+dependencies = [
+ "serde",
+ "toml 0.9.12+spec-1.1.0",
+]
+
+[[package]]
+name = "cc"
+version = "1.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ad534f4357a5264cce5019c989cf66a4f0dc4e0d1b1d15f8aacec0ff7360273"
+dependencies = [
+ "find-msvc-tools",
+ "shlex",
+]
+
+[[package]]
+name = "cesu8"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
+
+[[package]]
+name = "cfb"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d38f2da7a0a2c4ccf0065be06397cc26a81f4e528be095826eee9d4adbb8c60f"
+dependencies = [
+ "byteorder",
+ "fnv",
+ "uuid",
+]
+
+[[package]]
+name = "cfg-expr"
+version = "0.15.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02"
+dependencies = [
+ "smallvec",
+ "target-lexicon",
+]
+
+[[package]]
+name = "cfg-if"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
+
+[[package]]
+name = "cfg_aliases"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
+
+[[package]]
+name = "chrono"
+version = "0.4.45"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327"
+dependencies = [
+ "iana-time-zone",
+ "num-traits",
+ "serde",
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "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 = "combine"
+version = "4.6.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e"
+dependencies = [
+ "bytes",
+ "memchr",
+]
+
+[[package]]
+name = "concurrent-queue"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973"
+dependencies = [
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "cookie"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a373e3602691c3cdea496d2f0ee5935151e6168fe87739483c463db1b2f2f87"
+dependencies = [
+ "time",
+ "version_check",
+]
+
+[[package]]
+name = "core-foundation"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6"
+dependencies = [
+ "core-foundation-sys",
+ "libc",
+]
+
+[[package]]
+name = "core-foundation-sys"
+version = "0.8.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
+
+[[package]]
+name = "core-graphics"
+version = "0.25.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "064badf302c3194842cf2c5d61f56cc88e54a759313879cdf03abdd27d0c3b97"
+dependencies = [
+ "bitflags 2.13.1",
+ "core-foundation",
+ "core-graphics-types",
+ "foreign-types",
+ "libc",
+]
+
+[[package]]
+name = "core-graphics-types"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb"
+dependencies = [
+ "bitflags 2.13.1",
+ "core-foundation",
+ "libc",
+]
+
+[[package]]
+name = "coreaudio-rs"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1aae284fbaf7d27aa0e292f7677dfbe26503b0d555026f702940805a630eac17"
+dependencies = [
+ "bitflags 1.3.2",
+ "libc",
+ "objc2-audio-toolbox",
+ "objc2-core-audio",
+ "objc2-core-audio-types",
+ "objc2-core-foundation",
+]
+
+[[package]]
+name = "cpal"
+version = "0.16.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cbd307f43cc2a697e2d1f8bc7a1d824b5269e052209e28883e5bc04d095aaa3f"
+dependencies = [
+ "alsa",
+ "coreaudio-rs",
+ "dasp_sample",
+ "jni",
+ "js-sys",
+ "libc",
+ "mach2",
+ "ndk",
+ "ndk-context",
+ "num-derive",
+ "num-traits",
+ "objc2-audio-toolbox",
+ "objc2-core-audio",
+ "objc2-core-audio-types",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+ "windows 0.54.0",
+]
+
+[[package]]
+name = "cpufeatures"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "crc32fast"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8498c871161e1742aaa9d52551b2d6ebdd4c3d45a3be423e3728f33b955be550"
+dependencies = [
+ "cfg-if",
+]
+
+[[package]]
+name = "crossbeam-channel"
+version = "0.5.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d85363c37faeca707aef026efa9f3b34d077bce547e48f770770625c6013679e"
+dependencies = [
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.8.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17"
+
+[[package]]
+name = "crunchy"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
+
+[[package]]
+name = "crypto-common"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
+dependencies = [
+ "generic-array",
+ "typenum",
+]
+
+[[package]]
+name = "cssparser"
+version = "0.36.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dae61cf9c0abb83bd659dab65b7e4e38d8236824c85f0f804f173567bda257d2"
+dependencies = [
+ "cssparser-macros",
+ "dtoa-short",
+ "itoa",
+ "phf",
+ "smallvec",
+]
+
+[[package]]
+name = "cssparser-macros"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331"
+dependencies = [
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "ctor"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "352d39c2f7bef1d6ad73db6f5160efcaed66d94ef8c6c573a8410c00bf909a98"
+dependencies = [
+ "ctor-proc-macro",
+ "dtor",
+]
+
+[[package]]
+name = "ctor-proc-macro"
+version = "0.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "52560adf09603e58c9a7ee1fe1dcb95a16927b17c127f0ac02d6e768a0e25bc1"
+
+[[package]]
+name = "darling"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d"
+dependencies = [
+ "darling_core",
+ "darling_macro",
+]
+
+[[package]]
+name = "darling_core"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0"
+dependencies = [
+ "ident_case",
+ "proc-macro2",
+ "quote",
+ "strsim",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "darling_macro"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d"
+dependencies = [
+ "darling_core",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "dasp_sample"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c87e182de0887fd5361989c677c4e8f5000cd9491d6d563161a8f3a5519fc7f"
+
+[[package]]
+name = "dbus"
+version = "0.9.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ab69f03cc8c4340c9c8e315114e1658e6775a9b16a04357973aa21cec22b32e"
+dependencies = [
+ "libc",
+ "libdbus-sys",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "defmt"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2953bfe4f93bbd20cc71198842756f77d161884c99ebbabc41d80231ded88d1"
+dependencies = [
+ "bitflags 1.3.2",
+ "defmt-macros",
+]
+
+[[package]]
+name = "defmt-macros"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bad9c72e7ca2137e0dc3813245a0d282fd6daad32fd800af018306a9169b5fe8"
+dependencies = [
+ "defmt-parser",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "defmt-parser"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e"
+dependencies = [
+ "thiserror 2.0.20",
+]
+
+[[package]]
+name = "deranged"
+version = "0.5.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
+dependencies = [
+ "serde_core",
+]
+
+[[package]]
+name = "derive_more"
+version = "2.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134"
+dependencies = [
+ "derive_more-impl",
+]
+
+[[package]]
+name = "derive_more-impl"
+version = "2.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "rustc_version",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "digest"
+version = "0.10.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
+dependencies = [
+ "block-buffer",
+ "crypto-common",
+]
+
+[[package]]
+name = "dirs"
+version = "6.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e"
+dependencies = [
+ "dirs-sys",
+]
+
+[[package]]
+name = "dirs-sys"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab"
+dependencies = [
+ "libc",
+ "option-ext",
+ "redox_users",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "dispatch2"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38"
+dependencies = [
+ "bitflags 2.13.1",
+ "block2",
+ "libc",
+ "objc2",
+]
+
+[[package]]
+name = "displaydoc"
+version = "0.2.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.4",
+]
+
+[[package]]
+name = "dlib"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab8ecd87370524b461f8557c119c405552c396ed91fc0a8eec68679eab26f94a"
+dependencies = [
+ "libloading 0.7.4",
+]
+
+[[package]]
+name = "dlopen2"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4"
+dependencies = [
+ "dlopen2_derive",
+ "libc",
+ "once_cell",
+ "winapi",
+]
+
+[[package]]
+name = "dlopen2_derive"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0fbbb781877580993a8707ec48672673ec7b81eeba04cfd2310bd28c08e47c8f"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "document-features"
+version = "0.2.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61"
+dependencies = [
+ "litrs",
+]
+
+[[package]]
+name = "dom_query"
+version = "0.27.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "521e380c0c8afb8d9a1e83a1822ee03556fc3e3e7dbc1fd30be14e37f9cb3f89"
+dependencies = [
+ "bit-set 0.8.0",
+ "cssparser",
+ "foldhash",
+ "html5ever",
+ "precomputed-hash",
+ "selectors",
+ "tendril",
+]
+
+[[package]]
+name = "dpi"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "dtoa"
+version = "1.0.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590"
+
+[[package]]
+name = "dtoa-short"
+version = "0.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87"
+dependencies = [
+ "dtoa",
+]
+
+[[package]]
+name = "dtor"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1057d6c64987086ff8ed0fd3fbf377a6b7d205cc7715868cd401705f715cbe4"
+dependencies = [
+ "dtor-proc-macro",
+]
+
+[[package]]
+name = "dtor-proc-macro"
+version = "0.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f678cf4a922c215c63e0de95eb1ff08a958a81d47e485cf9da1e27bf6305cfa5"
+
+[[package]]
+name = "dunce"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
+
+[[package]]
+name = "dyn-clone"
+version = "1.0.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
+
+[[package]]
+name = "embed-resource"
+version = "3.0.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fbfdaacccebec3b28e4866b8973543c7647797db5ada1bdab552e48fe665fbbd"
+dependencies = [
+ "cc",
+ "memchr",
+ "rustc_version",
+ "toml 1.1.4+spec-1.1.0",
+ "vswhom",
+ "winreg",
+]
+
+[[package]]
+name = "embed_plist"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ef6b89e5b37196644d8796de5268852ff179b44e96276cf4290264843743bb7"
+
+[[package]]
+name = "endi"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099"
+
+[[package]]
+name = "enumflags2"
+version = "0.7.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1027f7680c853e056ebcec683615fb6fbbc07dbaa13b4d5d9442b146ded4ecef"
+dependencies = [
+ "enumflags2_derive",
+ "serde",
+]
+
+[[package]]
+name = "enumflags2_derive"
+version = "0.7.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "equivalent"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
+
+[[package]]
+name = "erased-serde"
+version = "0.4.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2add8a07dd6a8d93ff627029c51de145e12686fbc36ecb298ac22e74cf02dec"
+dependencies = [
+ "serde",
+ "serde_core",
+ "typeid",
+]
+
+[[package]]
+name = "errno"
+version = "0.3.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
+dependencies = [
+ "libc",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "event-listener"
+version = "5.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a23add41df1562121a9393cb065eab5146a1242410f23a644851e90cfd669d2"
+dependencies = [
+ "parking",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "event-listener-strategy"
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93"
+dependencies = [
+ "event-listener",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "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 = "fdeflate"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c"
+dependencies = [
+ "simd-adler32",
+]
+
+[[package]]
+name = "field-offset"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38e2275cc4e4fc009b0669731a1e5ab7ebf11f469eaede2bab9309a5b4d6057f"
+dependencies = [
+ "memoffset",
+ "rustc_version",
+]
+
+[[package]]
+name = "find-msvc-tools"
+version = "0.1.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890"
+
+[[package]]
+name = "flate2"
+version = "1.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
+dependencies = [
+ "crc32fast",
+ "miniz_oxide",
+]
+
+[[package]]
+name = "fnv"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+
+[[package]]
+name = "foldhash"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
+
+[[package]]
+name = "foreign-types"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965"
+dependencies = [
+ "foreign-types-macros",
+ "foreign-types-shared",
+]
+
+[[package]]
+name = "foreign-types-macros"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea5190182e6915eb873ddbc16e23b711b6eb1f9c00a0d0a3a91b5f6228475225"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.4",
+]
+
+[[package]]
+name = "foreign-types-shared"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b"
+
+[[package]]
+name = "form_urlencoded"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
+dependencies = [
+ "percent-encoding",
+]
+
+[[package]]
+name = "futures-channel"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
+dependencies = [
+ "futures-core",
+]
+
+[[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.4",
+]
+
+[[package]]
+name = "futures-sink"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
+
+[[package]]
+name = "futures-task"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
+
+[[package]]
+name = "futures-util"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
+dependencies = [
+ "futures-core",
+ "futures-io",
+ "futures-macro",
+ "futures-sink",
+ "futures-task",
+ "memchr",
+ "pin-project-lite",
+ "slab",
+]
+
+[[package]]
+name = "gdk"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9f245958c627ac99d8e529166f9823fb3b838d1d41fd2b297af3075093c2691"
+dependencies = [
+ "cairo-rs",
+ "gdk-pixbuf",
+ "gdk-sys",
+ "gio",
+ "glib",
+ "libc",
+ "pango",
+]
+
+[[package]]
+name = "gdk-pixbuf"
+version = "0.18.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "50e1f5f1b0bfb830d6ccc8066d18db35c487b1b2b1e8589b5dfe9f07e8defaec"
+dependencies = [
+ "gdk-pixbuf-sys",
+ "gio",
+ "glib",
+ "libc",
+ "once_cell",
+]
+
+[[package]]
+name = "gdk-pixbuf-sys"
+version = "0.18.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f9839ea644ed9c97a34d129ad56d38a25e6756f99f3a88e15cd39c20629caf7"
+dependencies = [
+ "gio-sys",
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "gdk-sys"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c2d13f38594ac1e66619e188c6d5a1adb98d11b2fcf7894fc416ad76aa2f3f7"
+dependencies = [
+ "cairo-sys-rs",
+ "gdk-pixbuf-sys",
+ "gio-sys",
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "pango-sys",
+ "pkg-config",
+ "system-deps",
+]
+
+[[package]]
+name = "gdkwayland-sys"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "140071d506d223f7572b9f09b5e155afbd77428cd5cc7af8f2694c41d98dfe69"
+dependencies = [
+ "gdk-sys",
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "pkg-config",
+ "system-deps",
+]
+
+[[package]]
+name = "gdkx11"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3caa00e14351bebbc8183b3c36690327eb77c49abc2268dd4bd36b856db3fbfe"
+dependencies = [
+ "gdk",
+ "gdkx11-sys",
+ "gio",
+ "glib",
+ "libc",
+ "x11",
+]
+
+[[package]]
+name = "gdkx11-sys"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e2e7445fe01ac26f11601db260dd8608fe172514eb63b3b5e261ea6b0f4428d"
+dependencies = [
+ "gdk-sys",
+ "glib-sys",
+ "libc",
+ "system-deps",
+ "x11",
+]
+
+[[package]]
+name = "generic-array"
+version = "0.14.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
+dependencies = [
+ "typenum",
+ "version_check",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "wasi",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "r-efi 5.3.0",
+ "wasip2",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "r-efi 6.0.0",
+]
+
+[[package]]
+name = "gio"
+version = "0.18.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d4fc8f532f87b79cbc51a79748f16a6828fb784be93145a322fa14d06d354c73"
+dependencies = [
+ "futures-channel",
+ "futures-core",
+ "futures-io",
+ "futures-util",
+ "gio-sys",
+ "glib",
+ "libc",
+ "once_cell",
+ "pin-project-lite",
+ "smallvec",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "gio-sys"
+version = "0.18.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37566df850baf5e4cb0dfb78af2e4b9898d817ed9263d1090a2df958c64737d2"
+dependencies = [
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "system-deps",
+ "winapi",
+]
+
+[[package]]
+name = "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 = "glib"
+version = "0.18.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "233daaf6e83ae6a12a52055f568f9d7cf4671dabb78ff9560ab6da230ce00ee5"
+dependencies = [
+ "bitflags 2.13.1",
+ "futures-channel",
+ "futures-core",
+ "futures-executor",
+ "futures-task",
+ "futures-util",
+ "gio-sys",
+ "glib-macros",
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "memchr",
+ "once_cell",
+ "smallvec",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "glib-macros"
+version = "0.18.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0bb0228f477c0900c880fd78c8759b95c7636dbd7842707f49e132378aa2acdc"
+dependencies = [
+ "heck 0.4.1",
+ "proc-macro-crate 2.0.2",
+ "proc-macro-error",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "glib-sys"
+version = "0.18.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "063ce2eb6a8d0ea93d2bf8ba1957e78dbab6be1c2220dd3daca57d5a9d869898"
+dependencies = [
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "glob"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
+
+[[package]]
+name = "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 = "gobject-sys"
+version = "0.18.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0850127b514d1c4a4654ead6dedadb18198999985908e6ffe4436f53c785ce44"
+dependencies = [
+ "glib-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "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.20",
+ "windows 0.54.0",
+]
+
+[[package]]
+name = "gtk"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fd56fb197bfc42bd5d2751f4f017d44ff59fbb58140c6b49f9b3b2bdab08506a"
+dependencies = [
+ "atk",
+ "cairo-rs",
+ "field-offset",
+ "futures-channel",
+ "gdk",
+ "gdk-pixbuf",
+ "gio",
+ "glib",
+ "gtk-sys",
+ "gtk3-macros",
+ "libc",
+ "pango",
+ "pkg-config",
+]
+
+[[package]]
+name = "gtk-sys"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8f29a1c21c59553eb7dd40e918be54dccd60c52b049b75119d5d96ce6b624414"
+dependencies = [
+ "atk-sys",
+ "cairo-sys-rs",
+ "gdk-pixbuf-sys",
+ "gdk-sys",
+ "gio-sys",
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "pango-sys",
+ "system-deps",
+]
+
+[[package]]
+name = "gtk3-macros"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "52ff3c5b21f14f0736fed6dcfc0bfb4225ebf5725f3c0209edeec181e4d73e9d"
+dependencies = [
+ "proc-macro-crate 1.3.1",
+ "proc-macro-error",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "half"
+version = "2.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b"
+dependencies = [
+ "cfg-if",
+ "crunchy",
+ "num-traits",
+ "zerocopy",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.12.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
+
+[[package]]
+name = "hashbrown"
+version = "0.16.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
+dependencies = [
+ "allocator-api2",
+ "equivalent",
+ "foldhash",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
+dependencies = [
+ "foldhash",
+]
+
+[[package]]
+name = "hashlink"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32069d97bb81e38fa67eab65e3393bf804bb85969f2bc06bf13f64aef5aba248"
+dependencies = [
+ "hashbrown 0.17.1",
+]
+
+[[package]]
+name = "heck"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
+
+[[package]]
+name = "heck"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
+
+[[package]]
+name = "hermit-abi"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
+
+[[package]]
+name = "hex"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
+
+[[package]]
+name = "html5ever"
+version = "0.38.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1054432bae2f14e0061e33d23402fbaa67a921d319d56adc6bcf887ddad1cbc2"
+dependencies = [
+ "log",
+ "markup5ever",
+]
+
+[[package]]
+name = "http"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
+dependencies = [
+ "bytes",
+ "itoa",
+]
+
+[[package]]
+name = "http-body"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c"
+dependencies = [
+ "bytes",
+ "http",
+]
+
+[[package]]
+name = "http-body-util"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c"
+dependencies = [
+ "bytes",
+ "futures-core",
+ "http",
+ "http-body",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "http-range"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "21dec9db110f5f872ed9699c3ecf50cf16f423502706ba5c72462e28d3157573"
+
+[[package]]
+name = "httparse"
+version = "1.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
+
+[[package]]
+name = "hyper"
+version = "1.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d22053281f852e11534f5198498373cbb59295120a20771d90f7ed1897490a72"
+dependencies = [
+ "atomic-waker",
+ "bytes",
+ "futures-channel",
+ "futures-core",
+ "http",
+ "http-body",
+ "httparse",
+ "itoa",
+ "pin-project-lite",
+ "smallvec",
+ "tokio",
+ "want",
+]
+
+[[package]]
+name = "hyper-util"
+version = "0.1.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0"
+dependencies = [
+ "base64 0.22.1",
+ "bytes",
+ "futures-channel",
+ "futures-util",
+ "http",
+ "http-body",
+ "hyper",
+ "ipnet",
+ "libc",
+ "percent-encoding",
+ "pin-project-lite",
+ "socket2",
+ "tokio",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "iana-time-zone"
+version = "0.1.65"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470"
+dependencies = [
+ "android_system_properties",
+ "core-foundation-sys",
+ "iana-time-zone-haiku",
+ "js-sys",
+ "log",
+ "wasm-bindgen",
+ "windows-core 0.62.2",
+]
+
+[[package]]
+name = "iana-time-zone-haiku"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
+dependencies = [
+ "cc",
+]
+
+[[package]]
+name = "ico"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3e795dff5605e0f04bff85ca41b51a96b83e80b281e96231bcaaf1ac35103371"
+dependencies = [
+ "byteorder",
+ "png 0.17.16",
+]
+
+[[package]]
+name = "icu_collections"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513"
+dependencies = [
+ "displaydoc",
+ "potential_utf",
+ "utf8_iter",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locale_core"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb"
+dependencies = [
+ "displaydoc",
+ "litemap",
+ "tinystr",
+ "writeable",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f"
+dependencies = [
+ "icu_collections",
+ "icu_normalizer_data",
+ "icu_properties",
+ "icu_provider",
+ "smallvec",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer_data"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0"
+
+[[package]]
+name = "icu_properties"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_locale_core",
+ "icu_properties_data",
+ "icu_provider",
+ "zerotrie",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_properties_data"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa"
+
+[[package]]
+name = "icu_provider"
+version = "2.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73"
+dependencies = [
+ "displaydoc",
+ "icu_locale_core",
+ "writeable",
+ "yoke",
+ "zerofrom",
+ "zerotrie",
+ "zerovec",
+]
+
+[[package]]
+name = "ident_case"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
+
+[[package]]
+name = "idna"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
+dependencies = [
+ "idna_adapter",
+ "smallvec",
+ "utf8_iter",
+]
+
+[[package]]
+name = "idna_adapter"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
+dependencies = [
+ "icu_normalizer",
+ "icu_properties",
+]
+
+[[package]]
+name = "indexmap"
+version = "1.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
+dependencies = [
+ "autocfg",
+ "hashbrown 0.12.3",
+ "serde",
+]
+
+[[package]]
+name = "indexmap"
+version = "2.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
+dependencies = [
+ "equivalent",
+ "hashbrown 0.17.1",
+ "serde",
+ "serde_core",
+]
+
+[[package]]
+name = "infer"
+version = "0.19.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a588916bfdfd92e71cacef98a63d9b1f0d74d6599980d11894290e7ddefffcf7"
+dependencies = [
+ "cfb",
+]
+
+[[package]]
+name = "ipnet"
+version = "2.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a756c3fac73139e83f14c2d742155dd2b78d3ee56597b419a0579b7bdd6dd78"
+
+[[package]]
+name = "is-docker"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "928bae27f42bc99b60d9ac7334e3a21d10ad8f1835a4e12ec3ec0464765ed1b3"
+dependencies = [
+ "once_cell",
+]
+
+[[package]]
+name = "is-wsl"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "173609498df190136aa7dea1a91db051746d339e18476eed5ca40521f02d7aa5"
+dependencies = [
+ "is-docker",
+ "once_cell",
+]
+
+[[package]]
+name = "itoa"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
+
+[[package]]
+name = "javascriptcore-rs"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca5671e9ffce8ffba57afc24070e906da7fc4b1ba66f2cabebf61bf2ea257fcc"
+dependencies = [
+ "bitflags 1.3.2",
+ "glib",
+ "javascriptcore-rs-sys",
+]
+
+[[package]]
+name = "javascriptcore-rs-sys"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "af1be78d14ffa4b75b66df31840478fef72b51f8c2465d4ca7c194da9f7a5124"
+dependencies = [
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "jiff"
+version = "0.2.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "668b7183bd07af9a4885f5c35b0cc5c83c4607a913c16b7e17291832910d2dcc"
+dependencies = [
+ "defmt",
+ "jiff-core",
+ "jiff-static",
+ "jiff-tzdb-platform",
+ "log",
+ "portable-atomic",
+ "portable-atomic-util",
+ "serde_core",
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "jiff-core"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7feca88439efe53da3754500c1851dedf3cb36c524dd5cf8225cc0794de95d09"
+dependencies = [
+ "defmt",
+]
+
+[[package]]
+name = "jiff-static"
+version = "0.2.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a69dcb3a21cfb32ce1cd056169337ca284af0766dd766e7878819b251a49204"
+dependencies = [
+ "jiff-core",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "jiff-tzdb"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "142bd39932ad231f10513df9ab62661fead8719872150b7ad02a2df79f4e141e"
+
+[[package]]
+name = "jiff-tzdb-platform"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8"
+dependencies = [
+ "jiff-tzdb",
+]
+
+[[package]]
+name = "jni"
+version = "0.21.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
+dependencies = [
+ "cesu8",
+ "cfg-if",
+ "combine",
+ "jni-sys 0.3.1",
+ "log",
+ "thiserror 1.0.69",
+ "walkdir",
+ "windows-sys 0.45.0",
+]
+
+[[package]]
+name = "jni-sys"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258"
+dependencies = [
+ "jni-sys 0.4.1",
+]
+
+[[package]]
+name = "jni-sys"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2"
+dependencies = [
+ "jni-sys-macros",
+]
+
+[[package]]
+name = "jni-sys-macros"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
+dependencies = [
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "js-sys"
+version = "0.3.104"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0e0c1080212aad755ea003d18543e8768dd432c48819efd73a7bf1e39b7a5a3a"
+dependencies = [
+ "cfg-if",
+ "futures-util",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "json-patch"
+version = "3.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "863726d7afb6bc2590eeff7135d923545e5e964f004c2ccf8716c25e70a86f08"
+dependencies = [
+ "jsonptr",
+ "serde",
+ "serde_json",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "jsonptr"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5dea2b27dd239b2556ed7a25ba842fe47fd602e7fc7433c2a8d6106d4d9edd70"
+dependencies = [
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "keyboard-types"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b750dcadc39a09dbadd74e118f6dd6598df77fa01df0cfcdc52c28dece74528a"
+dependencies = [
+ "bitflags 2.13.1",
+ "serde",
+ "unicode-segmentation",
+]
+
+[[package]]
+name = "khronos-egl"
+version = "6.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76"
+dependencies = [
+ "libc",
+ "libloading 0.8.9",
+ "pkg-config",
+]
+
+[[package]]
+name = "khronos_api"
+version = "3.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc"
+
+[[package]]
+name = "libappindicator"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "03589b9607c868cc7ae54c0b2a22c8dc03dd41692d48f2d7df73615c6a95dc0a"
+dependencies = [
+ "glib",
+ "gtk",
+ "gtk-sys",
+ "libappindicator-sys",
+ "log",
+]
+
+[[package]]
+name = "libappindicator-sys"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e9ec52138abedcc58dc17a7c6c0c00a2bdb4f3427c7f63fa97fd0d859155caf"
+dependencies = [
+ "gtk-sys",
+ "libloading 0.7.4",
+ "once_cell",
+]
+
+[[package]]
+name = "libc"
+version = "0.2.189"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
+
+[[package]]
+name = "libdbus-sys"
+version = "0.2.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "328c4789d42200f1eeec05bd86c9c13c7f091d2ba9a6ea35acdf51f31bc0f043"
+dependencies = [
+ "pkg-config",
+]
+
+[[package]]
+name = "libloading"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
+dependencies = [
+ "cfg-if",
+ "winapi",
+]
+
+[[package]]
+name = "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 = "libredox"
+version = "0.1.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28d0a00925a9f930d679b6789b721e3a7f9ed110f41b86d2497caa780c3a070a"
+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 = "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"
+
+[[package]]
+name = "mach2"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d640282b302c0bb0a2a8e0233ead9035e3bed871f0b7e81fe4a1ec829765db44"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "markup5ever"
+version = "0.38.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8983d30f2915feeaaab2d6babdd6bc7e9ed1a00b66b5e6d74df19aa9c0e91862"
+dependencies = [
+ "log",
+ "tendril",
+ "web_atoms",
+]
+
+[[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 = "mime"
+version = "0.3.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
+
+[[package]]
+name = "miniz_oxide"
+version = "0.8.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
+dependencies = [
+ "adler2",
+ "simd-adler32",
+]
+
+[[package]]
+name = "mio"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "30d65c71f1ce40ab09135ce117d742b9f8a19ff91a41a8b57ed50bc2de59c427"
+dependencies = [
+ "libc",
+ "wasi",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "muda"
+version = "0.19.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1dd04e60bc0b07438a6771710ee1698f98f6ebbc7f89b61264af1563b8aeb878"
+dependencies = [
+ "crossbeam-channel",
+ "dpi",
+ "gtk",
+ "keyboard-types",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-foundation",
+ "once_cell",
+ "png 0.18.1",
+ "serde",
+ "thiserror 2.0.20",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "naga"
+version = "30.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a616d2fb8c89516ac2723a581f69d6c18576046bed761bd6b305e5618e6ae130"
+dependencies = [
+ "arrayvec",
+ "bit-set 0.10.0",
+ "bitflags 2.13.1",
+ "cfg-if",
+ "cfg_aliases",
+ "codespan-reporting",
+ "half",
+ "hashbrown 0.17.1",
+ "indexmap 2.14.0",
+ "libm",
+ "log",
+ "naga-types",
+ "num-traits",
+ "once_cell",
+ "rustc-hash 1.1.0",
+ "spirv",
+ "thiserror 2.0.20",
+ "unicode-ident",
+]
+
+[[package]]
+name = "naga-types"
+version = "30.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "590afbf58a6f4f62873cd5cff4468061844bafa1cdf399cc954537c22d768d49"
+dependencies = [
+ "hashbrown 0.17.1",
+ "indexmap 2.14.0",
+ "rustc-hash 1.1.0",
+ "thiserror 2.0.20",
+]
+
+[[package]]
+name = "ndk"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4"
+dependencies = [
+ "bitflags 2.13.1",
+ "jni-sys 0.3.1",
+ "log",
+ "ndk-sys",
+ "num_enum",
+ "raw-window-handle",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "ndk-context"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"
+
+[[package]]
+name = "ndk-sys"
+version = "0.6.0+11769913"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873"
+dependencies = [
+ "jni-sys 0.3.1",
+]
+
+[[package]]
+name = "new_debug_unreachable"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
+
+[[package]]
+name = "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-traits"
+version = "0.2.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
+dependencies = [
+ "autocfg",
+ "libm",
+]
+
+[[package]]
+name = "num_enum"
+version = "0.7.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26"
+dependencies = [
+ "num_enum_derive",
+ "rustversion",
+]
+
+[[package]]
+name = "num_enum_derive"
+version = "0.7.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8"
+dependencies = [
+ "proc-macro-crate 3.5.0",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "objc2"
+version = "0.6.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a12a8ed07aefc768292f076dc3ac8c48f3781c8f2d5851dd3d98950e8c5a89f"
+dependencies = [
+ "objc2-encode",
+ "objc2-exception-helper",
+]
+
+[[package]]
+name = "objc2-app-kit"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c"
+dependencies = [
+ "bitflags 2.13.1",
+ "block2",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-audio-toolbox"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6948501a91121d6399b79abaa33a8aa4ea7857fe019f341b8c23ad6e81b79b08"
+dependencies = [
+ "bitflags 2.13.1",
+ "libc",
+ "objc2",
+ "objc2-core-audio",
+ "objc2-core-audio-types",
+ "objc2-core-foundation",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-cloud-kit"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c"
+dependencies = [
+ "bitflags 2.13.1",
+ "objc2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-core-audio"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e1eebcea8b0dbff5f7c8504f3107c68fc061a3eb44932051c8cf8a68d969c3b2"
+dependencies = [
+ "dispatch2",
+ "objc2",
+ "objc2-core-audio-types",
+ "objc2-core-foundation",
+]
+
+[[package]]
+name = "objc2-core-audio-types"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a89f2ec274a0cf4a32642b2991e8b351a404d290da87bb6a9a9d8632490bd1c"
+dependencies = [
+ "bitflags 2.13.1",
+ "objc2",
+]
+
+[[package]]
+name = "objc2-core-data"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b402a653efbb5e82ce4df10683b6b28027616a2715e90009947d50b8dd298fa"
+dependencies = [
+ "objc2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-core-foundation"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536"
+dependencies = [
+ "bitflags 2.13.1",
+ "dispatch2",
+ "objc2",
+]
+
+[[package]]
+name = "objc2-core-graphics"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807"
+dependencies = [
+ "bitflags 2.13.1",
+ "dispatch2",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-io-surface",
+]
+
+[[package]]
+name = "objc2-core-image"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006"
+dependencies = [
+ "objc2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-core-location"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca347214e24bc973fc025fd0d36ebb179ff30536ed1f80252706db19ee452009"
+dependencies = [
+ "objc2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-core-text"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d"
+dependencies = [
+ "bitflags 2.13.1",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+]
+
+[[package]]
+name = "objc2-encode"
+version = "4.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33"
+
+[[package]]
+name = "objc2-exception-helper"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c7a1c5fbb72d7735b076bb47b578523aedc40f3c439bea6dfd595c089d79d98a"
+dependencies = [
+ "cc",
+]
+
+[[package]]
+name = "objc2-foundation"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272"
+dependencies = [
+ "bitflags 2.13.1",
+ "block2",
+ "libc",
+ "objc2",
+ "objc2-core-foundation",
+]
+
+[[package]]
+name = "objc2-io-surface"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d"
+dependencies = [
+ "bitflags 2.13.1",
+ "objc2",
+ "objc2-core-foundation",
+]
+
+[[package]]
+name = "objc2-metal"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a0125f776a10d00af4152d74616409f0d4a2053a6f57fa5b7d6aa2854ac04794"
+dependencies = [
+ "bitflags 2.13.1",
+ "block2",
+ "objc2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-quartz-core"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f"
+dependencies = [
+ "bitflags 2.13.1",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+ "objc2-foundation",
+ "objc2-metal",
+]
+
+[[package]]
+name = "objc2-ui-kit"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22"
+dependencies = [
+ "bitflags 2.13.1",
+ "block2",
+ "objc2",
+ "objc2-cloud-kit",
+ "objc2-core-data",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+ "objc2-core-image",
+ "objc2-core-location",
+ "objc2-core-text",
+ "objc2-foundation",
+ "objc2-quartz-core",
+ "objc2-user-notifications",
+]
+
+[[package]]
+name = "objc2-user-notifications"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9df9128cbbfef73cda168416ccf7f837b62737d748333bfe9ab71c245d76613e"
+dependencies = [
+ "objc2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-web-kit"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2e5aaab980c433cf470df9d7af96a7b46a9d892d521a2cbbb2f8a4c16751e7f"
+dependencies = [
+ "bitflags 2.13.1",
+ "block2",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "once_cell"
+version = "1.21.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
+
+[[package]]
+name = "open"
+version = "5.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ade3be4664bc1ef537ce133015f04c176b737815c2ba9fd60edf212d6e90dd55"
+dependencies = [
+ "dunce",
+ "is-wsl",
+ "libc",
+]
+
+[[package]]
+name = "option-ext"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
+
+[[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 = "pango"
+version = "0.18.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ca27ec1eb0457ab26f3036ea52229edbdb74dee1edd29063f5b9b010e7ebee4"
+dependencies = [
+ "gio",
+ "glib",
+ "libc",
+ "once_cell",
+ "pango-sys",
+]
+
+[[package]]
+name = "pango-sys"
+version = "0.18.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "436737e391a843e5933d6d9aa102cb126d501e815b83601365a948a518555dc5"
+dependencies = [
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "parking"
+version = "2.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba"
+
+[[package]]
+name = "parking_lot"
+version = "0.12.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
+dependencies = [
+ "lock_api",
+ "parking_lot_core",
+]
+
+[[package]]
+name = "parking_lot_core"
+version = "0.9.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "redox_syscall",
+ "smallvec",
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "percent-encoding"
+version = "2.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
+
+[[package]]
+name = "phf"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf"
+dependencies = [
+ "phf_macros",
+ "phf_shared",
+ "serde",
+]
+
+[[package]]
+name = "phf_codegen"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49aa7f9d80421bca176ca8dbfebe668cc7a2684708594ec9f3c0db0805d5d6e1"
+dependencies = [
+ "phf_generator",
+ "phf_shared",
+]
+
+[[package]]
+name = "phf_generator"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "135ace3a761e564ec88c03a77317a7c6b80bb7f7135ef2544dbe054243b89737"
+dependencies = [
+ "fastrand",
+ "phf_shared",
+]
+
+[[package]]
+name = "phf_macros"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "812f032b54b1e759ccd5f8b6677695d5268c588701effba24601f6932f8269ef"
+dependencies = [
+ "phf_generator",
+ "phf_shared",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "phf_shared"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266"
+dependencies = [
+ "siphasher",
+]
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
+
+[[package]]
+name = "piper"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c835479a4443ded371d6c535cbfd8d31ad92c5d23ae9770a61bc155e4992a3c1"
+dependencies = [
+ "atomic-waker",
+ "fastrand",
+ "futures-io",
+]
+
+[[package]]
+name = "pkg-config"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
+
+[[package]]
+name = "plist"
+version = "1.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7da1d65da6dd5d1e44199ac0f58712d241c0f439f80adea8924d832384087f85"
+dependencies = [
+ "base64 0.22.1",
+ "indexmap 2.14.0",
+ "quick-xml",
+ "serde",
+ "time",
+]
+
+[[package]]
+name = "png"
+version = "0.17.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526"
+dependencies = [
+ "bitflags 1.3.2",
+ "crc32fast",
+ "fdeflate",
+ "flate2",
+ "miniz_oxide",
+]
+
+[[package]]
+name = "png"
+version = "0.18.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61"
+dependencies = [
+ "bitflags 2.13.1",
+ "crc32fast",
+ "fdeflate",
+ "flate2",
+ "miniz_oxide",
+]
+
+[[package]]
+name = "polling"
+version = "3.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218"
+dependencies = [
+ "cfg-if",
+ "concurrent-queue",
+ "hermit-abi",
+ "pin-project-lite",
+ "rustix",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "pollster"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2f3a9f18d041e6d0e102a0a46750538147e5e8992d3b4873aaafee2520b00ce3"
+
+[[package]]
+name = "portable-atomic"
+version = "1.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
+
+[[package]]
+name = "portable-atomic-util"
+version = "0.2.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618"
+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 = "precomputed-hash"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
+
+[[package]]
+name = "presser"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa"
+
+[[package]]
+name = "proc-macro-crate"
+version = "1.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919"
+dependencies = [
+ "once_cell",
+ "toml_edit 0.19.15",
+]
+
+[[package]]
+name = "proc-macro-crate"
+version = "2.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b00f26d3400549137f92511a46ac1cd8ce37cb5598a96d382381458b992a5d24"
+dependencies = [
+ "toml_datetime 0.6.3",
+ "toml_edit 0.20.2",
+]
+
+[[package]]
+name = "proc-macro-crate"
+version = "3.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f"
+dependencies = [
+ "toml_edit 0.25.13+spec-1.1.0",
+]
+
+[[package]]
+name = "proc-macro-error"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
+dependencies = [
+ "proc-macro-error-attr",
+ "proc-macro2",
+ "quote",
+ "syn 1.0.109",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro-error-attr"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.107"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "profiling"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3d595e54a326bc53c1c197b32d295e14b169e3cfeaa8dc82b529f947fba6bcf5"
+
+[[package]]
+name = "quick-xml"
+version = "0.41.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.47"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "r-efi"
+version = "5.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
+
+[[package]]
+name = "r-efi"
+version = "6.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
+
+[[package]]
+name = "range-alloc"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca45419789ae5a7899559e9512e58ca889e41f04f1f2445e9f4b290ceccd1d08"
+
+[[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",
+ "objc2-core-foundation",
+ "objc2-foundation",
+ "objc2-quartz-core",
+]
+
+[[package]]
+name = "redox_syscall"
+version = "0.5.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
+dependencies = [
+ "bitflags 2.13.1",
+]
+
+[[package]]
+name = "redox_users"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac"
+dependencies = [
+ "getrandom 0.2.17",
+ "libredox",
+ "thiserror 2.0.20",
+]
+
+[[package]]
+name = "ref-cast"
+version = "1.0.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e440fb4e4b4147295338efb76001ab9e4efc0e5839df2c47fc5ac2381d365c3"
+dependencies = [
+ "ref-cast-impl",
+]
+
+[[package]]
+name = "ref-cast-impl"
+version = "1.0.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.4",
+]
+
+[[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 = "relay-core"
+version = "0.1.0"
+
+[[package]]
+name = "relay-desktop"
+version = "0.1.0"
+dependencies = [
+ "cpal",
+ "memmap2",
+ "relay-core",
+ "relay-media",
+ "relay-render",
+ "rusqlite",
+ "serde",
+ "serde_json",
+ "tauri",
+ "tauri-build",
+ "tauri-plugin-dialog",
+ "tauri-plugin-opener",
+]
+
+[[package]]
+name = "relay-media"
+version = "0.1.0"
+dependencies = [
+ "relay-core",
+ "serde_json",
+ "thiserror 2.0.20",
+]
+
+[[package]]
+name = "relay-render"
+version = "0.1.0"
+dependencies = [
+ "pollster",
+ "relay-core",
+ "wgpu",
+]
+
+[[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.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "219c5811de6525e5416c7d5d53bb656d3afdbc6c5af816e0802bcfa42dbdc1c3"
+dependencies = [
+ "base64 0.22.1",
+ "bytes",
+ "futures-core",
+ "futures-util",
+ "http",
+ "http-body",
+ "http-body-util",
+ "hyper",
+ "hyper-util",
+ "js-sys",
+ "log",
+ "percent-encoding",
+ "pin-project-lite",
+ "serde",
+ "serde_json",
+ "sync_wrapper",
+ "tokio",
+ "tokio-util",
+ "tower",
+ "tower-http",
+ "tower-service",
+ "url",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "wasm-streams",
+ "web-sys",
+]
+
+[[package]]
+name = "rfd"
+version = "0.16.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a15ad77d9e70a92437d8f74c35d99b4e4691128df018833e99f90bcd36152672"
+dependencies = [
+ "block2",
+ "dispatch2",
+ "glib-sys",
+ "gobject-sys",
+ "gtk-sys",
+ "js-sys",
+ "log",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-foundation",
+ "raw-window-handle",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+ "windows-sys 0.60.2",
+]
+
+[[package]]
+name = "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.20",
+]
+
+[[package]]
+name = "rusqlite"
+version = "0.40.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23f2a97da3e3873c73cb2a2e71b35c40ff95e0b1eefa8d72d8499a6928c3b5b3"
+dependencies = [
+ "bitflags 2.13.1",
+ "fallible-iterator",
+ "fallible-streaming-iterator",
+ "hashlink",
+ "libsqlite3-sys",
+ "smallvec",
+ "sqlite-wasm-rs",
+]
+
+[[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 = "rustix"
+version = "1.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190"
+dependencies = [
+ "bitflags 2.13.1",
+ "errno",
+ "libc",
+ "linux-raw-sys",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "rustversion"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
+
+[[package]]
+name = "same-file"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "schemars"
+version = "0.8.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615"
+dependencies = [
+ "dyn-clone",
+ "indexmap 1.9.3",
+ "schemars_derive",
+ "serde",
+ "serde_json",
+ "url",
+ "uuid",
+]
+
+[[package]]
+name = "schemars"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f"
+dependencies = [
+ "dyn-clone",
+ "ref-cast",
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "schemars"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "687274d293b6cdc6e73e0fee520bf2049650090d7164f87672d212a3c530cf4a"
+dependencies = [
+ "dyn-clone",
+ "ref-cast",
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "schemars_derive"
+version = "0.8.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "serde_derive_internals",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "scopeguard"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
+
+[[package]]
+name = "selectors"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c5d9c0c92a92d33f08817311cf3f2c29a3538a8240e94a6a3c622ce652d7e00c"
+dependencies = [
+ "bitflags 2.13.1",
+ "cssparser",
+ "derive_more",
+ "log",
+ "new_debug_unreachable",
+ "phf",
+ "phf_codegen",
+ "precomputed-hash",
+ "rustc-hash 2.1.3",
+ "servo_arc",
+ "smallvec",
+]
+
+[[package]]
+name = "semver"
+version = "1.0.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
+dependencies = [
+ "serde",
+ "serde_core",
+]
+
+[[package]]
+name = "serde"
+version = "1.0.229"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
+dependencies = [
+ "serde_core",
+ "serde_derive",
+]
+
+[[package]]
+name = "serde-untagged"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f9faf48a4a2d2693be24c6289dbe26552776eb7737074e6722891fadbe6c5058"
+dependencies = [
+ "erased-serde",
+ "serde",
+ "serde_core",
+ "typeid",
+]
+
+[[package]]
+name = "serde_core"
+version = "1.0.229"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.229"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.4",
+]
+
+[[package]]
+name = "serde_derive_internals"
+version = "0.29.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "serde_json"
+version = "1.0.151"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
+dependencies = [
+ "itoa",
+ "memchr",
+ "serde",
+ "serde_core",
+ "zmij",
+]
+
+[[package]]
+name = "serde_repr"
+version = "0.1.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.4",
+]
+
+[[package]]
+name = "serde_spanned"
+version = "0.6.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "serde_spanned"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26"
+dependencies = [
+ "serde_core",
+]
+
+[[package]]
+name = "serde_with"
+version = "3.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ee78f1fbe43ac4a0e47aadb3dbd357b69eb0d3793e948624cd03dd2750ab1c0a"
+dependencies = [
+ "base64 0.22.1",
+ "bs58",
+ "chrono",
+ "hex",
+ "indexmap 1.9.3",
+ "indexmap 2.14.0",
+ "jiff",
+ "schemars 0.9.0",
+ "schemars 1.2.2",
+ "serde_core",
+ "serde_json",
+ "serde_with_macros",
+ "time",
+]
+
+[[package]]
+name = "serde_with_macros"
+version = "3.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8705578779c2b6bd90d84d66eb2e206b708b1a4d7b9f17641b293545bf1c7e46"
+dependencies = [
+ "darling",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "serialize-to-javascript"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "04f3666a07a197cdb77cdf306c32be9b7f598d7060d50cfd4d5aa04bfd92f6c5"
+dependencies = [
+ "serde",
+ "serde_json",
+ "serialize-to-javascript-impl",
+]
+
+[[package]]
+name = "serialize-to-javascript-impl"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "772ee033c0916d670af7860b6e1ef7d658a4629a6d0b4c8c3e67f09b3765b75d"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "servo_arc"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "170fb83ab34de17dc69aa7c67482b22218ddb85da56546f9bd6b929e32a05930"
+dependencies = [
+ "stable_deref_trait",
+]
+
+[[package]]
+name = "sha2"
+version = "0.10.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
+dependencies = [
+ "cfg-if",
+ "cpufeatures",
+ "digest",
+]
+
+[[package]]
+name = "shlex"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
+
+[[package]]
+name = "signal-hook-registry"
+version = "1.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
+dependencies = [
+ "errno",
+ "libc",
+]
+
+[[package]]
+name = "simd-adler32"
+version = "0.3.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
+
+[[package]]
+name = "siphasher"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649"
+
+[[package]]
+name = "slab"
+version = "0.4.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
+
+[[package]]
+name = "slotmap"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038"
+dependencies = [
+ "version_check",
+]
+
+[[package]]
+name = "smallvec"
+version = "1.15.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
+
+[[package]]
+name = "socket2"
+version = "0.6.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4"
+dependencies = [
+ "libc",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "softbuffer"
+version = "0.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aac18da81ebbf05109ab275b157c22a653bb3c12cf884450179942f81bcbf6c3"
+dependencies = [
+ "bytemuck",
+ "js-sys",
+ "ndk",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+ "objc2-foundation",
+ "objc2-quartz-core",
+ "raw-window-handle",
+ "redox_syscall",
+ "tracing",
+ "wasm-bindgen",
+ "web-sys",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "soup3"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "471f924a40f31251afc77450e781cb26d55c0b650842efafc9c6cbd2f7cc4f9f"
+dependencies = [
+ "futures-channel",
+ "gio",
+ "glib",
+ "libc",
+ "soup3-sys",
+]
+
+[[package]]
+name = "soup3-sys"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ebe8950a680a12f24f15ebe1bf70db7af98ad242d9db43596ad3108aab86c27"
+dependencies = [
+ "gio-sys",
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "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.1",
+]
+
+[[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 = "stable_deref_trait"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
+
+[[package]]
+name = "static_assertions"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
+
+[[package]]
+name = "string_cache"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a18596f8c785a729f2819c0f6a7eae6ebeebdfffbfe4214ae6b087f690e31901"
+dependencies = [
+ "new_debug_unreachable",
+ "parking_lot",
+ "phf_shared",
+ "precomputed-hash",
+]
+
+[[package]]
+name = "string_cache_codegen"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "585635e46db231059f76c5849798146164652513eb9e8ab2685939dd90f29b69"
+dependencies = [
+ "phf_generator",
+ "phf_shared",
+ "proc-macro2",
+ "quote",
+]
+
+[[package]]
+name = "strsim"
+version = "0.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
+
+[[package]]
+name = "swift-rs"
+version = "1.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e45c444e496845d3f2a351146bff59aae4975b2280238df1dfaa0c7d1846f38e"
+dependencies = [
+ "base64 0.21.7",
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "syn"
+version = "1.0.109"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
+dependencies = [
+ "proc-macro2",
+ "unicode-ident",
+]
+
+[[package]]
+name = "syn"
+version = "2.0.119"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "syn"
+version = "3.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e6275cddf4610d1775e6d1fe9469b2e77d0f39fd98fb7450901b821e0c53649f"
+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 = "system-deps"
+version = "6.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349"
+dependencies = [
+ "cfg-expr",
+ "heck 0.5.0",
+ "pkg-config",
+ "toml 0.8.2",
+ "version-compare",
+]
+
+[[package]]
+name = "tao"
+version = "0.35.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d1c93047acf68669466a34690ac58cca7010bd1b201e1ec86f1fd0a75d3dd4a9"
+dependencies = [
+ "bitflags 2.13.1",
+ "block2",
+ "core-foundation",
+ "core-graphics",
+ "crossbeam-channel",
+ "dbus",
+ "dispatch2",
+ "dlopen2",
+ "dpi",
+ "gdkwayland-sys",
+ "gdkx11-sys",
+ "gtk",
+ "jni",
+ "libc",
+ "log",
+ "ndk",
+ "ndk-sys",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-foundation",
+ "objc2-ui-kit",
+ "once_cell",
+ "parking_lot",
+ "percent-encoding",
+ "raw-window-handle",
+ "tao-macros",
+ "unicode-segmentation",
+ "url",
+ "windows 0.61.3",
+ "windows-core 0.61.2",
+ "windows-version",
+ "x11-dl",
+]
+
+[[package]]
+name = "tao-macros"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5f7eeb6d99155545da6150a1795945f16ac9c178deb2a5f2e74d776107bd5849"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "target-lexicon"
+version = "0.12.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
+
+[[package]]
+name = "tauri"
+version = "2.11.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "667b20e2726d572dea2de7370da16e188eb06008faf9a92fab7cdc46791190b5"
+dependencies = [
+ "anyhow",
+ "bytes",
+ "cookie",
+ "dirs",
+ "dunce",
+ "embed_plist",
+ "getrandom 0.3.4",
+ "glob",
+ "gtk",
+ "heck 0.5.0",
+ "http",
+ "http-range",
+ "jni",
+ "libc",
+ "log",
+ "mime",
+ "muda",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-foundation",
+ "objc2-ui-kit",
+ "objc2-web-kit",
+ "percent-encoding",
+ "plist",
+ "raw-window-handle",
+ "reqwest",
+ "serde",
+ "serde_json",
+ "serde_repr",
+ "serialize-to-javascript",
+ "swift-rs",
+ "tauri-build",
+ "tauri-macros",
+ "tauri-runtime",
+ "tauri-runtime-wry",
+ "tauri-utils",
+ "thiserror 2.0.20",
+ "tokio",
+ "tray-icon",
+ "url",
+ "webkit2gtk",
+ "webview2-com",
+ "window-vibrancy",
+ "windows 0.61.3",
+]
+
+[[package]]
+name = "tauri-build"
+version = "2.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bc9ce40b16101cb6ea63d3e221567affd1c3a9205f95d7bc574941a10636b632"
+dependencies = [
+ "anyhow",
+ "cargo_toml",
+ "dirs",
+ "glob",
+ "heck 0.5.0",
+ "json-patch",
+ "schemars 0.8.22",
+ "semver",
+ "serde",
+ "serde_json",
+ "tauri-utils",
+ "tauri-winres",
+ "walkdir",
+]
+
+[[package]]
+name = "tauri-codegen"
+version = "2.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08279169ff42f8fc45a1dbc9dcae888893ba95288142e5880c59b93a26d2cfc5"
+dependencies = [
+ "base64 0.22.1",
+ "brotli",
+ "ico",
+ "json-patch",
+ "plist",
+ "png 0.17.16",
+ "proc-macro2",
+ "quote",
+ "semver",
+ "serde",
+ "serde_json",
+ "sha2",
+ "syn 2.0.119",
+ "tauri-utils",
+ "thiserror 2.0.20",
+ "time",
+ "url",
+ "uuid",
+ "walkdir",
+]
+
+[[package]]
+name = "tauri-macros"
+version = "2.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e8b394794f399a421811d06966343e7933fcae92d59f5180b9388d1174497a45"
+dependencies = [
+ "heck 0.5.0",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+ "tauri-codegen",
+ "tauri-utils",
+]
+
+[[package]]
+name = "tauri-plugin"
+version = "2.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "74be5dd4bed9afbd145e5716b5fa2ec28cbc29c34ffa61c258c9273d896c8020"
+dependencies = [
+ "anyhow",
+ "glob",
+ "plist",
+ "schemars 0.8.22",
+ "serde",
+ "serde_json",
+ "tauri-utils",
+ "walkdir",
+]
+
+[[package]]
+name = "tauri-plugin-dialog"
+version = "2.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2d3c1dbe38037e7f590cdf2492594d5ceebe031e7bc7e827509b22a999d2940"
+dependencies = [
+ "log",
+ "raw-window-handle",
+ "rfd",
+ "serde",
+ "serde_json",
+ "tauri",
+ "tauri-plugin",
+ "tauri-plugin-fs",
+ "thiserror 2.0.20",
+ "url",
+]
+
+[[package]]
+name = "tauri-plugin-fs"
+version = "2.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b7ecc274121aca0c036a2b42d1cbe83d368d348f54e0bb8a735c2b1548e8f371"
+dependencies = [
+ "anyhow",
+ "dunce",
+ "glob",
+ "log",
+ "objc2-foundation",
+ "percent-encoding",
+ "schemars 0.8.22",
+ "serde",
+ "serde_json",
+ "serde_repr",
+ "tauri",
+ "tauri-plugin",
+ "tauri-utils",
+ "thiserror 2.0.20",
+ "toml 1.1.4+spec-1.1.0",
+ "url",
+]
+
+[[package]]
+name = "tauri-plugin-opener"
+version = "2.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "17e1bea14edce6b793a04e2417e3fd924b9bc4faae83cdee7d714156cceeed29"
+dependencies = [
+ "dunce",
+ "glob",
+ "objc2-app-kit",
+ "objc2-foundation",
+ "open",
+ "schemars 0.8.22",
+ "serde",
+ "serde_json",
+ "tauri",
+ "tauri-plugin",
+ "thiserror 2.0.20",
+ "url",
+ "windows 0.61.3",
+ "zbus",
+]
+
+[[package]]
+name = "tauri-runtime"
+version = "2.11.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b0b4bc95aed361b0019067d189a1174a603d460d0f6c72606512d59fc9c12ec8"
+dependencies = [
+ "cookie",
+ "dpi",
+ "gtk",
+ "http",
+ "jni",
+ "objc2",
+ "objc2-ui-kit",
+ "objc2-web-kit",
+ "raw-window-handle",
+ "serde",
+ "serde_json",
+ "tauri-utils",
+ "thiserror 2.0.20",
+ "url",
+ "webkit2gtk",
+ "webview2-com",
+ "windows 0.61.3",
+]
+
+[[package]]
+name = "tauri-runtime-wry"
+version = "2.11.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4e6fac707727b7a2f48e4ded90976324267371073edbb415ffb73bb0458d203f"
+dependencies = [
+ "gtk",
+ "http",
+ "jni",
+ "log",
+ "objc2",
+ "objc2-app-kit",
+ "once_cell",
+ "percent-encoding",
+ "raw-window-handle",
+ "softbuffer",
+ "tao",
+ "tauri-runtime",
+ "tauri-utils",
+ "url",
+ "webkit2gtk",
+ "webview2-com",
+ "windows 0.61.3",
+ "wry",
+]
+
+[[package]]
+name = "tauri-utils"
+version = "2.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3e176a18e67764923c4f1ce66f25ae4abe5f688384d5eb1a0fa6c77f3d90f887"
+dependencies = [
+ "anyhow",
+ "brotli",
+ "cargo_metadata",
+ "ctor",
+ "dom_query",
+ "dunce",
+ "glob",
+ "http",
+ "infer",
+ "json-patch",
+ "log",
+ "memchr",
+ "phf",
+ "plist",
+ "proc-macro2",
+ "quote",
+ "regex",
+ "schemars 0.8.22",
+ "semver",
+ "serde",
+ "serde-untagged",
+ "serde_json",
+ "serde_with",
+ "swift-rs",
+ "thiserror 2.0.20",
+ "toml 1.1.4+spec-1.1.0",
+ "url",
+ "urlpattern",
+ "uuid",
+ "walkdir",
+]
+
+[[package]]
+name = "tauri-winres"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cc65d45c68858bfe420dd29e834b5d15dbecf8a07a8a16cf4d532c7b1f69d4b6"
+dependencies = [
+ "dunce",
+ "embed-resource",
+ "toml 1.1.4+spec-1.1.0",
+]
+
+[[package]]
+name = "tempfile"
+version = "3.27.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
+dependencies = [
+ "fastrand",
+ "getrandom 0.4.3",
+ "once_cell",
+ "rustix",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "tendril"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5fed54709c5b3a53d09bb1c113ea4f5ceafd1e772ddcb0030a82e1d56c087b08"
+dependencies = [
+ "new_debug_unreachable",
+]
+
+[[package]]
+name = "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.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f"
+dependencies = [
+ "thiserror-impl 2.0.20",
+]
+
+[[package]]
+name = "thiserror-impl"
+version = "1.0.69"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "thiserror-impl"
+version = "2.0.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.4",
+]
+
+[[package]]
+name = "time"
+version = "0.3.55"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134"
+dependencies = [
+ "deranged",
+ "num-conv",
+ "powerfmt",
+ "serde_core",
+ "time-core",
+ "time-macros",
+]
+
+[[package]]
+name = "time-core"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109"
+
+[[package]]
+name = "time-macros"
+version = "0.2.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85"
+dependencies = [
+ "num-conv",
+ "time-core",
+]
+
+[[package]]
+name = "tinystr"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643"
+dependencies = [
+ "displaydoc",
+ "zerovec",
+]
+
+[[package]]
+name = "tinyvec"
+version = "1.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb4ebadaa0af04fab11ae01eb5f9fdb5f9c5b875506e210e71c07873528baa7f"
+dependencies = [
+ "tinyvec_macros",
+]
+
+[[package]]
+name = "tinyvec_macros"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
+
+[[package]]
+name = "tokio"
+version = "1.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "202caea871b69668250d242070849eb495be178ed697a3e98aebce5bc81a0bed"
+dependencies = [
+ "bytes",
+ "libc",
+ "mio",
+ "pin-project-lite",
+ "socket2",
+ "windows-sys 0.61.2",
+]
+
+[[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",
+ "pin-project-lite",
+ "tokio",
+]
+
+[[package]]
+name = "toml"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d"
+dependencies = [
+ "serde",
+ "serde_spanned 0.6.9",
+ "toml_datetime 0.6.3",
+ "toml_edit 0.20.2",
+]
+
+[[package]]
+name = "toml"
+version = "0.9.12+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863"
+dependencies = [
+ "indexmap 2.14.0",
+ "serde_core",
+ "serde_spanned 1.1.1",
+ "toml_datetime 0.7.5+spec-1.1.0",
+ "toml_parser",
+ "toml_writer",
+ "winnow 0.7.15",
+]
+
+[[package]]
+name = "toml"
+version = "1.1.4+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3aace63f4bbcdfc2c965b059de67119c89c4017a70d633be6c104910f67056f5"
+dependencies = [
+ "indexmap 2.14.0",
+ "serde_core",
+ "serde_spanned 1.1.1",
+ "toml_datetime 1.1.1+spec-1.1.0",
+ "toml_parser",
+ "toml_writer",
+ "winnow 1.0.4",
+]
+
+[[package]]
+name = "toml_datetime"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "toml_datetime"
+version = "0.7.5+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347"
+dependencies = [
+ "serde_core",
+]
+
+[[package]]
+name = "toml_datetime"
+version = "1.1.1+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7"
+dependencies = [
+ "serde_core",
+]
+
+[[package]]
+name = "toml_edit"
+version = "0.19.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421"
+dependencies = [
+ "indexmap 2.14.0",
+ "toml_datetime 0.6.3",
+ "winnow 0.5.40",
+]
+
+[[package]]
+name = "toml_edit"
+version = "0.20.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338"
+dependencies = [
+ "indexmap 2.14.0",
+ "serde",
+ "serde_spanned 0.6.9",
+ "toml_datetime 0.6.3",
+ "winnow 0.5.40",
+]
+
+[[package]]
+name = "toml_edit"
+version = "0.25.13+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6975367e4d2ef766d86af01ffad14b622fecc8d4357a998fbc4deb6e9bacaf9b"
+dependencies = [
+ "indexmap 2.14.0",
+ "toml_datetime 1.1.1+spec-1.1.0",
+ "toml_parser",
+ "winnow 1.0.4",
+]
+
+[[package]]
+name = "toml_parser"
+version = "1.1.3+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d38ac1cf9b95face32296c0a3ede1fdc270627c9d9c02a7274dd6d960dc4d56"
+dependencies = [
+ "winnow 1.0.4",
+]
+
+[[package]]
+name = "toml_writer"
+version = "1.1.2+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2"
+
+[[package]]
+name = "tower"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4"
+dependencies = [
+ "futures-core",
+ "futures-util",
+ "pin-project-lite",
+ "sync_wrapper",
+ "tokio",
+ "tower-layer",
+ "tower-service",
+]
+
+[[package]]
+name = "tower-http"
+version = "0.6.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840"
+dependencies = [
+ "bitflags 2.13.1",
+ "bytes",
+ "futures-util",
+ "http",
+ "http-body",
+ "pin-project-lite",
+ "tower",
+ "tower-layer",
+ "tower-service",
+ "url",
+]
+
+[[package]]
+name = "tower-layer"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
+
+[[package]]
+name = "tower-service"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
+
+[[package]]
+name = "tracing"
+version = "0.1.44"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
+dependencies = [
+ "pin-project-lite",
+ "tracing-attributes",
+ "tracing-core",
+]
+
+[[package]]
+name = "tracing-attributes"
+version = "0.1.31"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "tracing-core"
+version = "0.1.36"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
+dependencies = [
+ "once_cell",
+]
+
+[[package]]
+name = "tray-icon"
+version = "0.24.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "045979e3f037cd18ad1cb2a419dfda133c5c29c9f3453370079f2255d46c257e"
+dependencies = [
+ "crossbeam-channel",
+ "dirs",
+ "libappindicator",
+ "muda",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+ "objc2-foundation",
+ "once_cell",
+ "png 0.18.1",
+ "serde",
+ "thiserror 2.0.20",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "try-lock"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
+
+[[package]]
+name = "typeid"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c"
+
+[[package]]
+name = "typenum"
+version = "1.20.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
+
+[[package]]
+name = "uds_windows"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2f6fb2847f6742cd76af783a2a2c49e9375d0a111c7bef6f71cd9e738c72d6e"
+dependencies = [
+ "memoffset",
+ "tempfile",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "unic-char-property"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221"
+dependencies = [
+ "unic-char-range",
+]
+
+[[package]]
+name = "unic-char-range"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc"
+
+[[package]]
+name = "unic-common"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc"
+
+[[package]]
+name = "unic-ucd-ident"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e230a37c0381caa9219d67cf063aa3a375ffed5bf541a452db16e744bdab6987"
+dependencies = [
+ "unic-char-property",
+ "unic-char-range",
+ "unic-ucd-version",
+]
+
+[[package]]
+name = "unic-ucd-version"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4"
+dependencies = [
+ "unic-common",
+]
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
+
+[[package]]
+name = "unicode-segmentation"
+version = "1.13.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
+
+[[package]]
+name = "unicode-width"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
+
+[[package]]
+name = "url"
+version = "2.5.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
+dependencies = [
+ "form_urlencoded",
+ "idna",
+ "percent-encoding",
+ "serde",
+ "serde_derive",
+]
+
+[[package]]
+name = "urlpattern"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "70acd30e3aa1450bc2eece896ce2ad0d178e9c079493819301573dae3c37ba6d"
+dependencies = [
+ "regex",
+ "serde",
+ "unic-ucd-ident",
+ "url",
+]
+
+[[package]]
+name = "utf8_iter"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
+
+[[package]]
+name = "uuid"
+version = "1.25.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f053576934f05a761a402421fbbe3d425d9366f75f978806a037b3ca481abecc"
+dependencies = [
+ "getrandom 0.4.3",
+ "js-sys",
+ "serde_core",
+ "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 = "vswhom"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be979b7f07507105799e854203b470ff7c78a1639e330a58f183b5fea574608b"
+dependencies = [
+ "libc",
+ "vswhom-sys",
+]
+
+[[package]]
+name = "vswhom-sys"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fb067e4cbd1ff067d1df46c9194b5de0e98efd2810bbc95c5d5e5f25a3231150"
+dependencies = [
+ "cc",
+ "libc",
+]
+
+[[package]]
+name = "walkdir"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
+dependencies = [
+ "same-file",
+ "winapi-util",
+]
+
+[[package]]
+name = "want"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
+dependencies = [
+ "try-lock",
+]
+
+[[package]]
+name = "wasi"
+version = "0.11.1+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
+
+[[package]]
+name = "wasip2"
+version = "1.0.4+wasi-0.2.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
+dependencies = [
+ "wit-bindgen",
+]
+
+[[package]]
+name = "wasm-bindgen"
+version = "0.2.127"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b70935747edd64d89de3efa29d73789b806c15798f8e7dca4d8ac356b50ce70"
+dependencies = [
+ "cfg-if",
+ "once_cell",
+ "rustversion",
+ "wasm-bindgen-macro",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-futures"
+version = "0.4.77"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6b7777d5cc23d0e91404e53ce2d5e8ec7acae3026b16233dba62cd3246457950"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "wasm-bindgen-macro"
+version = "0.2.127"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "77775f8f3f7217702089053b94958f8f54061a3f663417df76e19cbdcca29bc1"
+dependencies = [
+ "quote",
+ "wasm-bindgen-macro-support",
+]
+
+[[package]]
+name = "wasm-bindgen-macro-support"
+version = "0.2.127"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e11d33f857dc2fb11b8bc75aee111aa9cbeb12cd9f25efd3d4c2a3dd4e235284"
+dependencies = [
+ "bumpalo",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-shared"
+version = "0.2.127"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ef64dbcc55df09c7e5a46182d181c2cfa3e925f3da937ea764728b4bbb9dcbf"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "wasm-streams"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb"
+dependencies = [
+ "futures-util",
+ "js-sys",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+]
+
+[[package]]
+name = "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.104"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c435338968042f4f59a557f690a253676d47ce13ceb55d70100e7facf6620a30"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "web_atoms"
+version = "0.2.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba8b815c1b593dc0baf78dd0f4fc8fdb2de53198fb1163738093e9a311c33fb3"
+dependencies = [
+ "phf",
+ "phf_codegen",
+ "string_cache",
+ "string_cache_codegen",
+]
+
+[[package]]
+name = "webkit2gtk"
+version = "2.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1027150013530fb2eaf806408df88461ae4815a45c541c8975e61d6f2fc4793"
+dependencies = [
+ "bitflags 1.3.2",
+ "cairo-rs",
+ "gdk",
+ "gdk-sys",
+ "gio",
+ "gio-sys",
+ "glib",
+ "glib-sys",
+ "gobject-sys",
+ "gtk",
+ "gtk-sys",
+ "javascriptcore-rs",
+ "libc",
+ "once_cell",
+ "soup3",
+ "webkit2gtk-sys",
+]
+
+[[package]]
+name = "webkit2gtk-sys"
+version = "2.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "916a5f65c2ef0dfe12fff695960a2ec3d4565359fdbb2e9943c974e06c734ea5"
+dependencies = [
+ "bitflags 1.3.2",
+ "cairo-sys-rs",
+ "gdk-sys",
+ "gio-sys",
+ "glib-sys",
+ "gobject-sys",
+ "gtk-sys",
+ "javascriptcore-rs-sys",
+ "libc",
+ "pkg-config",
+ "soup3-sys",
+ "system-deps",
+]
+
+[[package]]
+name = "webview2-com"
+version = "0.38.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7130243a7a5b33c54a444e54842e6a9e133de08b5ad7b5861cd8ed9a6a5bc96a"
+dependencies = [
+ "webview2-com-macros",
+ "webview2-com-sys",
+ "windows 0.61.3",
+ "windows-core 0.61.2",
+ "windows-implement",
+ "windows-interface",
+]
+
+[[package]]
+name = "webview2-com-macros"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67a921c1b6914c367b2b823cd4cde6f96beec77d30a939c8199bb377cf9b9b54"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "webview2-com-sys"
+version = "0.38.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "381336cfffd772377d291702245447a5251a2ffa5bad679c99e61bc48bacbf9c"
+dependencies = [
+ "thiserror 2.0.20",
+ "windows 0.61.3",
+ "windows-core 0.61.2",
+]
+
+[[package]]
+name = "wgpu"
+version = "30.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "527ccdf43dd5b2e8676eed9984ce00e2bbb0a1b85b70c1969dcb6cd2eb55ab9e"
+dependencies = [
+ "arrayvec",
+ "bitflags 2.13.1",
+ "bytemuck",
+ "cfg-if",
+ "cfg_aliases",
+ "document-features",
+ "hashbrown 0.17.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 = "30.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "14c018fce9b6270aa203c2fdd56f3cce996713534bd757e4ea58c8560b121f14"
+dependencies = [
+ "arrayvec",
+ "bit-set 0.10.0",
+ "bit-vec 0.9.1",
+ "bitflags 2.13.1",
+ "bytemuck",
+ "cfg_aliases",
+ "document-features",
+ "hashbrown 0.17.1",
+ "indexmap 2.14.0",
+ "log",
+ "naga",
+ "naga-types",
+ "once_cell",
+ "parking_lot",
+ "portable-atomic",
+ "profiling",
+ "raw-window-handle",
+ "rustc-hash 1.1.0",
+ "smallvec",
+ "thiserror 2.0.20",
+ "wgpu-core-deps-apple",
+ "wgpu-core-deps-emscripten",
+ "wgpu-core-deps-windows-linux-android",
+ "wgpu-hal",
+ "wgpu-naga-bridge",
+ "wgpu-types",
+]
+
+[[package]]
+name = "wgpu-core-deps-apple"
+version = "30.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "061f3d319a40d39d00b1ecc2c33b89fe21d4e6fe01859df3500a3a8ecccd6b68"
+dependencies = [
+ "wgpu-hal",
+]
+
+[[package]]
+name = "wgpu-core-deps-emscripten"
+version = "30.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d98b86cf4abf524a902dd35f18ca6a3f08fc2ae9847c8f10b48e30491b1f0b86"
+dependencies = [
+ "wgpu-hal",
+]
+
+[[package]]
+name = "wgpu-core-deps-windows-linux-android"
+version = "30.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7586165fd5f6d881cb9ce4bb71f40d6caab2c0f1837e3fc1d9788a197fb6004f"
+dependencies = [
+ "wgpu-hal",
+]
+
+[[package]]
+name = "wgpu-hal"
+version = "30.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6b7fb58561a792bc237628ba0792e332de418fefe145f13b5ed8201e6d52f58"
+dependencies = [
+ "android_system_properties",
+ "arrayvec",
+ "ash",
+ "bit-set 0.10.0",
+ "bitflags 2.13.1",
+ "block2",
+ "bytemuck",
+ "cfg-if",
+ "cfg_aliases",
+ "glow",
+ "glutin_wgl_sys",
+ "gpu-allocator",
+ "hashbrown 0.17.1",
+ "js-sys",
+ "khronos-egl",
+ "libc",
+ "libloading 0.8.9",
+ "log",
+ "naga",
+ "naga-types",
+ "ndk-sys",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+ "objc2-foundation",
+ "objc2-metal",
+ "objc2-quartz-core",
+ "once_cell",
+ "ordered-float",
+ "parking_lot",
+ "portable-atomic",
+ "portable-atomic-util",
+ "profiling",
+ "range-alloc",
+ "raw-window-handle",
+ "raw-window-metal",
+ "renderdoc-sys",
+ "smallvec",
+ "static_assertions",
+ "thiserror 2.0.20",
+ "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 = "30.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2f62e73117bb7a62bfd9c5a5841438a823f6566c6442a808ee269d2d055c081"
+dependencies = [
+ "naga",
+ "wgpu-types",
+]
+
+[[package]]
+name = "wgpu-types"
+version = "30.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "99dad6f1fbdbbdb4c278a6508b059d44688f5cebddf78d005a46a31340269286"
+dependencies = [
+ "bitflags 2.13.1",
+ "bytemuck",
+ "js-sys",
+ "log",
+ "naga-types",
+ "raw-window-handle",
+ "static_assertions",
+ "web-sys",
+]
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-util"
+version = "0.1.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
+dependencies = [
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+[[package]]
+name = "window-vibrancy"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9bec5a31f3f9362f2258fd0e9c9dd61a9ca432e7306cc78c444258f0dce9a9c"
+dependencies = [
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-foundation",
+ "raw-window-handle",
+ "windows-sys 0.59.0",
+ "windows-version",
+]
+
+[[package]]
+name = "windows"
+version = "0.54.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9252e5725dbed82865af151df558e754e4a3c2c30818359eb17465f1346a1b49"
+dependencies = [
+ "windows-core 0.54.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-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.54.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "12661b9c89351d684a50a8a643ce5f608e20243b9fb84687800163429f161d65"
+dependencies = [
+ "windows-result 0.1.2",
+ "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",
+ "windows-interface",
+ "windows-link 0.1.3",
+ "windows-result 0.3.4",
+ "windows-strings 0.4.2",
+]
+
+[[package]]
+name = "windows-core"
+version = "0.62.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
+dependencies = [
+ "windows-implement",
+ "windows-interface",
+ "windows-link 0.2.1",
+ "windows-result 0.4.1",
+ "windows-strings 0.5.1",
+]
+
+[[package]]
+name = "windows-future"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e"
+dependencies = [
+ "windows-core 0.61.2",
+ "windows-link 0.1.3",
+ "windows-threading 0.1.0",
+]
+
+[[package]]
+name = "windows-future"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb"
+dependencies = [
+ "windows-core 0.62.2",
+ "windows-link 0.2.1",
+ "windows-threading 0.2.1",
+]
+
+[[package]]
+name = "windows-implement"
+version = "0.60.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "windows-interface"
+version = "0.59.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "windows-link"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
+
+[[package]]
+name = "windows-link"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+
+[[package]]
+name = "windows-numerics"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1"
+dependencies = [
+ "windows-core 0.61.2",
+ "windows-link 0.1.3",
+]
+
+[[package]]
+name = "windows-numerics"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26"
+dependencies = [
+ "windows-core 0.62.2",
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "windows-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.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
+dependencies = [
+ "windows-link 0.1.3",
+]
+
+[[package]]
+name = "windows-result"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
+dependencies = [
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "windows-strings"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
+dependencies = [
+ "windows-link 0.1.3",
+]
+
+[[package]]
+name = "windows-strings"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
+dependencies = [
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.45.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
+dependencies = [
+ "windows-targets 0.42.2",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.59.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+dependencies = [
+ "windows-targets 0.52.6",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.60.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
+dependencies = [
+ "windows-targets 0.53.5",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.61.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
+dependencies = [
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
+dependencies = [
+ "windows_aarch64_gnullvm 0.42.2",
+ "windows_aarch64_msvc 0.42.2",
+ "windows_i686_gnu 0.42.2",
+ "windows_i686_msvc 0.42.2",
+ "windows_x86_64_gnu 0.42.2",
+ "windows_x86_64_gnullvm 0.42.2",
+ "windows_x86_64_msvc 0.42.2",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
+dependencies = [
+ "windows_aarch64_gnullvm 0.52.6",
+ "windows_aarch64_msvc 0.52.6",
+ "windows_i686_gnu 0.52.6",
+ "windows_i686_gnullvm 0.52.6",
+ "windows_i686_msvc 0.52.6",
+ "windows_x86_64_gnu 0.52.6",
+ "windows_x86_64_gnullvm 0.52.6",
+ "windows_x86_64_msvc 0.52.6",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.53.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
+dependencies = [
+ "windows-link 0.2.1",
+ "windows_aarch64_gnullvm 0.53.1",
+ "windows_aarch64_msvc 0.53.1",
+ "windows_i686_gnu 0.53.1",
+ "windows_i686_gnullvm 0.53.1",
+ "windows_i686_msvc 0.53.1",
+ "windows_x86_64_gnu 0.53.1",
+ "windows_x86_64_gnullvm 0.53.1",
+ "windows_x86_64_msvc 0.53.1",
+]
+
+[[package]]
+name = "windows-threading"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6"
+dependencies = [
+ "windows-link 0.1.3",
+]
+
+[[package]]
+name = "windows-threading"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37"
+dependencies = [
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "windows-version"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e4060a1da109b9d0326b7262c8e12c84df67cc0dbc9e33cf49e01ccc2eb63631"
+dependencies = [
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
+
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
+
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
+
+[[package]]
+name = "winnow"
+version = "0.5.40"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "winnow"
+version = "0.7.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945"
+
+[[package]]
+name = "winnow"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "winreg"
+version = "0.55.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb5a765337c50e9ec252c2069be9bf91c7df47afb103b642ba3a53bf8101be97"
+dependencies = [
+ "cfg-if",
+ "windows-sys 0.59.0",
+]
+
+[[package]]
+name = "wit-bindgen"
+version = "0.57.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
+
+[[package]]
+name = "writeable"
+version = "0.6.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
+
+[[package]]
+name = "wry"
+version = "0.55.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "186f9871daa55fd9c016578b810d149de58367113db7fb72b462d2323ce19514"
+dependencies = [
+ "base64 0.22.1",
+ "block2",
+ "cookie",
+ "crossbeam-channel",
+ "dirs",
+ "dom_query",
+ "dpi",
+ "dunce",
+ "gdkx11",
+ "gtk",
+ "http",
+ "javascriptcore-rs",
+ "jni",
+ "libc",
+ "ndk",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-foundation",
+ "objc2-ui-kit",
+ "objc2-web-kit",
+ "once_cell",
+ "percent-encoding",
+ "raw-window-handle",
+ "sha2",
+ "soup3",
+ "tao-macros",
+ "thiserror 2.0.20",
+ "url",
+ "webkit2gtk",
+ "webkit2gtk-sys",
+ "webview2-com",
+ "windows 0.61.3",
+ "windows-core 0.61.2",
+ "windows-version",
+ "x11-dl",
+]
+
+[[package]]
+name = "x11"
+version = "2.21.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "502da5464ccd04011667b11c435cb992822c2c0dbde1770c988480d312a0db2e"
+dependencies = [
+ "libc",
+ "pkg-config",
+]
+
+[[package]]
+name = "x11-dl"
+version = "2.21.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f"
+dependencies = [
+ "libc",
+ "once_cell",
+ "pkg-config",
+]
+
+[[package]]
+name = "xml-rs"
+version = "0.8.29"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e450f9b2ed1dff33c94c12589a87338689467b9c4f5d8a5710bd09a847d2c8a7"
+
+[[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.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+ "synstructure",
+]
+
+[[package]]
+name = "zbus"
+version = "5.19.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5db4be7c075cb421e4b7ee645541604239bd243ba7c357511f4ff3a74b555907"
+dependencies = [
+ "async-broadcast",
+ "async-executor",
+ "async-io",
+ "async-lock",
+ "async-process",
+ "async-recursion",
+ "async-task",
+ "async-trait",
+ "blocking",
+ "enumflags2",
+ "event-listener",
+ "futures-core",
+ "futures-lite",
+ "hex",
+ "libc",
+ "ordered-stream",
+ "rustix",
+ "serde",
+ "serde_repr",
+ "tracing",
+ "uds_windows",
+ "uuid",
+ "windows-sys 0.61.2",
+ "winnow 1.0.4",
+ "zbus_macros",
+ "zbus_names",
+ "zvariant",
+]
+
+[[package]]
+name = "zbus_macros"
+version = "5.19.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2990635d09ade6df1868f72f8cac69a876a90981e8bd3c40b1be413f8dc88f40"
+dependencies = [
+ "proc-macro-crate 3.5.0",
+ "proc-macro2",
+ "quote",
+ "syn 3.0.4",
+ "zbus_names",
+ "zvariant",
+ "zvariant_utils",
+]
+
+[[package]]
+name = "zbus_names"
+version = "4.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d8bf88b4a3ff53e883001e0e0115b297a9d53c31b9c1edd2bfdd853e3428624e"
+dependencies = [
+ "serde",
+ "winnow 1.0.4",
+ "zvariant",
+]
+
+[[package]]
+name = "zcheapstr"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d1afec51604565183aeb5c54c20aeab286120d4e4460f7f76e3e8bb8c0d99473"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "zerocopy"
+version = "0.8.56"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "556764e583adb45a9f8d413c2a147fa7e8d821e48e12b14fd560b607998b75eb"
+dependencies = [
+ "zerocopy-derive",
+]
+
+[[package]]
+name = "zerocopy-derive"
+version = "0.8.56"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2ab42fc20575779bd240faa45f94a74256f755c0fa9e89f0ede20d91d0cdfc1"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "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.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+ "synstructure",
+]
+
+[[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.4",
+]
+
+[[package]]
+name = "zmij"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
+
+[[package]]
+name = "zvariant"
+version = "5.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c1d34c27cc6cdd1f458427519dd6b8612f7b7e3f7b9a0b2355d041dda9869147"
+dependencies = [
+ "endi",
+ "enumflags2",
+ "serde",
+ "winnow 1.0.4",
+ "zcheapstr",
+ "zvariant_derive",
+ "zvariant_utils",
+]
+
+[[package]]
+name = "zvariant_derive"
+version = "5.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "864155e69b4352db0c7f374917bf45d1e0c8d17659c8b3dbf9795f3673f8c497"
+dependencies = [
+ "proc-macro-crate 3.5.0",
+ "proc-macro2",
+ "quote",
+ "syn 3.0.4",
+ "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.4",
+ "winnow 1.0.4",
+]
diff --git a/desktop/src-tauri/Cargo.toml b/desktop/src-tauri/Cargo.toml
index d0d04b8f..eecdfbae 100644
--- a/desktop/src-tauri/Cargo.toml
+++ b/desktop/src-tauri/Cargo.toml
@@ -33,6 +33,11 @@ rusqlite = { version = "0.40.2", features = ["bundled"] }
cpal = "0.16"
memmap2 = "0.9"
+# Whisper model downloads. Blocking on purpose: downloads run on a
+# spawn_blocking thread, and an async HTTP stack would be a second runtime's
+# worth of dependencies for one GET.
+ureq = "2"
+
[profile.release]
opt-level = 3
lto = true
diff --git a/desktop/src-tauri/src/export.rs b/desktop/src-tauri/src/export.rs
index 8ceba907..c2ea5c36 100644
--- a/desktop/src-tauri/src/export.rs
+++ b/desktop/src-tauri/src/export.rs
@@ -70,6 +70,10 @@ pub struct ExportClip {
/// Clockwise rotation in degrees.
#[serde(default)]
pub rotation: f64,
+ /// Blend strength over the layers beneath, 1 being solid. Defaulted for
+ /// requests from a UI that predates it.
+ #[serde(default = "unity")]
+ pub opacity: f64,
/// The source's pixel size, when the UI knows it. What makes an
/// aspect-correct decode possible - absent, the frame is filled edge to
/// edge the way it always was.
@@ -433,6 +437,7 @@ fn build_timeline(
offset_y: clip.offset_y,
rotation: clip.rotation,
};
+ engine_clip.opacity = clip.opacity.clamp(0.0, 1.0) as f32;
if let Some(id) = timeline.add_clip(tracks[clip.track], engine_clip) {
if clip.kind == "image" {
diff --git a/desktop/src-tauri/src/lib.rs b/desktop/src-tauri/src/lib.rs
index fb08e347..e4170f38 100644
--- a/desktop/src-tauri/src/lib.rs
+++ b/desktop/src-tauri/src/lib.rs
@@ -10,6 +10,7 @@
pub mod export;
mod playback;
mod projects;
+mod transcribe;
use serde::Serialize;
@@ -444,6 +445,12 @@ pub fn run() {
app.manage(ExportState(std::sync::Arc::new(
std::sync::atomic::AtomicBool::new(false),
)));
+ app.manage(transcribe::DownloadState(std::sync::Arc::new(
+ std::sync::atomic::AtomicBool::new(false),
+ )));
+ app.manage(transcribe::TranscribeState(std::sync::Arc::new(
+ std::sync::Mutex::new(None),
+ )));
Ok(())
})
.plugin(tauri_plugin_opener::init())
@@ -466,7 +473,14 @@ pub fn run() {
recent_projects,
forget_project,
export_project,
- cancel_export
+ cancel_export,
+ transcribe::transcriber_status,
+ transcribe::set_transcriber_binary,
+ transcribe::download_transcriber_model,
+ transcribe::cancel_model_download,
+ transcribe::delete_transcriber_model,
+ transcribe::transcribe_clip,
+ transcribe::cancel_transcribe
])
.run(tauri::generate_context!())
.expect("error while running tauri application");
diff --git a/desktop/src-tauri/src/transcribe.rs b/desktop/src-tauri/src/transcribe.rs
new file mode 100644
index 00000000..6cb3c6e2
--- /dev/null
+++ b/desktop/src-tauri/src/transcribe.rs
@@ -0,0 +1,599 @@
+//! Whisper.cpp transcription: audio in, timed caption segments out.
+//!
+//! The same shape as every other media operation in this app: spawn a child
+//! process, feed it a file, read a file back, kill it to cancel. Whisper gets
+//! that treatment for the reasons FFmpeg does (see
+//! `engine/docs/decisions/0002`): no linkage, no unsafe, and cancellation is
+//! `Child::kill`.
+//!
+//! Three pieces:
+//!
+//! 1. **The binary.** `whisper-cli` is not bundled (yet). It is looked for in
+//! the app data folder, beside the executable, then on PATH - and the user
+//! can point at a copy from Settings, which is remembered in
+//! `transcriber.json` in the config directory.
+//! 2. **Models.** Downloaded on demand from Hugging Face into the app data
+//! folder as plain `.bin` files, streamed with progress events, written to
+//! a `.part` and renamed - a torn download must never look usable.
+//! 3. **Transcription.** FFmpeg (the bundled one) extracts the clip's window
+//! as 16 kHz mono WAV - the input whisper wants - then `whisper-cli`
+//! writes JSON, which is parsed into segments relative to the window.
+//!
+//! This lives in the host rather than `relay-media` for now: the engine has
+//! no caption concept, and model downloads certainly do not belong there. If
+//! the engine grows an audio-analysis seam, the runner half graduates.
+
+use std::io::Read;
+use std::path::{Path, PathBuf};
+use std::process::{Child, Command, Stdio};
+use std::sync::atomic::{AtomicBool, Ordering};
+use std::sync::{Arc, Mutex};
+
+use serde::Serialize;
+use tauri::{Emitter, Manager};
+
+/// One downloadable Whisper model. Sizes are approximate, for progress bars
+/// when the server declines to send a Content-Length.
+struct KnownModel {
+ id: &'static str,
+ label: &'static str,
+ /// One line for the settings row: what this size trades away.
+ blurb: &'static str,
+ approx_bytes: u64,
+ english_only: bool,
+}
+
+/// The models the settings panel offers, fastest first.
+///
+/// All from the official `ggerganov/whisper.cpp` conversions. Nothing bigger
+/// than `small`: `medium` is 1.5 GB and minutes-per-minute on CPU, which is
+/// the opposite of what this feature is for.
+const KNOWN_MODELS: &[KnownModel] = &[
+ KnownModel {
+ id: "tiny.en",
+ label: "Tiny (English)",
+ blurb: "Fastest draft. Rough on names and punctuation.",
+ approx_bytes: 77_700_000,
+ english_only: true,
+ },
+ KnownModel {
+ id: "tiny",
+ label: "Tiny (Multilingual)",
+ blurb: "Fastest draft, any language.",
+ approx_bytes: 77_700_000,
+ english_only: false,
+ },
+ KnownModel {
+ id: "base.en",
+ label: "Base (English)",
+ blurb: "The sweet spot: solid captions at ~10x realtime.",
+ approx_bytes: 147_400_000,
+ english_only: true,
+ },
+ KnownModel {
+ id: "base",
+ label: "Base (Multilingual)",
+ blurb: "Solid captions, any language.",
+ approx_bytes: 147_500_000,
+ english_only: false,
+ },
+ KnownModel {
+ id: "small.en",
+ label: "Small (English)",
+ blurb: "Noticeably better wording; a few times slower.",
+ approx_bytes: 487_600_000,
+ english_only: true,
+ },
+ KnownModel {
+ id: "small",
+ label: "Small (Multilingual)",
+ blurb: "Best quality offered, any language.",
+ approx_bytes: 487_600_000,
+ english_only: false,
+ },
+];
+
+fn known(id: &str) -> Option<&'static KnownModel> {
+ KNOWN_MODELS.iter().find(|model| model.id == id)
+}
+
+fn model_url(id: &str) -> String {
+ format!("https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-{id}.bin")
+}
+
+/// Where downloaded models live: `<app data>/whisper-models/ggml-<id>.bin`.
+fn models_dir(app: &tauri::AppHandle) -> Result<PathBuf, String> {
+ let dir = app
+ .path()
+ .app_data_dir()
+ .map_err(|error| format!("could not locate the data directory: {error}"))?
+ .join("whisper-models");
+ std::fs::create_dir_all(&dir)
+ .map_err(|error| format!("could not create {}: {error}", dir.display()))?;
+ Ok(dir)
+}
+
+fn model_file(app: &tauri::AppHandle, id: &str) -> Result<PathBuf, String> {
+ // Ids come from our own table; anything else is a bug, not input.
+ known(id).ok_or_else(|| format!("unknown model {id:?}"))?;
+ Ok(models_dir(app)?.join(format!("ggml-{id}.bin")))
+}
+
+/// The remembered settings: today just where `whisper-cli` is.
+fn config_file(app: &tauri::AppHandle) -> Result<PathBuf, String> {
+ let dir = app
+ .path()
+ .app_config_dir()
+ .map_err(|error| format!("could not locate the config directory: {error}"))?;
+ std::fs::create_dir_all(&dir)
+ .map_err(|error| format!("could not create {}: {error}", dir.display()))?;
+ Ok(dir.join("transcriber.json"))
+}
+
+fn remembered_binary(app: &tauri::AppHandle) -> Option<PathBuf> {
+ let file = config_file(app).ok()?;
+ let text = std::fs::read_to_string(file).ok()?;
+ let value: serde_json::Value = serde_json::from_str(&text).ok()?;
+ let path = PathBuf::from(value.get("binary")?.as_str()?);
+ path.is_file().then_some(path)
+}
+
+/// Finds `whisper-cli`, checking the remembered choice first, then the app
+/// data folder, beside the executable, and finally PATH. `main` is accepted
+/// too - the name the tool shipped under before it was renamed.
+fn find_binary(app: &tauri::AppHandle) -> Option<PathBuf> {
+ if let Some(path) = remembered_binary(app) {
+ return Some(path);
+ }
+
+ let names: &[&str] = if cfg!(windows) {
+ &["whisper-cli.exe", "whisper-main.exe", "main.exe"]
+ } else {
+ &["whisper-cli", "whisper-main"]
+ };
+
+ let mut directories: Vec<PathBuf> = Vec::new();
+ if let Ok(data) = app.path().app_data_dir() {
+ directories.push(data.join("whisper"));
+ }
+ if let Ok(resources) = app.path().resource_dir() {
+ directories.push(resources.join("whisper"));
+ }
+ if let Ok(executable) = std::env::current_exe() {
+ if let Some(parent) = executable.parent() {
+ directories.push(parent.to_path_buf());
+ }
+ }
+
+ for directory in &directories {
+ for name in names {
+ let candidate = directory.join(name);
+ if candidate.is_file() {
+ return Some(candidate);
+ }
+ }
+ }
+
+ // PATH last, and only the canonical name: a bare `main` on PATH could be
+ // absolutely anything.
+ let path = std::env::var_os("PATH")?;
+ for directory in std::env::split_paths(&path) {
+ let candidate = directory.join(if cfg!(windows) { "whisper-cli.exe" } else { "whisper-cli" });
+ if candidate.is_file() {
+ return Some(candidate);
+ }
+ }
+ None
+}
+
+#[derive(Serialize)]
+#[serde(rename_all = "camelCase")]
+pub struct ModelStatus {
+ id: String,
+ label: String,
+ blurb: String,
+ english_only: bool,
+ /// Approximate download size in bytes, for display.
+ size_bytes: u64,
+ downloaded: bool,
+}
+
+#[derive(Serialize)]
+#[serde(rename_all = "camelCase")]
+pub struct TranscriberStatus {
+ /// Where `whisper-cli` was found, or null when it was not.
+ binary: Option<String>,
+ /// Where models are stored, so the settings panel can say so.
+ models_dir: String,
+ models: Vec<ModelStatus>,
+}
+
+/// What the settings panel shows: binary location and per-model state.
+#[tauri::command]
+pub fn transcriber_status(app: tauri::AppHandle) -> Result<TranscriberStatus, String> {
+ let dir = models_dir(&app)?;
+ Ok(TranscriberStatus {
+ binary: find_binary(&app).map(|path| path.to_string_lossy().into_owned()),
+ models_dir: dir.to_string_lossy().into_owned(),
+ models: KNOWN_MODELS
+ .iter()
+ .map(|model| ModelStatus {
+ id: model.id.to_owned(),
+ label: model.label.to_owned(),
+ blurb: model.blurb.to_owned(),
+ english_only: model.english_only,
+ size_bytes: model.approx_bytes,
+ downloaded: dir.join(format!("ggml-{}.bin", model.id)).is_file(),
+ })
+ .collect(),
+ })
+}
+
+/// Remembers a user-chosen `whisper-cli` after checking it exists.
+#[tauri::command]
+pub fn set_transcriber_binary(app: tauri::AppHandle, path: String) -> Result<TranscriberStatus, String> {
+ if !Path::new(&path).is_file() {
+ return Err(format!("{path} is not a file"));
+ }
+ let file = config_file(&app)?;
+ let document = serde_json::json!({ "binary": path });
+ std::fs::write(&file, serde_json::to_string_pretty(&document).unwrap_or_default())
+ .map_err(|error| format!("could not write {}: {error}", file.display()))?;
+ transcriber_status(app)
+}
+
+/// Progress for one model download, emitted as `transcriber://download`.
+#[derive(Clone, Serialize)]
+#[serde(rename_all = "camelCase")]
+struct DownloadProgress {
+ id: String,
+ received: u64,
+ /// Content-Length when the server sent one, the table estimate otherwise.
+ total: u64,
+ done: bool,
+}
+
+/// The stop flag for the one model download that can run at a time.
+pub struct DownloadState(pub Arc<AtomicBool>);
+
+/// Streams one model from Hugging Face into the models folder.
+///
+/// Written to `<file>.part` and renamed at the end: a download killed halfway
+/// must never be mistaken for a model, because whisper would fail on it with
+/// a message that blames the model rather than the download.
+#[tauri::command]
+pub async fn download_transcriber_model(
+ app: tauri::AppHandle,
+ state: tauri::State<'_, DownloadState>,
+ id: String,
+) -> Result<(), String> {
+ let cancel = Arc::clone(&state.0);
+ cancel.store(false, Ordering::Relaxed);
+
+ tauri::async_runtime::spawn_blocking(move || {
+ let destination = model_file(&app, &id)?;
+ if destination.is_file() {
+ return Ok(());
+ }
+ let estimate = known(&id).map(|model| model.approx_bytes).unwrap_or(0);
+
+ let response = ureq::get(&model_url(&id))
+ .call()
+ .map_err(|error| format!("download failed: {error}"))?;
+ let total = response
+ .header("Content-Length")
+ .and_then(|value| value.parse::<u64>().ok())
+ .unwrap_or(estimate);
+
+ let partial = destination.with_extension("bin.part");
+ let mut file = std::fs::File::create(&partial)
+ .map_err(|error| format!("could not create {}: {error}", partial.display()))?;
+
+ let mut reader = response.into_reader();
+ let mut buffer = [0u8; 64 * 1024];
+ let mut received: u64 = 0;
+ let mut last_report: u64 = 0;
+
+ loop {
+ if cancel.load(Ordering::Relaxed) {
+ drop(file);
+ let _ = std::fs::remove_file(&partial);
+ return Err("download cancelled".to_owned());
+ }
+ let read = reader
+ .read(&mut buffer)
+ .map_err(|error| format!("download interrupted: {error}"))?;
+ if read == 0 {
+ break;
+ }
+ std::io::Write::write_all(&mut file, &buffer[..read])
+ .map_err(|error| format!("could not write model: {error}"))?;
+ received += read as u64;
+
+ // Every 2 MB, not every chunk: the event crosses the IPC bridge.
+ if received - last_report >= 2 * 1024 * 1024 {
+ last_report = received;
+ let _ = app.emit(
+ "transcriber://download",
+ DownloadProgress { id: id.clone(), received, total, done: false },
+ );
+ }
+ }
+
+ drop(file);
+ std::fs::rename(&partial, &destination)
+ .map_err(|error| format!("could not finish {}: {error}", destination.display()))?;
+ let _ = app.emit(
+ "transcriber://download",
+ DownloadProgress { id: id.clone(), received, total: received.max(total), done: true },
+ );
+ Ok(())
+ })
+ .await
+ .map_err(|error| format!("download task failed: {error}"))?
+}
+
+/// Asks the running download to stop. Idle is a harmless no-op.
+#[tauri::command]
+pub fn cancel_model_download(state: tauri::State<'_, DownloadState>) {
+ state.0.store(true, Ordering::Relaxed);
+}
+
+/// Removes a downloaded model file.
+#[tauri::command]
+pub fn delete_transcriber_model(app: tauri::AppHandle, id: String) -> Result<(), String> {
+ let file = model_file(&app, &id)?;
+ std::fs::remove_file(&file)
+ .map_err(|error| format!("could not remove {}: {error}", file.display()))
+}
+
+/// One caption, in seconds relative to the transcribed window's start.
+#[derive(Serialize)]
+#[serde(rename_all = "camelCase")]
+pub struct Segment {
+ start: f64,
+ end: f64,
+ text: String,
+}
+
+/// The child being run, so a cancel can kill it mid-transcription.
+pub struct TranscribeState(pub Arc<Mutex<Option<Child>>>);
+
+/// Runs `command`, parking the child in `slot` so `cancel_transcribe` can
+/// reach it, and waits for it to finish.
+fn run_killable(
+ mut command: Command,
+ slot: &Arc<Mutex<Option<Child>>>,
+ what: &str,
+) -> Result<(), String> {
+ let child = command
+ .stdin(Stdio::null())
+ .stdout(Stdio::null())
+ .stderr(Stdio::piped())
+ .spawn()
+ .map_err(|error| format!("could not run {what}: {error}"))?;
+
+ *slot.lock().expect("transcribe slot poisoned") = Some(child);
+
+ // Wait without holding the lock, or cancel could never take it to kill.
+ let mut stderr_tail = String::new();
+ let status = loop {
+ let mut guard = slot.lock().expect("transcribe slot poisoned");
+ let Some(child) = guard.as_mut() else {
+ return Err("transcription cancelled".to_owned());
+ };
+ match child.try_wait() {
+ Ok(Some(status)) => {
+ if let Some(mut stderr) = child.stderr.take() {
+ let _ = stderr.read_to_string(&mut stderr_tail);
+ }
+ *guard = None;
+ break status;
+ }
+ Ok(None) => {}
+ Err(error) => {
+ *guard = None;
+ return Err(format!("{what} failed: {error}"));
+ }
+ }
+ drop(guard);
+ std::thread::sleep(std::time::Duration::from_millis(60));
+ };
+
+ if status.success() {
+ Ok(())
+ } else {
+ let tail: String = stderr_tail.lines().rev().take(3).collect::<Vec<_>>().join(" / ");
+ Err(format!("{what} exited with {status}: {tail}"))
+ }
+}
+
+/// Extracts a window of `source` as 16 kHz mono WAV - the input whisper wants.
+fn extract_wav(
+ source: &str,
+ start: f64,
+ duration: f64,
+ destination: &Path,
+ slot: &Arc<Mutex<Option<Child>>>,
+) -> Result<(), String> {
+ let mut command = Command::new(relay_media::ffmpeg());
+ command
+ .args(["-hide_banner", "-nostdin", "-loglevel", "error", "-y"])
+ .args(["-ss", &format!("{start:.6}")])
+ .args(["-t", &format!("{duration:.6}")])
+ .args(["-i", source])
+ .args(["-vn", "-ac", "1", "-ar", "16000", "-c:a", "pcm_s16le"])
+ .arg(destination);
+ run_killable(command, slot, "ffmpeg")
+}
+
+#[derive(serde::Deserialize)]
+#[serde(rename_all = "camelCase")]
+pub struct TranscribeRequest {
+ /// The media file to transcribe.
+ pub path: String,
+ /// Seconds into the file where the clip's source window begins.
+ pub source_start: f64,
+ /// How much source the clip covers, in seconds (`duration * speed`).
+ pub window: f64,
+ /// Whisper language code, or "auto".
+ pub language: String,
+ /// Which model to use, e.g. "base.en".
+ pub model_id: String,
+}
+
+/// Transcribes one clip's audio window into caption segments.
+///
+/// Timestamps come back relative to the window: 0 is `source_start`. The
+/// frontend owns the clip, so the map onto the timeline (divide by speed, add
+/// the clip's start) happens there, next to the numbers it needs.
+#[tauri::command]
+pub async fn transcribe_clip(
+ app: tauri::AppHandle,
+ state: tauri::State<'_, TranscribeState>,
+ request: TranscribeRequest,
+) -> Result<Vec<Segment>, String> {
+ let slot = Arc::clone(&state.0);
+ tauri::async_runtime::spawn_blocking(move || run_transcription(&app, &slot, &request))
+ .await
+ .map_err(|error| format!("transcribe task failed: {error}"))?
+}
+
+/// Kills the running transcription's child process, if any.
+#[tauri::command]
+pub fn cancel_transcribe(state: tauri::State<'_, TranscribeState>) {
+ let mut guard = state.0.lock().expect("transcribe slot poisoned");
+ if let Some(mut child) = guard.take() {
+ let _ = child.kill();
+ let _ = child.wait();
+ }
+}
+
+fn run_transcription(
+ app: &tauri::AppHandle,
+ slot: &Arc<Mutex<Option<Child>>>,
+ request: &TranscribeRequest,
+) -> Result<Vec<Segment>, String> {
+ let binary = find_binary(app).ok_or_else(|| {
+ "whisper-cli was not found - point Settings > Transcriber at it".to_owned()
+ })?;
+ let model = model_file(app, &request.model_id)?;
+ if !model.is_file() {
+ return Err(format!(
+ "model {} is not downloaded - see Settings > Transcriber",
+ request.model_id
+ ));
+ }
+ if !(request.window > 0.0) {
+ return Err("nothing to transcribe: the clip covers no time".to_owned());
+ }
+
+ // Unique scratch names, so two clips transcribed back to back (or a
+ // crashed run's leftovers) can never collide.
+ let nonce = std::time::SystemTime::now()
+ .duration_since(std::time::UNIX_EPOCH)
+ .map(|elapsed| elapsed.as_millis())
+ .unwrap_or(0);
+ let scratch = std::env::temp_dir();
+ let wav = scratch.join(format!("relay-transcribe-{nonce}.wav"));
+ let out_base = scratch.join(format!("relay-transcribe-{nonce}"));
+ let json = scratch.join(format!("relay-transcribe-{nonce}.json"));
+
+ let result = (|| {
+ extract_wav(&request.path, request.source_start, request.window, &wav, slot)?;
+
+ let threads = std::thread::available_parallelism()
+ .map(|count| count.get().min(8))
+ .unwrap_or(4);
+
+ let mut command = Command::new(&binary);
+ command
+ .arg("-m")
+ .arg(&model)
+ .arg("-f")
+ .arg(&wav)
+ .args(["-l", &request.language])
+ .args(["-t", &threads.to_string()])
+ // JSON to a file: stdout is progress noise, the file is the data.
+ .arg("-oj")
+ .arg("-of")
+ .arg(&out_base)
+ .args(["-np"]);
+ run_killable(command, slot, "whisper-cli")?;
+
+ let text = std::fs::read_to_string(&json)
+ .map_err(|error| format!("whisper wrote no output: {error}"))?;
+ parse_whisper_json(&text)
+ })();
+
+ // Scratch files are meaningless the moment we have segments (or gave up).
+ let _ = std::fs::remove_file(&wav);
+ let _ = std::fs::remove_file(&json);
+
+ result
+}
+
+/// Pulls segments out of whisper-cli's `-oj` JSON.
+///
+/// Only `offsets` (integer milliseconds) are read. The pretty `timestamps`
+/// strings next to them are for subtitle files, and parsing clocks out of
+/// strings when the integers sit right there would be self-harm.
+fn parse_whisper_json(text: &str) -> Result<Vec<Segment>, String> {
+ let root: serde_json::Value =
+ serde_json::from_str(text).map_err(|error| format!("whisper output was not json: {error}"))?;
+ let entries = root
+ .get("transcription")
+ .and_then(|value| value.as_array())
+ .ok_or_else(|| "whisper output had no `transcription` array".to_owned())?;
+
+ Ok(entries
+ .iter()
+ .filter_map(|entry| {
+ let offsets = entry.get("offsets")?;
+ let start = offsets.get("from")?.as_u64()? as f64 / 1000.0;
+ let end = offsets.get("to")?.as_u64()? as f64 / 1000.0;
+ let text = entry.get("text")?.as_str()?.trim().to_owned();
+ // Whisper marks silence and music with bracketed stage directions
+ // ("[BLANK_AUDIO]", "(upbeat music)"). Those are not captions.
+ if text.is_empty() || (text.starts_with('[') && text.ends_with(']')) {
+ return None;
+ }
+ (end > start).then_some(Segment { start, end, text })
+ })
+ .collect())
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+
+ #[test]
+ fn parses_whisper_segments() {
+ let json = r#"{"transcription":[
+ {"offsets":{"from":0,"to":2500},"text":" Hello there."},
+ {"offsets":{"from":2500,"to":2500},"text":"degenerate"},
+ {"offsets":{"from":3000,"to":4000},"text":"[BLANK_AUDIO]"},
+ {"offsets":{"from":4000,"to":6000},"text":" Second line "}
+ ]}"#;
+ let segments = parse_whisper_json(json).expect("parses");
+ assert_eq!(segments.len(), 2);
+ assert_eq!(segments[0].text, "Hello there.");
+ assert_eq!(segments[0].start, 0.0);
+ assert_eq!(segments[0].end, 2.5);
+ assert_eq!(segments[1].text, "Second line");
+ }
+
+ #[test]
+ fn refuses_output_with_no_transcription() {
+ assert!(parse_whisper_json("{}").is_err());
+ assert!(parse_whisper_json("not json").is_err());
+ }
+
+ #[test]
+ fn every_known_model_has_a_url_and_file_name() {
+ for model in KNOWN_MODELS {
+ assert!(model_url(model.id).ends_with(&format!("ggml-{}.bin", model.id)));
+ assert!(model.approx_bytes > 0);
+ }
+ }
+}
diff --git a/desktop/src/App.tsx b/desktop/src/App.tsx
index 9f6274f7..993fe419 100644
--- a/desktop/src/App.tsx
+++ b/desktop/src/App.tsx
@@ -11,6 +11,7 @@ import { ALL_MEDIA, MediaBin, type BinFilter } from "./components/MediaBin";
import { Preview, type PreviewSource, type TextOverlay } from "./components/Preview";
import { Resizer } from "./components/Resizer";
import { RightPanel, type RightTab } from "./components/RightPanel";
+import { SettingsDialog } from "./components/SettingsDialog";
import { StartScreen, type ProjectSession } from "./components/StartScreen";
import { TitleBar } from "./components/TitleBar";
import { TimelinePanel, resolveDrop, type Tool } from "./components/TimelinePanel";
@@ -21,8 +22,10 @@ import {
probeMedia,
readMediaBytes,
saveProject,
+ transcribeClip,
type ExportClip,
} from "./lib/engine";
+import { getTranscriberLanguage, getTranscriberModel } from "./lib/settings";
import {
addClip,
addMedia,
@@ -55,6 +58,7 @@ import {
updateClip,
trimClip,
whyNotMerge,
+ type Clip,
type MediaItem,
type Project,
} from "./lib/project";
@@ -337,6 +341,139 @@ function Editor({
return () => window.clearTimeout(timer);
}, [toast]);
+ const [settingsOpen, setSettingsOpen] = useState(false);
+ const [transcribing, setTranscribing] = useState(false);
+
+ /**
+ * Transcribes one clip's audio and lays the result out as text clips on a
+ * "Captions" track (created on first use, reused after).
+ *
+ * The clip's identity is captured when the menu item is built, so the
+ * timestamps map is computed against exactly the clip that was clicked -
+ * even if the selection has moved on by the time whisper finishes. Segment
+ * times come back relative to the source window; dividing by speed and
+ * adding the clip's start is the same affine map the preview and exporter
+ * use, run in reverse.
+ */
+ const autoCaption = useCallback(
+ async (clip: Clip, media: MediaItem) => {
+ setTranscribing(true);
+ setToast({ id: Date.now(), message: "Transcribing...", failed: false });
+ try {
+ const segments = await transcribeClip({
+ path: media.path,
+ sourceStart: clip.sourceStart,
+ window: clip.duration * clip.speed,
+ language: getTranscriberLanguage(),
+ modelId: getTranscriberModel(),
+ });
+
+ if (segments.length === 0) {
+ setToast({ id: Date.now(), message: "No speech found", failed: false });
+ return;
+ }
+
+ setProject((current) => {
+ let next = current;
+ let trackId = next.tracks.find((track) => track.name === "Captions")?.id ?? "";
+ if (!trackId) {
+ const grown = addTrack(next);
+ next = renameTrack(grown.project, grown.trackId, "Captions");
+ trackId = grown.trackId;
+ }
+
+ for (const segment of segments) {
+ const start = clip.start + segment.start / clip.speed;
+ const duration = Math.max(0.4, (segment.end - segment.start) / clip.speed);
+ const made = addTextClip(next, {
+ trackId,
+ start,
+ // Caption-sized and lower-third, not title-sized and centred.
+ style: { content: segment.text, fontSize: 0.045 },
+ });
+ next = made.clipId
+ ? updateClip(made.project, made.clipId, { duration, offsetY: 0.38 })
+ : made.project;
+ }
+ return next;
+ });
+ setToast({
+ id: Date.now(),
+ message: `Added ${segments.length} caption${segments.length === 1 ? "" : "s"}`,
+ failed: false,
+ });
+ } catch (cause) {
+ setToast({ id: Date.now(), message: String(cause), failed: true });
+ } finally {
+ setTranscribing(false);
+ }
+ },
+ [],
+ );
+
+ /**
+ * The audio/video tools dropdown in the timeline tray.
+ *
+ * The same operations the clip context menu offers, but discoverable: a
+ * right-click menu only teaches people who already right-click. Items are
+ * disabled rather than hidden, so the tool's existence does not depend on
+ * what happens to be selected.
+ */
+ const clipTools = useMemo(() => {
+ const clip = selectedClipIds.length === 1 ? findClip(project, selectedClipIds[0]) : null;
+ const media = clip ? findMedia(project, clip.mediaId) : null;
+
+ const hasSound = Boolean(
+ clip && (clip.kind === "video" || clip.kind === "audio") && media?.hasAudio,
+ );
+ const canDetach = Boolean(
+ clip &&
+ clip.kind === "video" &&
+ !clip.muted &&
+ media?.hasAudio &&
+ detachedAudioOf(project, clip.id).length === 0,
+ );
+ const canReattach = Boolean(
+ clip &&
+ ((clip.kind === "video" && detachedAudioOf(project, clip.id).length > 0) ||
+ (clip.kind === "audio" && clip.detachedFrom && findClip(project, clip.detachedFrom))),
+ );
+
+ return [
+ [
+ {
+ label: transcribing ? "Transcribing..." : "Auto captions",
+ icon: "type" as const,
+ disabled: !hasSound || transcribing,
+ onSelect: () => {
+ if (clip && media) void autoCaption(clip, media);
+ },
+ },
+ ],
+ [
+ {
+ label: "Detach audio",
+ icon: "waveform" as const,
+ disabled: !canDetach,
+ onSelect: () => {
+ if (clip) setProject((current) => detachAudio(current, clip.id));
+ },
+ },
+ {
+ label: "Reattach audio",
+ icon: "merge" as const,
+ disabled: !canReattach,
+ onSelect: () => {
+ if (clip) {
+ setProject((current) => reattachAudio(current, clip.id));
+ setSelectedClipIds([]);
+ }
+ },
+ },
+ ],
+ ];
+ }, [project, selectedClipIds, transcribing, autoCaption]);
+
// Autosave, debounced. The edit is the thing people lose; making them
// remember a keystroke to keep it is a design decision nobody wants.
useEffect(() => {
@@ -500,7 +637,10 @@ function Editor({
return {
clipId: top.id,
path: media.path,
- time: top.sourceStart + (playhead - top.start),
+ // A timeline second covers `speed` source seconds - the same map the
+ // exporter's frame plan applies.
+ time: top.sourceStart + (playhead - top.start) * top.speed,
+ speed: top.speed,
isStill: top.kind === "image",
};
}, [project, playhead]);
@@ -642,8 +782,18 @@ function Editor({
// ── keyboard ─────────────────────────────────────────────────────────────
useEffect(() => {
const onKey = (event: KeyboardEvent) => {
- // Never steal keys from a text field.
- if (event.target instanceof HTMLInputElement) return;
+ // Never steal keys from anywhere text is being written: inputs, the
+ // text panel's textarea, and inline editing (contentEditable). Space
+ // must insert a space there, and Backspace must not delete a clip.
+ const target = event.target;
+ if (
+ target instanceof HTMLInputElement ||
+ target instanceof HTMLTextAreaElement ||
+ target instanceof HTMLSelectElement ||
+ (target instanceof HTMLElement && target.isContentEditable)
+ ) {
+ return;
+ }
/*
* Modified shortcuts are handled separately and then we return.
@@ -755,6 +905,7 @@ function Editor({
offsetX: clip.offsetX,
offsetY: clip.offsetY,
rotation: clip.rotation,
+ opacity: clip.opacity,
mediaWidth: media.width,
mediaHeight: media.height,
},
@@ -851,6 +1002,13 @@ function Editor({
onSelect: () => setExporting(true),
},
],
+ [
+ {
+ label: "Settings...",
+ icon: "settings",
+ onSelect: () => setSettingsOpen(true),
+ },
+ ],
[
{
label: "Close project",
@@ -976,6 +1134,7 @@ function Editor({
}
: null
}
+ opacity={previewClip?.opacity ?? 1}
mediaSize={
previewMedia && previewMedia.width && previewMedia.height
? { width: previewMedia.width, height: previewMedia.height }
@@ -1087,6 +1246,7 @@ function Editor({
onTrackFlag={(trackId, flag, value) =>
setProject((current) => setTrackFlag(current, trackId, flag, value))
}
+ clipTools={clipTools}
onAddTrack={() => setProject((current) => addTrack(current).project)}
onRenameTrack={(trackId, name) =>
setProject((current) => renameTrack(current, trackId, name))
@@ -1131,6 +1291,25 @@ function Editor({
: []),
// "Detach audio" and its reverse, offered only where they
// mean something: one clip, with a link to make or unmake.
+ // Captions come from the clip's own sound, so the item only
+ // appears where there is sound to transcribe - and only one
+ // transcription runs at a time.
+ ...(() => {
+ const media = clip ? findMedia(project, clip.mediaId) : null;
+ return !many &&
+ clip &&
+ (clip.kind === "video" || clip.kind === "audio") &&
+ media?.hasAudio &&
+ !transcribing
+ ? [
+ {
+ label: "Auto captions",
+ icon: "type" as const,
+ onSelect: () => void autoCaption(clip, media),
+ },
+ ]
+ : [];
+ })(),
...(!many &&
clip?.kind === "video" &&
!clip.muted &&
@@ -1190,6 +1369,7 @@ function Editor({
</div>
{context && <ContextMenu target={context} onClose={() => setContext(null)} />}
+ {settingsOpen && <SettingsDialog onClose={() => setSettingsOpen(false)} />}
{toast && (
<div
diff --git a/desktop/src/components/AdjustPanel.tsx b/desktop/src/components/AdjustPanel.tsx
index fcfe9646..142b9fe8 100644
--- a/desktop/src/components/AdjustPanel.tsx
+++ b/desktop/src/components/AdjustPanel.tsx
@@ -71,7 +71,10 @@ export function AdjustPanel({
return (
<div className="px-3 py-3">
{hasPicture && (
- <Group title="Transform">
+ <Group
+ title="Transform"
+ help="You can also drag the picture in the preview - corners scale, the handle above rotates. Double-click any label to reset it, or click a value to type one."
+ >
<Slider
label="Scale"
value={clip.scale}
@@ -112,10 +115,16 @@ export function AdjustPanel({
onReset={() => onChange({ rotation: 0 })}
onChange={(rotation) => onChange({ rotation })}
/>
- <p className="-mt-1 mb-1 text-[11px] leading-snug text-tertiary">
- Or drag the picture in the preview - corners scale, the handle above
- rotates.
- </p>
+ <Slider
+ label="Opacity"
+ value={clip.opacity}
+ min={0}
+ max={1}
+ step={0.01}
+ format={(value) => `${Math.round(value * 100)}%`}
+ onReset={() => onChange({ opacity: 1 })}
+ onChange={(opacity) => onChange({ opacity })}
+ />
</Group>
)}
@@ -134,8 +143,11 @@ export function AdjustPanel({
</Group>
)}
- {clip.kind === "audio" && (
- <Group title="Speed">
+ {clip.kind !== "image" && (
+ <Group
+ title="Speed"
+ help="The clip covers the same material either way, so its length on the timeline changes to match."
+ >
<Slider
label="Rate"
value={clip.speed}
@@ -152,10 +164,6 @@ export function AdjustPanel({
checked={!clip.preservePitch}
onChange={(checked) => onChange({ preservePitch: !checked })}
/>
- <p className="-mt-1 mb-1 text-[11px] leading-snug text-tertiary">
- The clip covers the same audio either way, so its length on the timeline
- changes to match.
- </p>
</Group>
)}
@@ -183,10 +191,6 @@ export function AdjustPanel({
/>
</Group>
)}
-
- <p className="text-[11px] leading-relaxed text-tertiary">
- Double-click a label to reset it.
- </p>
</div>
);
}
diff --git a/desktop/src/components/ExportDialog.tsx b/desktop/src/components/ExportDialog.tsx
index be6d9c37..dae14c2d 100644
--- a/desktop/src/components/ExportDialog.tsx
+++ b/desktop/src/components/ExportDialog.tsx
@@ -65,6 +65,8 @@ function overlayClip(title: ExportTitle, path: string): ExportClip {
offsetX: 0,
offsetY: 0,
rotation: 0,
+ // Solid: a title's own transparency is baked into its rasterised PNG.
+ opacity: 1,
mediaWidth: null,
mediaHeight: null,
};
diff --git a/desktop/src/components/FiltersPanel.tsx b/desktop/src/components/FiltersPanel.tsx
index f6d397b1..b6be3c94 100644
--- a/desktop/src/components/FiltersPanel.tsx
+++ b/desktop/src/components/FiltersPanel.tsx
@@ -7,9 +7,10 @@ import {
resolveParams,
type ClipFilter,
type FilterCategory,
+ type FilterDefinition,
} from "../lib/filters";
import type { Clip } from "../lib/project";
-import { Slider } from "./controls";
+import { HelpTip, Slider } from "./controls";
import { Icon, IconButton } from "./Icon";
import { Empty } from "./Panel";
@@ -22,7 +23,8 @@ import { Empty } from "./Panel";
*
* Everything here writes plain numbers onto the clip. The FFmpeg chain is
* built from those in one place (`lib/filters.ts`) and used by both the
- * preview and the exporter, so what you hear is what gets rendered.
+ * preview and the exporter, so what you hear is what gets rendered - and a
+ * bypassed filter drops out of both through the same single check.
*/
export function FiltersPanel({
clip,
@@ -32,6 +34,7 @@ export function FiltersPanel({
onChange: (filters: ClipFilter[]) => void;
}) {
const [category, setCategory] = useState<FilterCategory>("voice");
+ const [query, setQuery] = useState("");
if (!clip) {
return (
@@ -53,12 +56,10 @@ export function FiltersPanel({
const add = (id: string) => onChange([...applied, { id, params: {} }]);
const remove = (index: number) => onChange(applied.filter((_, at) => at !== index));
+ const patch = (index: number, change: Partial<ClipFilter>) =>
+ onChange(applied.map((filter, at) => (at === index ? { ...filter, ...change } : filter)));
const setParam = (index: number, key: string, value: number) =>
- onChange(
- applied.map((filter, at) =>
- at === index ? { ...filter, params: { ...filter.params, [key]: value } } : filter,
- ),
- );
+ patch(index, { params: { ...applied[index].params, [key]: value } });
const move = (index: number, by: number) => {
const target = index + by;
if (target < 0 || target >= applied.length) return;
@@ -67,12 +68,22 @@ export function FiltersPanel({
onChange(next);
};
+ // A search cuts across the categories: when you know the name you should
+ // not have to remember which drawer it lives in.
+ const needle = query.trim().toLowerCase();
+ const matches = (filter: FilterDefinition) =>
+ needle === ""
+ ? filter.category === category
+ : `${filter.label} ${filter.blurb}`.toLowerCase().includes(needle);
+ const browsable = FILTERS.filter(matches);
+
return (
<div className="px-3 py-3">
{applied.length > 0 && (
<section className="mb-5">
- <h3 className="mb-2 flex items-center gap-2 text-[11px] font-semibold uppercase tracking-wider text-tertiary">
+ <h3 className="mb-2 flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-wider text-tertiary">
Applied
+ <HelpTip text="Filters run top to bottom, and order is audible. The eye bypasses one without losing its settings - flick it to compare." />
</h3>
<ul className="flex flex-col gap-2">
@@ -80,13 +91,31 @@ export function FiltersPanel({
const definition = findFilter(entry.id);
if (!definition) return null;
const values = resolveParams(definition, entry.params);
+ const active = entry.enabled !== false;
return (
<li key={`${entry.id}-${index}`} className="rounded-lg bg-sunken p-2.5">
<div className="mb-2 flex items-center gap-1">
- <span className="min-w-0 flex-1 truncate text-xs text-primary">
+ <span
+ className={`min-w-0 flex-1 truncate text-xs ${
+ active ? "text-primary" : "text-tertiary line-through"
+ }`}
+ >
{definition.label}
</span>
+ <IconButton
+ icon={active ? "eye" : "eyeOff"}
+ label={active ? `Bypass ${definition.label}` : `Enable ${definition.label}`}
+ size={7}
+ onClick={() => patch(index, { enabled: !active })}
+ />
+ <IconButton
+ icon="chevronUp"
+ label="Move earlier in the chain"
+ size={7}
+ disabled={index === 0}
+ onClick={() => move(index, -1)}
+ />
<IconButton
icon="chevronDown"
label="Move later in the chain"
@@ -103,19 +132,23 @@ export function FiltersPanel({
/>
</div>
- {definition.params.map((param) => (
- <Slider
- key={param.key}
- label={param.label}
- value={values[param.key]}
- min={param.min}
- max={param.max}
- step={param.step}
- format={param.format}
- onReset={() => setParam(index, param.key, param.default)}
- onChange={(value) => setParam(index, param.key, value)}
- />
- ))}
+ {/* Dimmed but still editable while bypassed, so a setting
+ can be dialled in before the filter is switched on. */}
+ <div className={active ? "" : "opacity-50"}>
+ {definition.params.map((param) => (
+ <Slider
+ key={param.key}
+ label={param.label}
+ value={values[param.key]}
+ min={param.min}
+ max={param.max}
+ step={param.step}
+ format={param.format}
+ onReset={() => setParam(index, param.key, param.default)}
+ onChange={(value) => setParam(index, param.key, value)}
+ />
+ ))}
+ </div>
</li>
);
})}
@@ -123,44 +156,74 @@ export function FiltersPanel({
</section>
)}
- <div className="mb-3 flex rounded-lg bg-sunken p-0.5">
- {CATEGORIES.map((entry) => (
+ <div className="mb-2 flex items-center gap-1.5 rounded-lg bg-sunken px-2">
+ <Icon name="search" size={12} className="shrink-0 text-tertiary" />
+ <input
+ value={query}
+ onChange={(event) => setQuery(event.target.value)}
+ placeholder="Search filters"
+ className="h-7 w-full bg-transparent text-xs text-primary outline-none
+ placeholder:text-tertiary"
+ />
+ {query !== "" && (
<button
- key={entry.id}
type="button"
- aria-pressed={category === entry.id}
- onClick={() => setCategory(entry.id)}
- className={`flex-1 cursor-pointer rounded-[6px] px-2 py-1 text-[12px] transition-colors ${
- category === entry.id
- ? "bg-panel text-primary shadow-[0_1px_2px_rgba(0,0,0,0.14)]"
- : "text-secondary hover:text-primary"
- }`}
+ aria-label="Clear search"
+ onClick={() => setQuery("")}
+ className="cursor-pointer text-tertiary transition-colors hover:text-primary"
>
- {entry.label}
+ <Icon name="close" size={10} />
</button>
- ))}
+ )}
</div>
- <ul className="flex flex-col gap-1">
- {FILTERS.filter((filter) => filter.category === category).map((filter) => (
- <li key={filter.id}>
+ {needle === "" && (
+ <div className="mb-3 flex rounded-lg bg-sunken p-0.5">
+ {CATEGORIES.map((entry) => (
<button
+ key={entry.id}
type="button"
- onClick={() => add(filter.id)}
- className="w-full cursor-pointer rounded-lg px-2 py-2 text-left transition-colors
- hover:bg-hover"
+ aria-pressed={category === entry.id}
+ onClick={() => setCategory(entry.id)}
+ className={`flex-1 cursor-pointer rounded-md px-2 py-1 text-[12px] transition-colors ${
+ category === entry.id
+ ? "bg-panel text-primary shadow-[0_1px_2px_rgba(0,0,0,0.14)]"
+ : "text-secondary hover:text-primary"
+ }`}
>
- <span className="flex items-center gap-2">
- <Icon name="plus" size={12} className="shrink-0 text-tertiary" />
- <span className="text-xs text-primary">{filter.label}</span>
- </span>
- <span className="mt-0.5 block pl-5 text-[11px] leading-snug text-tertiary">
- {filter.blurb}
- </span>
+ {entry.label}
</button>
- </li>
- ))}
- </ul>
+ ))}
+ </div>
+ )}
+
+ {browsable.length === 0 ? (
+ <p className="px-2 py-3 text-center text-[11px] text-tertiary">
+ Nothing matches "{query.trim()}".
+ </p>
+ ) : (
+ <ul className="flex flex-col gap-0.5">
+ {browsable.map((filter) => (
+ <li key={filter.id}>
+ <button
+ type="button"
+ onClick={() => add(filter.id)}
+ title={filter.blurb}
+ className="flex w-full cursor-pointer items-center gap-2 rounded-lg px-2 py-1.5
+ text-left transition-colors hover:bg-hover"
+ >
+ <Icon name="plus" size={12} className="shrink-0 text-tertiary" />
+ <span className="min-w-0 flex-1 truncate text-xs text-primary">{filter.label}</span>
+ {needle !== "" && (
+ <span className="shrink-0 text-[10px] uppercase tracking-wider text-tertiary">
+ {CATEGORIES.find((entry) => entry.id === filter.category)?.label}
+ </span>
+ )}
+ </button>
+ </li>
+ ))}
+ </ul>
+ )}
</div>
);
}
diff --git a/desktop/src/components/Icon.tsx b/desktop/src/components/Icon.tsx
index 60e177e3..d5a52b6a 100644
--- a/desktop/src/components/Icon.tsx
+++ b/desktop/src/components/Icon.tsx
@@ -232,6 +232,7 @@ const GLYPHS = {
</>
),
chevronDown: <path d="m6 9 6 6 6-6" />,
+ chevronUp: <path d="m6 15 6-6 6 6" />,
chevronRight: <path d="m9 6 6 6-6 6" />,
search: (
<>
@@ -253,6 +254,27 @@ const GLYPHS = {
<path d="M12 8h.01" />
</>
),
+ help: (
+ <>
+ <circle cx="12" cy="12" r="9" />
+ <path d="M9.4 9.3a2.7 2.7 0 1 1 3.6 2.6c-.7.3-1 .8-1 1.6v.3" />
+ <path d="M12 17h.01" />
+ </>
+ ),
+ // a four-point star with a smaller companion, for "effects"
+ sparkles: (
+ <>
+ <path d="M10 3.5l1.7 4.3 4.3 1.7-4.3 1.7L10 15.5l-1.7-4.3L4 9.5l4.3-1.7z" />
+ <path d="M17.5 14l1 2.5 2.5 1-2.5 1-1 2.5-1-2.5-2.5-1 2.5-1z" />
+ </>
+ ),
+ // a frame split on the diagonal, for "transitions"
+ transition: (
+ <>
+ <rect x="4" y="4" width="16" height="16" rx="2" />
+ <path d="M4.8 19.2 19.2 4.8" />
+ </>
+ ),
// crossed arrows, for "fit to window"
fit: (
<>
@@ -299,8 +321,9 @@ export function Icon({
/**
* The standard square icon button.
*
- * Blue when active, transparent otherwise - the same convention design3d uses,
- * so "this tool is selected" reads identically across both apps.
+ * Active means a lime glyph on a slightly darker surface - quieter than a
+ * filled accent square, and the same lime the timeline uses for selection, so
+ * "this is on" reads as one colour everywhere. Transparent when idle.
*/
export function IconButton({
icon,
@@ -327,7 +350,8 @@ export function IconButton({
? "text-success hover:bg-hover"
: "text-primary hover:bg-hover";
- const on = tone === "go" ? "bg-success text-on-accent" : "bg-accent text-on-accent";
+ const on =
+ tone === "go" ? "bg-success text-on-accent" : "bg-tool-active-bg text-tool-active";
return (
<button
diff --git a/desktop/src/components/MediaBin.tsx b/desktop/src/components/MediaBin.tsx
index 757a325e..39a1d915 100644
--- a/desktop/src/components/MediaBin.tsx
+++ b/desktop/src/components/MediaBin.tsx
@@ -1,15 +1,22 @@
import { useEffect, useRef, useState } from "react";
import { open } from "@tauri-apps/plugin-dialog";
-import type { PointerEvent as ReactPointerEvent } from "react";
+import type { PointerEvent as ReactPointerEvent, ReactNode } from "react";
import type { MediaAssets } from "../lib/assets";
import { subscribeAssets } from "../lib/assets";
+import {
+ EFFECT_CATEGORIES,
+ EFFECTS,
+ TRANSITION_CATEGORIES,
+ TRANSITIONS,
+ type EffectCategory,
+ type TransitionCategory,
+} from "../lib/effects";
import type { MediaItem } from "../lib/project";
import { themeColor } from "../lib/theme";
import { shortDuration } from "../lib/time";
import { ErrorNotice } from "./ErrorNotice";
import { Icon } from "./Icon";
-import { Menu } from "./Menu";
import { Empty, Panel } from "./Panel";
/** Which kinds of media the bin is showing. */
@@ -21,12 +28,32 @@ export interface BinFilter {
export const ALL_MEDIA: BinFilter = { video: true, audio: true, image: true };
+/** The pages of the library strip, in display order. */
+type LibraryTab = "media" | "text" | "transitions" | "effects";
+
+const TABS: { id: LibraryTab; label: string }[] = [
+ { id: "media", label: "Media" },
+ { id: "text", label: "Text" },
+ { id: "transitions", label: "Transitions" },
+ { id: "effects", label: "Effects" },
+];
+
/**
- * The media bin.
+ * The library panel.
+ *
+ * A strip of pages across the top - Media, Text, Transitions, Effects - then a
+ * full-width divider, then the page itself split in two: a narrow category
+ * sidebar on the left, and the browsing area on the right where media, effect
+ * previews and so on are shown.
*
- * Items are HTML5 drag sources: dragging one onto the timeline places a clip
+ * Media is the only page that is fully live. Text offers the one title style
+ * that exists. Transitions and Effects browse the catalogues in
+ * `lib/effects.ts` but cannot yet be applied - the engine has no video effect
+ * pipeline - so their cards say "Soon" instead of pretending to drag.
+ *
+ * Media items are drag sources: dragging one onto the timeline places a clip
* at the drop position. That is the primary way material gets into an edit, so
- * it needs to be the obvious one - hence the whole row being the drag handle
+ * it needs to be the obvious one - hence the whole card being the drag handle
* rather than some grip affordance.
*/
export function MediaBin({
@@ -65,6 +92,235 @@ export function MediaBin({
/** Called once the pointer has moved far enough to count as a drag. */
onBeginDrag: (item: MediaItem, clientX: number, clientY: number) => void;
onAddToTimeline: (mediaId: string) => void;
+}) {
+ const [tab, setTab] = useState<LibraryTab>("media");
+ const [effectCategory, setEffectCategory] = useState<EffectCategory>("basic");
+ const [transitionCategory, setTransitionCategory] = useState<TransitionCategory>("basic");
+
+ return (
+ <Panel
+ // Dropped files land in the bin, so the bin is what lights up. A
+ // full-screen overlay would obscure the editor to say something that
+ // only concerns one panel.
+ className={dropping ? "ring-2 ring-accent ring-inset" : ""}
+ >
+ <div className="flex h-full min-h-0 flex-col">
+ {/* The page strip. Its bottom border is the full-width divider. */}
+ <div className="shrink-0 border-b border-hairline px-2 pb-2 pt-2">
+ <div className="flex rounded-lg bg-sunken p-0.5">
+ {TABS.map((entry) => (
+ <button
+ key={entry.id}
+ type="button"
+ aria-pressed={tab === entry.id}
+ onClick={() => setTab(entry.id)}
+ className={`flex-1 cursor-pointer truncate rounded-md px-1.5 py-1 text-[11px]
+ transition-colors ${
+ tab === entry.id
+ ? "bg-panel text-primary shadow-[0_1px_2px_rgba(0,0,0,0.14)]"
+ : "text-secondary hover:text-primary"
+ }`}
+ >
+ {entry.label}
+ </button>
+ ))}
+ </div>
+ </div>
+
+ {/* The page: category sidebar on the left, browsing area on the right. */}
+ <div className="flex min-h-0 flex-1">
+ <aside className="thin-scroll w-26 shrink-0 overflow-y-auto border-r border-hairline py-1">
+ {tab === "media" && <MediaCategories items={items} filter={filter} onFilter={onFilter} />}
+ {tab === "text" && (
+ <CategoryGroup title="Text">
+ <CategoryRow label="Titles" selected onSelect={() => {}} />
+ </CategoryGroup>
+ )}
+ {tab === "transitions" && (
+ <CategoryGroup title="Transitions">
+ {TRANSITION_CATEGORIES.map((category) => (
+ <CategoryRow
+ key={category.id}
+ label={category.label}
+ selected={transitionCategory === category.id}
+ onSelect={() => setTransitionCategory(category.id)}
+ />
+ ))}
+ </CategoryGroup>
+ )}
+ {tab === "effects" && (
+ <CategoryGroup title="Video Effects">
+ {EFFECT_CATEGORIES.map((category) => (
+ <CategoryRow
+ key={category.id}
+ label={category.label}
+ selected={effectCategory === category.id}
+ onSelect={() => setEffectCategory(category.id)}
+ />
+ ))}
+ </CategoryGroup>
+ )}
+ </aside>
+
+ <div className="thin-scroll min-w-0 flex-1 overflow-y-auto">
+ {tab === "media" && (
+ <MediaPage
+ items={items}
+ filter={filter}
+ selectedId={selectedId}
+ busy={busy}
+ error={error}
+ dropping={dropping}
+ assets={assets}
+ onSelect={onSelect}
+ onImport={onImport}
+ onRemove={onRemove}
+ onDismissError={onDismissError}
+ onBeginDrag={onBeginDrag}
+ onAddToTimeline={onAddToTimeline}
+ />
+ )}
+ {tab === "text" && <TextPage onAddText={onAddText} />}
+ {tab === "transitions" && <TransitionsPage category={transitionCategory} />}
+ {tab === "effects" && <EffectsPage category={effectCategory} />}
+ </div>
+ </div>
+ </div>
+ </Panel>
+ );
+}
+
+// ── the category sidebar ─────────────────────────────────────────────────────
+
+/**
+ * A collapsible dropdown of categories - "Video Effects" with its list under
+ * it, and the equivalents on the other pages.
+ */
+function CategoryGroup({ title, children }: { title: string; children: ReactNode }) {
+ const [open, setOpen] = useState(true);
+ return (
+ <div className="px-1">
+ <button
+ type="button"
+ aria-expanded={open}
+ onClick={() => setOpen((current) => !current)}
+ className="flex w-full cursor-pointer items-center gap-1 rounded-md px-1.5 py-1.5
+ text-[11px] font-medium text-secondary transition-colors hover:bg-hover
+ hover:text-primary"
+ >
+ <Icon name={open ? "chevronDown" : "chevronRight"} size={10} className="shrink-0" />
+ <span className="min-w-0 flex-1 truncate text-left">{title}</span>
+ </button>
+ {open && <div className="flex flex-col gap-px pb-1">{children}</div>}
+ </div>
+ );
+}
+
+function CategoryRow({
+ label,
+ count,
+ selected,
+ onSelect,
+}: {
+ label: string;
+ count?: number;
+ selected: boolean;
+ onSelect: () => void;
+}) {
+ return (
+ <button
+ type="button"
+ aria-pressed={selected}
+ onClick={onSelect}
+ className={`flex w-full cursor-pointer items-center gap-1 rounded-md py-1 pl-4.5 pr-1.5
+ text-[11px] transition-colors ${
+ selected ? "bg-active text-primary" : "text-secondary hover:bg-hover"
+ }`}
+ >
+ <span className="min-w-0 flex-1 truncate text-left">{label}</span>
+ {count !== undefined && count > 0 && (
+ <span className="font-technical text-[10px] text-tertiary">{count}</span>
+ )}
+ </button>
+ );
+}
+
+/** One media kind on, the rest off - what a sidebar category means. */
+function onlyKind(kind: keyof BinFilter): BinFilter {
+ return { video: false, audio: false, image: false, [kind]: true };
+}
+
+const KIND_LABELS = { video: "Video", audio: "Audio", image: "Images" } as const;
+
+function MediaCategories({
+ items,
+ filter,
+ onFilter,
+}: {
+ items: MediaItem[];
+ filter: BinFilter;
+ onFilter: (filter: BinFilter) => void;
+}) {
+ const kinds = ["video", "audio", "image"] as const;
+ const enabled = kinds.filter((kind) => filter[kind]);
+ // The old filter menu could leave two of three kinds on; the sidebar has no
+ // row for that state, so nothing highlights until a category is clicked.
+ const selected = enabled.length === 3 ? "all" : enabled.length === 1 ? enabled[0] : null;
+
+ return (
+ <CategoryGroup title="Media">
+ <CategoryRow
+ label="All media"
+ count={items.length}
+ selected={selected === "all"}
+ onSelect={() => onFilter(ALL_MEDIA)}
+ />
+ {kinds.map((kind) => (
+ <CategoryRow
+ key={kind}
+ label={KIND_LABELS[kind]}
+ count={items.filter((item) => item.kind === kind).length}
+ selected={selected === kind}
+ onSelect={() => onFilter(onlyKind(kind))}
+ />
+ ))}
+ </CategoryGroup>
+ );
+}
+
+// ── the media page ───────────────────────────────────────────────────────────
+
+/** Cards sized for the browsing area, however narrow the panel is dragged. */
+const CARD_GRID = "grid grid-cols-[repeat(auto-fill,minmax(88px,1fr))] gap-2 px-2 pb-2";
+
+function MediaPage({
+ items,
+ filter,
+ selectedId,
+ busy,
+ error,
+ dropping,
+ assets,
+ onSelect,
+ onImport,
+ onRemove,
+ onDismissError,
+ onBeginDrag,
+ onAddToTimeline,
+}: {
+ items: MediaItem[];
+ filter: BinFilter;
+ selectedId: string | null;
+ busy: boolean;
+ error: string | null;
+ dropping: boolean;
+ assets: MediaAssets;
+ onSelect: (id: string) => void;
+ onImport: (paths: string[]) => void;
+ onRemove: (id: string) => void;
+ onDismissError: () => void;
+ onBeginDrag: (item: MediaItem, clientX: number, clientY: number) => void;
+ onAddToTimeline: (mediaId: string) => void;
}) {
const browse = async () => {
if (busy) return;
@@ -122,68 +378,8 @@ export function MediaBin({
const visible = items.filter((item) => filter[item.kind]);
return (
- <Panel
- title="Media"
- // Dropped files land in the bin, so the bin is what lights up. A
- // full-screen overlay would obscure the editor to say something that
- // only concerns one panel.
- className={dropping ? "ring-2 ring-accent ring-inset" : ""}
- actions={
- <span className="font-technical text-[10px] text-tertiary">
- {visible.length > 0 ? `${visible.length}` : ""}
- </span>
- }
- >
- {/*
- Above the filter, because it is an action rather than a view setting -
- and because "add something" belongs at the top of a panel whose job is
- supplying things to the timeline. Text is the one kind of content that
- needs no file, so this is the only way to create it.
- */}
- <div className="px-2 pt-2">
- <button
- type="button"
- onClick={onAddText}
- title="Add a title to the timeline"
- className="flex w-full cursor-pointer items-center justify-center gap-2 rounded-lg
- bg-accent px-3 py-2 text-xs font-medium text-on-accent transition-opacity
- hover:opacity-90"
- >
- <Icon name="type" size={13} />
- Add text
- </button>
- </div>
-
+ <>
<div className="px-2 pb-2 pt-2">
- <Menu
- groups={[
- (["video", "audio", "image"] as const).map((kind) => ({
- label: KIND_LABELS[kind],
- checked: filter[kind],
- // Turning the last one off would leave a bin that shows nothing
- // and gives no hint why, so the final kind stays on.
- onSelect: () => {
- const next = { ...filter, [kind]: !filter[kind] };
- if (next.video || next.audio || next.image) onFilter(next);
- },
- })),
- ]}
- trigger={(open) => (
- <span
- className={`flex w-full items-center gap-1.5 rounded-lg px-2 py-1.5 text-xs
- transition-colors ${
- open ? "bg-active text-primary" : "text-secondary hover:bg-hover"
- }`}
- >
- <Icon name="search" size={13} />
- <span className="min-w-0 flex-1 truncate text-left">{summarise(filter)}</span>
- <Icon name="chevronDown" size={12} />
- </span>
- )}
- />
- </div>
-
- <div className="px-2 pb-2">
<button
type="button"
onClick={() => void browse()}
@@ -216,7 +412,7 @@ export function MediaBin({
: "Drop video and audio files anywhere in the window, or paste a path above."}
</Empty>
) : (
- <ul className="grid grid-cols-2 gap-2 px-2 pb-2">
+ <ul className={CARD_GRID}>
{visible.map((item) => (
<li
key={item.id}
@@ -274,18 +470,10 @@ Drag onto a track, or double-click to add at the playhead`}
))}
</ul>
)}
- </Panel>
+ </>
);
}
-const KIND_LABELS = { video: "Video", audio: "Audio", image: "Images" } as const;
-
-/** "All media" when nothing is filtered out, otherwise what is showing. */
-function summarise(filter: BinFilter): string {
- const on = (["video", "audio", "image"] as const).filter((kind) => filter[kind]);
- return on.length === 3 ? "All media" : on.map((kind) => KIND_LABELS[kind]).join(", ");
-}
-
/** The second line that used to be shown for every item, now on hover. */
function describe(item: MediaItem): string {
if (item.kind === "audio") return item.audioCodec ?? "audio";
@@ -293,6 +481,98 @@ function describe(item: MediaItem): string {
return item.kind === "image" ? `${size} still` : `${size} · ${item.frameRate?.toFixed(2)} fps`;
}
+// ── the text page ────────────────────────────────────────────────────────────
+
+function TextPage({ onAddText }: { onAddText: () => void }) {
+ return (
+ <ul className={`${CARD_GRID} pt-2`}>
+ <li
+ onClick={onAddText}
+ onDoubleClick={onAddText}
+ title="Adds a title at the playhead"
+ className="group cursor-pointer select-none"
+ >
+ <div
+ className="relative flex aspect-video items-center justify-center overflow-hidden
+ rounded-lg bg-sunken ring-1 ring-hairline transition-shadow
+ group-hover:ring-hairline-strong"
+ >
+ <span className="text-xl font-semibold text-primary">Aa</span>
+ </div>
+ <span className="mt-1 block truncate text-[11px] leading-tight text-secondary">
+ Default title
+ </span>
+ </li>
+ </ul>
+ );
+}
+
+// ── the transitions and effects pages ────────────────────────────────────────
+
+/**
+ * A catalogue card that cannot be used yet.
+ *
+ * The "Soon" badge is the honest version of a disabled drag: the catalogue is
+ * browsable so the library's shape is settled, but nothing pretends to work
+ * before the engine can render it.
+ */
+function CatalogueCard({
+ label,
+ blurb,
+ children,
+}: {
+ label: string;
+ blurb: string;
+ children: ReactNode;
+}) {
+ return (
+ <li title={`${label}\n${blurb}\nNot available yet`} className="select-none">
+ <div
+ className="relative flex aspect-video items-center justify-center overflow-hidden
+ rounded-lg bg-sunken ring-1 ring-hairline"
+ >
+ {children}
+ <span
+ className="absolute bottom-1 right-1 rounded bg-black/55 px-1 py-px font-technical
+ text-[10px] text-white"
+ >
+ Soon
+ </span>
+ </div>
+ <span className="mt-1 block truncate text-[11px] leading-tight text-secondary">{label}</span>
+ </li>
+ );
+}
+
+function TransitionsPage({ category }: { category: TransitionCategory }) {
+ const visible = TRANSITIONS.filter((transition) => transition.category === category);
+ return (
+ <ul className={`${CARD_GRID} pt-2`}>
+ {visible.map((transition) => (
+ <CatalogueCard key={transition.id} label={transition.label} blurb={transition.blurb}>
+ <Icon name="transition" size={22} strokeWidth={1.5} className="text-tertiary" />
+ </CatalogueCard>
+ ))}
+ </ul>
+ );
+}
+
+function EffectsPage({ category }: { category: EffectCategory }) {
+ const visible = EFFECTS.filter((effect) => effect.category === category);
+ return (
+ <ul className={`${CARD_GRID} pt-2`}>
+ {visible.map((effect) => (
+ <CatalogueCard key={effect.id} label={effect.label} blurb={effect.blurb}>
+ <span className="absolute inset-0" style={{ background: effect.swatch }} aria-hidden />
+ <Icon name="sparkles" size={20} strokeWidth={1.5} className="relative text-white/85" />
+ </CatalogueCard>
+ ))}
+ </ul>
+ );
+}
+
+// ── thumbnails ───────────────────────────────────────────────────────────────
+
/**
* The bin preview for one item.
*
@@ -331,7 +611,7 @@ function MediaThumb({ item, assets }: { item: MediaItem; assets: MediaAssets })
setHasArt(false);
return;
}
- // Cover-fit the first frame: letterboxing a 56px thumbnail wastes
+ // Cover-fit the first frame: letterboxing a small thumbnail wastes
// most of it, and a crop reads better than bars at this size.
const tile = strip.width / frames;
const scale = Math.max(width / tile, height / strip.height);
@@ -390,7 +670,7 @@ function MediaThumb({ item, assets }: { item: MediaItem; assets: MediaAssets })
}, [assets, item]);
return (
- <span className="relative h-8 w-14 shrink-0 overflow-hidden rounded-md bg-sunken">
+ <span className="relative block aspect-video w-full overflow-hidden bg-sunken">
<canvas ref={canvasRef} className="h-full w-full" />
{!hasArt && (
<span className="absolute inset-0 flex items-center justify-center text-tertiary">
@@ -400,4 +680,3 @@ function MediaThumb({ item, assets }: { item: MediaItem; assets: MediaAssets })
</span>
);
}
-
diff --git a/desktop/src/components/Panel.tsx b/desktop/src/components/Panel.tsx
index 0f4addd2..f2a2d107 100644
--- a/desktop/src/components/Panel.tsx
+++ b/desktop/src/components/Panel.tsx
@@ -45,7 +45,9 @@ export function Panel({
/** A horizontal group of controls, e.g. the timeline toolbar. */
export function Bar({ children }: { children: ReactNode }) {
return (
- <div className="flex h-10 shrink-0 items-center gap-1 border-b border-hairline bg-panel px-2">
+ // Taller than its buttons on purpose: a 36px button in a 44px bar gets
+ // 4px of air at top and bottom instead of pressing against the edges.
+ <div className="flex h-11 shrink-0 items-center gap-1 border-b border-hairline bg-panel px-2">
{children}
</div>
);
diff --git a/desktop/src/components/Preview.tsx b/desktop/src/components/Preview.tsx
index 5cba6f4e..e3eb72eb 100644
--- a/desktop/src/components/Preview.tsx
+++ b/desktop/src/components/Preview.tsx
@@ -45,6 +45,9 @@ export interface PreviewSource {
path: string;
/** Where in the source file the playhead sits, in seconds. */
time: number;
+ /** Playback rate, 1 being normal - the element must run at this rate or it
+ drifts from the transport and stutters on every corrective seek. */
+ speed: number;
/** A still is shown as an image; there is nothing to seek or play. */
isStill: boolean;
}
@@ -174,6 +177,7 @@ export function Preview({
frameRate,
frame,
transform,
+ opacity,
mediaSize,
selectedClipId,
onSelectClip,
@@ -195,6 +199,8 @@ export function Preview({
frame: { width: number; height: number };
/** The displayed clip's picture transform. Null when nothing is showing. */
transform: PreviewTransform | null;
+ /** The displayed clip's blend strength, 1 being solid. */
+ opacity: number;
/** The source's pixel size, when the probe reported one. */
mediaSize: { width: number; height: number } | null;
/** The single selected clip, if there is one - its box shows handles. */
@@ -279,6 +285,9 @@ export function Preview({
transform: `translate(${transform.offsetX * frameRect.width}px, ${
transform.offsetY * frameRect.height
}px) rotate(${transform.rotation}deg) scale(${transform.scale})`,
+ // The same blend the compositor applies on export. On the wrapper
+ // with the transform, so the whole picture fades as one surface.
+ opacity: Math.min(1, Math.max(0, opacity)),
}
: undefined;
@@ -316,6 +325,11 @@ export function Preview({
const element = video.current;
if (!element || !source || source.isStill) return;
+ // The element free-runs between corrections, so it has to free-run at the
+ // clip's rate. Clamped to what media elements reliably accept.
+ const rate = Math.min(16, Math.max(0.0625, source.speed));
+ if (element.playbackRate !== rate) element.playbackRate = rate;
+
const tolerance = playing ? 0.3 : 0.03;
if (element.readyState > 0 && Math.abs(element.currentTime - source.time) > tolerance) {
try {
diff --git a/desktop/src/components/SettingsDialog.tsx b/desktop/src/components/SettingsDialog.tsx
new file mode 100644
index 00000000..8b5b5fe7
--- /dev/null
+++ b/desktop/src/components/SettingsDialog.tsx
@@ -0,0 +1,355 @@
+import { useEffect, useRef, useState } from "react";
+import { open } from "@tauri-apps/plugin-dialog";
+
+import {
+ cancelModelDownload,
+ deleteTranscriberModel,
+ downloadTranscriberModel,
+ engineVersion,
+ onTranscriberDownload,
+ setTranscriberBinary,
+ transcriberStatus,
+ type TranscriberStatus,
+} from "../lib/engine";
+import {
+ getTranscriberLanguage,
+ getTranscriberModel,
+ setTranscriberLanguage,
+ setTranscriberModel,
+} from "../lib/settings";
+import { HelpTip } from "./controls";
+import { Icon } from "./Icon";
+
+/** The pages of the settings dialog, in display order. */
+type SettingsTab = "transcriber" | "about";
+
+const TABS: { id: SettingsTab; label: string; icon: "waveform" | "info" }[] = [
+ { id: "transcriber", label: "Transcriber", icon: "waveform" },
+ { id: "about", label: "About", icon: "info" },
+];
+
+/**
+ * The settings sheet: a tab rail on the left, one feature's settings on the
+ * right - the same shape as the library panel, so the app has one way of
+ * laying out "categories of things".
+ *
+ * Settings here are app-level (this machine), never project state.
+ */
+export function SettingsDialog({ onClose }: { onClose: () => void }) {
+ const [tab, setTab] = useState<SettingsTab>("transcriber");
+
+ return (
+ <div
+ className="fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-8
+ backdrop-blur-[2px]"
+ onMouseDown={(event) => {
+ if (event.target === event.currentTarget) onClose();
+ }}
+ >
+ <div className="surface flex h-[460px] w-full max-w-2xl flex-col rounded-2xl">
+ <div className="flex items-center gap-2 border-b border-hairline px-5 py-3.5">
+ <Icon name="settings" size={16} className="text-accent" />
+ <h2 className="flex-1 text-sm font-semibold text-primary">Settings</h2>
+ <button
+ type="button"
+ aria-label="Close"
+ onClick={onClose}
+ className="cursor-pointer rounded p-1 text-secondary hover:bg-hover hover:text-primary"
+ >
+ <Icon name="close" size={14} />
+ </button>
+ </div>
+
+ <div className="flex min-h-0 flex-1">
+ <aside className="w-40 shrink-0 border-r border-hairline p-2">
+ {TABS.map((entry) => (
+ <button
+ key={entry.id}
+ type="button"
+ aria-pressed={tab === entry.id}
+ onClick={() => setTab(entry.id)}
+ className={`flex w-full cursor-pointer items-center gap-2 rounded-lg px-2.5 py-1.5
+ text-xs transition-colors ${
+ tab === entry.id
+ ? "bg-active text-primary"
+ : "text-secondary hover:bg-hover"
+ }`}
+ >
+ <Icon name={entry.icon} size={13} className="shrink-0 opacity-70" />
+ {entry.label}
+ </button>
+ ))}
+ </aside>
+
+ <div className="thin-scroll min-w-0 flex-1 overflow-y-auto px-5 py-4">
+ {tab === "transcriber" && <TranscriberSettings />}
+ {tab === "about" && <AboutSettings />}
+ </div>
+ </div>
+ </div>
+ </div>
+ );
+}
+
+/** Bytes as a short human figure for model rows. */
+function formatSize(bytes: number): string {
+ return bytes >= 1_000_000_000
+ ? `${(bytes / 1_000_000_000).toFixed(1)} GB`
+ : `${Math.round(bytes / 1_000_000)} MB`;
+}
+
+const LANGUAGES = [
+ { id: "auto", label: "Auto-detect" },
+ { id: "en", label: "English" },
+] as const;
+
+function TranscriberSettings() {
+ const [status, setStatus] = useState<TranscriberStatus | null>(null);
+ const [error, setError] = useState<string | null>(null);
+ const [model, setModel] = useState(getTranscriberModel());
+ const [language, setLanguage] = useState(getTranscriberLanguage());
+ /** The model being downloaded and how far along it is, or null. */
+ const [download, setDownload] = useState<{ id: string; fraction: number } | null>(null);
+ const unlisten = useRef<(() => void) | null>(null);
+
+ const refresh = () => {
+ transcriberStatus()
+ .then((next) => {
+ setStatus(next);
+ setError(null);
+ })
+ .catch((cause: unknown) => setError(String(cause)));
+ };
+
+ useEffect(() => {
+ refresh();
+ void onTranscriberDownload((progress) => {
+ if (progress.done) {
+ setDownload(null);
+ refresh();
+ } else {
+ setDownload({
+ id: progress.id,
+ fraction: progress.total > 0 ? progress.received / progress.total : 0,
+ });
+ }
+ }).then((stop) => {
+ unlisten.current = stop;
+ });
+ return () => unlisten.current?.();
+ }, []);
+
+ const locate = async () => {
+ const chosen = await open({
+ title: "Locate whisper-cli",
+ multiple: false,
+ filters: [{ name: "Program", extensions: ["exe", "*"] }],
+ });
+ if (typeof chosen !== "string") return;
+ try {
+ setStatus(await setTranscriberBinary(chosen));
+ setError(null);
+ } catch (cause) {
+ setError(String(cause));
+ }
+ };
+
+ const startDownload = (id: string) => {
+ setDownload({ id, fraction: 0 });
+ downloadTranscriberModel(id)
+ .then(() => {
+ setDownload(null);
+ refresh();
+ })
+ .catch((cause: unknown) => {
+ setDownload(null);
+ setError(String(cause));
+ refresh();
+ });
+ };
+
+ const remove = (id: string) => {
+ deleteTranscriberModel(id)
+ .then(refresh)
+ .catch((cause: unknown) => setError(String(cause)));
+ };
+
+ const chooseModel = (id: string) => {
+ setModel(id);
+ setTranscriberModel(id);
+ };
+
+ const chooseLanguage = (id: string) => {
+ setLanguage(id);
+ setTranscriberLanguage(id);
+ };
+
+ return (
+ <div className="flex flex-col gap-5">
+ <section>
+ <h3 className="mb-2 flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-wider text-tertiary">
+ Engine
+ <HelpTip text="Transcription runs whisper.cpp locally - nothing leaves this machine. Download whisper-cli from the whisper.cpp releases page and point Relay at it once." />
+ </h3>
+ <div className="flex items-center gap-2 rounded-lg bg-sunken px-3 py-2.5">
+ <span
+ className={`h-2 w-2 shrink-0 rounded-full ${
+ status?.binary ? "bg-success" : "bg-danger"
+ }`}
+ />
+ <span className="min-w-0 flex-1 truncate text-xs text-secondary">
+ {status === null
+ ? "Checking..."
+ : (status.binary ?? "whisper-cli not found - locate it to enable captions")}
+ </span>
+ <button
+ type="button"
+ onClick={() => void locate()}
+ className="shrink-0 cursor-pointer rounded-md bg-panel px-2.5 py-1 text-[11px]
+ text-primary ring-1 ring-hairline transition-colors hover:bg-hover"
+ >
+ Locate...
+ </button>
+ </div>
+ </section>
+
+ <section>
+ <h3 className="mb-2 text-[11px] font-semibold uppercase tracking-wider text-tertiary">
+ Language
+ </h3>
+ <div className="flex w-56 rounded-lg bg-sunken p-0.5">
+ {LANGUAGES.map((entry) => (
+ <button
+ key={entry.id}
+ type="button"
+ aria-pressed={language === entry.id}
+ onClick={() => chooseLanguage(entry.id)}
+ className={`flex-1 cursor-pointer rounded-md px-2 py-1 text-[12px] transition-colors ${
+ language === entry.id
+ ? "bg-panel text-primary shadow-[0_1px_2px_rgba(0,0,0,0.14)]"
+ : "text-secondary hover:text-primary"
+ }`}
+ >
+ {entry.label}
+ </button>
+ ))}
+ </div>
+ </section>
+
+ <section>
+ <h3 className="mb-2 flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-wider text-tertiary">
+ Models
+ <HelpTip text="Bigger models transcribe better and slower. English-only variants beat the multilingual ones at the same size when the audio is English. The selected model is what Auto captions uses." />
+ </h3>
+
+ <ul className="flex flex-col gap-1.5">
+ {(status?.models ?? []).map((entry) => {
+ const downloading = download?.id === entry.id;
+ const selected = model === entry.id;
+ return (
+ <li
+ key={entry.id}
+ className={`flex items-center gap-2.5 rounded-lg px-3 py-2 ring-1 transition-shadow ${
+ selected ? "ring-accent" : "ring-hairline"
+ }`}
+ >
+ <button
+ type="button"
+ role="radio"
+ aria-checked={selected}
+ aria-label={`Use ${entry.label}`}
+ disabled={!entry.downloaded}
+ onClick={() => chooseModel(entry.id)}
+ title={entry.downloaded ? "Use this model" : "Download it first"}
+ className="flex h-4 w-4 shrink-0 cursor-pointer items-center justify-center
+ rounded-full ring-1 ring-hairline-strong
+ disabled:cursor-not-allowed disabled:opacity-40"
+ >
+ {selected && <span className="h-2 w-2 rounded-full bg-accent" />}
+ </button>
+
+ <span className="min-w-0 flex-1">
+ <span className="block truncate text-xs text-primary">{entry.label}</span>
+ <span className="block truncate text-[11px] text-tertiary">{entry.blurb}</span>
+ </span>
+
+ <span className="shrink-0 font-technical text-[10px] text-tertiary">
+ {formatSize(entry.sizeBytes)}
+ </span>
+
+ {downloading ? (
+ <span className="flex shrink-0 items-center gap-1.5">
+ <span className="h-1 w-16 overflow-hidden rounded-full bg-sunken">
+ <span
+ className="block h-full bg-accent transition-[width]"
+ style={{ width: `${Math.round(download.fraction * 100)}%` }}
+ />
+ </span>
+ <button
+ type="button"
+ aria-label="Cancel download"
+ onClick={() => void cancelModelDownload()}
+ className="cursor-pointer rounded p-0.5 text-secondary hover:bg-hover
+ hover:text-primary"
+ >
+ <Icon name="close" size={10} />
+ </button>
+ </span>
+ ) : entry.downloaded ? (
+ <span className="flex shrink-0 items-center gap-1">
+ <Icon name="check" size={12} className="text-success" />
+ <button
+ type="button"
+ aria-label={`Delete ${entry.label}`}
+ title="Delete the downloaded model"
+ onClick={() => remove(entry.id)}
+ className="cursor-pointer rounded p-0.5 text-secondary transition-colors
+ hover:bg-hover hover:text-danger"
+ >
+ <Icon name="trash" size={11} />
+ </button>
+ </span>
+ ) : (
+ <button
+ type="button"
+ disabled={download !== null}
+ onClick={() => startDownload(entry.id)}
+ className="shrink-0 cursor-pointer rounded-md bg-panel px-2.5 py-1 text-[11px]
+ text-primary ring-1 ring-hairline transition-colors hover:bg-hover
+ disabled:cursor-not-allowed disabled:opacity-40"
+ >
+ Download
+ </button>
+ )}
+ </li>
+ );
+ })}
+ </ul>
+
+ {error && <p className="mt-2 text-[11px] leading-snug text-danger">{error}</p>}
+ </section>
+ </div>
+ );
+}
+
+function AboutSettings() {
+ const [version, setVersion] = useState<string | null>(null);
+
+ useEffect(() => {
+ engineVersion()
+ .then(setVersion)
+ .catch(() => setVersion(null));
+ }, []);
+
+ return (
+ <div className="flex flex-col gap-1.5">
+ <h3 className="mb-1 text-[11px] font-semibold uppercase tracking-wider text-tertiary">
+ WolfCut
+ </h3>
+ <p className="text-xs text-secondary">Version {version ?? "unknown"}</p>
+ <p className="text-[11px] leading-relaxed text-tertiary">
+ Local-first video editing. Media, models and renders stay on this machine.
+ </p>
+ </div>
+ );
+}
diff --git a/desktop/src/components/TimelinePanel.tsx b/desktop/src/components/TimelinePanel.tsx
index c2e0f3c4..e0d5dcfb 100644
--- a/desktop/src/components/TimelinePanel.tsx
+++ b/desktop/src/components/TimelinePanel.tsx
@@ -10,6 +10,7 @@ import type { Clip, ClipMove, Project, Track } from "../lib/project";
import { snapTime } from "../lib/project";
import { timecode } from "../lib/time";
import { Icon, IconButton } from "./Icon";
+import { Menu, type MenuOption } from "./Menu";
import { Bar, Divider, PANEL_SHELL, Spacer } from "./Panel";
export type Tool = "select" | "razor";
@@ -143,6 +144,7 @@ export function TimelinePanel({
onRemoveTrack,
onRenameTrack,
onClipContextMenu,
+ clipTools,
}: {
project: Project;
playhead: number;
@@ -183,6 +185,11 @@ export function TimelinePanel({
onRemoveTrack: (trackId: string) => void;
onRenameTrack: (trackId: string, name: string) => void;
onClipContextMenu: (clipId: string, x: number, y: number) => void;
+ /**
+ * The audio/video tools dropdown, as menu groups. Built by the app, which
+ * owns the selection logic; this panel only hangs it in the tray.
+ */
+ clipTools: MenuOption[][];
}) {
const canvasRef = useRef<HTMLCanvasElement>(null);
const drag = useRef<DragState | null>(null);
@@ -740,6 +747,22 @@ export function TimelinePanel({
onClick={() => onSnapChange(!snap)}
/>
<Divider />
+ <Menu
+ groups={clipTools}
+ trigger={(open) => (
+ <span
+ title="Audio & video tools"
+ className={`flex h-9 items-center gap-0.5 rounded-lg px-1.5 transition-colors
+ duration-150 ${
+ open ? "bg-tool-active-bg text-tool-active" : "text-primary hover:bg-hover"
+ }`}
+ >
+ <Icon name="waveform" size={16} />
+ <Icon name="chevronDown" size={11} />
+ </span>
+ )}
+ />
+ <Divider />
<IconButton icon="plus" label="Add track" onClick={onAddTrack} />
<Spacer />
diff --git a/desktop/src/components/controls.tsx b/desktop/src/components/controls.tsx
index c6a92c3b..8dc17147 100644
--- a/desktop/src/components/controls.tsx
+++ b/desktop/src/components/controls.tsx
@@ -1,13 +1,48 @@
-import { useRef } from "react";
-import type { PointerEvent as ReactPointerEvent } from "react";
+import { useRef, useState } from "react";
+import type { KeyboardEvent as ReactKeyboardEvent, PointerEvent as ReactPointerEvent } from "react";
+
+import { Icon } from "./Icon";
/**
* Property controls for the inspector.
*
* Pure: value in, callback out. None of them hold state, because the value
* they show has to be whatever the project says it is - including when it
- * changes from somewhere else, like a drag on the timeline.
+ * changes from somewhere else, like a drag on the timeline. (The Slider's
+ * typing state is the one exception, and it is display state, not a value:
+ * the project is not touched until the entry commits.)
+ */
+
+/**
+ * A circled question mark that explains itself on hover.
+ *
+ * Inline help paragraphs cost a permanent line each and read like a manual
+ * pasted into a tool. This keeps the explanation one hover away instead, so
+ * the panel stays controls-first.
*/
+export function HelpTip({ text }: { text: string }) {
+ return (
+ <span className="group/help relative inline-flex shrink-0">
+ <Icon
+ name="help"
+ size={12}
+ className="cursor-help text-tertiary transition-colors group-hover/help:text-secondary"
+ />
+ <span
+ role="tooltip"
+ className="pointer-events-none invisible absolute right-0 top-full z-20 mt-1.5 w-52
+ rounded-md border border-hairline bg-panel p-2 text-[11px] font-normal
+ normal-case leading-snug tracking-normal text-secondary
+ shadow-[0_4px_14px_rgba(0,0,0,0.25)] group-hover/help:visible"
+ >
+ {text}
+ </span>
+ </span>
+ );
+}
+
+/** How much finer a shift-drag moves than a plain one. */
+const FINE_FACTOR = 0.1;
/**
* A slider whose whole track is the grab target.
@@ -16,6 +51,10 @@ import type { PointerEvent as ReactPointerEvent } from "react";
* sliders work in editors rather than the way a browser range input does. The
* fill doubles as the readout, so there is no separate progress element to
* keep in step.
+ *
+ * Holding Shift while dragging moves at a tenth of the rate, for dialling in
+ * an exact value; clicking the readout turns it into a text field for typing
+ * one directly.
*/
export function Slider({
label,
@@ -39,15 +78,40 @@ export function Slider({
onReset?: () => void;
}) {
const track = useRef<HTMLDivElement>(null);
+ // Where the last pointer event landed, so a shift-drag can be relative to
+ // the previous position rather than jumping to the pointer.
+ const lastX = useRef(0);
+ const [typing, setTyping] = useState<string | null>(null);
+
+ const clampStep = (raw: number) => {
+ const stepped = Math.round(raw / step) * step;
+ // Re-round, or steps accumulate float noise like 0.30000000000000004.
+ return Number(Math.min(max, Math.max(min, stepped)).toFixed(6));
+ };
const commit = (event: ReactPointerEvent<HTMLDivElement>) => {
const bounds = track.current?.getBoundingClientRect();
if (!bounds || bounds.width === 0) return;
+ if (event.shiftKey) {
+ // Fine mode: the pointer's movement counts for a tenth. Relative to the
+ // last position, so toggling shift mid-drag never jumps the value.
+ const delta = ((event.clientX - lastX.current) / bounds.width) * (max - min) * FINE_FACTOR;
+ lastX.current = event.clientX;
+ onChange(clampStep(value + delta));
+ return;
+ }
+
+ lastX.current = event.clientX;
const fraction = Math.min(1, Math.max(0, (event.clientX - bounds.left) / bounds.width));
- const stepped = Math.round((min + fraction * (max - min)) / step) * step;
- // Re-round, or steps accumulate float noise like 0.30000000000000004.
- onChange(Number(stepped.toFixed(6)));
+ onChange(clampStep(min + fraction * (max - min)));
+ };
+
+ const commitTyped = () => {
+ if (typing === null) return;
+ const parsed = Number.parseFloat(typing.replace(",", "."));
+ if (Number.isFinite(parsed)) onChange(clampStep(parsed));
+ setTyping(null);
};
const fill = max === min ? 0 : Math.min(1, Math.max(0, (value - min) / (max - min)));
@@ -62,7 +126,31 @@ export function Slider({
>
{label}
</span>
- <span className="font-technical text-[11px] text-primary">{format(value)}</span>
+ {typing === null ? (
+ <button
+ type="button"
+ title="Click to type a value"
+ onClick={() => setTyping(String(Number(value.toFixed(4))))}
+ className="cursor-text rounded px-1 font-technical text-[11px] text-primary
+ transition-colors hover:bg-hover"
+ >
+ {format(value)}
+ </button>
+ ) : (
+ <input
+ autoFocus
+ value={typing}
+ onChange={(event) => setTyping(event.target.value)}
+ onFocus={(event) => event.target.select()}
+ onBlur={commitTyped}
+ onKeyDown={(event: ReactKeyboardEvent<HTMLInputElement>) => {
+ if (event.key === "Enter") commitTyped();
+ if (event.key === "Escape") setTyping(null);
+ }}
+ className="w-16 rounded border border-accent bg-sunken px-1 text-right
+ font-technical text-[11px] text-primary outline-none"
+ />
+ )}
</div>
<div
@@ -74,12 +162,17 @@ export function Slider({
aria-valuemax={max}
tabIndex={0}
onKeyDown={(event) => {
- if (event.key === "ArrowLeft") onChange(Math.max(min, value - step));
- if (event.key === "ArrowRight") onChange(Math.min(max, value + step));
+ // Shift jumps by ten steps - the keyboard's coarse mode, mirroring
+ // how shift is the pointer's fine mode: both mean "the other rate".
+ const by = event.shiftKey ? step * 10 : step;
+ if (event.key === "ArrowLeft") onChange(clampStep(value - by));
+ if (event.key === "ArrowRight") onChange(clampStep(value + by));
}}
onPointerDown={(event) => {
event.currentTarget.setPointerCapture(event.pointerId);
- commit(event);
+ lastX.current = event.clientX;
+ // A shift-click means "adjust from here", not "jump here".
+ if (!event.shiftKey) commit(event);
}}
onPointerMove={(event) => {
if (event.currentTarget.hasPointerCapture(event.pointerId)) commit(event);
@@ -121,17 +214,16 @@ export function Toggle({
onChange,
}: {
label: string;
+ /** Shown behind a help icon, not inline - panels stay controls-first. */
hint?: string;
checked: boolean;
onChange: (checked: boolean) => void;
}) {
return (
- <div className="mb-3 flex items-start justify-between gap-3">
- <span className="min-w-0">
- <span className="block text-[12px] text-primary">{label}</span>
- {hint && (
- <span className="mt-0.5 block text-[11px] leading-snug text-tertiary">{hint}</span>
- )}
+ <div className="mb-3 flex items-center justify-between gap-3">
+ <span className="flex min-w-0 items-center gap-1.5">
+ <span className="truncate text-[12px] text-primary">{label}</span>
+ {hint && <HelpTip text={hint} />}
</span>
<button
@@ -140,8 +232,8 @@ export function Toggle({
aria-checked={checked}
aria-label={label}
onClick={() => onChange(!checked)}
- className={`relative mt-0.5 h-[22px] w-[38px] shrink-0 cursor-pointer rounded-full
- p-[3px] transition-colors duration-200 ${
+ className={`relative h-5.5 w-9.5 shrink-0 cursor-pointer rounded-full
+ p-0.75 transition-colors duration-200 ${
checked ? "bg-accent" : "bg-tertiary/40"
}`}
>
@@ -156,12 +248,22 @@ export function Toggle({
);
}
-/** A labelled group of controls. */
-export function Group({ title, children }: { title: string; children: React.ReactNode }) {
+/** A labelled group of controls, with optional hover help on the heading. */
+export function Group({
+ title,
+ help,
+ children,
+}: {
+ title: string;
+ /** Shown behind a help icon next to the heading. */
+ help?: string;
+ children: React.ReactNode;
+}) {
return (
<section className="mb-5">
- <h3 className="mb-2 text-[11px] font-semibold uppercase tracking-wider text-tertiary">
+ <h3 className="mb-2 flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-wider text-tertiary">
{title}
+ {help && <HelpTip text={help} />}
</h3>
{children}
</section>
diff --git a/desktop/src/lib/effects.ts b/desktop/src/lib/effects.ts
new file mode 100644
index 00000000..14e1f7de
--- /dev/null
+++ b/desktop/src/lib/effects.ts
@@ -0,0 +1,239 @@
+/**
+ * The video effect and transition catalogues.
+ *
+ * Browse-only for now: the engine cannot yet render a video effect or a
+ * transition, so nothing in here produces an FFmpeg fragment. What this file
+ * fixes today is the *shape* of the library - stable ids, categories, and the
+ * one place the panel reads from - so that when the engine work lands, each
+ * entry grows a `chain` builder the way `lib/filters.ts` entries have one, and
+ * the browsing UI does not change at all.
+ *
+ * Ids are forever: they will be written into project files once effects can be
+ * applied, so renaming one later would orphan clips. Pick them like you mean
+ * them.
+ */
+
+export type EffectCategory = "basic" | "blur" | "color" | "stylize" | "distort";
+
+export interface EffectDefinition {
+ id: string;
+ label: string;
+ category: EffectCategory;
+ /** One line on what it does, shown in the card tooltip. */
+ blurb: string;
+ /** CSS background for the preview tile, until real thumbnails exist. */
+ swatch: string;
+}
+
+/** The categories under the "Video Effects" dropdown, in display order. */
+export const EFFECT_CATEGORIES: { id: EffectCategory; label: string }[] = [
+ { id: "basic", label: "Basic" },
+ { id: "blur", label: "Blur" },
+ { id: "color", label: "Color" },
+ { id: "stylize", label: "Stylize" },
+ { id: "distort", label: "Distort" },
+];
+
+export const EFFECTS: EffectDefinition[] = [
+ // ── basic ────────────────────────────────────────────────────────────────
+ {
+ id: "black-white",
+ label: "Black & White",
+ category: "basic",
+ blurb: "Drops all colour, keeps the tones.",
+ swatch: "linear-gradient(135deg, #e8e8e8 0%, #6b6b6b 55%, #1c1c1c 100%)",
+ },
+ {
+ id: "sepia",
+ label: "Sepia",
+ category: "basic",
+ blurb: "Aged warm brown, like an old photograph.",
+ swatch: "linear-gradient(135deg, #e9d3ae 0%, #a9773f 60%, #513a1c 100%)",
+ },
+ {
+ id: "invert",
+ label: "Invert",
+ category: "basic",
+ blurb: "Flips every colour to its negative.",
+ swatch: "linear-gradient(135deg, #00d0ff 0%, #7a00c8 55%, #ffe600 100%)",
+ },
+ {
+ id: "sharpen",
+ label: "Sharpen",
+ category: "basic",
+ blurb: "Crisps up edges and fine detail.",
+ swatch: "linear-gradient(135deg, #cfd8dc 0%, #607d8b 55%, #263238 100%)",
+ },
+ // ── blur ─────────────────────────────────────────────────────────────────
+ {
+ id: "gaussian-blur",
+ label: "Gaussian Blur",
+ category: "blur",
+ blurb: "Soft, even blur across the whole frame.",
+ swatch: "linear-gradient(135deg, #b3c7f9 0%, #7f9cf5 55%, #4c6ef5 100%)",
+ },
+ {
+ id: "box-blur",
+ label: "Box Blur",
+ category: "blur",
+ blurb: "Fast, slightly harsher blur.",
+ swatch: "linear-gradient(135deg, #a5d8ff 0%, #4dabf7 55%, #1971c2 100%)",
+ },
+ {
+ id: "motion-blur",
+ label: "Motion Blur",
+ category: "blur",
+ blurb: "Directional streaking, as if the camera swept.",
+ swatch: "linear-gradient(90deg, #91a7ff 0%, #5c7cfa 45%, #91a7ff 100%)",
+ },
+ // ── color ────────────────────────────────────────────────────────────────
+ {
+ id: "warm",
+ label: "Warm",
+ category: "color",
+ blurb: "Pushes the frame toward orange and gold.",
+ swatch: "linear-gradient(135deg, #ffd8a8 0%, #ff922b 55%, #d9480f 100%)",
+ },
+ {
+ id: "cool",
+ label: "Cool",
+ category: "color",
+ blurb: "Pushes the frame toward blue and teal.",
+ swatch: "linear-gradient(135deg, #99e9f2 0%, #22b8cf 55%, #0b7285 100%)",
+ },
+ {
+ id: "vibrance",
+ label: "Vibrance",
+ category: "color",
+ blurb: "Richer colour without blowing out skin tones.",
+ swatch: "linear-gradient(135deg, #ff6b6b 0%, #fcc419 40%, #51cf66 70%, #339af0 100%)",
+ },
+ {
+ id: "contrast-pop",
+ label: "Contrast Pop",
+ category: "color",
+ blurb: "Deeper blacks, brighter whites.",
+ swatch: "linear-gradient(135deg, #f8f9fa 0%, #868e96 45%, #212529 100%)",
+ },
+ // ── stylize ──────────────────────────────────────────────────────────────
+ {
+ id: "vignette",
+ label: "Vignette",
+ category: "stylize",
+ blurb: "Darkens the corners to pull the eye inward.",
+ swatch: "radial-gradient(circle at 50% 50%, #ced4da 0%, #495057 60%, #16191c 100%)",
+ },
+ {
+ id: "film-grain",
+ label: "Film Grain",
+ category: "stylize",
+ blurb: "Fine analogue noise over the picture.",
+ swatch: "linear-gradient(135deg, #dee2e6 0%, #adb5bd 50%, #495057 100%)",
+ },
+ {
+ id: "glow",
+ label: "Glow",
+ category: "stylize",
+ blurb: "Blooms the highlights softly.",
+ swatch: "radial-gradient(circle at 50% 40%, #fff9db 0%, #ffe066 45%, #e8590c 100%)",
+ },
+ {
+ id: "posterize",
+ label: "Posterize",
+ category: "stylize",
+ blurb: "Flattens colour into bold bands.",
+ swatch:
+ "linear-gradient(135deg, #e64980 0%, #e64980 33%, #7950f2 33%, #7950f2 66%, #1098ad 66%, #1098ad 100%)",
+ },
+ // ── distort ──────────────────────────────────────────────────────────────
+ {
+ id: "pixelate",
+ label: "Pixelate",
+ category: "distort",
+ blurb: "Chunks the frame into visible blocks.",
+ swatch:
+ "repeating-linear-gradient(0deg, #74c0fc 0 6px, #4dabf7 6px 12px), repeating-linear-gradient(90deg, #74c0fc80 0 6px, #4dabf780 6px 12px)",
+ },
+ {
+ id: "mirror",
+ label: "Mirror",
+ category: "distort",
+ blurb: "Reflects one half of the frame onto the other.",
+ swatch: "linear-gradient(90deg, #63e6be 0%, #0ca678 50%, #63e6be 100%)",
+ },
+ {
+ id: "fisheye",
+ label: "Fisheye",
+ category: "distort",
+ blurb: "Bulges the centre like a wide lens.",
+ swatch: "radial-gradient(circle at 50% 50%, #d0bfff 0%, #9775fa 55%, #5f3dc4 100%)",
+ },
+ {
+ id: "shake",
+ label: "Shake",
+ category: "distort",
+ blurb: "Handheld-style camera judder.",
+ swatch: "linear-gradient(105deg, #ffc9c9 0%, #ff8787 40%, #fa5252 60%, #ffc9c9 100%)",
+ },
+];
+
+export type TransitionCategory = "basic" | "motion";
+
+export interface TransitionDefinition {
+ id: string;
+ label: string;
+ category: TransitionCategory;
+ /** One line on what it does, shown in the card tooltip. */
+ blurb: string;
+}
+
+/** The categories under the "Transitions" dropdown, in display order. */
+export const TRANSITION_CATEGORIES: { id: TransitionCategory; label: string }[] = [
+ { id: "basic", label: "Basic" },
+ { id: "motion", label: "Motion" },
+];
+
+export const TRANSITIONS: TransitionDefinition[] = [
+ {
+ id: "cross-fade",
+ label: "Cross Fade",
+ category: "basic",
+ blurb: "The outgoing clip dissolves into the incoming one.",
+ },
+ {
+ id: "fade-black",
+ label: "Fade to Black",
+ category: "basic",
+ blurb: "Out through black, then in from black.",
+ },
+ {
+ id: "fade-white",
+ label: "Fade to White",
+ category: "basic",
+ blurb: "Out through white, then in from white.",
+ },
+ {
+ id: "wipe-left",
+ label: "Wipe Left",
+ category: "motion",
+ blurb: "The incoming clip sweeps in from the right edge.",
+ },
+ {
+ id: "wipe-right",
+ label: "Wipe Right",
+ category: "motion",
+ blurb: "The incoming clip sweeps in from the left edge.",
+ },
+ {
+ id: "push",
+ label: "Push",
+ category: "motion",
+ blurb: "The incoming clip shoves the outgoing one off screen.",
+ },
+ {
+ id: "zoom",
+ label: "Zoom",
+ category: "motion",
+ blurb: "Punches in on the cut, then settles.",
+ },
+];
diff --git a/desktop/src/lib/engine.ts b/desktop/src/lib/engine.ts
index 6a41fb3f..32f60214 100644
--- a/desktop/src/lib/engine.ts
+++ b/desktop/src/lib/engine.ts
@@ -143,6 +143,8 @@ export interface ExportClip {
offsetY: number;
/** Clockwise rotation in degrees. */
rotation: number;
+ /** Blend strength over the layers beneath, 1 being solid. */
+ opacity: number;
/** The source's pixel size, when known - what makes an aspect-correct fit possible. */
mediaWidth: number | null;
mediaHeight: number | null;
@@ -200,3 +202,91 @@ export async function onExportProgress(
): Promise<UnlistenFn> {
return listen<ExportProgress>("export://progress", (event) => handler(event.payload));
}
+
+// ── transcription ──────────────────────────────────────────────────────────
+
+/** One Whisper model, as the settings panel sees it. */
+export interface TranscriberModel {
+ id: string;
+ label: string;
+ blurb: string;
+ englishOnly: boolean;
+ /** Approximate download size in bytes, for display. */
+ sizeBytes: number;
+ downloaded: boolean;
+}
+
+export interface TranscriberStatus {
+ /** Where `whisper-cli` was found, or null when it was not. */
+ binary: string | null;
+ /** Where models are stored on disk. */
+ modelsDir: string;
+ models: TranscriberModel[];
+}
+
+/** Progress of a model download, via `transcriber://download`. */
+export interface TranscriberDownload {
+ id: string;
+ received: number;
+ total: number;
+ done: boolean;
+}
+
+/** One caption, in seconds relative to the transcribed window's start. */
+export interface TranscribedSegment {
+ start: number;
+ end: number;
+ text: string;
+}
+
+export interface TranscribeRequest {
+ path: string;
+ /** Seconds into the file where the clip's source window begins. */
+ sourceStart: number;
+ /** How much source the clip covers, in seconds (`duration * speed`). */
+ window: number;
+ /** Whisper language code, or "auto". */
+ language: string;
+ modelId: string;
+}
+
+export async function transcriberStatus(): Promise<TranscriberStatus> {
+ return invoke<TranscriberStatus>("transcriber_status");
+}
+
+/** Remembers a user-chosen `whisper-cli`. Throws if the path is not a file. */
+export async function setTranscriberBinary(path: string): Promise<TranscriberStatus> {
+ return invoke<TranscriberStatus>("set_transcriber_binary", { path });
+}
+
+/** Downloads one model. Resolves when the file is complete and renamed. */
+export async function downloadTranscriberModel(id: string): Promise<void> {
+ return invoke<void>("download_transcriber_model", { id });
+}
+
+export async function cancelModelDownload(): Promise<void> {
+ return invoke<void>("cancel_model_download");
+}
+
+export async function deleteTranscriberModel(id: string): Promise<void> {
+ return invoke<void>("delete_transcriber_model", { id });
+}
+
+/** Subscribes to model download progress. Resolves to an unsubscribe function. */
+export async function onTranscriberDownload(
+ handler: (progress: TranscriberDownload) => void,
+): Promise<UnlistenFn> {
+ return listen<TranscriberDownload>("transcriber://download", (event) => handler(event.payload));
+}
+
+/** Transcribes one clip's audio window. Runs until done or cancelled. */
+export async function transcribeClip(
+ request: TranscribeRequest,
+): Promise<TranscribedSegment[]> {
+ return invoke<TranscribedSegment[]>("transcribe_clip", { request });
+}
+
+/** Kills the running transcription, if any. */
+export async function cancelTranscribe(): Promise<void> {
+ return invoke<void>("cancel_transcribe");
+}
diff --git a/desktop/src/lib/filters.ts b/desktop/src/lib/filters.ts
index a887dcdd..ace46433 100644
--- a/desktop/src/lib/filters.ts
+++ b/desktop/src/lib/filters.ts
@@ -39,6 +39,11 @@ export interface FilterDefinition {
export interface ClipFilter {
id: string;
params: Record<string, number>;
+ /**
+ * False bypasses the filter without losing its settings - the A/B switch.
+ * Absent means enabled, so filters saved before this existed stay audible.
+ */
+ enabled?: boolean;
}
export const CATEGORIES: { id: FilterCategory; label: string }[] = [
@@ -277,6 +282,9 @@ export function resolveParams(
*/
export function buildChain(filters: readonly ClipFilter[]): string | null {
const fragments = filters.flatMap((applied) => {
+ // A bypassed filter contributes nothing, so preview and export both fall
+ // out of this one check - there is no second place to forget.
+ if (applied.enabled === false) return [];
const definition = findFilter(applied.id);
if (!definition) return [];
return [definition.chain(resolveParams(definition, applied.params))];
diff --git a/desktop/src/lib/persist.ts b/desktop/src/lib/persist.ts
index 4d47a0d6..cddf5caf 100644
--- a/desktop/src/lib/persist.ts
+++ b/desktop/src/lib/persist.ts
@@ -11,7 +11,7 @@
*/
import type { ProjectSession } from "../components/StartScreen";
-import type { Clip, ClipKind, MediaItem, Project, Track } from "./project";
+import { adoptProject, type Clip, type ClipKind, type MediaItem, type Project, type Track } from "./project";
import { defaultTextStyle, type CustomFont, type TextStyle } from "./text";
/** Bumped only when a change cannot be absorbed by defaulting. */
@@ -156,6 +156,9 @@ export function fromDocument(raw: unknown): Project | null {
offsetX: number(clip.offsetX, 0),
offsetY: number(clip.offsetY, 0),
rotation: number(clip.rotation, 0),
+ // Clamped, not just defaulted: a hand-edited 2 would export
+ // differently from how the preview clamps it on screen.
+ opacity: Math.min(1, Math.max(0, number(clip.opacity, 1))),
speed: Math.max(0.1, number(clip.speed, 1)),
preservePitch: flag(clip.preservePitch, true),
muted: flag(clip.muted, false) || undefined,
@@ -172,6 +175,8 @@ export function fromDocument(raw: unknown): Project | null {
typeof applied.params === "object" && applied.params !== null
? (applied.params as Record<string, number>)
: {},
+ // Absent in files saved before bypass existed: enabled.
+ enabled: flag(applied.enabled, true),
},
];
})
@@ -194,7 +199,10 @@ export function fromDocument(raw: unknown): Project | null {
// A file with no tracks at all is not something to open silently as empty.
if (tracks.length === 0) return null;
- return { media, tracks, clips, fonts };
+ // The restored ids were minted by an earlier session; the counter must move
+ // past them - and any baked-in duplicates must be re-minted - before
+ // anything new is added, or identities collide.
+ return adoptProject({ media, tracks, clips, fonts });
}
/**
diff --git a/desktop/src/lib/project.ts b/desktop/src/lib/project.ts
index d4d028f9..3c1b1a84 100644
--- a/desktop/src/lib/project.ts
+++ b/desktop/src/lib/project.ts
@@ -124,6 +124,14 @@ export interface Clip {
offsetY: number;
/** Clockwise rotation in degrees, about the picture's centre. */
rotation: number;
+ /**
+ * Blend strength over whatever is beneath, in `0..1`. One is solid.
+ *
+ * The picture-side sibling of `volume`: the preview applies it as CSS
+ * opacity and the exporter hands it to the compositor, both reading this
+ * one number.
+ */
+ opacity: number;
/**
* Playback rate. 1 is normal, 2 is twice as fast.
@@ -194,6 +202,61 @@ const MIN_CLIP_DURATION = 1 / 60;
let counter = 0;
const nextId = (prefix: string) => `${prefix}${(counter += 1)}`;
+/**
+ * Makes a restored project safe to mint new ids against.
+ *
+ * Ids come from a session-local counter, but a restored project carries ids
+ * minted by an *earlier* session, and the counter starts back at zero on
+ * every launch. Without this, the first thing added after opening a saved
+ * project reuses an id that is already on the timeline - two clips with one
+ * identity. React renders the duplicate keys as a single element (one clip
+ * silently vanishes) and `updateClip` patches both (a title's text style
+ * lands on the footage it collided with).
+ *
+ * Two steps, in this order:
+ *
+ * 1. Advance the counter past every id the file uses.
+ * 2. Re-mint any id that appears twice - a file saved *while* the collision
+ * was live has the duplicates baked in, and they must not survive the
+ * reload. The first occurrence keeps the id, because that is the one
+ * every lookup already resolved to; references to a re-minted duplicate
+ * therefore keep meaning what they always did.
+ *
+ * Every restore path must run its project through this before anything new
+ * can be added.
+ */
+export function adoptProject(project: Project): Project {
+ let highest = 0;
+ const consider = (id: string) => {
+ const digits = /(\d+)$/.exec(id)?.[1];
+ if (!digits) return;
+ const value = Number.parseInt(digits, 10);
+ if (Number.isFinite(value) && value > highest) highest = value;
+ };
+ for (const item of project.media) consider(item.id);
+ for (const track of project.tracks) consider(track.id);
+ for (const clip of project.clips) consider(clip.id);
+ if (highest > counter) counter = highest;
+
+ const reMint = <T extends { id: string }>(items: T[], prefix: string): T[] => {
+ const seen = new Set<string>();
+ return items.map((item) => {
+ if (!seen.has(item.id)) {
+ seen.add(item.id);
+ return item;
+ }
+ return { ...item, id: nextId(prefix) };
+ });
+ };
+
+ return {
+ ...project,
+ media: reMint(project.media, "m"),
+ tracks: reMint(project.tracks, "t"),
+ clips: reMint(project.clips, "c"),
+ };
+}
+
/** A project with four empty lanes. */
export function createProject(): Project {
return {
@@ -295,6 +358,7 @@ export function addClip(
offsetX: 0,
offsetY: 0,
rotation: 0,
+ opacity: 1,
speed: 1,
preservePitch: true,
filters: [],
@@ -344,6 +408,7 @@ export function addTextClip(
offsetX: 0,
offsetY: 0,
rotation: 0,
+ opacity: 1,
speed: 1,
preservePitch: true,
filters: [],
@@ -416,7 +481,9 @@ export function trimClip(
...clip,
start,
duration: clip.duration - applied,
- sourceStart: Math.max(0, clip.sourceStart + applied),
+ // A timeline second covers `speed` source seconds, so the in-point
+ // moves that much further on a retimed clip.
+ sourceStart: Math.max(0, clip.sourceStart + applied * clip.speed),
};
}),
};
@@ -596,7 +663,9 @@ export function splitClip(project: Project, clipId: string, time: number): Proje
id: nextId("c"),
start: clip.start + offset,
duration: clip.duration - offset,
- sourceStart: clip.sourceStart + offset,
+ // Timeline offset times speed is how much source the head consumed - on a
+ // 2x clip the cut is twice as far into the file as it is into the clip.
+ sourceStart: clip.sourceStart + offset * clip.speed,
filters: [...clip.filters],
};
@@ -700,6 +769,10 @@ export function whyNotMerge(project: Project, clipIds: readonly string[]): strin
if (clips.some((clip) => clip.mediaId !== clips[0].mediaId)) {
return "Merged clips must come from the same file.";
}
+ // One clip has one rate; pieces playing at different rates cannot be one.
+ if (clips.some((clip) => clip.speed !== clips[0].speed)) {
+ return "Merged clips must play at the same speed.";
+ }
const ordered = [...clips].sort((left, right) => left.start - right.start);
for (let index = 1; index < ordered.length; index += 1) {
@@ -711,9 +784,12 @@ export function whyNotMerge(project: Project, clipIds: readonly string[]): strin
}
// The source has to be continuous too. Two halves that were rearranged
// are adjacent on the timeline but no longer a single run of the file,
- // and joining them would silently change what plays.
+ // and joining them would silently change what plays. A retimed piece
+ // consumes `duration * speed` of source, so continuity is measured there.
if (
- Math.abs(current.sourceStart - (previous.sourceStart + previous.duration)) > JOIN_EPSILON
+ Math.abs(
+ current.sourceStart - (previous.sourceStart + previous.duration * previous.speed),
+ ) > JOIN_EPSILON
) {
return "These pieces are no longer in their original order.";
}
diff --git a/desktop/src/lib/settings.ts b/desktop/src/lib/settings.ts
new file mode 100644
index 00000000..81892208
--- /dev/null
+++ b/desktop/src/lib/settings.ts
@@ -0,0 +1,31 @@
+/**
+ * App-level preferences, in localStorage.
+ *
+ * These are machine preferences, not edit state: which Whisper model to use,
+ * which language to expect. They deliberately do not live in the project -
+ * copying a project to a machine without the model should not break it, and
+ * the choice is about this computer's speed/quality tradeoff.
+ */
+
+const MODEL_KEY = "relay.transcriber.model";
+const LANGUAGE_KEY = "relay.transcriber.language";
+
+/** The default model: the speed/quality sweet spot, per the settings panel. */
+export const DEFAULT_TRANSCRIBER_MODEL = "base.en";
+
+export function getTranscriberModel(): string {
+ return localStorage.getItem(MODEL_KEY) ?? DEFAULT_TRANSCRIBER_MODEL;
+}
+
+export function setTranscriberModel(id: string): void {
+ localStorage.setItem(MODEL_KEY, id);
+}
+
+/** A Whisper language code, or "auto" to let the model decide. */
+export function getTranscriberLanguage(): string {
+ return localStorage.getItem(LANGUAGE_KEY) ?? "auto";
+}
+
+export function setTranscriberLanguage(code: string): void {
+ localStorage.setItem(LANGUAGE_KEY, code);
+}
diff --git a/desktop/src/styles.css b/desktop/src/styles.css
index 7d8a9a9e..5af3bf8b 100644
--- a/desktop/src/styles.css
+++ b/desktop/src/styles.css
@@ -104,6 +104,15 @@
--color-selection: #c6f432;
--color-on-selection: #101014;
+ /*
+ * An activated tool button: lime glyph on a slightly darker surface, so the
+ * toolbar reads as "this mode is on" without shouting accent-blue. The lime
+ * is darkened for light mode - a 2px stroke of the selection lime would
+ * wash out on a near-white bar - and is the selection lime itself in dark.
+ */
+ --color-tool-active: #65a30d;
+ --color-tool-active-bg: rgba(0, 0, 0, 0.08);
+
--color-playhead: #ff3b30;
--color-clip-video: #0a6cc4;
--color-clip-video-body: #cfe3f7;
@@ -173,6 +182,9 @@
--color-accent-soft: rgba(10, 132, 255, 0.18);
--color-on-accent: #ffffff;
+ --color-tool-active: #c6f432;
+ --color-tool-active-bg: rgba(0, 0, 0, 0.32);
+
--color-danger: #ff453a;
--color-danger-soft: rgba(255, 69, 58, 0.14);
--color-success: #30d158;