Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

feat(agent): built-in tools module, permission prompts, and CLI/proxy wiring

Akarshan Biswasb2d7059ceb14
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index 0d406c954..4619d2e70 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -29,6 +29,7 @@ dependencies = [
"http-body-util",
"hyper",
"hyper-util",
+ "ignore",
"indicatif",
"jan-utils",
"keyring",
@@ -38,9 +39,10 @@ dependencies = [
"machine-uid",
"nix 0.30.1",
"once_cell",
- "rand 0.8.5",
- "reqwest 0.12.23",
- "rfd",
+ "rand 0.8.7",
+ "regex",
+ "reqwest 0.12.28",
+ "rfd 0.15.4",
"rmcp",
"serde",
"serde_json",
@@ -67,26 +69,19 @@ dependencies = [
"tauri-plugin-vector-db",
"tauri-plugin-websearch",
"tempfile",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tokio",
"tokio-stream",
"tokio-util",
+ "toml 0.8.2",
+ "toml_edit 0.23.10+spec-1.0.0",
"url",
"uuid",
"windows-sys 0.60.2",
- "zbus 5.11.0",
+ "zbus 5.17.0",
"zip 0.6.6",
]
-[[package]]
-name = "addr2line"
-version = "0.25.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b"
-dependencies = [
- "gimli",
-]
-
[[package]]
name = "adler2"
version = "2.0.1"
@@ -137,17 +132,6 @@ dependencies = [
"subtle",
]
-[[package]]
-name = "ahash"
-version = "0.7.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9"
-dependencies = [
- "getrandom 0.2.16",
- "once_cell",
- "version_check",
-]
-
[[package]]
name = "ahash"
version = "0.8.12"
@@ -155,7 +139,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75"
dependencies = [
"cfg-if",
- "getrandom 0.3.3",
+ "getrandom 0.3.4",
"once_cell",
"version_check",
"zerocopy",
@@ -163,9 +147,9 @@ dependencies = [
[[package]]
name = "aho-corasick"
-version = "1.1.3"
+version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
+checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
dependencies = [
"memchr",
]
@@ -189,7 +173,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbb4e440d04be07da1f1bf44fb4495ebd58669372fe0cffa6e48595ac5bd88a3"
dependencies = [
"android_log-sys",
- "env_filter 0.1.3",
+ "env_filter 0.1.4",
"log",
]
@@ -204,9 +188,9 @@ dependencies = [
[[package]]
name = "anstream"
-version = "0.6.21"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
+checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
dependencies = [
"anstyle",
"anstyle-parse",
@@ -219,15 +203,15 @@ dependencies = [
[[package]]
name = "anstyle"
-version = "1.0.13"
+version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
+checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
[[package]]
name = "anstyle-parse"
-version = "0.2.7"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
+checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
dependencies = [
"utf8parse",
]
@@ -238,7 +222,7 @@ version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
dependencies = [
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -249,14 +233,14 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
dependencies = [
"anstyle",
"once_cell_polyfill",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
name = "anyhow"
-version = "1.0.100"
+version = "1.0.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
+checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3"
[[package]]
name = "arbitrary"
@@ -267,12 +251,6 @@ dependencies = [
"derive_arbitrary",
]
-[[package]]
-name = "arrayvec"
-version = "0.7.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
-
[[package]]
name = "ash"
version = "0.37.3+1.3.251"
@@ -284,14 +262,14 @@ dependencies = [
[[package]]
name = "ashpd"
-version = "0.11.0"
+version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6cbdf310d77fd3aaee6ea2093db7011dc2d35d2eb3481e5607f1f8d942ed99df"
+checksum = "d2f3f79755c74fd155000314eb349864caa787c6592eace6c6882dad873d9c39"
dependencies = [
"enumflags2",
"futures-channel",
"futures-util",
- "rand 0.9.2",
+ "rand 0.9.5",
"raw-window-handle 0.6.2",
"serde",
"serde_repr",
@@ -300,7 +278,7 @@ dependencies = [
"wayland-backend",
"wayland-client",
"wayland-protocols",
- "zbus 5.11.0",
+ "zbus 5.17.0",
]
[[package]]
@@ -329,9 +307,9 @@ dependencies = [
[[package]]
name = "async-executor"
-version = "1.13.3"
+version = "1.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "497c00e0fd83a72a79a39fcbd8e3e2f055d6f6c7e025f3b3d91f4f8e76527fb8"
+checksum = "c96bf972d85afc50bf5ab8fe2d54d1586b4e0b46c97c50a0c9e71e2f7bcd812a"
dependencies = [
"async-task",
"concurrent-queue",
@@ -361,9 +339,9 @@ dependencies = [
[[package]]
name = "async-lock"
-version = "3.4.1"
+version = "3.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fd03604047cee9b6ce9de9f70c6cd540a0520c813cbd49bae61f33ab80ed1dc"
+checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311"
dependencies = [
"event-listener",
"event-listener-strategy",
@@ -396,14 +374,14 @@ checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "async-signal"
-version = "0.2.13"
+version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43c070bbf59cd3570b6b2dd54cd772527c7c3620fce8be898406dd3ed6adc64c"
+checksum = "52b5aaafa020cf5053a01f2a60e8ff5dccf550f0f77ec54a4e47285ac2bab485"
dependencies = [
"async-io",
"async-lock",
@@ -431,7 +409,7 @@ checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -474,24 +452,9 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
[[package]]
name = "autocfg"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
-
-[[package]]
-name = "backtrace"
-version = "0.3.76"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6"
-dependencies = [
- "addr2line",
- "cfg-if",
- "libc",
- "miniz_oxide",
- "object",
- "rustc-demangle",
- "windows-link 0.2.1",
-]
+checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
[[package]]
name = "base64"
@@ -507,9 +470,9 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
[[package]]
name = "base64ct"
-version = "1.8.0"
+version = "1.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55248b47b0caf0546f7988906588779981c43bb1bc9d0c44087278f80cdb44ba"
+checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06"
[[package]]
name = "bit-set"
@@ -534,23 +497,11 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bitflags"
-version = "2.9.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394"
-dependencies = [
- "serde",
-]
-
-[[package]]
-name = "bitvec"
-version = "1.0.1"
+version = "2.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
+checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
dependencies = [
- "funty",
- "radium",
- "tap",
- "wyz",
+ "serde_core",
]
[[package]]
@@ -571,22 +522,13 @@ dependencies = [
"generic-array",
]
-[[package]]
-name = "block2"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f"
-dependencies = [
- "objc2 0.5.2",
-]
-
[[package]]
name = "block2"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5"
dependencies = [
- "objc2 0.6.3",
+ "objc2",
]
[[package]]
@@ -603,85 +545,48 @@ dependencies = [
]
[[package]]
-name = "borsh"
-version = "1.5.7"
+name = "bs58"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad8646f98db542e39fc66e68a20b2144f6a732636df7c2354e74645faaa433ce"
+checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4"
dependencies = [
- "borsh-derive",
- "cfg_aliases",
+ "tinyvec",
]
[[package]]
-name = "borsh-derive"
-version = "1.5.7"
+name = "bstr"
+version = "1.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdd1d3c0c2f5833f22386f252fe8ed005c7f59fdcddeef025c01b4c3b9fd9ac3"
+checksum = "5cee35f73844aa3014bb606320a6c1f010249dbdf43342fe54b5a4f6a8ed4b79"
dependencies = [
- "once_cell",
- "proc-macro-crate 3.4.0",
- "proc-macro2",
- "quote",
- "syn 2.0.106",
+ "memchr",
+ "serde_core",
]
[[package]]
name = "bumpalo"
-version = "3.19.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
-
-[[package]]
-name = "byte-unit"
-version = "5.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1cd29c3c585209b0cbc7309bfe3ed7efd8c84c21b7af29c8bfae908f8777174"
-dependencies = [
- "rust_decimal",
- "serde",
- "utf8-width",
-]
-
-[[package]]
-name = "bytecheck"
-version = "0.6.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23cdc57ce23ac53c931e88a43d06d070a6fd142f2617be5855eb75efc9beb1c2"
-dependencies = [
- "bytecheck_derive",
- "ptr_meta",
- "simdutf8",
-]
-
-[[package]]
-name = "bytecheck_derive"
-version = "0.6.12"
+version = "3.20.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3db406d29fbcd95542e92559bed4d8ad92636d1ca8b3b72ede10b4bcc010e659"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
+checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
[[package]]
name = "bytemuck"
-version = "1.24.0"
+version = "1.25.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4"
+checksum = "d6aedf8ae72766347502cf3cb4f41cf5e9cc37d28bee90f1fdaaae15f9cf9424"
dependencies = [
"bytemuck_derive",
]
[[package]]
name = "bytemuck_derive"
-version = "1.10.2"
+version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9abbd1bc6865053c427f7198e6af43bfdedc55ab791faed4fbd361d789575ff"
+checksum = "f65693059b6b9c588b9f62fed1cedbf0a8b805631457ea162d68f0de186f3de5"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -692,9 +597,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]]
name = "bytes"
-version = "1.10.1"
+version = "1.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
+checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
dependencies = [
"serde",
]
@@ -725,7 +630,7 @@ version = "0.18.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ca26ef0159422fb77631dc9d17b102f253b876fe1586b03b803e63a309b4ee2"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"cairo-sys-rs",
"glib",
"libc",
@@ -761,9 +666,9 @@ dependencies = [
[[package]]
name = "camino"
-version = "1.2.1"
+version = "1.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609"
+checksum = "5f2d30e4173c4026932d51d31d6b0613b1fd3014bf3f9f8943d4ba139c437ba0"
dependencies = [
"serde_core",
]
@@ -788,7 +693,7 @@ dependencies = [
"semver",
"serde",
"serde_json",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
]
[[package]]
@@ -798,7 +703,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "374b7c592d9c00c1f4972ea58390ac6b18cbb6ab79011f3bdc90a0b82ca06b77"
dependencies = [
"serde",
- "toml 0.9.7",
+ "toml 0.9.12+spec-1.1.0",
]
[[package]]
@@ -812,9 +717,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.40"
+version = "1.2.67"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1d05d92f4b1fd76aad469d46cdd858ca761576082cd37df81416691e50199fb"
+checksum = "e17dd265a7d0f31ef544e1b20e03add05d3b45b491b633b10d67145d2acc1a38"
dependencies = [
"find-msvc-tools",
"jobserver",
@@ -857,9 +762,9 @@ dependencies = [
[[package]]
name = "cfg-if"
-version = "1.0.3"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
+checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
[[package]]
name = "cfg_aliases"
@@ -891,9 +796,9 @@ dependencies = [
[[package]]
name = "chrono"
-version = "0.4.42"
+version = "0.4.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2"
+checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327"
dependencies = [
"iana-time-zone",
"js-sys",
@@ -915,9 +820,9 @@ dependencies = [
[[package]]
name = "clap"
-version = "4.5.60"
+version = "4.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2797f34da339ce31042b27d23607e051786132987f595b02ba4f6a6dffb7030a"
+checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51"
dependencies = [
"clap_builder",
"clap_derive",
@@ -925,9 +830,9 @@ dependencies = [
[[package]]
name = "clap_builder"
-version = "4.5.60"
+version = "4.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24a241312cea5059b13574bb9b3861cabf758b879c15190b37b6d6fd63ab6876"
+checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f"
dependencies = [
"anstream",
"anstyle",
@@ -937,21 +842,21 @@ dependencies = [
[[package]]
name = "clap_derive"
-version = "4.5.55"
+version = "4.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a92793da1a46a5f2a02a6f4c46c6496b28c43638adea8306fcb0caa1634f24e5"
+checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9"
dependencies = [
"heck 0.5.0",
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "clap_lex"
-version = "1.0.0"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a822ea5bc7590f9d40f1ba12c0dc3c2760f3482c6984db1573ad11031420831"
+checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
[[package]]
name = "codepage"
@@ -964,9 +869,9 @@ dependencies = [
[[package]]
name = "colorchoice"
-version = "1.0.4"
+version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
+checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
[[package]]
name = "combine"
@@ -1021,7 +926,7 @@ version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e"
dependencies = [
- "getrandom 0.2.16",
+ "getrandom 0.2.17",
"once_cell",
"tiny-keccak",
]
@@ -1032,12 +937,6 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
-[[package]]
-name = "convert_case"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e"
-
[[package]]
name = "cookie"
version = "0.18.1"
@@ -1049,24 +948,6 @@ dependencies = [
"version_check",
]
-[[package]]
-name = "cookie_store"
-version = "0.21.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2eac901828f88a5241ee0600950ab981148a18f2f756900ffba1b125ca6a3ef9"
-dependencies = [
- "cookie",
- "document-features",
- "idna",
- "log",
- "publicsuffix",
- "serde",
- "serde_derive",
- "serde_json",
- "time",
- "url",
-]
-
[[package]]
name = "cookie_store"
version = "0.22.1"
@@ -1111,26 +992,13 @@ version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
-[[package]]
-name = "core-graphics"
-version = "0.24.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa95a34622365fa5bbf40b20b75dba8dfa8c94c734aea8ac9a5ca38af14316f1"
-dependencies = [
- "bitflags 2.9.4",
- "core-foundation 0.10.1",
- "core-graphics-types 0.2.0",
- "foreign-types 0.5.0",
- "libc",
-]
-
[[package]]
name = "core-graphics"
version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "064badf302c3194842cf2c5d61f56cc88e54a759313879cdf03abdd27d0c3b97"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"core-foundation 0.10.1",
"core-graphics-types 0.2.0",
"foreign-types 0.5.0",
@@ -1154,7 +1022,7 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"core-foundation 0.10.1",
"libc",
]
@@ -1179,18 +1047,18 @@ dependencies = [
[[package]]
name = "crc"
-version = "3.3.0"
+version = "3.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675"
+checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d"
dependencies = [
"crc-catalog",
]
[[package]]
name = "crc-catalog"
-version = "2.4.0"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5"
+checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853"
[[package]]
name = "crc32fast"
@@ -1203,27 +1071,46 @@ dependencies = [
[[package]]
name = "crossbeam-channel"
-version = "0.5.15"
+version = "0.5.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d85363c37faeca707aef026efa9f3b34d077bce547e48f770770625c6013679e"
+dependencies = [
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "crossbeam-deque"
+version = "0.8.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb"
+dependencies = [
+ "crossbeam-epoch",
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "crossbeam-epoch"
+version = "0.9.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
+checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f"
dependencies = [
"crossbeam-utils",
]
[[package]]
name = "crossbeam-queue"
-version = "0.3.12"
+version = "0.3.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115"
+checksum = "803d13fb3b09d88be9f4dbc29062c66b19bf7170867ceb746d2a8689bf6c7a26"
dependencies = [
"crossbeam-utils",
]
[[package]]
name = "crossbeam-utils"
-version = "0.8.21"
+version = "0.8.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
+checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17"
[[package]]
name = "crunchy"
@@ -1233,32 +1120,15 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
[[package]]
name = "crypto-common"
-version = "0.1.6"
+version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
+checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
dependencies = [
"generic-array",
"rand_core 0.6.4",
"typenum",
]
-[[package]]
-name = "cssparser"
-version = "0.29.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f93d03419cb5950ccfd3daf3ff1c7a36ace64609a1a8746d493df1ca0afde0fa"
-dependencies = [
- "cssparser-macros",
- "dtoa-short",
- "itoa",
- "matches",
- "phf 0.10.1",
- "proc-macro2",
- "quote",
- "smallvec",
- "syn 1.0.109",
-]
-
[[package]]
name = "cssparser"
version = "0.36.0"
@@ -1279,26 +1149,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331"
dependencies = [
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "csv"
-version = "1.3.1"
+version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "acdc4883a9c96732e4733212c01447ebd805833b7275a73ca3ee080fd77afdaf"
+checksum = "52cd9d68cf7efc6ddfaaee42e7288d3a99d613d4b50f76ce9827ae0c6e14f938"
dependencies = [
"csv-core",
"itoa",
"ryu",
- "serde",
+ "serde_core",
]
[[package]]
name = "csv-core"
-version = "0.1.12"
+version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d02f3b0da4c6504f86e9cd789d8dbafab48c2321be74e9987593de5a894d93d"
+checksum = "704a3c26996a80471189265814dbc2c257598b96b8a7feae2d31ace646bb9782"
dependencies = [
"memchr",
]
@@ -1352,7 +1222,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -1375,6 +1245,16 @@ dependencies = [
"darling_macro 0.21.3",
]
+[[package]]
+name = "darling"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d"
+dependencies = [
+ "darling_core 0.23.0",
+ "darling_macro 0.23.0",
+]
+
[[package]]
name = "darling_core"
version = "0.20.11"
@@ -1386,7 +1266,7 @@ dependencies = [
"proc-macro2",
"quote",
"strsim",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -1400,7 +1280,20 @@ dependencies = [
"proc-macro2",
"quote",
"strsim",
- "syn 2.0.106",
+ "syn 2.0.118",
+]
+
+[[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.118",
]
[[package]]
@@ -1411,7 +1304,7 @@ checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
dependencies = [
"darling_core 0.20.11",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -1422,7 +1315,18 @@ checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81"
dependencies = [
"darling_core 0.21.3",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
+]
+
+[[package]]
+name = "darling_macro"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d"
+dependencies = [
+ "darling_core 0.23.0",
+ "quote",
+ "syn 2.0.118",
]
[[package]]
@@ -1473,6 +1377,37 @@ dependencies = [
"zeroize",
]
+[[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.118",
+]
+
+[[package]]
+name = "defmt-parser"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e"
+dependencies = [
+ "thiserror 2.0.18",
+]
+
[[package]]
name = "der"
version = "0.7.10"
@@ -1501,20 +1436,7 @@ checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
-]
-
-[[package]]
-name = "derive_more"
-version = "0.99.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6edb4b64a43d977b8e99788fe3a04d483834fba1215a7e02caa415b626497f7f"
-dependencies = [
- "convert_case",
- "proc-macro2",
- "quote",
- "rustc_version",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -1535,7 +1457,7 @@ dependencies = [
"proc-macro2",
"quote",
"rustc_version",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -1581,46 +1503,46 @@ dependencies = [
"libc",
"option-ext",
"redox_users",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
name = "dispatch2"
-version = "0.3.0"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89a09f22a6c6069a18470eb92d2298acf25463f14256d24778e1230d789a2aec"
+checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38"
dependencies = [
- "bitflags 2.9.4",
- "block2 0.6.2",
+ "bitflags 2.13.0",
+ "block2",
"libc",
- "objc2 0.6.3",
+ "objc2",
]
[[package]]
name = "displaydoc"
-version = "0.2.5"
+version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
+checksum = "1ac70aa55017e108007fbaf5aa0f54b021c98f92ff8af59d42eda9da96e3dd4f"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "dlib"
-version = "0.5.2"
+version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412"
+checksum = "ab8ecd87370524b461f8557c119c405552c396ed91fc0a8eec68679eab26f94a"
dependencies = [
"libloading 0.8.9",
]
[[package]]
name = "dlopen2"
-version = "0.8.0"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b54f373ccf864bf587a89e880fb7610f8d73f3045f13580948ccbcaff26febff"
+checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4"
dependencies = [
"dlopen2_derive",
"libc",
@@ -1630,13 +1552,13 @@ dependencies = [
[[package]]
name = "dlopen2_derive"
-version = "0.4.1"
+version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "788160fb30de9cdd857af31c6a2675904b16ece8fc2737b2c7127ba368c9d0f4"
+checksum = "0fbbb781877580993a8707ec48672673ec7b81eeba04cfd2310bd28c08e47c8f"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -1650,9 +1572,9 @@ dependencies = [
[[package]]
name = "document-features"
-version = "0.2.11"
+version = "0.2.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95249b50c6c185bee49034bcb378a49dc2b5dff0be90ff6616d31d64febab05d"
+checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61"
dependencies = [
"litrs",
]
@@ -1664,11 +1586,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "521e380c0c8afb8d9a1e83a1822ee03556fc3e3e7dbc1fd30be14e37f9cb3f89"
dependencies = [
"bit-set",
- "cssparser 0.36.0",
+ "cssparser",
"foldhash 0.2.0",
"html5ever 0.38.0",
"precomputed-hash",
- "selectors 0.36.1",
+ "selectors",
"tendril 0.5.1",
]
@@ -1695,9 +1617,9 @@ dependencies = [
[[package]]
name = "dtoa"
-version = "1.0.10"
+version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d6add3b8cff394282be81f3fc1a0605db594ed69890078ca6e2cab1c408bcf04"
+checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590"
[[package]]
name = "dtoa-short"
@@ -1771,23 +1693,23 @@ dependencies = [
[[package]]
name = "either"
-version = "1.15.0"
+version = "1.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
+checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e"
dependencies = [
"serde",
]
[[package]]
name = "embed-resource"
-version = "3.0.6"
+version = "3.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55a075fc573c64510038d7ee9abc7990635863992f83ebc52c8b433b8411a02e"
+checksum = "fbfdaacccebec3b28e4866b8973543c7647797db5ada1bdab552e48fe665fbbd"
dependencies = [
"cc",
"memchr",
"rustc_version",
- "toml 0.9.7",
+ "toml 1.1.3+spec-1.1.0",
"vswhom",
"winreg",
]
@@ -1815,9 +1737,9 @@ dependencies = [
[[package]]
name = "endi"
-version = "1.1.0"
+version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a3d8a32ae18130a3c84dd492d4215c3d913c3b07c6b63c2eb3eb7ff1101ab7bf"
+checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099"
[[package]]
name = "enumflags2"
@@ -1837,7 +1759,7 @@ checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -1851,9 +1773,9 @@ dependencies = [
[[package]]
name = "env_filter"
-version = "0.1.3"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "186e05a59d4c50738528153b83b0b0194d3a29507dfec16eccd4b342903397d0"
+checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2"
dependencies = [
"log",
"regex",
@@ -1861,9 +1783,9 @@ dependencies = [
[[package]]
name = "env_filter"
-version = "1.0.0"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a1c3cc8e57274ec99de65301228b537f1e4eedc1b8e0f9411c6caac8ae7308f"
+checksum = "900d271a03799a1ee8d1ca9b19893b48ca674a9284fefcfb85f05e74ed314217"
dependencies = [
"log",
"regex",
@@ -1871,13 +1793,13 @@ dependencies = [
[[package]]
name = "env_logger"
-version = "0.11.9"
+version = "0.11.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2daee4ea451f429a58296525ddf28b45a3b64f1acf6587e2067437bb11e218d"
+checksum = "de671bd27a75a797dc9ae289ba1e77276e75e2026408aab65185384e2d5cd3f6"
dependencies = [
"anstream",
"anstyle",
- "env_filter 1.0.0",
+ "env_filter 2.0.0",
"jiff",
"log",
]
@@ -1890,9 +1812,9 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
[[package]]
name = "erased-serde"
-version = "0.4.8"
+version = "0.4.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "259d404d09818dec19332e31d94558aeb442fea04c817006456c24b5460bbd4b"
+checksum = "d2add8a07dd6a8d93ff627029c51de145e12686fbc36ecb298ac22e74cf02dec"
dependencies = [
"serde",
"serde_core",
@@ -1906,7 +1828,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [
"libc",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -1964,9 +1886,9 @@ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
[[package]]
name = "fastrand"
-version = "2.3.0"
+version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
+checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6"
[[package]]
name = "fdeflate"
@@ -2004,21 +1926,19 @@ dependencies = [
[[package]]
name = "filetime"
-version = "0.2.26"
+version = "0.2.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed"
+checksum = "5c287a33c7f0a620c38e641e7f60827713987b3c0f26e8ddc9462cc69cf75759"
dependencies = [
"cfg-if",
"libc",
- "libredox",
- "windows-sys 0.60.2",
]
[[package]]
name = "find-msvc-tools"
-version = "0.1.3"
+version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0399f9d26e5191ce32c498bebd31e7a3ceabc2745f0ac54af3f335126c3f24b3"
+checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
[[package]]
name = "fix-path-env"
@@ -2032,9 +1952,9 @@ dependencies = [
[[package]]
name = "flate2"
-version = "1.1.4"
+version = "1.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc5a4e564e38c699f2880d3fda590bedc2e69f3f84cd48b457bd892ce61d0aa9"
+checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
dependencies = [
"crc32fast",
"miniz_oxide",
@@ -2096,7 +2016,7 @@ checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -2122,19 +2042,13 @@ dependencies = [
[[package]]
name = "fs-err"
-version = "3.3.0"
+version = "3.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73fde052dbfc920003cfd2c8e2c6e6d4cc7c1091538c3a24226cec0665ab08c0"
+checksum = "b91aa448ca50d7e79433bdf3ee8d99215430d2ec02ade5aefab2a073a1822e8a"
dependencies = [
"autocfg",
]
-[[package]]
-name = "funty"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
-
[[package]]
name = "futf"
version = "0.1.5"
@@ -2147,9 +2061,9 @@ dependencies = [
[[package]]
name = "futures"
-version = "0.3.31"
+version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
+checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d"
dependencies = [
"futures-channel",
"futures-core",
@@ -2162,9 +2076,9 @@ dependencies = [
[[package]]
name = "futures-channel"
-version = "0.3.31"
+version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
+checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d"
dependencies = [
"futures-core",
"futures-sink",
@@ -2172,15 +2086,15 @@ dependencies = [
[[package]]
name = "futures-core"
-version = "0.3.31"
+version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
+checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
[[package]]
name = "futures-executor"
-version = "0.3.31"
+version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
+checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d"
dependencies = [
"futures-core",
"futures-task",
@@ -2200,9 +2114,9 @@ dependencies = [
[[package]]
name = "futures-io"
-version = "0.3.31"
+version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
+checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718"
[[package]]
name = "futures-lite"
@@ -2219,32 +2133,32 @@ dependencies = [
[[package]]
name = "futures-macro"
-version = "0.3.31"
+version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
+checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "futures-sink"
-version = "0.3.31"
+version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
+checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893"
[[package]]
name = "futures-task"
-version = "0.3.31"
+version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
+checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393"
[[package]]
name = "futures-util"
-version = "0.3.31"
+version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
+checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
dependencies = [
"futures-channel",
"futures-core",
@@ -2254,19 +2168,9 @@ dependencies = [
"futures-task",
"memchr",
"pin-project-lite",
- "pin-utils",
"slab",
]
-[[package]]
-name = "fxhash"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
-dependencies = [
- "byteorder",
-]
-
[[package]]
name = "gdk"
version = "0.18.2"
@@ -2378,50 +2282,37 @@ dependencies = [
[[package]]
name = "gethostname"
-version = "1.0.2"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc257fdb4038301ce4b9cd1b3b51704509692bb3ff716a410cbd07925d9dae55"
+checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8"
dependencies = [
"rustix",
- "windows-targets 0.52.6",
-]
-
-[[package]]
-name = "getrandom"
-version = "0.1.16"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
-dependencies = [
- "cfg-if",
- "libc",
- "wasi 0.9.0+wasi-snapshot-preview1",
+ "windows-link 0.2.1",
]
[[package]]
name = "getrandom"
-version = "0.2.16"
+version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
+checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
dependencies = [
"cfg-if",
"js-sys",
"libc",
- "wasi 0.11.1+wasi-snapshot-preview1",
+ "wasi",
"wasm-bindgen",
]
[[package]]
name = "getrandom"
-version = "0.3.3"
+version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
dependencies = [
"cfg-if",
- "js-sys",
"libc",
"r-efi 5.3.0",
- "wasi 0.14.7+wasi-0.2.4",
- "wasm-bindgen",
+ "wasip2",
]
[[package]]
@@ -2448,12 +2339,6 @@ dependencies = [
"polyval",
]
-[[package]]
-name = "gimli"
-version = "0.32.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7"
-
[[package]]
name = "gio"
version = "0.18.4"
@@ -2492,7 +2377,7 @@ version = "0.18.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "233daaf6e83ae6a12a52055f568f9d7cf4671dabb78ff9560ab6da230ce00ee5"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"futures-channel",
"futures-core",
"futures-executor",
@@ -2520,7 +2405,7 @@ dependencies = [
"proc-macro-error",
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -2539,6 +2424,19 @@ version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
+[[package]]
+name = "globset"
+version = "0.4.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "52dfc19153a48bde0cbd630453615c8151bce3a5adfac7a0aebfbf0a1e1f57e3"
+dependencies = [
+ "aho-corasick",
+ "bstr",
+ "log",
+ "regex-automata",
+ "regex-syntax",
+]
+
[[package]]
name = "gobject-sys"
version = "0.18.0"
@@ -2552,9 +2450,9 @@ dependencies = [
[[package]]
name = "goblin"
-version = "0.10.5"
+version = "0.10.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "983a6aafb3b12d4c41ea78d39e189af4298ce747353945ff5105b54a056e5cd9"
+checksum = "17582616a7718cca54cec18e534a76c7c4aec11a8b9a85695712f262fd15a4c8"
dependencies = [
"log",
"plain",
@@ -2610,14 +2508,14 @@ dependencies = [
"proc-macro-error",
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "h2"
-version = "0.4.12"
+version = "0.4.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3c0b69cfcb4e1b9f1bf2f53f95f766e4661169728ec61cd3fe5a0166f2d1386"
+checksum = "6cb093c84e8bd9b188d4c4a8cb6579fc016968d14c99882163cd3ff402a4f155"
dependencies = [
"atomic-waker",
"bytes",
@@ -2625,7 +2523,7 @@ dependencies = [
"futures-core",
"futures-sink",
"http",
- "indexmap 2.11.4",
+ "indexmap 2.14.0",
"slab",
"tokio",
"tokio-util",
@@ -2634,13 +2532,14 @@ dependencies = [
[[package]]
name = "half"
-version = "2.6.0"
+version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "459196ed295495a68f7d7fe1d84f6c4b7ff0e21fe3017b2f283c6fac3ad803c9"
+checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b"
dependencies = [
"bytemuck",
"cfg-if",
"crunchy",
+ "zerocopy",
]
[[package]]
@@ -2648,9 +2547,6 @@ name = "hashbrown"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
-dependencies = [
- "ahash 0.7.8",
-]
[[package]]
name = "hashbrown"
@@ -2658,7 +2554,7 @@ version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
dependencies = [
- "ahash 0.8.12",
+ "ahash",
]
[[package]]
@@ -2672,6 +2568,12 @@ dependencies = [
"foldhash 0.1.5",
]
+[[package]]
+name = "hashbrown"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
+
[[package]]
name = "hashlink"
version = "0.9.1"
@@ -2734,22 +2636,22 @@ dependencies = [
[[package]]
name = "home"
-version = "0.5.11"
+version = "0.5.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf"
+checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d"
dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
name = "hostname"
-version = "0.4.1"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65"
+checksum = "617aaa3557aef3810a6369d0a99fac8a080891b68bd9f9812a1eeda0c0730cbd"
dependencies = [
"cfg-if",
"libc",
- "windows-link 0.1.3",
+ "windows-link 0.2.1",
]
[[package]]
@@ -2781,18 +2683,6 @@ dependencies = [
"syn 1.0.109",
]
-[[package]]
-name = "html5ever"
-version = "0.29.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b7410cae13cbc75623c98ac4cbfd1f0bedddf3227afc24f370cf0f50a44a11c"
-dependencies = [
- "log",
- "mac",
- "markup5ever 0.14.1",
- "match_token",
-]
-
[[package]]
name = "html5ever"
version = "0.38.0"
@@ -2805,20 +2695,19 @@ dependencies = [
[[package]]
name = "http"
-version = "1.3.1"
+version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565"
+checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425"
dependencies = [
"bytes",
- "fnv",
"itoa",
]
[[package]]
name = "http-body"
-version = "1.0.1"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
+checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c"
dependencies = [
"bytes",
"http",
@@ -2826,9 +2715,9 @@ dependencies = [
[[package]]
name = "http-body-util"
-version = "0.1.3"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
+checksum = "e9f41fd6a08e4d4ec69df65976da761afd5ad5e58a9d4acb46bd1c953a9e3ff2"
dependencies = [
"bytes",
"futures-core",
@@ -2857,9 +2746,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
[[package]]
name = "hyper"
-version = "1.7.0"
+version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb3aa54a13a0dfe7fbe3a59e0c76093041720fdc77b110cc0fc260fafb4dc51e"
+checksum = "55281c53a1894c864990125767da440a4e630446785086f52523b20033b74498"
dependencies = [
"atomic-waker",
"bytes",
@@ -2872,7 +2761,6 @@ dependencies = [
"httpdate",
"itoa",
"pin-project-lite",
- "pin-utils",
"smallvec",
"tokio",
"want",
@@ -2880,15 +2768,14 @@ dependencies = [
[[package]]
name = "hyper-rustls"
-version = "0.27.7"
+version = "0.27.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58"
+checksum = "33ca68d021ef39cf6463ab54c1d0f5daf03377b70561305bb89a8f83aab66e0f"
dependencies = [
"http",
"hyper",
"hyper-util",
"rustls",
- "rustls-pki-types",
"tokio",
"tokio-rustls",
"tower-service",
@@ -2913,14 +2800,13 @@ dependencies = [
[[package]]
name = "hyper-util"
-version = "0.1.17"
+version = "0.1.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c6995591a8f1380fcb4ba966a252a4b29188d51d2b89e3a252f5305be65aea8"
+checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0"
dependencies = [
"base64 0.22.1",
"bytes",
"futures-channel",
- "futures-core",
"futures-util",
"http",
"http-body",
@@ -2934,14 +2820,14 @@ dependencies = [
"tokio",
"tower-service",
"tracing",
- "windows-registry 0.5.3",
+ "windows-registry 0.6.1",
]
[[package]]
name = "iana-time-zone"
-version = "0.1.64"
+version = "0.1.65"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb"
+checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470"
dependencies = [
"android_system_properties",
"core-foundation-sys",
@@ -2949,7 +2835,7 @@ dependencies = [
"js-sys",
"log",
"wasm-bindgen",
- "windows-core 0.57.0",
+ "windows-core 0.62.2",
]
[[package]]
@@ -2968,17 +2854,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e795dff5605e0f04bff85ca41b51a96b83e80b281e96231bcaaf1ac35103371"
dependencies = [
"byteorder",
- "png",
+ "png 0.17.16",
]
[[package]]
name = "icu_collections"
-version = "2.0.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47"
+checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c"
dependencies = [
"displaydoc",
"potential_utf",
+ "utf8_iter",
"yoke",
"zerofrom",
"zerovec",
@@ -2986,9 +2873,9 @@ dependencies = [
[[package]]
name = "icu_locale_core"
-version = "2.0.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a"
+checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29"
dependencies = [
"displaydoc",
"litemap",
@@ -2999,11 +2886,10 @@ dependencies = [
[[package]]
name = "icu_normalizer"
-version = "2.0.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979"
+checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4"
dependencies = [
- "displaydoc",
"icu_collections",
"icu_normalizer_data",
"icu_properties",
@@ -3014,42 +2900,38 @@ dependencies = [
[[package]]
name = "icu_normalizer_data"
-version = "2.0.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3"
+checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38"
[[package]]
name = "icu_properties"
-version = "2.0.1"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b"
+checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de"
dependencies = [
- "displaydoc",
"icu_collections",
"icu_locale_core",
"icu_properties_data",
"icu_provider",
- "potential_utf",
"zerotrie",
"zerovec",
]
[[package]]
name = "icu_properties_data"
-version = "2.0.1"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632"
+checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14"
[[package]]
name = "icu_provider"
-version = "2.0.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af"
+checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421"
dependencies = [
"displaydoc",
"icu_locale_core",
- "stable_deref_trait",
- "tinystr",
"writeable",
"yoke",
"zerofrom",
@@ -3076,14 +2958,30 @@ dependencies = [
[[package]]
name = "idna_adapter"
-version = "1.2.1"
+version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344"
+checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
dependencies = [
"icu_normalizer",
"icu_properties",
]
+[[package]]
+name = "ignore"
+version = "0.4.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2adf14691c72bcfc1058740436a35bdd3ae9c07d1a941ef00b749e9ea16aefa7"
+dependencies = [
+ "crossbeam-deque",
+ "globset",
+ "log",
+ "memchr",
+ "regex-automata",
+ "same-file",
+ "walkdir",
+ "winapi-util",
+]
+
[[package]]
name = "indexmap"
version = "1.9.3"
@@ -3097,12 +2995,12 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "2.11.4"
+version = "2.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5"
+checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
dependencies = [
"equivalent",
- "hashbrown 0.15.5",
+ "hashbrown 0.17.1",
"serde",
"serde_core",
]
@@ -3148,22 +3046,11 @@ dependencies = [
"generic-array",
]
-[[package]]
-name = "io-uring"
-version = "0.7.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "046fa2d4d00aea763528b4950358d0ead425372445dc8ff86312b3c69ff7727b"
-dependencies = [
- "bitflags 2.9.4",
- "cfg-if",
- "libc",
-]
-
[[package]]
name = "ipnet"
-version = "2.11.0"
+version = "2.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
+checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2"
[[package]]
name = "is-docker"
@@ -3192,9 +3079,9 @@ checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
[[package]]
name = "itoa"
-version = "1.0.15"
+version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
+checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
[[package]]
name = "jan-utils"
@@ -3202,8 +3089,8 @@ version = "0.1.0"
dependencies = [
"base64 0.22.1",
"hmac",
- "rand 0.8.5",
- "reqwest 0.12.23",
+ "rand 0.8.7",
+ "reqwest 0.12.28",
"serde",
"serde_json",
"sha2",
@@ -3238,10 +3125,11 @@ dependencies = [
[[package]]
name = "jiff"
-version = "0.2.22"
+version = "0.2.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "819b44bc7c87d9117eb522f14d46e918add69ff12713c475946b0a29363ed1c2"
+checksum = "961d16382652bfdd8c6f68b223b26a8c93e0d475c672f414411db31c6c5c900e"
dependencies = [
+ "defmt",
"jiff-static",
"log",
"portable-atomic",
@@ -3251,13 +3139,13 @@ dependencies = [
[[package]]
name = "jiff-static"
-version = "0.2.22"
+version = "0.2.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "470252db18ecc35fd766c0891b1e3ec6cbbcd62507e85276c01bf75d8e94d4a1"
+checksum = "d0879bd39df99c4c5e2c6615ccc026391a423dde10532c573e6086eb94a802cc"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -3269,26 +3157,78 @@ dependencies = [
"cesu8",
"cfg-if",
"combine",
- "jni-sys",
+ "jni-sys 0.3.1",
"log",
"thiserror 1.0.69",
"walkdir",
"windows-sys 0.45.0",
]
+[[package]]
+name = "jni"
+version = "0.22.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498"
+dependencies = [
+ "cfg-if",
+ "combine",
+ "jni-macros",
+ "jni-sys 0.4.1",
+ "log",
+ "simd_cesu8",
+ "thiserror 2.0.18",
+ "walkdir",
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "jni-macros"
+version = "0.22.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "rustc_version",
+ "simd_cesu8",
+ "syn 2.0.118",
+]
+
[[package]]
name = "jni-sys"
-version = "0.3.0"
+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 = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
+checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
+dependencies = [
+ "quote",
+ "syn 2.0.118",
+]
[[package]]
name = "jobserver"
-version = "0.1.34"
+version = "0.1.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
+checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3"
dependencies = [
- "getrandom 0.3.3",
+ "getrandom 0.4.3",
"libc",
]
@@ -3331,7 +3271,7 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b750dcadc39a09dbadd74e118f6dd6598df77fa01df0cfcdc52c28dece74528a"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"serde",
"unicode-segmentation",
]
@@ -3347,23 +3287,11 @@ dependencies = [
"log",
"secret-service",
"security-framework 2.11.1",
- "security-framework 3.6.0",
+ "security-framework 3.7.0",
"windows-sys 0.60.2",
"zeroize",
]
-[[package]]
-name = "kuchikiki"
-version = "0.8.8-speedreader"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "02cb977175687f33fa4afa0c95c112b987ea1443e5a51c8f8ff27dc618270cc2"
-dependencies = [
- "cssparser 0.29.6",
- "html5ever 0.29.1",
- "indexmap 2.11.4",
- "selectors 0.24.0",
-]
-
[[package]]
name = "lazy_static"
version = "1.5.0"
@@ -3375,9 +3303,9 @@ dependencies = [
[[package]]
name = "lddtree"
-version = "0.5.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "39f71c5bd42adf4ee8e6b24da58c1f00a2817d27f618b169399f5adbf9e74492"
+checksum = "62b602caaaa7782b416e6f819fe721822045a9163aa03083e6309c260f1ce9b3"
dependencies = [
"fs-err",
"glob",
@@ -3446,19 +3374,20 @@ dependencies = [
[[package]]
name = "libm"
-version = "0.2.15"
+version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de"
+checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
[[package]]
name = "libredox"
-version = "0.1.10"
+version = "0.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb"
+checksum = "c943259e342f1e06ff2da7a83eabdfe7f92ce10262688dbf1895ff0b3e6e4652"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"libc",
- "redox_syscall",
+ "plain",
+ "redox_syscall 0.9.0",
]
[[package]]
@@ -3474,21 +3403,21 @@ dependencies = [
[[package]]
name = "linux-raw-sys"
-version = "0.11.0"
+version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039"
+checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
[[package]]
name = "litemap"
-version = "0.8.0"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
+checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0"
[[package]]
name = "litrs"
-version = "0.4.2"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5e54036fe321fd421e10d732f155734c4e4afd610dd556d9a82833ab3ee0bed"
+checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092"
[[package]]
name = "lock_api"
@@ -3501,12 +3430,9 @@ dependencies = [
[[package]]
name = "log"
-version = "0.4.28"
+version = "0.4.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
-dependencies = [
- "value-bag",
-]
+checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
[[package]]
name = "lopdf"
@@ -3515,22 +3441,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25aab26d99567469098e64a02f42679f8965c6401263eefa31d8f2dcc37a221c"
dependencies = [
"aes",
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"cbc",
"ecb",
"encoding_rs",
"flate2",
"getrandom 0.4.3",
- "indexmap 2.11.4",
+ "indexmap 2.14.0",
"itoa",
"log",
"md-5",
"nom",
- "rand 0.10.1",
+ "rand 0.10.2",
"rangemap",
"sha2",
"stringprep",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"ttf-parser",
"weezl",
]
@@ -3581,20 +3507,6 @@ dependencies = [
"tendril 0.4.3",
]
-[[package]]
-name = "markup5ever"
-version = "0.14.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7a7213d12e1864c0f002f52c2923d4556935a43dec5e71355c2760e0f6e7a18"
-dependencies = [
- "log",
- "phf 0.11.3",
- "phf_codegen 0.11.3",
- "string_cache 0.8.9",
- "string_cache_codegen 0.5.4",
- "tendril 0.4.3",
-]
-
[[package]]
name = "markup5ever"
version = "0.38.0"
@@ -3606,23 +3518,6 @@ dependencies = [
"web_atoms",
]
-[[package]]
-name = "match_token"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88a9689d8d44bf9964484516275f5cd4c9b59457a6940c1d5d0ecbb94510a36b"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.106",
-]
-
-[[package]]
-name = "matches"
-version = "0.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"
-
[[package]]
name = "md-5"
version = "0.10.6"
@@ -3635,15 +3530,15 @@ dependencies = [
[[package]]
name = "memchr"
-version = "2.7.6"
+version = "2.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
+checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
[[package]]
name = "memmap2"
-version = "0.9.10"
+version = "0.9.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "714098028fe011992e1c3962653c96b2d578c4b4bce9036e15ff220319b1e0e3"
+checksum = "d1219ed1b7f229ee7104d281dd01d6802fe28bb6e95d292942c4daacdeb798c0"
dependencies = [
"libc",
]
@@ -3665,9 +3560,9 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
[[package]]
name = "minisign-verify"
-version = "0.2.4"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e856fdd13623a2f5f2f54676a4ee49502a96a80ef4a62bcedd23d52427c44d43"
+checksum = "22f9645cb765ea72b8111f36c522475d2daa0d22c957a9826437e97534bc4e9e"
[[package]]
name = "miniz_oxide"
@@ -3681,41 +3576,41 @@ dependencies = [
[[package]]
name = "mio"
-version = "1.0.4"
+version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c"
+checksum = "30d65c71f1ce40ab09135ce117d742b9f8a19ff91a41a8b57ed50bc2de59c427"
dependencies = [
"libc",
- "wasi 0.11.1+wasi-snapshot-preview1",
- "windows-sys 0.59.0",
+ "wasi",
+ "windows-sys 0.61.2",
]
[[package]]
name = "muda"
-version = "0.17.1"
+version = "0.19.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01c1738382f66ed56b3b9c8119e794a2e23148ac8ea214eda86622d4cb9d415a"
+checksum = "1dd04e60bc0b07438a6771710ee1698f98f6ebbc7f89b61264af1563b8aeb878"
dependencies = [
"crossbeam-channel",
"dpi",
"gtk",
"keyboard-types",
- "objc2 0.6.3",
+ "objc2",
"objc2-app-kit",
"objc2-core-foundation",
- "objc2-foundation 0.3.2",
+ "objc2-foundation",
"once_cell",
- "png",
+ "png 0.18.1",
"serde",
- "thiserror 2.0.17",
- "windows-sys 0.60.2",
+ "thiserror 2.0.18",
+ "windows-sys 0.61.2",
]
[[package]]
name = "native-tls"
-version = "0.2.14"
+version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e"
+checksum = "465500e14ea162429d264d44189adc38b199b62b1c21eea9f69e4b73cb03bbf2"
dependencies = [
"libc",
"log",
@@ -3723,7 +3618,7 @@ dependencies = [
"openssl-probe",
"openssl-sys",
"schannel",
- "security-framework 2.11.1",
+ "security-framework 3.7.0",
"security-framework-sys",
"tempfile",
]
@@ -3734,8 +3629,8 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4"
dependencies = [
- "bitflags 2.9.4",
- "jni-sys",
+ "bitflags 2.13.0",
+ "jni-sys 0.3.1",
"log",
"ndk-sys",
"num_enum",
@@ -3743,19 +3638,13 @@ dependencies = [
"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",
+ "jni-sys 0.3.1",
]
[[package]]
@@ -3770,7 +3659,7 @@ version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"cfg-if",
"cfg_aliases",
"libc",
@@ -3783,18 +3672,23 @@ version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"cfg-if",
"cfg_aliases",
"libc",
- "memoffset",
]
[[package]]
-name = "nodrop"
-version = "0.1.14"
+name = "nix"
+version = "0.31.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
+checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d"
+dependencies = [
+ "bitflags 2.13.0",
+ "cfg-if",
+ "cfg_aliases",
+ "libc",
+]
[[package]]
name = "nom"
@@ -3807,9 +3701,9 @@ dependencies = [
[[package]]
name = "ntapi"
-version = "0.4.1"
+version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4"
+checksum = "c3b335231dfd352ffb0f8017f3b6027a4917f7df785ea2143d8af2adc66980ae"
dependencies = [
"winapi",
]
@@ -3840,17 +3734,16 @@ dependencies = [
[[package]]
name = "num-bigint-dig"
-version = "0.8.4"
+version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151"
+checksum = "e661dda6640fad38e827a6d4a310ff4763082116fe217f279885c97f511bb0b7"
dependencies = [
- "byteorder",
"lazy_static",
"libm",
"num-integer",
"num-iter",
"num-traits",
- "rand 0.8.5",
+ "rand 0.8.7",
"smallvec",
"zeroize",
]
@@ -3881,11 +3774,10 @@ dependencies = [
[[package]]
name = "num-iter"
-version = "0.1.45"
+version = "0.1.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
+checksum = "c92800bd69a1eac91786bcfe9da64a897eb72911b8dc3095decbd07429e8048b"
dependencies = [
- "autocfg",
"num-integer",
"num-traits",
]
@@ -3913,9 +3805,9 @@ dependencies = [
[[package]]
name = "num_enum"
-version = "0.7.4"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a973b4e44ce6cad84ce69d797acf9a044532e4184c4f267913d1b546a0727b7a"
+checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26"
dependencies = [
"num_enum_derive",
"rustversion",
@@ -3923,14 +3815,14 @@ dependencies = [
[[package]]
name = "num_enum_derive"
-version = "0.7.4"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77e878c846a8abae00dd069496dbe8751b16ac1c3d6bd2a7283a938e8228f90d"
+checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8"
dependencies = [
- "proc-macro-crate 3.4.0",
+ "proc-macro-crate 3.5.0",
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -3954,7 +3846,7 @@ version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c9bff0aa1d48904a1385ea2a8b97576fbdcbc9a3cfccd0d31fe978e1c4038c5"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"libloading 0.8.9",
"nvml-wrapper-sys",
"static_assertions",
@@ -3980,43 +3872,48 @@ dependencies = [
"malloc_buf",
]
-[[package]]
-name = "objc-sys"
-version = "0.3.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310"
-
[[package]]
name = "objc2"
-version = "0.5.2"
+version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804"
+checksum = "3a12a8ed07aefc768292f076dc3ac8c48f3781c8f2d5851dd3d98950e8c5a89f"
dependencies = [
- "objc-sys",
"objc2-encode",
+ "objc2-exception-helper",
]
[[package]]
-name = "objc2"
-version = "0.6.3"
+name = "objc2-app-kit"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7c2599ce0ec54857b29ce62166b0ed9b4f6f1a70ccc9a71165b6154caca8c05"
+checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c"
dependencies = [
- "objc2-encode",
- "objc2-exception-helper",
+ "bitflags 2.13.0",
+ "block2",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-foundation",
]
[[package]]
-name = "objc2-app-kit"
+name = "objc2-cloud-kit"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c"
+checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c"
dependencies = [
- "bitflags 2.9.4",
- "block2 0.6.2",
- "objc2 0.6.3",
- "objc2-core-foundation",
- "objc2-foundation 0.3.2",
+ "bitflags 2.13.0",
+ "objc2",
+ "objc2-foundation",
+]
+
+[[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]]
@@ -4025,9 +3922,9 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"dispatch2",
- "objc2 0.6.3",
+ "objc2",
]
[[package]]
@@ -4036,8 +3933,43 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
+ "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.0",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
]
[[package]]
@@ -4055,41 +3987,28 @@ dependencies = [
"cc",
]
-[[package]]
-name = "objc2-foundation"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8"
-dependencies = [
- "bitflags 2.9.4",
- "block2 0.5.1",
- "libc",
- "objc2 0.5.2",
-]
-
[[package]]
name = "objc2-foundation"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272"
dependencies = [
- "bitflags 2.9.4",
- "block2 0.6.2",
+ "bitflags 2.13.0",
+ "block2",
"libc",
- "objc2 0.6.3",
+ "objc2",
"objc2-core-foundation",
]
[[package]]
-name = "objc2-metal"
-version = "0.2.2"
+name = "objc2-io-surface"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6"
+checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d"
dependencies = [
- "bitflags 2.9.4",
- "block2 0.5.1",
- "objc2 0.5.2",
- "objc2-foundation 0.2.2",
+ "bitflags 2.13.0",
+ "objc2",
+ "objc2-core-foundation",
]
[[package]]
@@ -4098,23 +4017,22 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f112d1746737b0da274ef79a23aac283376f335f4095a083a267a082f21db0c0"
dependencies = [
- "bitflags 2.9.4",
- "objc2 0.6.3",
+ "bitflags 2.13.0",
+ "objc2",
"objc2-app-kit",
- "objc2-foundation 0.3.2",
+ "objc2-foundation",
]
[[package]]
name = "objc2-quartz-core"
-version = "0.2.2"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a"
+checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f"
dependencies = [
- "bitflags 2.9.4",
- "block2 0.5.1",
- "objc2 0.5.2",
- "objc2-foundation 0.2.2",
- "objc2-metal",
+ "bitflags 2.13.0",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-foundation",
]
[[package]]
@@ -4123,40 +4041,50 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22"
dependencies = [
- "bitflags 2.9.4",
- "objc2 0.6.3",
+ "bitflags 2.13.0",
+ "block2",
+ "objc2",
+ "objc2-cloud-kit",
+ "objc2-core-data",
"objc2-core-foundation",
- "objc2-foundation 0.3.2",
+ "objc2-core-graphics",
+ "objc2-core-image",
+ "objc2-core-location",
+ "objc2-core-text",
+ "objc2-foundation",
+ "objc2-quartz-core",
+ "objc2-user-notifications",
]
[[package]]
-name = "objc2-web-kit"
+name = "objc2-user-notifications"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2e5aaab980c433cf470df9d7af96a7b46a9d892d521a2cbbb2f8a4c16751e7f"
+checksum = "9df9128cbbfef73cda168416ccf7f837b62737d748333bfe9ab71c245d76613e"
dependencies = [
- "bitflags 2.9.4",
- "block2 0.6.2",
- "objc2 0.6.3",
- "objc2-app-kit",
- "objc2-core-foundation",
- "objc2-foundation 0.3.2",
+ "objc2",
+ "objc2-foundation",
]
[[package]]
-name = "object"
-version = "0.37.3"
+name = "objc2-web-kit"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe"
+checksum = "b2e5aaab980c433cf470df9d7af96a7b46a9d892d521a2cbbb2f8a4c16751e7f"
dependencies = [
- "memchr",
+ "bitflags 2.13.0",
+ "block2",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-foundation",
]
[[package]]
name = "once_cell"
-version = "1.21.3"
+version = "1.21.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
+checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
[[package]]
name = "once_cell_polyfill"
@@ -4172,27 +4100,25 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381"
[[package]]
name = "open"
-version = "5.3.2"
+version = "5.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2483562e62ea94312f3576a7aca397306df7990b8d89033e18766744377ef95"
+checksum = "a0b3d059e795d52b8a72fef45658620edd4d9c359b338564aa14391ffa511ed5"
dependencies = [
"dunce",
"is-wsl",
"libc",
- "pathdiff",
]
[[package]]
name = "openssl"
-version = "0.10.73"
+version = "0.10.81"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8"
+checksum = "77823a27f0babb03091cb9ed9ef80af3b39dbc82f97e8fa530374b7dafd87a45"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"cfg-if",
"foreign-types 0.3.2",
"libc",
- "once_cell",
"openssl-macros",
"openssl-sys",
]
@@ -4205,20 +4131,20 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "openssl-probe"
-version = "0.1.6"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e"
+checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
[[package]]
name = "openssl-sys"
-version = "0.9.109"
+version = "0.9.117"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571"
+checksum = "b47e7e6bb2c38cd930d25a23b40fa52e068c10e85f3e03a7f5ba5aaca5713695"
dependencies = [
"cc",
"libc",
@@ -4254,24 +4180,28 @@ dependencies = [
[[package]]
name = "os_info"
-version = "3.12.0"
+version = "3.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d0e1ac5fde8d43c34139135df8ea9ee9465394b2d8d20f032d38998f64afffc3"
+checksum = "9cf20a545b305cf1da722b236b5155c9bb35f1d5ceb28c048bd96ca842f41b5b"
dependencies = [
+ "android_system_properties",
"log",
- "plist",
+ "nix 0.31.3",
+ "objc2",
+ "objc2-foundation",
+ "objc2-ui-kit",
"serde",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
]
[[package]]
name = "os_pipe"
-version = "1.2.2"
+version = "1.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db335f4760b14ead6290116f2427bf33a14d4f0617d49f78a246de10c1831224"
+checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967"
dependencies = [
"libc",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -4280,12 +4210,12 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "732c71caeaa72c065bb69d7ea08717bd3f4863a4f451402fc9513e29dbd5261b"
dependencies = [
- "objc2 0.6.3",
- "objc2-foundation 0.3.2",
+ "objc2",
+ "objc2-foundation",
"objc2-osa-kit",
"serde",
"serde_json",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
]
[[package]]
@@ -4337,7 +4267,7 @@ checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
dependencies = [
"cfg-if",
"libc",
- "redox_syscall",
+ "redox_syscall 0.5.18",
"smallvec",
"windows-link 0.2.1",
]
@@ -4359,12 +4289,6 @@ version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
-[[package]]
-name = "pathdiff"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
-
[[package]]
name = "pbkdf2"
version = "0.11.0"
@@ -4409,33 +4333,13 @@ version = "2.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
-[[package]]
-name = "phf"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12"
-dependencies = [
- "phf_shared 0.8.0",
-]
-
[[package]]
name = "phf"
version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259"
dependencies = [
- "phf_macros 0.10.0",
"phf_shared 0.10.0",
- "proc-macro-hack",
-]
-
-[[package]]
-name = "phf"
-version = "0.11.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
-dependencies = [
- "phf_shared 0.11.3",
]
[[package]]
@@ -4444,21 +4348,11 @@ version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf"
dependencies = [
- "phf_macros 0.13.1",
+ "phf_macros",
"phf_shared 0.13.1",
"serde",
]
-[[package]]
-name = "phf_codegen"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815"
-dependencies = [
- "phf_generator 0.8.0",
- "phf_shared 0.8.0",
-]
-
[[package]]
name = "phf_codegen"
version = "0.10.0"
@@ -4469,16 +4363,6 @@ dependencies = [
"phf_shared 0.10.0",
]
-[[package]]
-name = "phf_codegen"
-version = "0.11.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a"
-dependencies = [
- "phf_generator 0.11.3",
- "phf_shared 0.11.3",
-]
-
[[package]]
name = "phf_codegen"
version = "0.13.1"
@@ -4489,16 +4373,6 @@ dependencies = [
"phf_shared 0.13.1",
]
-[[package]]
-name = "phf_generator"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526"
-dependencies = [
- "phf_shared 0.8.0",
- "rand 0.7.3",
-]
-
[[package]]
name = "phf_generator"
version = "0.10.0"
@@ -4506,7 +4380,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6"
dependencies = [
"phf_shared 0.10.0",
- "rand 0.8.5",
+ "rand 0.8.7",
]
[[package]]
@@ -4516,7 +4390,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
dependencies = [
"phf_shared 0.11.3",
- "rand 0.8.5",
+ "rand 0.8.7",
]
[[package]]
@@ -4529,20 +4403,6 @@ dependencies = [
"phf_shared 0.13.1",
]
-[[package]]
-name = "phf_macros"
-version = "0.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0"
-dependencies = [
- "phf_generator 0.10.0",
- "phf_shared 0.10.0",
- "proc-macro-hack",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
[[package]]
name = "phf_macros"
version = "0.13.1"
@@ -4553,16 +4413,7 @@ dependencies = [
"phf_shared 0.13.1",
"proc-macro2",
"quote",
- "syn 2.0.106",
-]
-
-[[package]]
-name = "phf_shared"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7"
-dependencies = [
- "siphasher 0.3.11",
+ "syn 2.0.118",
]
[[package]]
@@ -4580,7 +4431,7 @@ version = "0.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
dependencies = [
- "siphasher 1.0.1",
+ "siphasher 1.0.3",
]
[[package]]
@@ -4589,26 +4440,20 @@ version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266"
dependencies = [
- "siphasher 1.0.1",
+ "siphasher 1.0.3",
]
[[package]]
name = "pin-project-lite"
-version = "0.2.16"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
-
-[[package]]
-name = "pin-utils"
-version = "0.1.0"
+version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
+checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
[[package]]
name = "piper"
-version = "0.2.4"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066"
+checksum = "c835479a4443ded371d6c535cbfd8d31ad92c5d23ae9770a61bc155e4992a3c1"
dependencies = [
"atomic-waker",
"fastrand",
@@ -4638,9 +4483,9 @@ dependencies = [
[[package]]
name = "pkg-config"
-version = "0.3.32"
+version = "0.3.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
+checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
[[package]]
name = "plain"
@@ -4650,13 +4495,13 @@ checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6"
[[package]]
name = "plist"
-version = "1.8.0"
+version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "740ebea15c5d1428f910cd1a5f52cebf8d25006245ed8ade92702f4943d91e07"
+checksum = "7da1d65da6dd5d1e44199ac0f58712d241c0f439f80adea8924d832384087f85"
dependencies = [
"base64 0.22.1",
- "indexmap 2.11.4",
- "quick-xml 0.38.3",
+ "indexmap 2.14.0",
+ "quick-xml 0.41.0",
"serde",
"time",
]
@@ -4674,6 +4519,19 @@ dependencies = [
"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.0",
+ "crc32fast",
+ "fdeflate",
+ "flate2",
+ "miniz_oxide",
+]
+
[[package]]
name = "polling"
version = "3.11.0"
@@ -4720,9 +4578,9 @@ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
[[package]]
name = "portable-atomic-util"
-version = "0.2.5"
+version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a9db96d7fa8782dd8c15ce32ffe8680bbd1e978a43bf51a34d39483540495f5"
+checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618"
dependencies = [
"portable-atomic",
]
@@ -4735,9 +4593,9 @@ checksum = "78451badbdaebaf17f053fd9152b3ffb33b516104eacb45e7864aaa9c712f306"
[[package]]
name = "potential_utf"
-version = "0.1.3"
+version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84df19adbe5b5a0782edcab45899906947ab039ccf4573713735ee7de1e6b08a"
+checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564"
dependencies = [
"zerovec",
]
@@ -4785,11 +4643,11 @@ dependencies = [
[[package]]
name = "proc-macro-crate"
-version = "3.4.0"
+version = "3.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983"
+checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f"
dependencies = [
- "toml_edit 0.23.6",
+ "toml_edit 0.25.13+spec-1.1.0",
]
[[package]]
@@ -4816,17 +4674,11 @@ dependencies = [
"version_check",
]
-[[package]]
-name = "proc-macro-hack"
-version = "0.5.20+deprecated"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"
-
[[package]]
name = "proc-macro2"
-version = "1.0.101"
+version = "1.0.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de"
+checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
dependencies = [
"unicode-ident",
]
@@ -4838,7 +4690,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3ef4f2f0422f23a82ec9f628ea2acd12871c81a9362b02c43c1aa86acfc3ba1"
dependencies = [
"futures",
- "indexmap 2.11.4",
+ "indexmap 2.14.0",
"nix 0.30.1",
"tokio",
"tracing",
@@ -4851,26 +4703,6 @@ version = "2.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac"
-[[package]]
-name = "ptr_meta"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1"
-dependencies = [
- "ptr_meta_derive",
-]
-
-[[package]]
-name = "ptr_meta_derive"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
[[package]]
name = "publicsuffix"
version = "2.3.0"
@@ -4894,27 +4726,27 @@ dependencies = [
[[package]]
name = "quick-xml"
-version = "0.37.5"
+version = "0.39.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "331e97a1af0bf59823e6eadffe373d7b27f485be8748f71471c662c1f269b7fb"
+checksum = "cdcc8dd4e2f670d309a5f0e83fe36dfdc05af317008fea29144da1a2ac858e5e"
dependencies = [
"memchr",
]
[[package]]
name = "quick-xml"
-version = "0.38.3"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42a232e7487fc2ef313d96dde7948e7a3c05101870d8985e4fd8d26aedd27b89"
+checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1"
dependencies = [
"memchr",
]
[[package]]
name = "quinn"
-version = "0.11.9"
+version = "0.11.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20"
+checksum = "0c1a41e437b6bbd489372cd4971de128e85c855f56c57f283d20ff016cf7c0a8"
dependencies = [
"bytes",
"cfg_aliases",
@@ -4924,7 +4756,7 @@ dependencies = [
"rustc-hash",
"rustls",
"socket2",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tokio",
"tracing",
"web-time",
@@ -4932,20 +4764,21 @@ dependencies = [
[[package]]
name = "quinn-proto"
-version = "0.11.13"
+version = "0.11.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31"
+checksum = "2f4bfc015262b9df63c8845072ce59068853ff5872180c2ce2f13038b970e560"
dependencies = [
"bytes",
- "getrandom 0.3.3",
+ "getrandom 0.4.3",
"lru-slab",
- "rand 0.9.2",
+ "rand 0.10.2",
+ "rand_pcg",
"ring",
"rustc-hash",
"rustls",
"rustls-pki-types",
"slab",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tinyvec",
"tracing",
"web-time",
@@ -4953,23 +4786,23 @@ dependencies = [
[[package]]
name = "quinn-udp"
-version = "0.5.14"
+version = "0.5.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd"
+checksum = "35a133f956daabe89a61a685c2649f13d82d5aa4bd5d12d1277e1072a21c0694"
dependencies = [
"cfg_aliases",
"libc",
"once_cell",
"socket2",
"tracing",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
name = "quote"
-version = "1.0.41"
+version = "1.0.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1"
+checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
dependencies = [
"proc-macro2",
]
@@ -4986,31 +4819,11 @@ version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
-[[package]]
-name = "radium"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
-
[[package]]
name = "rand"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
-dependencies = [
- "getrandom 0.1.16",
- "libc",
- "rand_chacha 0.2.2",
- "rand_core 0.5.1",
- "rand_hc",
- "rand_pcg",
-]
-
-[[package]]
-name = "rand"
-version = "0.8.5"
+version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
+checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a"
dependencies = [
"libc",
"rand_chacha 0.3.1",
@@ -5019,35 +4832,25 @@ dependencies = [
[[package]]
name = "rand"
-version = "0.9.2"
+version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
+checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41"
dependencies = [
"rand_chacha 0.9.0",
- "rand_core 0.9.3",
+ "rand_core 0.9.5",
]
[[package]]
name = "rand"
-version = "0.10.1"
+version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2e8e8bcc7961af1fdac401278c6a831614941f6164ee3bf4ce61b7edb162207"
+checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80"
dependencies = [
"chacha20",
"getrandom 0.4.3",
"rand_core 0.10.1",
]
-[[package]]
-name = "rand_chacha"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
-dependencies = [
- "ppv-lite86",
- "rand_core 0.5.1",
-]
-
[[package]]
name = "rand_chacha"
version = "0.3.1"
@@ -5065,16 +4868,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
dependencies = [
"ppv-lite86",
- "rand_core 0.9.3",
-]
-
-[[package]]
-name = "rand_core"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
-dependencies = [
- "getrandom 0.1.16",
+ "rand_core 0.9.5",
]
[[package]]
@@ -5083,16 +4877,16 @@ version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [
- "getrandom 0.2.16",
+ "getrandom 0.2.17",
]
[[package]]
name = "rand_core"
-version = "0.9.3"
+version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
+checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c"
dependencies = [
- "getrandom 0.3.3",
+ "getrandom 0.3.4",
]
[[package]]
@@ -5101,29 +4895,20 @@ version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
-[[package]]
-name = "rand_hc"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
-dependencies = [
- "rand_core 0.5.1",
-]
-
[[package]]
name = "rand_pcg"
-version = "0.2.1"
+version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429"
+checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a"
dependencies = [
- "rand_core 0.5.1",
+ "rand_core 0.10.1",
]
[[package]]
name = "rangemap"
-version = "1.6.0"
+version = "1.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f93e7e49bb0bf967717f7bd674458b3d6b0c5f48ec7e3038166026a69fc22223"
+checksum = "973443cf09a9c8656b574a866ab68dfa19f0867d0340648c7d2f6a71b8a8ea68"
[[package]]
name = "raw-window-handle"
@@ -5143,7 +4928,16 @@ version = "0.5.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
+]
+
+[[package]]
+name = "redox_syscall"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c5102a6aaa05aa011a238e178e6bca86d2cb56fc9f586d37cb80f5bca6e07759"
+dependencies = [
+ "bitflags 2.13.0",
]
[[package]]
@@ -5152,9 +4946,9 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac"
dependencies = [
- "getrandom 0.2.16",
+ "getrandom 0.2.17",
"libredox",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
]
[[package]]
@@ -5174,14 +4968,14 @@ checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "regex"
-version = "1.11.3"
+version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b5288124840bee7b386bc413c487869b360b2b4ec421ea56425128692f2a82c"
+checksum = "2a0e75113e14dc5acb068cd0786884f214f1312650a3d36d269f5c4f3cdee8a2"
dependencies = [
"aho-corasick",
"memchr",
@@ -5191,9 +4985,9 @@ dependencies = [
[[package]]
name = "regex-automata"
-version = "0.4.11"
+version = "0.4.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "833eb9ce86d40ef33cb1306d8accf7bc8ec2bfea4355cbdebb3df68b40925cad"
+checksum = "1f388202e4b80542a0921078cc23b6333bcf1409c1e3f86404cae4766a6131db"
dependencies = [
"aho-corasick",
"memchr",
@@ -5202,29 +4996,20 @@ dependencies = [
[[package]]
name = "regex-syntax"
-version = "0.8.6"
+version = "0.8.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001"
-
-[[package]]
-name = "rend"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "71fe3824f5629716b1589be05dacd749f6aa084c87e00e016714a8cdfccc997c"
-dependencies = [
- "bytecheck",
-]
+checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
[[package]]
name = "reqwest"
-version = "0.12.23"
+version = "0.12.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d429f34c8092b2d42c7c93cec323bb4adeb7c67698f70839adec842ec10c7ceb"
+checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147"
dependencies = [
"base64 0.22.1",
"bytes",
"cookie",
- "cookie_store 0.21.1",
+ "cookie_store",
"encoding_rs",
"futures-channel",
"futures-core",
@@ -5279,15 +5064,20 @@ dependencies = [
"http-body",
"http-body-util",
"hyper",
+ "hyper-rustls",
"hyper-util",
"js-sys",
"log",
"percent-encoding",
"pin-project-lite",
+ "rustls",
+ "rustls-pki-types",
+ "rustls-platform-verifier",
"serde",
"serde_json",
"sync_wrapper",
"tokio",
+ "tokio-rustls",
"tokio-util",
"tower",
"tower-http",
@@ -5306,17 +5096,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef2bee61e6cffa4635c72d7d81a84294e28f0930db0ddcb0f66d10244674ebed"
dependencies = [
"ashpd",
- "block2 0.6.2",
+ "block2",
"dispatch2",
- "glib-sys",
- "gobject-sys",
- "gtk-sys",
"js-sys",
"log",
- "objc2 0.6.3",
+ "objc2",
"objc2-app-kit",
"objc2-core-foundation",
- "objc2-foundation 0.3.2",
+ "objc2-foundation",
"pollster",
"raw-window-handle 0.6.2",
"urlencoding",
@@ -5326,6 +5113,27 @@ dependencies = [
"windows-sys 0.59.0",
]
+[[package]]
+name = "rfd"
+version = "0.16.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a15ad77d9e70a92437d8f74c35d99b4e4691128df018833e99f90bcd36152672"
+dependencies = [
+ "block2",
+ "dispatch2",
+ "js-sys",
+ "log",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-foundation",
+ "raw-window-handle 0.6.2",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+ "windows-sys 0.60.2",
+]
+
[[package]]
name = "ring"
version = "0.17.14"
@@ -5334,41 +5142,12 @@ checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
dependencies = [
"cc",
"cfg-if",
- "getrandom 0.2.16",
+ "getrandom 0.2.17",
"libc",
"untrusted",
"windows-sys 0.52.0",
]
-[[package]]
-name = "rkyv"
-version = "0.7.45"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b"
-dependencies = [
- "bitvec",
- "bytecheck",
- "bytes",
- "hashbrown 0.12.3",
- "ptr_meta",
- "rend",
- "rkyv_derive",
- "seahash",
- "tinyvec",
- "uuid",
-]
-
-[[package]]
-name = "rkyv_derive"
-version = "0.7.45"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "503d1d27590a2b0a3a4ca4c94755aa2875657196ecbf401a42eff41d7de532c0"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
[[package]]
name = "rmcp"
version = "0.8.5"
@@ -5382,13 +5161,13 @@ dependencies = [
"paste",
"pin-project-lite",
"process-wrap",
- "reqwest 0.12.23",
+ "reqwest 0.12.28",
"rmcp-macros",
- "schemars 1.0.4",
+ "schemars 1.2.1",
"serde",
"serde_json",
"sse-stream",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tokio",
"tokio-stream",
"tokio-util",
@@ -5406,14 +5185,14 @@ dependencies = [
"proc-macro2",
"quote",
"serde_json",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "rsa"
-version = "0.9.8"
+version = "0.9.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78928ac1ed176a5ca1d17e578a1825f3d81ca54cf41053a592584b020cfd691b"
+checksum = "b8573f03f5883dcaebdfcf4725caa1ecb9c15b2ef50c43a07b816e06799bb12d"
dependencies = [
"const-oid",
"digest",
@@ -5435,7 +5214,7 @@ version = "0.32.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7753b721174eb8ff87a9a0e799e2d7bc3749323e773db92e0984debb00019d6e"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"fallible-iterator",
"fallible-streaming-iterator",
"hashlink 0.9.1",
@@ -5453,33 +5232,11 @@ dependencies = [
"ordered-multimap",
]
-[[package]]
-name = "rust_decimal"
-version = "1.38.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8975fc98059f365204d635119cf9c5a60ae67b841ed49b5422a9a7e56cdfac0"
-dependencies = [
- "arrayvec",
- "borsh",
- "bytes",
- "num-traits",
- "rand 0.8.5",
- "rkyv",
- "serde",
- "serde_json",
-]
-
-[[package]]
-name = "rustc-demangle"
-version = "0.1.26"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace"
-
[[package]]
name = "rustc-hash"
-version = "2.1.1"
+version = "2.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
+checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
[[package]]
name = "rustc_version"
@@ -5492,22 +5249,22 @@ dependencies = [
[[package]]
name = "rustix"
-version = "1.1.2"
+version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e"
+checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"errno",
"libc",
"linux-raw-sys",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
name = "rustls"
-version = "0.23.32"
+version = "0.23.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd3c25631629d034ce7cd9940adc9d45762d46de2b0f57193c4443b92c6d4d40"
+checksum = "3c54fcab019b409d04215d3a17cb438fd7fbf192ee61461f20f4fe18704bc138"
dependencies = [
"once_cell",
"ring",
@@ -5518,14 +5275,53 @@ dependencies = [
]
[[package]]
-name = "rustls-pki-types"
-version = "1.12.0"
+name = "rustls-native-certs"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d"
+dependencies = [
+ "openssl-probe",
+ "rustls-pki-types",
+ "schannel",
+ "security-framework 3.7.0",
+]
+
+[[package]]
+name = "rustls-pki-types"
+version = "1.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "764899a24af3980067ee14bc143654f297b22eaebfe3c7b6b211920a5a59b046"
+dependencies = [
+ "web-time",
+ "zeroize",
+]
+
+[[package]]
+name = "rustls-platform-verifier"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26d1e2536ce4f35f4846aa13bff16bd0ff40157cdb14cc056c7b14ba41233ba0"
+dependencies = [
+ "core-foundation 0.10.1",
+ "core-foundation-sys",
+ "jni 0.22.4",
+ "log",
+ "once_cell",
+ "rustls",
+ "rustls-native-certs",
+ "rustls-platform-verifier-android",
+ "rustls-webpki",
+ "security-framework 3.7.0",
+ "security-framework-sys",
+ "webpki-root-certs",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "rustls-platform-verifier-android"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79"
-dependencies = [
- "web-time",
- "zeroize",
-]
+checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f"
[[package]]
name = "rustls-webpki"
@@ -5540,15 +5336,15 @@ dependencies = [
[[package]]
name = "rustversion"
-version = "1.0.22"
+version = "1.0.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
+checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
[[package]]
name = "ryu"
-version = "1.0.20"
+version = "1.0.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
+checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
[[package]]
name = "same-file"
@@ -5561,9 +5357,9 @@ dependencies = [
[[package]]
name = "schannel"
-version = "0.1.28"
+version = "0.1.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1"
+checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939"
dependencies = [
"windows-sys 0.61.2",
]
@@ -5597,14 +5393,14 @@ dependencies = [
[[package]]
name = "schemars"
-version = "1.0.4"
+version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82d20c4491bc164fa2f6c5d44565947a52ad80b9505d8e36f8d54c27c739fcd0"
+checksum = "a2b42f36aa1cd011945615b92222f6bf73c599a102a300334cd7f8dbeec726cc"
dependencies = [
"chrono",
"dyn-clone",
"ref-cast",
- "schemars_derive 1.0.4",
+ "schemars_derive 1.2.1",
"serde",
"serde_json",
]
@@ -5618,19 +5414,19 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "schemars_derive"
-version = "1.0.4"
+version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33d020396d1d138dc19f1165df7545479dcd58d93810dc5d646a16e55abefa80"
+checksum = "7d115b50f4aaeea07e79c1912f645c7513d81715d0420f8bc77a18c6260b307f"
dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -5662,15 +5458,9 @@ checksum = "ed76efe62313ab6610570951494bdaa81568026e0318eaa55f167de70eeea67d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
-[[package]]
-name = "seahash"
-version = "4.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b"
-
[[package]]
name = "secret-service"
version = "4.0.0"
@@ -5684,7 +5474,7 @@ dependencies = [
"hkdf",
"num",
"once_cell",
- "rand 0.8.5",
+ "rand 0.8.7",
"serde",
"sha2",
"zbus 4.4.0",
@@ -5696,7 +5486,7 @@ version = "2.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"core-foundation 0.9.4",
"core-foundation-sys",
"libc",
@@ -5705,11 +5495,11 @@ dependencies = [
[[package]]
name = "security-framework"
-version = "3.6.0"
+version = "3.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d17b898a6d6948c3a8ee4372c17cb384f90d2e6e912ef00895b14fd7ab54ec38"
+checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"core-foundation 0.10.1",
"core-foundation-sys",
"libc",
@@ -5726,48 +5516,30 @@ dependencies = [
"libc",
]
-[[package]]
-name = "selectors"
-version = "0.24.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c37578180969d00692904465fb7f6b3d50b9a2b952b87c23d0e2e5cb5013416"
-dependencies = [
- "bitflags 1.3.2",
- "cssparser 0.29.6",
- "derive_more 0.99.20",
- "fxhash",
- "log",
- "phf 0.8.0",
- "phf_codegen 0.8.0",
- "precomputed-hash",
- "servo_arc 0.2.0",
- "smallvec",
-]
-
[[package]]
name = "selectors"
version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c5d9c0c92a92d33f08817311cf3f2c29a3538a8240e94a6a3c622ce652d7e00c"
dependencies = [
- "bitflags 2.9.4",
- "cssparser 0.36.0",
- "derive_more 2.1.1",
+ "bitflags 2.13.0",
+ "cssparser",
+ "derive_more",
"log",
"new_debug_unreachable",
"phf 0.13.1",
"phf_codegen 0.13.1",
"precomputed-hash",
"rustc-hash",
- "servo_arc 0.4.3",
+ "servo_arc",
"smallvec",
]
[[package]]
name = "semver"
-version = "1.0.27"
+version = "1.0.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
+checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
dependencies = [
"serde",
"serde_core",
@@ -5812,7 +5584,7 @@ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -5823,14 +5595,14 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "serde_json"
-version = "1.0.149"
+version = "1.0.150"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86"
+checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
dependencies = [
"itoa",
"memchr",
@@ -5847,7 +5619,7 @@ checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -5882,17 +5654,18 @@ dependencies = [
[[package]]
name = "serde_with"
-version = "3.15.0"
+version = "3.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6093cd8c01b25262b84927e0f7151692158fab02d961e04c979d3903eba7ecc5"
+checksum = "76a5c54c7310e7b8b9577c286d7e399ddd876c3e12b3ed917a8aabc4b96e9e8c"
dependencies = [
"base64 0.22.1",
+ "bs58",
"chrono",
"hex",
"indexmap 1.9.3",
- "indexmap 2.11.4",
+ "indexmap 2.14.0",
"schemars 0.9.0",
- "schemars 1.0.4",
+ "schemars 1.2.1",
"serde_core",
"serde_json",
"serde_with_macros",
@@ -5901,14 +5674,14 @@ dependencies = [
[[package]]
name = "serde_with_macros"
-version = "3.15.0"
+version = "3.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7e6c180db0816026a61afa1cff5344fb7ebded7e4d3062772179f2501481c27"
+checksum = "84d57bc0c8b9a17920c178daa6bb924850d54a9c97ab45194bb8c17ad66bb660"
dependencies = [
- "darling 0.21.3",
+ "darling 0.23.0",
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -5917,7 +5690,7 @@ version = "0.9.34+deprecated"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47"
dependencies = [
- "indexmap 2.11.4",
+ "indexmap 2.14.0",
"itoa",
"ryu",
"serde",
@@ -5943,17 +5716,7 @@ checksum = "772ee033c0916d670af7860b6e1ef7d658a4629a6d0b4c8c3e67f09b3765b75d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
-]
-
-[[package]]
-name = "servo_arc"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d52aa42f8fdf0fed91e5ce7f23d8138441002fa31dca008acf47e6fd4721f741"
-dependencies = [
- "nodrop",
- "stable_deref_trait",
+ "syn 2.0.118",
]
[[package]]
@@ -5967,9 +5730,9 @@ dependencies = [
[[package]]
name = "sha1"
-version = "0.10.6"
+version = "0.10.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
+checksum = "a978451301f4db1d02937a4ab3ccce137717b81826e79b7d49ffe3244a13c3b8"
dependencies = [
"cfg-if",
"cpufeatures 0.2.17",
@@ -6006,9 +5769,9 @@ checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
[[package]]
name = "shlex"
-version = "1.3.0"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
+checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
[[package]]
name = "sigchld"
@@ -6033,10 +5796,11 @@ dependencies = [
[[package]]
name = "signal-hook-registry"
-version = "1.4.6"
+version = "1.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b"
+checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
dependencies = [
+ "errno",
"libc",
]
@@ -6052,9 +5816,19 @@ dependencies = [
[[package]]
name = "simd-adler32"
-version = "0.3.7"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
+
+[[package]]
+name = "simd_cesu8"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
+checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520"
+dependencies = [
+ "rustc_version",
+ "simdutf8",
+]
[[package]]
name = "simdutf8"
@@ -6070,55 +5844,55 @@ checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d"
[[package]]
name = "siphasher"
-version = "1.0.1"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
+checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649"
[[package]]
name = "slab"
-version = "0.4.11"
+version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589"
+checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
[[package]]
name = "smallvec"
-version = "1.15.1"
+version = "1.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
+checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
dependencies = [
"serde",
]
[[package]]
name = "socket2"
-version = "0.6.0"
+version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807"
+checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4"
dependencies = [
"libc",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
name = "softbuffer"
-version = "0.4.6"
+version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18051cdd562e792cad055119e0cdb2cfc137e44e3987532e0f9659a77931bb08"
+checksum = "aac18da81ebbf05109ab275b157c22a653bb3c12cf884450179942f81bcbf6c3"
dependencies = [
"bytemuck",
- "cfg_aliases",
- "core-graphics 0.24.0",
- "foreign-types 0.5.0",
"js-sys",
- "log",
- "objc2 0.5.2",
- "objc2-foundation 0.2.2",
+ "ndk",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+ "objc2-foundation",
"objc2-quartz-core",
"raw-window-handle 0.6.2",
- "redox_syscall",
+ "redox_syscall 0.5.18",
+ "tracing",
"wasm-bindgen",
"web-sys",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -6149,9 +5923,9 @@ dependencies = [
[[package]]
name = "spin"
-version = "0.9.8"
+version = "0.9.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
+checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e"
dependencies = [
"lock_api",
]
@@ -6197,7 +5971,7 @@ dependencies = [
"futures-util",
"hashbrown 0.15.5",
"hashlink 0.10.0",
- "indexmap 2.11.4",
+ "indexmap 2.14.0",
"log",
"memchr",
"once_cell",
@@ -6206,7 +5980,7 @@ dependencies = [
"serde_json",
"sha2",
"smallvec",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tokio",
"tokio-stream",
"tracing",
@@ -6223,7 +5997,7 @@ dependencies = [
"quote",
"sqlx-core",
"sqlx-macros-core",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -6246,7 +6020,7 @@ dependencies = [
"sqlx-mysql",
"sqlx-postgres",
"sqlx-sqlite",
- "syn 2.0.106",
+ "syn 2.0.118",
"tokio",
"url",
]
@@ -6259,7 +6033,7 @@ checksum = "aa003f0038df784eb8fecbbac13affe3da23b45194bd57dba231c8f48199c526"
dependencies = [
"atoi",
"base64 0.22.1",
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"byteorder",
"bytes",
"crc",
@@ -6280,7 +6054,7 @@ dependencies = [
"memchr",
"once_cell",
"percent-encoding",
- "rand 0.8.5",
+ "rand 0.8.7",
"rsa",
"serde",
"sha1",
@@ -6288,7 +6062,7 @@ dependencies = [
"smallvec",
"sqlx-core",
"stringprep",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tracing",
"whoami",
]
@@ -6301,7 +6075,7 @@ checksum = "db58fcd5a53cf07c184b154801ff91347e4c30d17a3562a635ff028ad5deda46"
dependencies = [
"atoi",
"base64 0.22.1",
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"byteorder",
"crc",
"dotenvy",
@@ -6318,14 +6092,14 @@ dependencies = [
"md-5",
"memchr",
"once_cell",
- "rand 0.8.5",
+ "rand 0.8.7",
"serde",
"serde_json",
"sha2",
"smallvec",
"sqlx-core",
"stringprep",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tracing",
"whoami",
]
@@ -6349,16 +6123,16 @@ dependencies = [
"serde",
"serde_urlencoded",
"sqlx-core",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tracing",
"url",
]
[[package]]
name = "sse-stream"
-version = "0.2.1"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb4dc4d33c68ec1f27d386b5610a351922656e1fdf5c05bbaad930cd1519479a"
+checksum = "39f24a9b78c40b90817bbcd1821c74ddfd74916aadd29403d001532a9195532d"
dependencies = [
"bytes",
"futures-util",
@@ -6369,9 +6143,9 @@ dependencies = [
[[package]]
name = "stable_deref_trait"
-version = "1.2.0"
+version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
+checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
[[package]]
name = "static_assertions"
@@ -6484,9 +6258,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.106"
+version = "2.0.118"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
+checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
dependencies = [
"proc-macro2",
"quote",
@@ -6510,7 +6284,7 @@ checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -6537,11 +6311,11 @@ dependencies = [
[[package]]
name = "system-configuration"
-version = "0.6.1"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b"
+checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"core-foundation 0.9.4",
"system-configuration-sys",
]
@@ -6571,14 +6345,14 @@ dependencies = [
[[package]]
name = "tao"
-version = "0.34.8"
+version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9103edf55f2da3c82aea4c7fab7c4241032bfeea0e71fa557d98e00e7ce7cc20"
+checksum = "d1c93047acf68669466a34690ac58cca7010bd1b201e1ec86f1fd0a75d3dd4a9"
dependencies = [
- "bitflags 2.9.4",
- "block2 0.6.2",
+ "bitflags 2.13.0",
+ "block2",
"core-foundation 0.10.1",
- "core-graphics 0.25.0",
+ "core-graphics",
"crossbeam-channel",
"dispatch2",
"dlopen2",
@@ -6586,17 +6360,18 @@ dependencies = [
"gdkwayland-sys",
"gdkx11-sys",
"gtk",
- "jni",
+ "jni 0.21.1",
"libc",
"log",
"ndk",
- "ndk-context",
"ndk-sys",
- "objc2 0.6.3",
+ "objc2",
"objc2-app-kit",
- "objc2-foundation 0.3.2",
+ "objc2-foundation",
+ "objc2-ui-kit",
"once_cell",
"parking_lot",
+ "percent-encoding",
"raw-window-handle 0.6.2",
"tao-macros",
"unicode-segmentation",
@@ -6615,20 +6390,14 @@ checksum = "f4e16beb8b2ac17db28eab8bca40e62dbfbb34c0fcdc6d9826b11b7b5d047dfd"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
-[[package]]
-name = "tap"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
-
[[package]]
name = "tar"
-version = "0.4.44"
+version = "0.4.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a"
+checksum = "3f6221d9a6003c78398e3b239969f352578258df48c8eb051caadae0015bc840"
dependencies = [
"filetime",
"libc",
@@ -6643,9 +6412,9 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
[[package]]
name = "tauri"
-version = "2.10.3"
+version = "2.11.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da77cc00fb9028caf5b5d4650f75e31f1ef3693459dfca7f7e506d1ecef0ba2d"
+checksum = "667b20e2726d572dea2de7370da16e188eb06008faf9a92fab7cdc46791190b5"
dependencies = [
"anyhow",
"bytes",
@@ -6653,20 +6422,20 @@ dependencies = [
"dirs",
"dunce",
"embed_plist",
- "getrandom 0.3.3",
+ "getrandom 0.3.4",
"glob",
"gtk",
"heck 0.5.0",
"http",
"http-range",
- "jni",
+ "jni 0.21.1",
"libc",
"log",
"mime",
"muda",
- "objc2 0.6.3",
+ "objc2",
"objc2-app-kit",
- "objc2-foundation 0.3.2",
+ "objc2-foundation",
"objc2-ui-kit",
"objc2-web-kit",
"percent-encoding",
@@ -6683,7 +6452,7 @@ dependencies = [
"tauri-runtime",
"tauri-runtime-wry",
"tauri-utils",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tokio",
"tray-icon",
"url",
@@ -6724,16 +6493,16 @@ dependencies = [
"ico",
"json-patch",
"plist",
- "png",
+ "png 0.17.16",
"proc-macro2",
"quote",
"semver",
"serde",
"serde_json",
"sha2",
- "syn 2.0.106",
+ "syn 2.0.118",
"tauri-utils",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"time",
"url",
"uuid",
@@ -6749,7 +6518,7 @@ dependencies = [
"heck 0.5.0",
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
"tauri-codegen",
"tauri-utils",
]
@@ -6772,9 +6541,9 @@ dependencies = [
[[package]]
name = "tauri-plugin-deep-link"
-version = "2.4.3"
+version = "2.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd67112fb1131834c2a7398ffcba520dbbf62c17de3b10329acd1a3554b1a9bb"
+checksum = "70ee75bc5627f77bfdf40c913255ebc258117b10ebe2b2239a1a1cf40b0b58aa"
dependencies = [
"dunce",
"plist",
@@ -6784,7 +6553,7 @@ dependencies = [
"tauri",
"tauri-plugin",
"tauri-utils",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tracing",
"url",
"windows-registry 0.5.3",
@@ -6793,19 +6562,19 @@ dependencies = [
[[package]]
name = "tauri-plugin-dialog"
-version = "2.4.0"
+version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0beee42a4002bc695550599b011728d9dfabf82f767f134754ed6655e434824e"
+checksum = "65981abb771e74e571a38196c3baa11c459379164791eba0e67abc1a5fac9884"
dependencies = [
"log",
"raw-window-handle 0.6.2",
- "rfd",
+ "rfd 0.16.0",
"serde",
"serde_json",
"tauri",
"tauri-plugin",
"tauri-plugin-fs",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"url",
]
@@ -6819,7 +6588,7 @@ dependencies = [
"dunce",
"glob",
"log",
- "objc2-foundation 0.3.2",
+ "objc2-foundation",
"percent-encoding",
"schemars 0.8.22",
"serde",
@@ -6828,8 +6597,8 @@ dependencies = [
"tauri",
"tauri-plugin",
"tauri-utils",
- "thiserror 2.0.17",
- "toml 1.1.0+spec-1.1.0",
+ "thiserror 2.0.18",
+ "toml 1.1.3+spec-1.1.0",
"url",
]
@@ -6857,18 +6626,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5bd512048e1985b7ec78f96d99083e2ddaf7e0d906b2b63c44ce5bb8b894067"
dependencies = [
"bytes",
- "cookie_store 0.22.1",
+ "cookie_store",
"data-url",
"http",
"regex",
- "reqwest 0.12.23",
+ "reqwest 0.12.28",
"schemars 0.8.22",
"serde",
"serde_json",
"tauri",
"tauri-plugin",
"tauri-plugin-fs",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tokio",
"url",
"urlpattern",
@@ -6886,8 +6655,8 @@ dependencies = [
"lddtree",
"log",
"nix 0.30.1",
- "rand 0.8.5",
- "reqwest 0.12.23",
+ "rand 0.8.7",
+ "reqwest 0.12.28",
"serde",
"serde_json",
"serde_yaml",
@@ -6896,30 +6665,29 @@ dependencies = [
"tauri",
"tauri-plugin",
"tauri-plugin-hardware",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tokio",
"walkdir",
]
[[package]]
name = "tauri-plugin-log"
-version = "2.7.0"
+version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61c1438bc7662acd16d508c919b3c087efd63669a4c75625dff829b1c75975ec"
+checksum = "6792296e6f389268016c77db21ebae1fc0568f2fccf88b1ec7e2ea71330afb4c"
dependencies = [
"android_logger",
- "byte-unit",
"fern",
"log",
- "objc2 0.6.3",
- "objc2-foundation 0.3.2",
+ "objc2",
+ "objc2-foundation",
"serde",
"serde_json",
"serde_repr",
"swift-rs",
"tauri",
"tauri-plugin",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"time",
]
@@ -6934,37 +6702,37 @@ dependencies = [
"sysinfo",
"tauri",
"tauri-plugin",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tokio",
]
[[package]]
name = "tauri-plugin-opener"
-version = "2.5.0"
+version = "2.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "786156aa8e89e03d271fbd3fe642207da8e65f3c961baa9e2930f332bf80a1f5"
+checksum = "17e1bea14edce6b793a04e2417e3fd924b9bc4faae83cdee7d714156cceeed29"
dependencies = [
"dunce",
"glob",
"objc2-app-kit",
- "objc2-foundation 0.3.2",
+ "objc2-foundation",
"open",
"schemars 0.8.22",
"serde",
"serde_json",
"tauri",
"tauri-plugin",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"url",
"windows 0.61.3",
- "zbus 5.11.0",
+ "zbus 5.17.0",
]
[[package]]
name = "tauri-plugin-os"
-version = "2.3.1"
+version = "2.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77a1c77ebf6f20417ab2a74e8c310820ba52151406d0c80fbcea7df232e3f6ba"
+checksum = "d8f08346c8deb39e96f86973da0e2d76cbb933d7ac9b750f6dc4daf955a6f997"
dependencies = [
"gethostname",
"log",
@@ -6975,7 +6743,7 @@ dependencies = [
"sys-locale",
"tauri",
"tauri-plugin",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
]
[[package]]
@@ -6995,16 +6763,16 @@ dependencies = [
"serde_json",
"tauri",
"tauri-plugin",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tokio",
"zip 0.6.6",
]
[[package]]
name = "tauri-plugin-shell"
-version = "2.3.1"
+version = "2.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54777d0c0d8add34eea3ced84378619ef5b97996bd967d3038c668feefd21071"
+checksum = "8457dbf9e2bab1edd8df22bb2c20857a59a9868e79cb3eac5ed639eec4d0c73b"
dependencies = [
"encoding_rs",
"log",
@@ -7017,47 +6785,48 @@ dependencies = [
"shared_child",
"tauri",
"tauri-plugin",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tokio",
]
[[package]]
name = "tauri-plugin-single-instance"
-version = "2.3.4"
+version = "2.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb9cac815bf11c4a80fb498666bcdad66d65b89e3ae24669e47806febb76389c"
+checksum = "b3214becf9ef5783c0ae99a3bb25adf5353a7a16ebf53e74b909e29205735c6c"
dependencies = [
"serde",
"serde_json",
"tauri",
"tauri-plugin-deep-link",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
+ "tokio",
"tracing",
"windows-sys 0.60.2",
- "zbus 5.11.0",
+ "zbus 5.17.0",
]
[[package]]
name = "tauri-plugin-store"
-version = "2.4.0"
+version = "2.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d85dd80d60a76ee2c2fdce09e9ef30877b239c2a6bb76e6d7d03708aa5f13a19"
+checksum = "6c72dda16786eb4a3f903e43a17b64d8d78dc0f00fe2aa4b757c28f617a8630b"
dependencies = [
"dunce",
"serde",
"serde_json",
"tauri",
"tauri-plugin",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tokio",
"tracing",
]
[[package]]
name = "tauri-plugin-updater"
-version = "2.9.0"
+version = "2.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27cbc31740f4d507712550694749572ec0e43bdd66992db7599b89fbfd6b167b"
+checksum = "806d9dac662c2e4594ff03c647a552f2c9bd544e7d0f683ec58f872f952ce4af"
dependencies = [
"base64 0.22.1",
"dirs",
@@ -7069,7 +6838,8 @@ dependencies = [
"minisign-verify",
"osakit",
"percent-encoding",
- "reqwest 0.12.23",
+ "reqwest 0.13.4",
+ "rustls",
"semver",
"serde",
"serde_json",
@@ -7077,7 +6847,7 @@ dependencies = [
"tauri",
"tauri-plugin",
"tempfile",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"time",
"tokio",
"url",
@@ -7096,7 +6866,7 @@ dependencies = [
"serde_json",
"tauri",
"tauri-plugin",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"tokio",
"uuid",
]
@@ -7118,23 +6888,23 @@ dependencies = [
[[package]]
name = "tauri-runtime"
-version = "2.10.1"
+version = "2.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2826d79a3297ed08cd6ea7f412644ef58e32969504bc4fbd8d7dbeabc4445ea2"
+checksum = "b0b4bc95aed361b0019067d189a1174a603d460d0f6c72606512d59fc9c12ec8"
dependencies = [
"cookie",
"dpi",
"gtk",
"http",
- "jni",
- "objc2 0.6.3",
+ "jni 0.21.1",
+ "objc2",
"objc2-ui-kit",
"objc2-web-kit",
"raw-window-handle 0.6.2",
"serde",
"serde_json",
"tauri-utils",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"url",
"webkit2gtk",
"webview2-com",
@@ -7143,15 +6913,15 @@ dependencies = [
[[package]]
name = "tauri-runtime-wry"
-version = "2.10.1"
+version = "2.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e11ea2e6f801d275fdd890d6c9603736012742a1c33b96d0db788c9cdebf7f9e"
+checksum = "4e6fac707727b7a2f48e4ded90976324267371073edbb415ffb73bb0458d203f"
dependencies = [
"gtk",
"http",
- "jni",
+ "jni 0.21.1",
"log",
- "objc2 0.6.3",
+ "objc2",
"objc2-app-kit",
"once_cell",
"percent-encoding",
@@ -7179,11 +6949,9 @@ dependencies = [
"dom_query",
"dunce",
"glob",
- "html5ever 0.29.1",
"http",
"infer 0.19.0",
"json-patch",
- "kuchikiki",
"log",
"memchr",
"phf 0.13.1",
@@ -7198,8 +6966,8 @@ dependencies = [
"serde_json",
"serde_with",
"swift-rs",
- "thiserror 2.0.17",
- "toml 1.1.0+spec-1.1.0",
+ "thiserror 2.0.18",
+ "toml 1.1.3+spec-1.1.0",
"url",
"urlpattern",
"uuid",
@@ -7208,25 +6976,26 @@ dependencies = [
[[package]]
name = "tauri-winres"
-version = "0.3.3"
+version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd21509dd1fa9bd355dc29894a6ff10635880732396aa38c0066c1e6c1ab8074"
+checksum = "cc65d45c68858bfe420dd29e834b5d15dbecf8a07a8a16cf4d532c7b1f69d4b6"
dependencies = [
+ "dunce",
"embed-resource",
- "toml 0.9.7",
+ "toml 1.1.3+spec-1.1.0",
]
[[package]]
name = "tempfile"
-version = "3.23.0"
+version = "3.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16"
+checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
dependencies = [
"fastrand",
- "getrandom 0.3.3",
+ "getrandom 0.4.3",
"once_cell",
"rustix",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -7260,11 +7029,11 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "2.0.17"
+version = "2.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
+checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
dependencies = [
- "thiserror-impl 2.0.17",
+ "thiserror-impl 2.0.18",
]
[[package]]
@@ -7275,25 +7044,25 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "thiserror-impl"
-version = "2.0.17"
+version = "2.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
+checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "thread_local"
-version = "1.1.9"
+version = "1.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185"
+checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070"
dependencies = [
"cfg-if",
]
@@ -7341,9 +7110,9 @@ dependencies = [
[[package]]
name = "tinystr"
-version = "0.8.1"
+version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b"
+checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d"
dependencies = [
"displaydoc",
"zerovec",
@@ -7351,9 +7120,9 @@ dependencies = [
[[package]]
name = "tinyvec"
-version = "1.10.0"
+version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa"
+checksum = "bb4ebadaa0af04fab11ae01eb5f9fdb5f9c5b875506e210e71c07873528baa7f"
dependencies = [
"tinyvec_macros",
]
@@ -7366,34 +7135,31 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
-version = "1.47.1"
+version = "1.52.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038"
+checksum = "8fc7f01b389ac15039e4dc9531aa973a135d7a4135281b12d7c1bc79fd57fffe"
dependencies = [
- "backtrace",
"bytes",
- "io-uring",
"libc",
"mio",
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
- "slab",
"socket2",
"tokio-macros",
"tracing",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
name = "tokio-macros"
-version = "2.5.0"
+version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8"
+checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -7418,9 +7184,9 @@ dependencies = [
[[package]]
name = "tokio-stream"
-version = "0.1.17"
+version = "0.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047"
+checksum = "32da49809aab5c3bc678af03902d4ccddea2a87d028d86392a4b1560c6906c70"
dependencies = [
"futures-core",
"pin-project-lite",
@@ -7429,9 +7195,9 @@ dependencies = [
[[package]]
name = "tokio-util"
-version = "0.7.16"
+version = "0.7.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5"
+checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098"
dependencies = [
"bytes",
"futures-core",
@@ -7454,26 +7220,26 @@ dependencies = [
[[package]]
name = "toml"
-version = "0.9.7"
+version = "0.9.12+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "00e5e5d9bf2475ac9d4f0d9edab68cc573dc2fd644b0dba36b0c30a92dd9eaa0"
+checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863"
dependencies = [
- "indexmap 2.11.4",
+ "indexmap 2.14.0",
"serde_core",
"serde_spanned 1.1.1",
- "toml_datetime 0.7.2",
+ "toml_datetime 0.7.5+spec-1.1.0",
"toml_parser",
"toml_writer",
- "winnow 0.7.13",
+ "winnow 0.7.15",
]
[[package]]
name = "toml"
-version = "1.1.0+spec-1.1.0"
+version = "1.1.3+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8195ca05e4eb728f4ba94f3e3291661320af739c4e43779cbdfae82ab239fcc"
+checksum = "53c96ecdfa941c8fc4fcaed14f99ada8ebed502eef533015095a07e3301d4c3c"
dependencies = [
- "indexmap 2.11.4",
+ "indexmap 2.14.0",
"serde_core",
"serde_spanned 1.1.1",
"toml_datetime 1.1.1+spec-1.1.0",
@@ -7493,9 +7259,9 @@ dependencies = [
[[package]]
name = "toml_datetime"
-version = "0.7.2"
+version = "0.7.5+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32f1085dec27c2b6632b04c80b3bb1b4300d6495d1e129693bdda7d91e72eec1"
+checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347"
dependencies = [
"serde_core",
]
@@ -7515,7 +7281,7 @@ version = "0.19.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421"
dependencies = [
- "indexmap 2.11.4",
+ "indexmap 2.14.0",
"toml_datetime 0.6.3",
"winnow 0.5.40",
]
@@ -7526,7 +7292,7 @@ version = "0.20.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338"
dependencies = [
- "indexmap 2.11.4",
+ "indexmap 2.14.0",
"serde",
"serde_spanned 0.6.9",
"toml_datetime 0.6.3",
@@ -7535,14 +7301,27 @@ dependencies = [
[[package]]
name = "toml_edit"
-version = "0.23.6"
+version = "0.23.10+spec-1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "84c8b9f757e028cee9fa244aea147aab2a9ec09d5325a9b01e0a49730c2b5269"
+dependencies = [
+ "indexmap 2.14.0",
+ "toml_datetime 0.7.5+spec-1.1.0",
+ "toml_parser",
+ "toml_writer",
+ "winnow 0.7.15",
+]
+
+[[package]]
+name = "toml_edit"
+version = "0.25.13+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3effe7c0e86fdff4f69cdd2ccc1b96f933e24811c5441d44904e8683e27184b"
+checksum = "6975367e4d2ef766d86af01ffad14b622fecc8d4357a998fbc4deb6e9bacaf9b"
dependencies = [
- "indexmap 2.11.4",
- "toml_datetime 0.7.2",
+ "indexmap 2.14.0",
+ "toml_datetime 1.1.1+spec-1.1.0",
"toml_parser",
- "winnow 0.7.13",
+ "winnow 1.0.4",
]
[[package]]
@@ -7556,15 +7335,15 @@ dependencies = [
[[package]]
name = "toml_writer"
-version = "1.1.1+spec-1.1.0"
+version = "1.1.2+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "756daf9b1013ebe47a8776667b466417e2d4c5679d441c26230efd9ef78692db"
+checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2"
[[package]]
name = "tower"
-version = "0.5.2"
+version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
+checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4"
dependencies = [
"futures-core",
"futures-util",
@@ -7581,7 +7360,7 @@ version = "0.6.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"bytes",
"futures-util",
"http",
@@ -7607,9 +7386,9 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
[[package]]
name = "tracing"
-version = "0.1.41"
+version = "0.1.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
+checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
dependencies = [
"log",
"pin-project-lite",
@@ -7619,44 +7398,44 @@ dependencies = [
[[package]]
name = "tracing-attributes"
-version = "0.1.30"
+version = "0.1.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903"
+checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "tracing-core"
-version = "0.1.34"
+version = "0.1.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
+checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
dependencies = [
"once_cell",
]
[[package]]
name = "tray-icon"
-version = "0.21.1"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a0d92153331e7d02ec09137538996a7786fe679c629c279e82a6be762b7e6fe2"
+checksum = "65ba1e5f6b9ef9fd87e21b9c6f351554dbd717960089168fcfdef854686961dc"
dependencies = [
"crossbeam-channel",
"dirs",
"libappindicator",
"muda",
- "objc2 0.6.3",
+ "objc2",
"objc2-app-kit",
"objc2-core-foundation",
"objc2-core-graphics",
- "objc2-foundation 0.3.2",
+ "objc2-foundation",
"once_cell",
- "png",
+ "png 0.18.1",
"serde",
- "thiserror 2.0.17",
- "windows-sys 0.59.0",
+ "thiserror 2.0.18",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -7688,19 +7467,19 @@ checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c"
[[package]]
name = "typenum"
-version = "1.19.0"
+version = "1.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
+checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
[[package]]
name = "uds_windows"
-version = "1.1.0"
+version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89daebc3e6fd160ac4aa9fc8b3bf71e1f74fbf92367ae71fb83a037e8bf164b9"
+checksum = "f2f6fb2847f6742cd76af783a2a2c49e9375d0a111c7bef6f71cd9e738c72d6e"
dependencies = [
"memoffset",
"tempfile",
- "winapi",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -7752,30 +7531,30 @@ checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5"
[[package]]
name = "unicode-ident"
-version = "1.0.19"
+version = "1.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d"
+checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
[[package]]
name = "unicode-normalization"
-version = "0.1.24"
+version = "0.1.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956"
+checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8"
dependencies = [
"tinyvec",
]
[[package]]
name = "unicode-properties"
-version = "0.1.3"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0"
+checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d"
[[package]]
name = "unicode-segmentation"
-version = "1.12.0"
+version = "1.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
+checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
[[package]]
name = "unicode-width"
@@ -7813,14 +7592,15 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
[[package]]
name = "url"
-version = "2.5.7"
+version = "2.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b"
+checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
dependencies = [
"form_urlencoded",
"idna",
"percent-encoding",
"serde",
+ "serde_derive",
]
[[package]]
@@ -7847,12 +7627,6 @@ version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
-[[package]]
-name = "utf8-width"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86bd8d4e895da8537e5315b8254664e6b769c4ff3db18321b297a1e7004392e3"
-
[[package]]
name = "utf8_iter"
version = "1.0.4"
@@ -7867,22 +7641,16 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
[[package]]
name = "uuid"
-version = "1.18.1"
+version = "1.23.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2"
+checksum = "ea5fab0d6c3c01ae70085a09cb03d4c7a1d6314e2b3e075392783396d724ca0a"
dependencies = [
- "getrandom 0.3.3",
+ "getrandom 0.4.3",
"js-sys",
- "serde",
+ "serde_core",
"wasm-bindgen",
]
-[[package]]
-name = "value-bag"
-version = "1.11.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "943ce29a8a743eb10d6082545d861b24f9d1b160b7d741e0f2cdf726bec909c5"
-
[[package]]
name = "vcpkg"
version = "0.2.15"
@@ -7891,9 +7659,9 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]]
name = "version-compare"
-version = "0.2.0"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "852e951cb7832cb45cb1169900d19760cfa39b82bc0ea9c0e5a14ae88411c98b"
+checksum = "03c2856837ef78f57382f06b2b8563a2f512f7185d732608fd9176cb3b8edf0e"
[[package]]
name = "version_check"
@@ -7945,14 +7713,14 @@ version = "0.34.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a26f2897a92a30931fceef3d6d1156a1089d9681fb2be73be92bbf24ae2ddf2"
dependencies = [
- "ahash 0.8.12",
+ "ahash",
"ash",
"bytemuck",
"core-graphics-types 0.1.3",
"crossbeam-queue",
"half",
"heck 0.4.1",
- "indexmap 2.11.4",
+ "indexmap 2.14.0",
"libloading 0.8.9",
"objc",
"once_cell",
@@ -8000,32 +7768,17 @@ dependencies = [
"try-lock",
]
-[[package]]
-name = "wasi"
-version = "0.9.0+wasi-snapshot-preview1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
-
[[package]]
name = "wasi"
version = "0.11.1+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
-[[package]]
-name = "wasi"
-version = "0.14.7+wasi-0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c"
-dependencies = [
- "wasip2",
-]
-
[[package]]
name = "wasip2"
-version = "1.0.1+wasi-0.2.4"
+version = "1.0.4+wasi-0.2.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
+checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
dependencies = [
"wit-bindgen",
]
@@ -8078,7 +7831,7 @@ dependencies = [
"bumpalo",
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
"wasm-bindgen-shared",
]
@@ -8119,9 +7872,9 @@ dependencies = [
[[package]]
name = "wayland-backend"
-version = "0.3.11"
+version = "0.3.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "673a33c33048a5ade91a6b139580fa174e19fb0d23f396dca9fa15f2e1e49b35"
+checksum = "2857dd20b54e916ec7253b3d6b4d5c4d7d4ca2c33c2e11c6c76a99bd8744755d"
dependencies = [
"cc",
"downcast-rs",
@@ -8133,11 +7886,11 @@ dependencies = [
[[package]]
name = "wayland-client"
-version = "0.31.11"
+version = "0.31.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c66a47e840dc20793f2264eb4b3e4ecb4b75d91c0dd4af04b456128e0bdd449d"
+checksum = "645c7c96bb74690c3189b5c9cb4ca1627062bb23693a4fad9d8c3de958260144"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"rustix",
"wayland-backend",
"wayland-scanner",
@@ -8145,11 +7898,11 @@ dependencies = [
[[package]]
name = "wayland-protocols"
-version = "0.32.9"
+version = "0.32.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "efa790ed75fbfd71283bd2521a1cfdc022aabcc28bdcff00851f9e4ae88d9901"
+checksum = "23d0c813de3daa2ed6520af85a3bd49b0e722a3078506899aa9686fea58dc4b6"
dependencies = [
- "bitflags 2.9.4",
+ "bitflags 2.13.0",
"wayland-backend",
"wayland-client",
"wayland-scanner",
@@ -8157,20 +7910,20 @@ dependencies = [
[[package]]
name = "wayland-scanner"
-version = "0.31.7"
+version = "0.31.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54cb1e9dc49da91950bdfd8b848c49330536d9d1fb03d4bfec8cae50caa50ae3"
+checksum = "9c324a910fd86ebdc364a3e61ec1f11737d3b1d6c273c0239ee8ff4bc0d24b4a"
dependencies = [
"proc-macro2",
- "quick-xml 0.37.5",
+ "quick-xml 0.39.4",
"quote",
]
[[package]]
name = "wayland-sys"
-version = "0.31.7"
+version = "0.31.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34949b42822155826b41db8e5d0c1be3a2bd296c747577a43a3e6daefc296142"
+checksum = "d8eab23fefc9e41f8e841df4a9c707e8a8c4ed26e944ef69297184de2785e3be"
dependencies = [
"dlib",
"log",
@@ -8253,20 +8006,29 @@ dependencies = [
"system-deps",
]
+[[package]]
+name = "webpki-root-certs"
+version = "1.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0d46a5a140e6f7afeccd8eae97eff335163939eac8b929834875168b29b3d267"
+dependencies = [
+ "rustls-pki-types",
+]
+
[[package]]
name = "webpki-roots"
-version = "1.0.3"
+version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32b130c0d2d49f8b6889abc456e795e82525204f27c42cf767cf0d7734e089b8"
+checksum = "bf85cb06032201fa7c6f829d7db5a7e5aa45bcc0655327713065f6f0576731bf"
dependencies = [
"rustls-pki-types",
]
[[package]]
name = "webview2-com"
-version = "0.38.0"
+version = "0.38.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4ba622a989277ef3886dd5afb3e280e3dd6d974b766118950a08f8f678ad6a4"
+checksum = "7130243a7a5b33c54a444e54842e6a9e133de08b5ad7b5861cd8ed9a6a5bc96a"
dependencies = [
"webview2-com-macros",
"webview2-com-sys",
@@ -8278,31 +8040,31 @@ dependencies = [
[[package]]
name = "webview2-com-macros"
-version = "0.8.0"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d228f15bba3b9d56dde8bddbee66fa24545bd17b48d5128ccf4a8742b18e431"
+checksum = "67a921c1b6914c367b2b823cd4cde6f96beec77d30a939c8199bb377cf9b9b54"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "webview2-com-sys"
-version = "0.38.0"
+version = "0.38.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36695906a1b53a3bf5c4289621efedac12b73eeb0b89e7e1a89b517302d5d75c"
+checksum = "381336cfffd772377d291702245447a5251a2ffa5bad679c99e61bc48bacbf9c"
dependencies = [
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"windows 0.61.3",
"windows-core 0.61.2",
]
[[package]]
name = "weezl"
-version = "0.1.10"
+version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a751b3277700db47d3e574514de2eced5e54dc8a5436a3bf7a0b248b2cee16f3"
+checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88"
[[package]]
name = "whoami"
@@ -8336,7 +8098,7 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
- "windows-sys 0.48.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -8351,10 +8113,10 @@ version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9bec5a31f3f9362f2258fd0e9c9dd61a9ca432e7306cc78c444258f0dce9a9c"
dependencies = [
- "objc2 0.6.3",
+ "objc2",
"objc2-app-kit",
"objc2-core-foundation",
- "objc2-foundation 0.3.2",
+ "objc2-foundation",
"raw-window-handle 0.6.2",
"windows-sys 0.59.0",
"windows-version",
@@ -8417,6 +8179,19 @@ dependencies = [
"windows-strings 0.4.2",
]
+[[package]]
+name = "windows-core"
+version = "0.62.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
+dependencies = [
+ "windows-implement 0.60.2",
+ "windows-interface 0.59.3",
+ "windows-link 0.2.1",
+ "windows-result 0.4.1",
+ "windows-strings 0.5.1",
+]
+
[[package]]
name = "windows-future"
version = "0.2.1"
@@ -8436,7 +8211,7 @@ checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -8447,7 +8222,7 @@ checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -8458,7 +8233,7 @@ checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -8469,7 +8244,7 @@ checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -8887,9 +8662,9 @@ dependencies = [
[[package]]
name = "winnow"
-version = "0.7.13"
+version = "0.7.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21a0236b59786fed61e2a80582dd500fe61f18b5dca67a4a067d0bc9039339cf"
+checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945"
dependencies = [
"memchr",
]
@@ -8899,6 +8674,9 @@ name = "winnow"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81"
+dependencies = [
+ "memchr",
+]
[[package]]
name = "winreg"
@@ -8912,9 +8690,9 @@ dependencies = [
[[package]]
name = "wit-bindgen"
-version = "0.46.0"
+version = "0.57.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
+checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
[[package]]
name = "wrapcenum-derive"
@@ -8925,41 +8703,40 @@ dependencies = [
"darling 0.20.11",
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "writeable"
-version = "0.6.1"
+version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb"
+checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
[[package]]
name = "wry"
-version = "0.54.0"
+version = "0.55.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e456eeaf7f09413fdc16799782879b2b9f1d264dfdbce4cf7e924df0ef36afb9"
+checksum = "186f9871daa55fd9c016578b810d149de58367113db7fb72b462d2323ce19514"
dependencies = [
"base64 0.22.1",
- "block2 0.6.2",
+ "block2",
"cookie",
"crossbeam-channel",
"dirs",
+ "dom_query",
"dpi",
"dunce",
"gdkx11",
"gtk",
- "html5ever 0.29.1",
"http",
"javascriptcore-rs",
- "jni",
- "kuchikiki",
+ "jni 0.21.1",
"libc",
"ndk",
- "objc2 0.6.3",
+ "objc2",
"objc2-app-kit",
"objc2-core-foundation",
- "objc2-foundation 0.3.2",
+ "objc2-foundation",
"objc2-ui-kit",
"objc2-web-kit",
"once_cell",
@@ -8968,7 +8745,7 @@ dependencies = [
"sha2",
"soup3",
"tao-macros",
- "thiserror 2.0.17",
+ "thiserror 2.0.18",
"url",
"webkit2gtk",
"webkit2gtk-sys",
@@ -8979,15 +8756,6 @@ dependencies = [
"x11-dl",
]
-[[package]]
-name = "wyz"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
-dependencies = [
- "tap",
-]
-
[[package]]
name = "x11"
version = "2.21.0"
@@ -9031,9 +8799,9 @@ dependencies = [
[[package]]
name = "xml-rs"
-version = "0.8.27"
+version = "0.8.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6fd8403733700263c6eb89f192880191f1b83e332f7a20371ddcf421c4a337c7"
+checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f"
[[package]]
name = "xml5ever"
@@ -9048,11 +8816,10 @@ dependencies = [
[[package]]
name = "yoke"
-version = "0.8.0"
+version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc"
+checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
dependencies = [
- "serde",
"stable_deref_trait",
"yoke-derive",
"zerofrom",
@@ -9060,13 +8827,13 @@ dependencies = [
[[package]]
name = "yoke-derive"
-version = "0.8.0"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6"
+checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
"synstructure",
]
@@ -9088,7 +8855,7 @@ dependencies = [
"hex",
"nix 0.29.0",
"ordered-stream",
- "rand 0.8.5",
+ "rand 0.8.7",
"serde",
"serde_repr",
"sha1",
@@ -9104,9 +8871,9 @@ dependencies = [
[[package]]
name = "zbus"
-version = "5.11.0"
+version = "5.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d07e46d035fb8e375b2ce63ba4e4ff90a7f73cf2ffb0138b29e1158d2eaadf7"
+checksum = "a28b97f866896a4be7aefd2b5a8e01bb6773d19a775d54ab28b4d094b9a4480e"
dependencies = [
"async-broadcast",
"async-executor",
@@ -9122,18 +8889,20 @@ dependencies = [
"futures-core",
"futures-lite",
"hex",
- "nix 0.30.1",
+ "libc",
"ordered-stream",
+ "rustix",
"serde",
"serde_repr",
"tokio",
"tracing",
"uds_windows",
- "windows-sys 0.60.2",
- "winnow 0.7.13",
- "zbus_macros 5.11.0",
- "zbus_names 4.2.0",
- "zvariant 5.7.0",
+ "uuid",
+ "windows-sys 0.61.2",
+ "winnow 1.0.4",
+ "zbus_macros 5.17.0",
+ "zbus_names 4.3.3",
+ "zvariant 5.13.0",
]
[[package]]
@@ -9142,26 +8911,26 @@ version = "4.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "267db9407081e90bbfa46d841d3cbc60f59c0351838c4bc65199ecd79ab1983e"
dependencies = [
- "proc-macro-crate 3.4.0",
+ "proc-macro-crate 3.5.0",
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
"zvariant_utils 2.1.0",
]
[[package]]
name = "zbus_macros"
-version = "5.11.0"
+version = "5.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57e797a9c847ed3ccc5b6254e8bcce056494b375b511b3d6edcec0aeb4defaca"
+checksum = "5e05ad887425eecf5e8384dc2406a4a9313eb73468712fc1cdea362eb4fe0469"
dependencies = [
- "proc-macro-crate 3.4.0",
+ "proc-macro-crate 3.5.0",
"proc-macro2",
"quote",
- "syn 2.0.106",
- "zbus_names 4.2.0",
- "zvariant 5.7.0",
- "zvariant_utils 3.2.1",
+ "syn 2.0.118",
+ "zbus_names 4.3.3",
+ "zvariant 5.13.0",
+ "zvariant_utils 3.5.0",
]
[[package]]
@@ -9177,62 +8946,61 @@ dependencies = [
[[package]]
name = "zbus_names"
-version = "4.2.0"
+version = "4.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7be68e64bf6ce8db94f63e72f0c7eb9a60d733f7e0499e628dfab0f84d6bcb97"
+checksum = "1039ca249fee9559680f3a9f05b55e0761fee51af4f6c1e7d8c1f31e549721d2"
dependencies = [
"serde",
- "static_assertions",
- "winnow 0.7.13",
- "zvariant 5.7.0",
+ "winnow 1.0.4",
+ "zvariant 5.13.0",
]
[[package]]
name = "zerocopy"
-version = "0.8.27"
+version = "0.8.54"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c"
+checksum = "b7cbbc0a705a0fd05cc3676525980d2bf5a9bc4adac6d6475209a7887cf59d19"
dependencies = [
"zerocopy-derive",
]
[[package]]
name = "zerocopy-derive"
-version = "0.8.27"
+version = "0.8.54"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831"
+checksum = "e2e817b7b52d0c7358d3246da9d69935ebb18116b2b102b4230dac079b4862f5"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "zerofrom"
-version = "0.1.6"
+version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5"
+checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272"
dependencies = [
"zerofrom-derive",
]
[[package]]
name = "zerofrom-derive"
-version = "0.1.6"
+version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502"
+checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
"synstructure",
]
[[package]]
name = "zeroize"
-version = "1.8.2"
+version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
+checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e"
dependencies = [
"zeroize_derive",
]
@@ -9245,14 +9013,14 @@ checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "zerotrie"
-version = "0.2.2"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595"
+checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf"
dependencies = [
"displaydoc",
"yoke",
@@ -9261,9 +9029,9 @@ dependencies = [
[[package]]
name = "zerovec"
-version = "0.11.4"
+version = "0.11.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7aa2bd55086f1ab526693ecbe444205da57e25f4489879da80635a46d90e73b"
+checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239"
dependencies = [
"yoke",
"zerofrom",
@@ -9272,13 +9040,13 @@ dependencies = [
[[package]]
name = "zerovec-derive"
-version = "0.11.1"
+version = "0.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f"
+checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
@@ -9309,15 +9077,15 @@ checksum = "caa8cd6af31c3b31c6631b8f483848b91589021b28fffe50adada48d4f4d2ed1"
dependencies = [
"arbitrary",
"crc32fast",
- "indexmap 2.11.4",
+ "indexmap 2.14.0",
"memchr",
]
[[package]]
name = "zmij"
-version = "1.0.21"
+version = "1.0.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
+checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
[[package]]
name = "zstd"
@@ -9363,17 +9131,17 @@ dependencies = [
[[package]]
name = "zvariant"
-version = "5.7.0"
+version = "5.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "999dd3be73c52b1fccd109a4a81e4fcd20fab1d3599c8121b38d04e1419498db"
+checksum = "7cf057bb00bf5c9ad77abb6147b0ca4818236a1858416e9d988e40d6322fefa7"
dependencies = [
"endi",
"enumflags2",
"serde",
"url",
- "winnow 0.7.13",
- "zvariant_derive 5.7.0",
- "zvariant_utils 3.2.1",
+ "winnow 1.0.4",
+ "zvariant_derive 5.13.0",
+ "zvariant_utils 3.5.0",
]
[[package]]
@@ -9382,24 +9150,24 @@ version = "4.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73e2ba546bda683a90652bac4a279bc146adad1386f25379cf73200d2002c449"
dependencies = [
- "proc-macro-crate 3.4.0",
+ "proc-macro-crate 3.5.0",
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
"zvariant_utils 2.1.0",
]
[[package]]
name = "zvariant_derive"
-version = "5.7.0"
+version = "5.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6643fd0b26a46d226bd90d3f07c1b5321fe9bb7f04673cb37ac6d6883885b68e"
+checksum = "8118ca6bda77bfc0ab51d660db0c955f2505eef854c9a449435bccb616933b31"
dependencies = [
- "proc-macro-crate 3.4.0",
+ "proc-macro-crate 3.5.0",
"proc-macro2",
"quote",
- "syn 2.0.106",
- "zvariant_utils 3.2.1",
+ "syn 2.0.118",
+ "zvariant_utils 3.5.0",
]
[[package]]
@@ -9410,18 +9178,18 @@ checksum = "c51bcff7cc3dbb5055396bcf774748c3dab426b4b8659046963523cee4808340"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.106",
+ "syn 2.0.118",
]
[[package]]
name = "zvariant_utils"
-version = "3.2.1"
+version = "3.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6949d142f89f6916deca2232cf26a8afacf2b9fdc35ce766105e104478be599"
+checksum = "90cb9383f9b45290407a1258b202d3f8f01db719eb60b4e4055c6375af4fc7c7"
dependencies = [
"proc-macro2",
"quote",
"serde",
- "syn 2.0.106",
- "winnow 0.7.13",
+ "syn 2.0.118",
+ "winnow 1.0.4",
]
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 11cf709b4..810db5626 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -91,6 +91,8 @@ rmcp = { version = "0.8.5", features = [
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9.34"
+toml = "0.8"
+toml_edit = "0.23"
sha2 = "0.10"
tar = "0.4"
zip = "0.6"
@@ -135,6 +137,8 @@ futures = "0.3"
hostname = "0.4"
base64 = "0.22"
glob = "0.3"
+regex = "1"
+ignore = "0.4"
clap = { version = "4", features = ["derive"] }
dialoguer = { version = "0.11", optional = true }
env_logger = { version = "0.11", optional = true }
diff --git a/src-tauri/build.rs b/src-tauri/build.rs
index 639182a1f..7f512be51 100644
--- a/src-tauri/build.rs
+++ b/src-tauri/build.rs
@@ -12,19 +12,14 @@ fn main() {
.args(["--toolchain", "default", "--find", "swift"])
.output()
{
- let swift_path = String::from_utf8_lossy(&output.stdout)
- .trim()
- .to_string();
+ let swift_path = String::from_utf8_lossy(&output.stdout).trim().to_string();
if let Some(toolchain) = std::path::Path::new(&swift_path)
.parent()
.and_then(|p| p.parent())
{
let lib_path = toolchain.join("lib/swift/macosx");
if lib_path.exists() {
- println!(
- "cargo:rustc-link-arg=-Wl,-rpath,{}",
- lib_path.display()
- );
+ println!("cargo:rustc-link-arg=-Wl,-rpath,{}", lib_path.display());
}
}
}
diff --git a/src-tauri/src/bin/jan-cli.rs b/src-tauri/src/bin/jan-cli.rs
index 156690549..3f80d1349 100644
--- a/src-tauri/src/bin/jan-cli.rs
+++ b/src-tauri/src/bin/jan-cli.rs
@@ -13,9 +13,8 @@ use indicatif::{ProgressBar, ProgressStyle};
// Import the library crate so we can access core modules.
// The lib target is named "app_lib" (see [lib] section in Cargo.toml).
use app_lib::core::cli::{
- cli_delete_thread, cli_get_data_folder, cli_get_thread,
- cli_list_messages, cli_list_threads, discover_llamacpp_binary,
- download_hf_model, fetch_hf_gguf_files, init_llamacpp_state,
+ cli_delete_thread, cli_get_data_folder, cli_get_thread, cli_list_messages, cli_list_threads,
+ discover_llamacpp_binary, download_hf_model, fetch_hf_gguf_files, init_llamacpp_state,
list_models, looks_like_hf_repo, resolve_model_engine, HfFileInfo,
};
// MLX is macOS-only; these CLI symbols don't exist on other platforms.
@@ -23,9 +22,9 @@ use app_lib::core::cli::{
use app_lib::core::cli::{
discover_mlx_binary, init_mlx_state, load_mlx_model_impl, resolve_model_by_id, MlxConfig,
};
+use std::path::PathBuf;
use tauri_plugin_llamacpp::router as llamacpp_router;
use tauri_plugin_llamacpp::state::LlamacppState;
-use std::path::PathBuf;
// ── Top-level CLI ──────────────────────────────────────────────────────────
@@ -111,7 +110,6 @@ enum Commands {
},
}
-
// ── Threads subcommands ────────────────────────────────────────────────────
#[derive(Subcommand)]
@@ -273,9 +271,11 @@ async fn main() {
// Pre-scan raw args for --verbose / -v before full parse so we can set
// the log level before any logging happens.
let verbose = std::env::args().any(|a| a == "--verbose" || a == "-v");
- env_logger::Builder::from_env(
- env_logger::Env::default().default_filter_or(if verbose { "info" } else { "warn" }),
- )
+ env_logger::Builder::from_env(env_logger::Env::default().default_filter_or(if verbose {
+ "info"
+ } else {
+ "warn"
+ }))
.init();
// Inject the logo at runtime so we can use ANSI styling.
@@ -290,15 +290,40 @@ async fn main() {
Commands::Threads { cmd } => handle_threads(cmd).await,
Commands::Models { cmd } => handle_models(cmd).await,
Commands::Serve { args } => handle_serve(args).await,
- Commands::Launch { program, program_args, model, bin, port, api_key, n_gpu_layers, ctx_size, fit, verbose, select } => {
+ Commands::Launch {
+ program,
+ program_args,
+ model,
+ bin,
+ port,
+ api_key,
+ n_gpu_layers,
+ ctx_size,
+ fit,
+ verbose,
+ select,
+ } => {
let program = program.unwrap_or_else(select_program_interactively);
let ctx_size_val = ctx_size.unwrap_or(32768);
- handle_launch(program, program_args, model, bin, port, api_key, n_gpu_layers, ctx_size_val, fit, ctx_size.is_none(), verbose, select).await
+ handle_launch(
+ program,
+ program_args,
+ model,
+ bin,
+ port,
+ api_key,
+ n_gpu_layers,
+ ctx_size_val,
+ fit,
+ ctx_size.is_none(),
+ verbose,
+ select,
+ )
+ .await
}
}
}
-
// ── Threads handlers ───────────────────────────────────────────────────────
async fn handle_threads(cmd: ThreadsCommands) {
@@ -431,8 +456,7 @@ async fn handle_models(cmd: ModelsCommands) {
Err(e) => {
eprintln!(
"Error loading MLX model:\n{}",
- serde_json::to_string_pretty(&e)
- .unwrap_or_else(|_| format!("{e:?}"))
+ serde_json::to_string_pretty(&e).unwrap_or_else(|_| format!("{e:?}"))
);
std::process::exit(1);
}
@@ -532,7 +556,9 @@ async fn auto_download_hf_model(repo_id: &str, select_quantization: bool) -> Str
// Fetch available GGUF files from the HF API
eprintln!();
- let fetch_pb = make_spinner(format!("Fetching file list for '{repo_id}' from HuggingFace…"));
+ let fetch_pb = make_spinner(format!(
+ "Fetching file list for '{repo_id}' from HuggingFace…"
+ ));
let files = fetch_hf_gguf_files(repo_id, tok_ref)
.await
.unwrap_or_else(|e| {
@@ -548,9 +574,7 @@ async fn auto_download_hf_model(repo_id: &str, select_quantization: bool) -> Str
files
.iter()
.find(|f| f.filename.contains("Q4_K_XL"))
- .unwrap_or_else(|| {
- files.iter().max_by_key(|f| f.size).unwrap()
- })
+ .unwrap_or_else(|| files.iter().max_by_key(|f| f.size).unwrap())
};
eprintln!(" Downloading {}", chosen.filename);
eprintln!(" Size {}", fmt_bytes(chosen.size));
@@ -560,9 +584,7 @@ async fn auto_download_hf_model(repo_id: &str, select_quantization: bool) -> Str
let dl_pb = ProgressBar::new(chosen.size);
dl_pb.set_style(
ProgressStyle::default_bar()
- .template(
- " {bar:45.yellow/dim} {bytes:>9}/{total_bytes} {bytes_per_sec} eta {eta}",
- )
+ .template(" {bar:45.yellow/dim} {bytes:>9}/{total_bytes} {bytes_per_sec} eta {eta}")
.unwrap()
.progress_chars("█▉▊▋▌▍▎▏ "),
);
@@ -588,7 +610,7 @@ async fn auto_download_hf_model(repo_id: &str, select_quantization: bool) -> Str
/// Present an interactive menu for the supported AI agents.
fn select_program_interactively() -> String {
const CHOICES: &[(&str, &str)] = &[
- ("claude", "Claude Code — Anthropic's AI coding agent"),
+ ("claude", "Claude Code — Anthropic's AI coding agent"),
("openclaw", "OpenClaw — Open-source autonomous AI agent"),
];
@@ -618,7 +640,11 @@ fn select_program_interactively() -> String {
if ok {
desc.to_string()
} else {
- format!("{} {}", Style::new().dim().apply_to(desc), Style::new().dim().apply_to("[not installed]"))
+ format!(
+ "{} {}",
+ Style::new().dim().apply_to(desc),
+ Style::new().dim().apply_to("[not installed]")
+ )
}
})
.collect();
@@ -636,7 +662,10 @@ fn select_program_interactively() -> String {
return CHOICES[idx].0.to_string();
}
- eprintln!(" {} is not installed. Please choose an installed agent.", CHOICES[idx].1);
+ eprintln!(
+ " {} is not installed. Please choose an installed agent.",
+ CHOICES[idx].1
+ );
}
}
@@ -651,12 +680,16 @@ async fn select_model_interactively(select_quantization: bool) -> String {
if all.is_empty() {
let default_model = "janhq/Jan-v3-4B-base-instruct-gguf";
println!();
- let msg = Style::new().yellow().apply_to(
- "No models found. Downloading default model..."
- );
+ let msg = Style::new()
+ .yellow()
+ .apply_to("No models found. Downloading default model...");
println!("{}", msg);
println!();
- println!(" {} {}", Style::new().dim().apply_to("Model:"), default_model);
+ println!(
+ " {} {}",
+ Style::new().dim().apply_to("Model:"),
+ default_model
+ );
println!();
// Auto-download the default model
@@ -702,7 +735,10 @@ async fn select_model_interactively(select_quantization: bool) -> String {
return all[selection_items[0].0].0.clone();
}
- let labels: Vec<String> = selection_items.iter().map(|(_, label)| label.clone()).collect();
+ let labels: Vec<String> = selection_items
+ .iter()
+ .map(|(_, label)| label.clone())
+ .collect();
let selection = dialoguer::Select::new()
.with_prompt("Choose a model")
@@ -724,21 +760,37 @@ fn spawn_detached(model_id: &str, args: &ServeArgs) {
// Use --flag=value format throughout to avoid negative numbers being
// misinterpreted as short flags (e.g. --n-gpu-layers -1 → -1 looks like a flag).
let mut argv: Vec<String> = vec!["serve".into(), model_id.to_string()];
- if let Some(p) = &args.model_path { argv.push(format!("--model-path={p}")); }
- if let Some(b) = &args.bin { argv.push(format!("--bin={b}")); }
+ if let Some(p) = &args.model_path {
+ argv.push(format!("--model-path={p}"));
+ }
+ if let Some(b) = &args.bin {
+ argv.push(format!("--bin={b}"));
+ }
argv.push(format!("--port={}", args.port));
- if let Some(m) = &args.mmproj { argv.push(format!("--mmproj={m}")); }
- if args.embedding { argv.push("--embedding".into()); }
- argv.push(format!("--timeout={}", args.timeout));
+ if let Some(m) = &args.mmproj {
+ argv.push(format!("--mmproj={m}"));
+ }
+ if args.embedding {
+ argv.push("--embedding".into());
+ }
+ argv.push(format!("--timeout={}", args.timeout));
argv.push(format!("--n-gpu-layers={}", args.n_gpu_layers));
- argv.push(format!("--ctx-size={}", args.ctx_size));
- argv.push(format!("--threads={}", args.threads));
- if !args.api_key.is_empty() { argv.push(format!("--api-key={}", args.api_key)); }
- if args.fit { argv.push("--fit".into()); }
- if args.verbose { argv.push("--verbose".into()); }
+ argv.push(format!("--ctx-size={}", args.ctx_size));
+ argv.push(format!("--threads={}", args.threads));
+ if !args.api_key.is_empty() {
+ argv.push(format!("--api-key={}", args.api_key));
+ }
+ if args.fit {
+ argv.push("--fit".into());
+ }
+ if args.verbose {
+ argv.push("--verbose".into());
+ }
// Resolve log file path
- let log_path: PathBuf = args.log.as_deref()
+ let log_path: PathBuf = args
+ .log
+ .as_deref()
.map(PathBuf::from)
.unwrap_or_else(|| cli_get_data_folder().join("logs").join("serve.log"));
@@ -747,8 +799,13 @@ fn spawn_detached(model_id: &str, args: &ServeArgs) {
}
let log_file = std::fs::OpenOptions::new()
- .create(true).append(true).open(&log_path)
- .unwrap_or_else(|e| { eprintln!("Cannot open log file {}: {e}", log_path.display()); std::process::exit(1); });
+ .create(true)
+ .append(true)
+ .open(&log_path)
+ .unwrap_or_else(|e| {
+ eprintln!("Cannot open log file {}: {e}", log_path.display());
+ std::process::exit(1);
+ });
let log_out = log_file.try_clone().expect("clone log file");
let mut cmd = std::process::Command::new(&exe);
@@ -777,11 +834,15 @@ fn spawn_detached(model_id: &str, args: &ServeArgs) {
std::process::exit(1);
});
- println!("{}", serde_json::to_string_pretty(&serde_json::json!({
- "pid": child.id(),
- "model_id": model_id,
- "log": log_path.display().to_string(),
- })).unwrap());
+ println!(
+ "{}",
+ serde_json::to_string_pretty(&serde_json::json!({
+ "pid": child.id(),
+ "model_id": model_id,
+ "log": log_path.display().to_string(),
+ }))
+ .unwrap()
+ );
}
// ── Serve handler (shared by `models load` and top-level `serve`) ──────────
@@ -837,37 +898,36 @@ async fn handle_serve(args: ServeArgs) {
// Auto-detect engine from data folder.
// If the model isn't found locally and the ID looks like a HuggingFace repo,
// offer to download it automatically before proceeding.
- let (engine, resolved_model_path, resolved_mmproj) =
- match resolve_model_engine(&model_id) {
- Ok((eng, mp, mmp)) => (
- eng,
- model_path.unwrap_or_else(|| mp.to_string_lossy().into_owned()),
- mmproj.or_else(|| mmp.map(|p| p.to_string_lossy().into_owned())),
- ),
- Err(_) if model_path.is_some() => {
- // Explicit --model-path provided: skip engine detection entirely.
- ("llamacpp".to_string(), model_path.unwrap(), mmproj)
- }
- Err(_) if looks_like_hf_repo(&model_id) => {
- // Looks like a HuggingFace repo ID — download then resolve.
- auto_download_hf_model(&model_id, args.select).await;
- match resolve_model_engine(&model_id) {
- Ok((eng, mp, mmp)) => (
- eng,
- mp.to_string_lossy().into_owned(),
- mmp.map(|p| p.to_string_lossy().into_owned()),
- ),
- Err(e) => {
- eprintln!("Error after download: {e}");
- std::process::exit(1);
- }
+ let (engine, resolved_model_path, resolved_mmproj) = match resolve_model_engine(&model_id) {
+ Ok((eng, mp, mmp)) => (
+ eng,
+ model_path.unwrap_or_else(|| mp.to_string_lossy().into_owned()),
+ mmproj.or_else(|| mmp.map(|p| p.to_string_lossy().into_owned())),
+ ),
+ Err(_) if model_path.is_some() => {
+ // Explicit --model-path provided: skip engine detection entirely.
+ ("llamacpp".to_string(), model_path.unwrap(), mmproj)
+ }
+ Err(_) if looks_like_hf_repo(&model_id) => {
+ // Looks like a HuggingFace repo ID — download then resolve.
+ auto_download_hf_model(&model_id, args.select).await;
+ match resolve_model_engine(&model_id) {
+ Ok((eng, mp, mmp)) => (
+ eng,
+ mp.to_string_lossy().into_owned(),
+ mmp.map(|p| p.to_string_lossy().into_owned()),
+ ),
+ Err(e) => {
+ eprintln!("Error after download: {e}");
+ std::process::exit(1);
}
}
- Err(e) => {
- eprintln!("Error: {e}");
- std::process::exit(1);
- }
- };
+ }
+ Err(e) => {
+ eprintln!("Error: {e}");
+ std::process::exit(1);
+ }
+ };
let pb = start_progress(verbose, format!("Loading {} ({engine})…", model_id));
@@ -875,63 +935,65 @@ async fn handle_serve(args: ServeArgs) {
#[cfg(not(target_os = "macos"))]
{
finish_progress(pb, "✗ MLX is only supported on macOS");
- eprintln!("MLX models require macOS / Apple Silicon. Use a llama.cpp (GGUF) model instead.");
+ eprintln!(
+ "MLX models require macOS / Apple Silicon. Use a llama.cpp (GGUF) model instead."
+ );
std::process::exit(1);
}
#[cfg(target_os = "macos")]
{
- use std::path::Path;
-
- let bin_path = match bin {
- Some(b) => b,
- None => match discover_mlx_binary() {
- Some(p) => p.to_string_lossy().into_owned(),
- None => {
- finish_progress(pb, "✗ mlx-server binary not found");
- eprintln!("Install Jan from https://jan.ai or pass --bin <path>.");
- std::process::exit(1);
- }
- },
- };
+ use std::path::Path;
- let mlx_state = Arc::new(init_mlx_state());
- let mut envs: HashMap<String, String> = HashMap::new();
- if !api_key.is_empty() {
- envs.insert("MLX_API_KEY".to_string(), api_key);
- }
+ let bin_path = match bin {
+ Some(b) => b,
+ None => match discover_mlx_binary() {
+ Some(p) => p.to_string_lossy().into_owned(),
+ None => {
+ finish_progress(pb, "✗ mlx-server binary not found");
+ eprintln!("Install Jan from https://jan.ai or pass --bin <path>.");
+ std::process::exit(1);
+ }
+ },
+ };
- match load_mlx_model_impl(
- mlx_state.mlx_server_process.clone(),
- Path::new(&bin_path),
- model_id.clone(),
- resolved_model_path,
- port,
- MlxConfig { ctx_size },
- envs,
- embedding,
- timeout,
- )
- .await
- {
- Ok(info) => {
- let url = format!("http://127.0.0.1:{}", info.port);
- finish_progress(pb, format!("✓ {model_id} ready · {url}"));
- eprintln!();
- eprintln!(" Endpoint {url}/v1");
- eprintln!();
- eprintln!(" Press Ctrl+C to stop.");
- wait_for_shutdown(info.pid).await;
+ let mlx_state = Arc::new(init_mlx_state());
+ let mut envs: HashMap<String, String> = HashMap::new();
+ if !api_key.is_empty() {
+ envs.insert("MLX_API_KEY".to_string(), api_key);
}
- Err(e) => {
- finish_progress(pb, format!("✗ Failed to load {model_id}"));
- eprintln!(
- "\n{}",
- serde_json::to_string_pretty(&e).unwrap_or_else(|_| format!("{e:?}"))
- );
- std::process::exit(1);
+
+ match load_mlx_model_impl(
+ mlx_state.mlx_server_process.clone(),
+ Path::new(&bin_path),
+ model_id.clone(),
+ resolved_model_path,
+ port,
+ MlxConfig { ctx_size },
+ envs,
+ embedding,
+ timeout,
+ )
+ .await
+ {
+ Ok(info) => {
+ let url = format!("http://127.0.0.1:{}", info.port);
+ finish_progress(pb, format!("✓ {model_id} ready · {url}"));
+ eprintln!();
+ eprintln!(" Endpoint {url}/v1");
+ eprintln!();
+ eprintln!(" Press Ctrl+C to stop.");
+ wait_for_shutdown(info.pid).await;
+ }
+ Err(e) => {
+ finish_progress(pb, format!("✗ Failed to load {model_id}"));
+ eprintln!(
+ "\n{}",
+ serde_json::to_string_pretty(&e).unwrap_or_else(|_| format!("{e:?}"))
+ );
+ std::process::exit(1);
+ }
}
}
- }
} else {
// LlamaCPP path
let bin_path = match bin {
@@ -946,7 +1008,14 @@ async fn handle_serve(args: ServeArgs) {
},
};
- let _ = (n_gpu_layers, ctx_size, fit, threads, resolved_model_path, resolved_mmproj);
+ let _ = (
+ n_gpu_layers,
+ ctx_size,
+ fit,
+ threads,
+ resolved_model_path,
+ resolved_mmproj,
+ );
let llama_state = Arc::new(init_llamacpp_state());
let mut envs: HashMap<String, String> = HashMap::new();
if !api_key.is_empty() {
@@ -1140,7 +1209,7 @@ async fn handle_launch(
.file_name()
.and_then(|n| n.to_str())
.unwrap_or(&program);
- let is_claude = prog_name.contains("claude");
+ let is_claude = prog_name.contains("claude");
let is_openclaw = prog_name.contains("openclaw");
// --fit defaults to true when launching claude, but only if --ctx-size was
@@ -1149,7 +1218,17 @@ async fn handle_launch(
let effective_fit = fit.unwrap_or(is_claude && ctx_size_is_default);
// Start the model server inline (same process, no detach).
- let (pid, actual_port) = start_model_server(&model_id, bin, port, api_key.clone(), n_gpu_layers, ctx_size, effective_fit, verbose).await;
+ let (pid, actual_port) = start_model_server(
+ &model_id,
+ bin,
+ port,
+ api_key.clone(),
+ n_gpu_layers,
+ ctx_size,
+ effective_fit,
+ verbose,
+ )
+ .await;
// Model is ready — silence server request/response logs so they don't
// flood the launched program's terminal (e.g. Claude Code's shell).
@@ -1158,7 +1237,7 @@ async fn handle_launch(
}
let base_url = format!("http://127.0.0.1:{actual_port}");
- let v1_url = format!("{base_url}/v1");
+ let v1_url = format!("{base_url}/v1");
// openclaw is configured via ~/.openclaw/openclaw.json, not env vars.
// Write the jan provider entry and set the default model, then launch `openclaw tui`.
@@ -1173,7 +1252,11 @@ async fn handle_launch(
eprintln!(" ~/.openclaw/openclaw.json → jan provider configured");
eprintln!(" agents.defaults.model.primary = jan/{model_id}");
} else {
- let anthropic_key_var = if is_claude { "ANTHROPIC_AUTH_TOKEN" } else { "ANTHROPIC_API_KEY" };
+ let anthropic_key_var = if is_claude {
+ "ANTHROPIC_AUTH_TOKEN"
+ } else {
+ "ANTHROPIC_API_KEY"
+ };
eprintln!();
eprintln!(" OPENAI_BASE_URL={v1_url}");
eprintln!(" OPENAI_API_KEY={api_key}");
@@ -1211,23 +1294,33 @@ async fn handle_launch(
if is_openclaw {
// Clear any provider API keys that could override openclaw's config
for var in &[
- "OPENAI_API_KEY", "OPENAI_BASE_URL",
- "ANTHROPIC_API_KEY", "ANTHROPIC_AUTH_TOKEN", "ANTHROPIC_OAUTH_TOKEN",
- "GEMINI_API_KEY", "MISTRAL_API_KEY", "GROQ_API_KEY",
- "XAI_API_KEY", "OPENROUTER_API_KEY",
+ "OPENAI_API_KEY",
+ "OPENAI_BASE_URL",
+ "ANTHROPIC_API_KEY",
+ "ANTHROPIC_AUTH_TOKEN",
+ "ANTHROPIC_OAUTH_TOKEN",
+ "GEMINI_API_KEY",
+ "MISTRAL_API_KEY",
+ "GROQ_API_KEY",
+ "XAI_API_KEY",
+ "OPENROUTER_API_KEY",
] {
cmd.env_remove(var);
}
} else {
- let anthropic_key_var = if is_claude { "ANTHROPIC_AUTH_TOKEN" } else { "ANTHROPIC_API_KEY" };
+ let anthropic_key_var = if is_claude {
+ "ANTHROPIC_AUTH_TOKEN"
+ } else {
+ "ANTHROPIC_API_KEY"
+ };
cmd.env("OPENAI_BASE_URL", &v1_url)
- .env("OPENAI_API_KEY", &api_key)
- .env("OPENAI_MODEL", &model_id)
+ .env("OPENAI_API_KEY", &api_key)
+ .env("OPENAI_MODEL", &model_id)
.env("ANTHROPIC_BASE_URL", &base_url)
- .env(anthropic_key_var, &api_key)
- .env("ANTHROPIC_DEFAULT_OPUS_MODEL", &model_id)
+ .env(anthropic_key_var, &api_key)
+ .env("ANTHROPIC_DEFAULT_OPUS_MODEL", &model_id)
.env("ANTHROPIC_DEFAULT_SONNET_MODEL", &model_id)
- .env("ANTHROPIC_DEFAULT_HAIKU_MODEL", &model_id);
+ .env("ANTHROPIC_DEFAULT_HAIKU_MODEL", &model_id);
}
let status = cmd.status();
@@ -1280,8 +1373,7 @@ fn configure_openclaw(v1_url: &str, api_key: &str, model_id: &str) {
});
// Set jan/<model_id> as the primary default model.
- config["agents"]["defaults"]["model"]["primary"] =
- serde_json::json!(format!("jan/{model_id}"));
+ config["agents"]["defaults"]["model"]["primary"] = serde_json::json!(format!("jan/{model_id}"));
if let Some(parent) = config_path.parent() {
let _ = std::fs::create_dir_all(parent);
@@ -1321,10 +1413,16 @@ async fn start_model_server(
auto_download_hf_model(model_id, false).await;
match resolve_model_engine(model_id) {
Ok(r) => r,
- Err(e) => { eprintln!("Error after download: {e}"); std::process::exit(1); }
+ Err(e) => {
+ eprintln!("Error after download: {e}");
+ std::process::exit(1);
+ }
}
}
- Err(e) => { eprintln!("Error: {e}"); std::process::exit(1); }
+ Err(e) => {
+ eprintln!("Error: {e}");
+ std::process::exit(1);
+ }
};
let model_path = model_path.to_string_lossy().into_owned();
@@ -1334,48 +1432,63 @@ async fn start_model_server(
#[cfg(not(target_os = "macos"))]
{
finish_progress(pb, "✗ MLX is only supported on macOS");
- eprintln!("MLX models require macOS / Apple Silicon. Use a llama.cpp (GGUF) model instead.");
+ eprintln!(
+ "MLX models require macOS / Apple Silicon. Use a llama.cpp (GGUF) model instead."
+ );
std::process::exit(1)
}
#[cfg(target_os = "macos")]
{
- use std::path::Path;
- let bin_path = match bin.or_else(|| discover_mlx_binary().map(|p| p.to_string_lossy().into_owned())) {
- Some(p) => p,
- None => {
- finish_progress(pb, "✗ mlx-server binary not found");
- eprintln!("Install Jan from https://jan.ai or pass --bin <path>.");
- std::process::exit(1);
- }
- };
- let mlx_state = Arc::new(init_mlx_state());
- let mut envs: HashMap<String, String> = HashMap::new();
- if !api_key.is_empty() { envs.insert("MLX_API_KEY".to_string(), api_key.clone()); }
- let effective_ctx_size = if fit { 0 } else { ctx_size };
- let info = match load_mlx_model_impl(
- mlx_state.mlx_server_process.clone(),
- Path::new(&bin_path),
- model_id.to_string(),
- model_path,
- port,
- MlxConfig { ctx_size: effective_ctx_size },
- envs,
- false,
- 120,
- ).await {
- Ok(info) => info,
- Err(e) => {
- finish_progress(pb, format!("✗ Failed to load {model_id}"));
- eprintln!("{}", serde_json::to_string_pretty(&e).unwrap_or_else(|_| format!("{e:?}")));
- std::process::exit(1);
+ use std::path::Path;
+ let bin_path = match bin
+ .or_else(|| discover_mlx_binary().map(|p| p.to_string_lossy().into_owned()))
+ {
+ Some(p) => p,
+ None => {
+ finish_progress(pb, "✗ mlx-server binary not found");
+ eprintln!("Install Jan from https://jan.ai or pass --bin <path>.");
+ std::process::exit(1);
+ }
+ };
+ let mlx_state = Arc::new(init_mlx_state());
+ let mut envs: HashMap<String, String> = HashMap::new();
+ if !api_key.is_empty() {
+ envs.insert("MLX_API_KEY".to_string(), api_key.clone());
}
- };
- let url = format!("http://127.0.0.1:{}", info.port);
- finish_progress(pb, format!("✓ {model_id} ready · {url}"));
- (info.pid, info.port as u16)
+ let effective_ctx_size = if fit { 0 } else { ctx_size };
+ let info = match load_mlx_model_impl(
+ mlx_state.mlx_server_process.clone(),
+ Path::new(&bin_path),
+ model_id.to_string(),
+ model_path,
+ port,
+ MlxConfig {
+ ctx_size: effective_ctx_size,
+ },
+ envs,
+ false,
+ 120,
+ )
+ .await
+ {
+ Ok(info) => info,
+ Err(e) => {
+ finish_progress(pb, format!("✗ Failed to load {model_id}"));
+ eprintln!(
+ "{}",
+ serde_json::to_string_pretty(&e).unwrap_or_else(|_| format!("{e:?}"))
+ );
+ std::process::exit(1);
+ }
+ };
+ let url = format!("http://127.0.0.1:{}", info.port);
+ finish_progress(pb, format!("✓ {model_id} ready · {url}"));
+ (info.pid, info.port as u16)
}
} else {
- let bin_path = match bin.or_else(|| discover_llamacpp_binary().map(|p| p.to_string_lossy().into_owned())) {
+ let bin_path = match bin
+ .or_else(|| discover_llamacpp_binary().map(|p| p.to_string_lossy().into_owned()))
+ {
Some(p) => p,
None => {
finish_progress(pb, "✗ llama-server binary not found");
@@ -1386,7 +1499,9 @@ async fn start_model_server(
let _ = (n_gpu_layers, ctx_size, fit, model_path, mmproj);
let llama_state = Arc::new(init_llamacpp_state());
let mut envs: HashMap<String, String> = HashMap::new();
- if !api_key.is_empty() { envs.insert("LLAMA_API_KEY".to_string(), api_key.clone()); }
+ if !api_key.is_empty() {
+ envs.insert("LLAMA_API_KEY".to_string(), api_key.clone());
+ }
let info = match ensure_router_and_load(
&llama_state,
&bin_path,
@@ -1396,7 +1511,9 @@ async fn start_model_server(
false,
envs,
120,
- ).await {
+ )
+ .await
+ {
Ok(info) => info,
Err(e) => {
finish_progress(pb, format!("✗ Failed to load {model_id}: {e}"));
@@ -1408,4 +1525,3 @@ async fn start_model_server(
(info.pid, info.port)
}
}
-
diff --git a/src-tauri/src/core/app/commands.rs b/src-tauri/src/core/app/commands.rs
index 3c23761c2..de396b491 100644
--- a/src-tauri/src/core/app/commands.rs
+++ b/src-tauri/src/core/app/commands.rs
@@ -80,19 +80,22 @@ fn legacy_app_config_candidate_paths(app_data_dir: &Path) -> Vec<PathBuf> {
fn app_data_dir_with_fallback<R: Runtime>(app_handle: &tauri::AppHandle<R>) -> PathBuf {
let package_name = env!("CARGO_PKG_NAME");
- app_handle.path().data_dir().unwrap_or_else(|err| {
- log::error!("Failed to get data directory: {err}. Using home directory instead.");
-
- let home_dir = std::env::var(if cfg!(target_os = "windows") {
- "USERPROFILE"
- } else {
- "HOME"
+ app_handle
+ .path()
+ .data_dir()
+ .unwrap_or_else(|err| {
+ log::error!("Failed to get data directory: {err}. Using home directory instead.");
+
+ let home_dir = std::env::var(if cfg!(target_os = "windows") {
+ "USERPROFILE"
+ } else {
+ "HOME"
+ })
+ .expect("Failed to determine the home directory");
+
+ PathBuf::from(home_dir)
})
- .expect("Failed to determine the home directory");
-
- PathBuf::from(home_dir)
- })
- .join(package_name)
+ .join(package_name)
}
/// Resolve the Jan config file path without an AppHandle (for CLI use).
diff --git a/src-tauri/src/core/app/constants.rs b/src-tauri/src/core/app/constants.rs
index fbf253ae8..89cff9fd9 100644
--- a/src-tauri/src/core/app/constants.rs
+++ b/src-tauri/src/core/app/constants.rs
@@ -77,13 +77,19 @@ mod tests {
union.insert(*entry);
}
let listed: HashSet<&str> = JAN_DATA_SUBDIRS.iter().copied().collect();
- assert_eq!(union, listed, "JAN_DATA_SUBDIRS must equal union of categories");
+ assert_eq!(
+ union, listed,
+ "JAN_DATA_SUBDIRS must equal union of categories"
+ );
}
#[test]
fn jan_data_files_is_union_of_all_file_categories() {
let mut union: HashSet<&str> = HashSet::new();
- for entry in JAN_DATA_FILES_CONFIGS.iter().chain(JAN_DATA_FILES_SETTINGS.iter()) {
+ for entry in JAN_DATA_FILES_CONFIGS
+ .iter()
+ .chain(JAN_DATA_FILES_SETTINGS.iter())
+ {
union.insert(*entry);
}
let listed: HashSet<&str> = JAN_DATA_FILES.iter().copied().collect();
diff --git a/src-tauri/src/core/app/helpers.rs b/src-tauri/src/core/app/helpers.rs
index ef3453741..1576d7b1c 100644
--- a/src-tauri/src/core/app/helpers.rs
+++ b/src-tauri/src/core/app/helpers.rs
@@ -22,8 +22,7 @@ pub fn copy_dir_recursive(
}
}
- let is_dir = file_type.is_dir()
- || (file_type.is_symlink() && src_path.is_dir());
+ let is_dir = file_type.is_dir() || (file_type.is_symlink() && src_path.is_dir());
if is_dir {
copy_dir_recursive(&src_path, &dst_path, exclude_dirs)?;
@@ -61,7 +60,10 @@ mod tests {
copy_dir_recursive(&src, &dst, &[]).unwrap();
assert_eq!(fs::read_to_string(dst.join("a.txt")).unwrap(), "hello");
- assert_eq!(fs::read_to_string(dst.join("nested/b.txt")).unwrap(), "world");
+ assert_eq!(
+ fs::read_to_string(dst.join("nested/b.txt")).unwrap(),
+ "world"
+ );
}
#[test]
diff --git a/src-tauri/src/core/cli/mod.rs b/src-tauri/src/core/cli/mod.rs
index d9c750112..673f5f237 100644
--- a/src-tauri/src/core/cli/mod.rs
+++ b/src-tauri/src/core/cli/mod.rs
@@ -17,10 +17,10 @@ use tauri_plugin_llamacpp::state::LlamacppState;
#[cfg(target_os = "macos")]
use tauri_plugin_mlx::state::MlxState;
-#[cfg(target_os = "macos")]
-pub use tauri_plugin_mlx::{load_mlx_model_impl, MlxConfig};
#[cfg(target_os = "macos")]
pub use tauri_plugin_mlx::state::SessionInfo;
+#[cfg(target_os = "macos")]
+pub use tauri_plugin_mlx::{load_mlx_model_impl, MlxConfig};
// ── State constructors ─────────────────────────────────────────────────────
@@ -176,9 +176,7 @@ pub fn list_models(engine: &str) -> Vec<ModelEntry> {
/// Detect which engine owns `model_id` by probing the data folder, and
/// resolve its paths. Tries `llamacpp` first, then `mlx`.
/// Returns `(engine, model_path, mmproj_path)`.
-pub fn resolve_model_engine(
- model_id: &str,
-) -> Result<(String, PathBuf, Option<PathBuf>), String> {
+pub fn resolve_model_engine(model_id: &str) -> Result<(String, PathBuf, Option<PathBuf>), String> {
let data_folder = resolve_jan_data_folder();
for engine in &["llamacpp", "mlx"] {
let yml_path = data_folder
@@ -261,7 +259,11 @@ pub fn discover_llamacpp_binary() -> Option<PathBuf> {
return None;
}
- let exe = if cfg!(windows) { "llama-server.exe" } else { "llama-server" };
+ let exe = if cfg!(windows) {
+ "llama-server.exe"
+ } else {
+ "llama-server"
+ };
// Collect version directories, sorted descending so we prefer the latest.
let mut version_entries: Vec<_> = fs::read_dir(&backends_dir)
@@ -319,7 +321,9 @@ pub fn discover_mlx_binary() -> Option<PathBuf> {
}
// 2. Next to the current executable (useful for dev builds / custom installs)
- if let Ok(exe_dir) = std::env::current_exe().map(|p| p.parent().map(|d| d.to_path_buf()).unwrap_or_default()) {
+ if let Ok(exe_dir) =
+ std::env::current_exe().map(|p| p.parent().map(|d| d.to_path_buf()).unwrap_or_default())
+ {
let next_to_bin = exe_dir.join("mlx-server");
if next_to_bin.exists() {
return Some(next_to_bin);
@@ -417,10 +421,7 @@ pub async fn fetch_hf_gguf_files(
.or_else(|| s["size"].as_u64())
.unwrap_or(0);
let sha256 = s["lfs"]["sha256"].as_str().map(str::to_owned);
- let download_url = format!(
- "https://huggingface.co/{}/resolve/main/{}",
- repo_id, name
- );
+ let download_url = format!("https://huggingface.co/{}/resolve/main/{}", repo_id, name);
Some(HfFileInfo {
filename: name.to_owned(),
size,
@@ -459,10 +460,7 @@ pub async fn download_hf_model(
use tokio::io::AsyncWriteExt;
let data_folder = resolve_jan_data_folder();
- let model_dir = data_folder
- .join("llamacpp")
- .join("models")
- .join(repo_id);
+ let model_dir = data_folder.join("llamacpp").join("models").join(repo_id);
tokio::fs::create_dir_all(&model_dir)
.await
.map_err(|e| e.to_string())?;
@@ -500,10 +498,7 @@ pub async fn download_hf_model(
// ── Write model.yml ───────────────────────────────────────────────────
// model_path is relative to the Jan data folder
- let rel_path = format!(
- "llamacpp/models/{}/{}",
- repo_id, file.filename
- );
+ let rel_path = format!("llamacpp/models/{}/{}", repo_id, file.filename);
let display_name = repo_id.split('/').next_back().unwrap_or(repo_id);
let mut yml = format!(
diff --git a/src-tauri/src/core/downloads/helpers.rs b/src-tauri/src/core/downloads/helpers.rs
index ad9d51a7e..2ba73fda7 100644
--- a/src-tauri/src/core/downloads/helpers.rs
+++ b/src-tauri/src/core/downloads/helpers.rs
@@ -107,16 +107,13 @@ async fn validate_downloaded_file(
// Use model_id from item if available, otherwise extract from save path
// Path structure: llamacpp/models/{modelId}/model.gguf or llamacpp/models/{modelId}/mmproj.gguf
- let model_id = item
- .model_id
- .as_deref()
- .unwrap_or_else(|| {
- save_path
- .parent() // get parent directory (modelId folder)
- .and_then(|p| p.file_name())
- .and_then(|n| n.to_str())
- .unwrap_or("unknown")
- });
+ let model_id = item.model_id.as_deref().unwrap_or_else(|| {
+ save_path
+ .parent() // get parent directory (modelId folder)
+ .and_then(|p| p.file_name())
+ .and_then(|n| n.to_str())
+ .unwrap_or("unknown")
+ });
if emit_event {
if let Err(e) = app.emit(
diff --git a/src-tauri/src/core/filesystem/helpers.rs b/src-tauri/src/core/filesystem/helpers.rs
index af6f55cf2..928462977 100644
--- a/src-tauri/src/core/filesystem/helpers.rs
+++ b/src-tauri/src/core/filesystem/helpers.rs
@@ -148,7 +148,10 @@ mod tests {
fs::write(outside.join("secret.txt"), "x").unwrap();
let result = resolve_path_within_jan_data_folder(&data, "../outside/secret.txt");
- assert!(result.is_err(), "expected escape to be rejected, got {result:?}");
+ assert!(
+ result.is_err(),
+ "expected escape to be rejected, got {result:?}"
+ );
}
#[test]
@@ -172,8 +175,7 @@ mod tests {
fs::create_dir_all(&data).unwrap();
fs::create_dir_all(&elsewhere).unwrap();
- let result =
- resolve_path_within_jan_data_folder(&data, &elsewhere.to_string_lossy());
+ let result = resolve_path_within_jan_data_folder(&data, &elsewhere.to_string_lossy());
assert!(result.is_err());
}
@@ -183,9 +185,8 @@ mod tests {
let tmp = TempDir::new().unwrap();
let data = tmp.path().to_path_buf();
- let (root, resolved) =
- resolve_path_within_jan_data_folder(&data, "new/nested/file.txt")
- .expect("resolves nonexistent child");
+ let (root, resolved) = resolve_path_within_jan_data_folder(&data, "new/nested/file.txt")
+ .expect("resolves nonexistent child");
assert!(resolved.starts_with(&root));
assert!(resolved.ends_with("file.txt"));
}
diff --git a/src-tauri/src/core/mcp/commands.rs b/src-tauri/src/core/mcp/commands.rs
index 216b63965..89677666a 100644
--- a/src-tauri/src/core/mcp/commands.rs
+++ b/src-tauri/src/core/mcp/commands.rs
@@ -285,10 +285,7 @@ pub async fn get_connected_servers(
}
/// Remove an MCP server entry and cancel its running service (used when list-tools fails).
-async fn remove_mcp_server_entry(
- mcp_servers: &SharedMcpServers,
- server_name: &str,
-) -> bool {
+async fn remove_mcp_server_entry(mcp_servers: &SharedMcpServers, server_name: &str) -> bool {
let mut servers = mcp_servers.lock().await;
if let Some(service) = servers.remove(server_name) {
log::warn!("Removing MCP server {server_name} from connected servers");
@@ -433,7 +430,9 @@ pub async fn call_tool(
if let Some(server) = server_name {
return Err(format!("Server '{server}' not found"));
}
- return Err(format!("Tool {tool_name} not found — no MCP servers connected"));
+ return Err(format!(
+ "Tool {tool_name} not found — no MCP servers connected"
+ ));
}
let mut transport_error_servers: Vec<String> = Vec::new();
@@ -446,7 +445,8 @@ pub async fn call_tool(
let err_str = e.to_string();
log::warn!(
"MCP server {} failed to list tools during call_tool: {}",
- srv_name, err_str
+ srv_name,
+ err_str
);
if is_transport_error(&err_str) {
transport_error_servers.push(srv_name.to_string());
@@ -498,7 +498,8 @@ pub async fn call_tool(
if is_transport_error(e) {
log::warn!(
"MCP server {} transport error during tool call: {}",
- srv_name, e
+ srv_name,
+ e
);
state.mcp_reconnect_notify.notify_waiters();
}
diff --git a/src-tauri/src/core/mcp/helpers.rs b/src-tauri/src/core/mcp/helpers.rs
index 8c7edeaaa..7bfd77920 100644
--- a/src-tauri/src/core/mcp/helpers.rs
+++ b/src-tauri/src/core/mcp/helpers.rs
@@ -257,9 +257,8 @@ pub async fn monitor_mcp_server_handle<R: Runtime>(
let base_delay_ms = settings.base_restart_delay_ms;
let max_delay_ms = settings.max_restart_delay_ms;
let multiplier = settings.backoff_multiplier;
- let delay_ms = (base_delay_ms as f64
- * multiplier.powi((consecutive_failures - 1) as i32))
- as u64;
+ let delay_ms =
+ (base_delay_ms as f64 * multiplier.powi((consecutive_failures - 1) as i32)) as u64;
let capped_delay_ms = delay_ms.min(max_delay_ms);
log::info!(
@@ -306,7 +305,9 @@ pub async fn monitor_mcp_server_handle<R: Runtime>(
emit_mcp_update_event(&app, &name);
}
Err(e) => {
- log::error!("MCP server {name} reconnect attempt {consecutive_failures} failed: {e}");
+ log::error!(
+ "MCP server {name} reconnect attempt {consecutive_failures} failed: {e}"
+ );
// Loop continues — will retry with increased backoff
}
}
@@ -584,8 +585,7 @@ async fn schedule_mcp_start_task<R: Runtime>(
// what most published MCP servers are tested against.
let override_available = (config_params.command == "npx"
&& can_override_npx(bun_x_path.display().to_string()))
- || (config_params.command == "uvx"
- && can_override_uvx(uv_path.display().to_string()));
+ || (config_params.command == "uvx" && can_override_uvx(uv_path.display().to_string()));
let build_cmd = |use_override: bool| -> Command {
let mut cmd = Command::new(config_params.command.clone());
@@ -765,9 +765,7 @@ async fn schedule_mcp_start_task<R: Runtime>(
return Ok(());
}
Some(Ok(Ok(_tools))) => {
- log::info!(
- "MCP server {name} tools/list verified on attempt {attempt}"
- );
+ log::info!("MCP server {name} tools/list verified on attempt {attempt}");
break;
}
Some(Ok(Err(e))) => {
@@ -822,10 +820,10 @@ async fn schedule_mcp_start_task<R: Runtime>(
/// server itself reported, defaulting to info when no level tag is present.
fn log_mcp_stderr_line(server_name: &str, line: &str) {
let trimmed = line.trim_start();
- let level_token = trimmed
- .split_whitespace()
- .next()
- .map(|t| t.trim_matches(|c: char| !c.is_ascii_alphabetic()).to_ascii_uppercase());
+ let level_token = trimmed.split_whitespace().next().map(|t| {
+ t.trim_matches(|c: char| !c.is_ascii_alphabetic())
+ .to_ascii_uppercase()
+ });
match level_token.as_deref() {
Some("ERROR" | "CRITICAL" | "FATAL") => {
log::error!("[mcp-stderr:{server_name}] {line}")
@@ -932,42 +930,41 @@ pub async fn kill_orphaned_mcp_process_with_app<R: Runtime>(
check_and_cleanup_stale_lock(app, port).await?;
// Fall through — port may still be held by a grandchild that outlived this PID.
} else {
+ // Process from lock file is alive - verify it's still the MCP process
+ if let Some(process_info) = jan_utils::network::get_process_info_by_pid(lock.pid) {
+ if jan_utils::network::is_orphaned_mcp_process(&process_info) {
+ log::info!(
+ "Lock file PID {} verified as MCP process, attempting kill",
+ lock.pid
+ );
+ kill_process_by_pid(lock.pid).await?;
- // Process from lock file is alive - verify it's still the MCP process
- if let Some(process_info) = jan_utils::network::get_process_info_by_pid(lock.pid) {
- if jan_utils::network::is_orphaned_mcp_process(&process_info) {
- log::info!(
- "Lock file PID {} verified as MCP process, attempting kill",
- lock.pid
- );
- kill_process_by_pid(lock.pid).await?;
-
- use crate::core::mcp::lockfile::delete_lock_file;
- delete_lock_file(app, port)?;
+ use crate::core::mcp::lockfile::delete_lock_file;
+ delete_lock_file(app, port)?;
- tokio::time::sleep(tokio::time::Duration::from_millis(500)).await;
+ tokio::time::sleep(tokio::time::Duration::from_millis(500)).await;
- if jan_utils::network::is_port_available(port) {
- log::info!("Cleaned up orphaned process via lock file");
- return Ok(true);
- }
- } else {
- log::warn!(
+ if jan_utils::network::is_port_available(port) {
+ log::info!("Cleaned up orphaned process via lock file");
+ return Ok(true);
+ }
+ } else {
+ log::warn!(
"Lock file PID {} is alive but NOT an MCP process (name: {}, cmd: {:?}). Lock file is stale.",
lock.pid,
process_info.name,
process_info.cmd
);
- // PID reused by another process, clean up stale lock file
+ // PID reused by another process, clean up stale lock file
+ check_and_cleanup_stale_lock(app, port).await?;
+ }
+ } else {
+ log::debug!(
+ "Could not get process info for PID {}, cleaning up lock file",
+ lock.pid
+ );
check_and_cleanup_stale_lock(app, port).await?;
}
- } else {
- log::debug!(
- "Could not get process info for PID {}, cleaning up lock file",
- lock.pid
- );
- check_and_cleanup_stale_lock(app, port).await?;
- }
}
}
@@ -1032,8 +1029,7 @@ async fn kill_process_by_pid(pid: u32) -> Result<(), String> {
None => kill(nix_pid, sig),
};
- send(Signal::SIGTERM)
- .map_err(|e| format!("Failed to send SIGTERM to PID {}: {}", pid, e))?;
+ send(Signal::SIGTERM).map_err(|e| format!("Failed to send SIGTERM to PID {}: {}", pid, e))?;
for _ in 0..30 {
tokio::time::sleep(tokio::time::Duration::from_millis(100)).await;
@@ -1044,8 +1040,7 @@ async fn kill_process_by_pid(pid: u32) -> Result<(), String> {
}
log::warn!("Process group {} unresponsive, sending SIGKILL", pid);
- send(Signal::SIGKILL)
- .map_err(|e| format!("Failed to send SIGKILL to PID {}: {}", pid, e))?;
+ send(Signal::SIGKILL).map_err(|e| format!("Failed to send SIGKILL to PID {}: {}", pid, e))?;
Ok(())
}
@@ -1101,7 +1096,12 @@ pub async fn terminate_browser_mcp(pid: Option<u32>, port: u16) {
info.pid
);
if let Err(e) = kill_process_by_pid(info.pid).await {
- log::warn!("Failed to kill straggler PID {} on port {}: {}", info.pid, port, e);
+ log::warn!(
+ "Failed to kill straggler PID {} on port {}: {}",
+ info.pid,
+ port,
+ e
+ );
}
let _ = jan_utils::network::wait_for_port_free(
port,
diff --git a/src-tauri/src/core/mcp/tests.rs b/src-tauri/src/core/mcp/tests.rs
index 55762ff83..f683dbcde 100644
--- a/src-tauri/src/core/mcp/tests.rs
+++ b/src-tauri/src/core/mcp/tests.rs
@@ -648,7 +648,9 @@ fn test_mcp_settings_default_matches_constants() {
s.max_restart_delay_ms,
constants::DEFAULT_MCP_MAX_RESTART_DELAY_MS
);
- assert!((s.backoff_multiplier - constants::DEFAULT_MCP_BACKOFF_MULTIPLIER).abs() < f64::EPSILON);
+ assert!(
+ (s.backoff_multiplier - constants::DEFAULT_MCP_BACKOFF_MULTIPLIER).abs() < f64::EPSILON
+ );
assert!(s.enable_smart_tool_routing);
assert!(!s.use_lightweight_router_model);
assert!(s.router_model_provider.is_empty());
@@ -799,7 +801,10 @@ fn test_extract_command_args_full_config() {
assert_eq!(parsed.transport_type.as_deref(), Some("http"));
assert_eq!(parsed.url.as_deref(), Some("https://mcp.example.com/mcp"));
assert_eq!(parsed.timeout, Some(Duration::from_secs(45)));
- assert_eq!(parsed.envs.get("API_KEY").and_then(|v| v.as_str()), Some("abc"));
+ assert_eq!(
+ parsed.envs.get("API_KEY").and_then(|v| v.as_str()),
+ Some("abc")
+ );
assert_eq!(parsed.envs.get("DEBUG").and_then(|v| v.as_str()), Some("1"));
assert_eq!(
parsed.headers.get("Authorization").and_then(|v| v.as_str()),
@@ -965,19 +970,25 @@ async fn test_check_and_cleanup_stale_lock_no_lock_returns_false() {
let app = mock_app();
let port: u16 = 53_114;
let _ = delete_lock_file(app.handle(), port);
- let cleaned = check_and_cleanup_stale_lock(app.handle(), port).await.unwrap();
+ let cleaned = check_and_cleanup_stale_lock(app.handle(), port)
+ .await
+ .unwrap();
assert!(!cleaned);
}
#[tokio::test]
async fn test_check_and_cleanup_stale_lock_keeps_live_lock() {
- use super::lockfile::{check_and_cleanup_stale_lock, create_lock_file, delete_lock_file, read_lock_file};
+ use super::lockfile::{
+ check_and_cleanup_stale_lock, create_lock_file, delete_lock_file, read_lock_file,
+ };
let app = mock_app();
let port: u16 = 53_115;
let _ = delete_lock_file(app.handle(), port);
create_lock_file(app.handle(), port, "live", std::process::id()).unwrap();
// Lock pid is the current process (alive) → must NOT be removed
- let cleaned = check_and_cleanup_stale_lock(app.handle(), port).await.unwrap();
+ let cleaned = check_and_cleanup_stale_lock(app.handle(), port)
+ .await
+ .unwrap();
assert!(!cleaned);
assert!(read_lock_file(app.handle(), port).is_some());
let _ = delete_lock_file(app.handle(), port);
@@ -1006,7 +1017,10 @@ async fn test_check_and_cleanup_stale_lock_removes_dead_pid_lock() {
hostname: "x".to_string(),
};
std::fs::write(&lock_path, serde_json::to_string(&lock).unwrap()).unwrap();
- assert!(read_lock_file(app.handle(), port).is_some(), "seed lock readable");
+ assert!(
+ read_lock_file(app.handle(), port).is_some(),
+ "seed lock readable"
+ );
let cleaned = check_and_cleanup_stale_lock(app.handle(), port)
.await
diff --git a/src-tauri/src/core/server/commands.rs b/src-tauri/src/core/server/commands.rs
index 79d769494..c1dc76bcd 100644
--- a/src-tauri/src/core/server/commands.rs
+++ b/src-tauri/src/core/server/commands.rs
@@ -3,11 +3,10 @@ use std::sync::Arc;
use tauri::{AppHandle, Manager, Runtime, State};
use tauri_plugin_llamacpp::state::LlamacppState;
-use crate::core::server::proxy;
use crate::core::app::commands::get_jan_data_folder_path;
+use crate::core::server::proxy;
use crate::core::state::AppState;
-
#[derive(serde::Deserialize)]
pub struct StartServerConfig {
pub host: String,
@@ -46,9 +45,7 @@ pub async fn start_server<R: Runtime>(
};
#[cfg(not(target_os = "macos"))]
let mlx_sessions: Arc<
- tokio::sync::Mutex<
- std::collections::HashMap<i32, crate::core::server::MlxBackendSession>,
- >,
+ tokio::sync::Mutex<std::collections::HashMap<i32, crate::core::server::MlxBackendSession>>,
> = Arc::new(tokio::sync::Mutex::new(std::collections::HashMap::new()));
let actual_port = proxy::start_server(
@@ -65,7 +62,9 @@ pub async fn start_server<R: Runtime>(
state.model_param_defaults.clone(),
state.mcp_servers.clone(),
state.mcp_settings.clone(),
- get_jan_data_folder_path(app_handle.clone()).to_string_lossy().into_owned(),
+ get_jan_data_folder_path(app_handle.clone())
+ .to_string_lossy()
+ .into_owned(),
enable_server_tool_execution.unwrap_or(false),
)
.await
diff --git a/src-tauri/src/core/server/proxy.rs b/src-tauri/src/core/server/proxy.rs
index 6b5b2b2ea..70a75e062 100644
--- a/src-tauri/src/core/server/proxy.rs
+++ b/src-tauri/src/core/server/proxy.rs
@@ -56,7 +56,9 @@ impl BodySender {
fn body_channel() -> (BodySender, ResBody) {
let (tx, rx) = tokio::sync::mpsc::channel::<Result<Frame<Bytes>, Infallible>>(32);
- let body = BodyExt::boxed(StreamBody::new(tokio_stream::wrappers::ReceiverStream::new(rx)));
+ let body = BodyExt::boxed(StreamBody::new(
+ tokio_stream::wrappers::ReceiverStream::new(rx),
+ ));
(BodySender(tx), body)
}
@@ -632,7 +634,9 @@ pub(crate) fn extract_tool_result_content(content: Option<&serde_json::Value>) -
}
/// Transform OpenAI non-streaming response to Anthropic /messages format
-pub(crate) fn transform_openai_response_to_anthropic(response: &serde_json::Value) -> serde_json::Value {
+pub(crate) fn transform_openai_response_to_anthropic(
+ response: &serde_json::Value,
+) -> serde_json::Value {
let choice = response
.get("choices")
.and_then(|c| c.as_array())
@@ -742,7 +746,10 @@ pub(crate) async fn router_upstream(
})
}
-pub(crate) async fn router_list_models(llama_state: &LlamacppState, client: &Client) -> Vec<String> {
+pub(crate) async fn router_list_models(
+ llama_state: &LlamacppState,
+ client: &Client,
+) -> Vec<String> {
let (url, key) = {
let guard = llama_state.router.lock().await;
match guard.as_ref() {
@@ -947,7 +954,9 @@ async fn proxy_request(
.header("Access-Control-Allow-Origin", origin)
.header("Access-Control-Allow-Credentials", "true");
} else {
- log::warn!("CORS preflight: Origin '{origin}' is not trusted, not reflecting origin");
+ log::warn!(
+ "CORS preflight: Origin '{origin}' is not trusted, not reflecting origin"
+ );
}
}
@@ -997,9 +1006,7 @@ async fn proxy_request(
&origin_header,
&config.trusted_hosts,
);
- return Ok(error_response
- .body(full("Invalid host header"))
- .unwrap());
+ return Ok(error_response.body(full("Invalid host header")).unwrap());
}
} else {
let mut error_response = Response::builder().status(StatusCode::BAD_REQUEST);
@@ -1009,9 +1016,7 @@ async fn proxy_request(
&origin_header,
&config.trusted_hosts,
);
- return Ok(error_response
- .body(full("Missing host header"))
- .unwrap());
+ return Ok(error_response.body(full("Missing host header")).unwrap());
}
} else {
log::debug!("Bypassing host validation for whitelisted path: {path}");
@@ -1132,9 +1137,7 @@ async fn proxy_request(
&config.trusted_hosts,
);
return Ok(error_response
- .body(full(
- "Invalid /messages payload for orchestration mode",
- ))
+ .body(full("Invalid /messages payload for orchestration mode"))
.unwrap());
}
};
@@ -1284,7 +1287,9 @@ async fn proxy_request(
// - Ask the model for tool_calls
// - Execute MCP tools server-side
// - Feed tool results back and continue until completion
- log::info!("Handling POST request to {destination_path} for assistant tool orchestration");
+ log::info!(
+ "Handling POST request to {destination_path} for assistant tool orchestration"
+ );
let body_bytes = match body.collect().await {
Ok(c) => c.to_bytes(),
@@ -1297,15 +1302,16 @@ async fn proxy_request(
&origin_header,
&config.trusted_hosts,
);
- return Ok(error_response.body(full("Failed to read request body")).unwrap());
+ return Ok(error_response
+ .body(full("Failed to read request body"))
+ .unwrap());
}
};
let json_body: serde_json::Value = match serde_json::from_slice(&body_bytes) {
Ok(v) => v,
Err(e) => {
- let mut error_response = Response::builder()
- .status(StatusCode::BAD_REQUEST);
+ let mut error_response = Response::builder().status(StatusCode::BAD_REQUEST);
error_response = add_cors_headers_with_host_and_origin(
error_response,
&host_header,
@@ -1325,24 +1331,27 @@ async fn proxy_request(
.filter(|v| !v.is_empty())
.map(|v| v.to_string());
- let stream = json_body.get("stream").and_then(|v| v.as_bool()).unwrap_or(false);
+ let stream = json_body
+ .get("stream")
+ .and_then(|v| v.as_bool())
+ .unwrap_or(false);
if stream {
- let mut error_response = Response::builder()
- .status(StatusCode::BAD_REQUEST);
+ let mut error_response = Response::builder().status(StatusCode::BAD_REQUEST);
error_response = add_cors_headers_with_host_and_origin(
error_response,
&host_header,
&origin_header,
&config.trusted_hosts,
);
- return Ok(error_response.body(full("stream=true is not supported for /orchestrations")).unwrap());
+ return Ok(error_response
+ .body(full("stream=true is not supported for /orchestrations"))
+ .unwrap());
}
let messages_value = match json_body.get("messages") {
Some(v) => v,
None => {
- let mut error_response = Response::builder()
- .status(StatusCode::BAD_REQUEST);
+ let mut error_response = Response::builder().status(StatusCode::BAD_REQUEST);
error_response = add_cors_headers_with_host_and_origin(
error_response,
&host_header,
@@ -1358,8 +1367,7 @@ async fn proxy_request(
let mut conversation_messages = match parse_openai_messages(messages_value) {
Ok(msgs) => msgs,
Err(e) => {
- let mut error_response = Response::builder()
- .status(StatusCode::BAD_REQUEST);
+ let mut error_response = Response::builder().status(StatusCode::BAD_REQUEST);
error_response = add_cors_headers_with_host_and_origin(
error_response,
&host_header,
@@ -1371,24 +1379,25 @@ async fn proxy_request(
};
// Load assistant config for system prompt + model hint when assistant_id is provided.
- let (assistant_instructions, assistant_model_hint) = if let Some(assistant_id) = assistant_id.as_deref() {
- match load_assistant_config(&jan_data_folder, assistant_id) {
- Ok(v) => v,
- Err(e) => {
- let mut error_response =
- Response::builder().status(StatusCode::BAD_REQUEST);
- error_response = add_cors_headers_with_host_and_origin(
- error_response,
- &host_header,
- &origin_header,
- &config.trusted_hosts,
- );
- return Ok(error_response.body(full(e)).unwrap());
+ let (assistant_instructions, assistant_model_hint) =
+ if let Some(assistant_id) = assistant_id.as_deref() {
+ match load_assistant_config(&jan_data_folder, assistant_id) {
+ Ok(v) => v,
+ Err(e) => {
+ let mut error_response =
+ Response::builder().status(StatusCode::BAD_REQUEST);
+ error_response = add_cors_headers_with_host_and_origin(
+ error_response,
+ &host_header,
+ &origin_header,
+ &config.trusted_hosts,
+ );
+ return Ok(error_response.body(full(e)).unwrap());
+ }
}
- }
- } else {
- (None, None)
- };
+ } else {
+ (None, None)
+ };
if let Some(sys) = assistant_instructions {
set_system_prompt(&mut conversation_messages, &sys);
@@ -1422,8 +1431,8 @@ async fn proxy_request(
let model_id = match model_id {
Some(v) => v,
None => {
- let mut error_response = Response::builder()
- .status(StatusCode::SERVICE_UNAVAILABLE);
+ let mut error_response =
+ Response::builder().status(StatusCode::SERVICE_UNAVAILABLE);
error_response = add_cors_headers_with_host_and_origin(
error_response,
&host_header,
@@ -1463,8 +1472,7 @@ async fn proxy_request(
{
Ok(v) => v,
Err(e) => {
- let mut error_response =
- Response::builder().status(StatusCode::NOT_FOUND);
+ let mut error_response = Response::builder().status(StatusCode::NOT_FOUND);
error_response = add_cors_headers_with_host_and_origin(
error_response,
&host_header,
@@ -1495,7 +1503,10 @@ async fn proxy_request(
completion_map.insert("tool_choice".to_string(), serde_json::json!("auto"));
if !openai_tools.is_empty() {
- completion_map.insert("tools".to_string(), serde_json::Value::Array(openai_tools.clone()));
+ completion_map.insert(
+ "tools".to_string(),
+ serde_json::Value::Array(openai_tools.clone()),
+ );
}
copy_optional_chat_params(&json_body, &mut completion_map);
@@ -1528,7 +1539,8 @@ async fn proxy_request(
last_response = Some(completion.clone());
if tool_calls.is_empty() {
- let body_str = serde_json::to_string(&completion).unwrap_or_else(|_| "{}".to_string());
+ let body_str =
+ serde_json::to_string(&completion).unwrap_or_else(|_| "{}".to_string());
let mut response_builder = Response::builder()
.status(StatusCode::OK)
.header(hyper::header::CONTENT_TYPE, "application/json");
@@ -1771,8 +1783,7 @@ async fn proxy_request(
.map(|s| s.info.clone())
};
- let router_up =
- router_upstream(&llama_state, &destination_path).await;
+ let router_up = router_upstream(&llama_state, &destination_path).await;
if mlx_session_info.is_none() && router_up.is_none() {
log::warn!(
@@ -2087,9 +2098,7 @@ async fn proxy_request(
&origin_header,
&config.trusted_hosts,
);
- return Ok(error_response
- .body(full("Internal routing error"))
- .unwrap());
+ return Ok(error_response.body(full("Internal routing error")).unwrap());
}
};
log::info!(
@@ -2099,7 +2108,9 @@ async fn proxy_request(
let mut body_bytes_for_proxy = match buffered_body.clone() {
Some(b) => b,
None => {
- log::error!("Internal logic error: Request reached proxy stage without a buffered body.");
+ log::error!(
+ "Internal logic error: Request reached proxy stage without a buffered body."
+ );
let mut error_response = Response::builder().status(StatusCode::INTERNAL_SERVER_ERROR);
error_response = add_cors_headers_with_host_and_origin(
error_response,
@@ -2186,41 +2197,41 @@ async fn proxy_request(
let outbound_req_with_body = outbound_req.body(body_bytes_for_proxy.clone());
match outbound_req_with_body.send().await {
- Ok(response) => {
- let status = response.status();
+ Ok(response) => {
+ let status = response.status();
- let is_error = !status.is_success();
+ let is_error = !status.is_success();
- if is_error
- && http_status_indicates_api_key_retry(status)
- && key_idx + 1 < key_attempts.len()
- {
- let _ = response.text().await;
- log::warn!("Upstream {status} for API key index {key_idx}, trying next key");
- continue;
- }
+ if is_error
+ && http_status_indicates_api_key_retry(status)
+ && key_idx + 1 < key_attempts.len()
+ {
+ let _ = response.text().await;
+ log::warn!("Upstream {status} for API key index {key_idx}, trying next key");
+ continue;
+ }
- // For Anthropic /messages requests with errors, try /chat/completions
- if is_error && is_anthropic_messages {
- log::warn!("Request failed for /messages with status {status}, trying /chat/completions...");
-
- // Read the error body to return to client if fallback fails
- let error_body = response
- .text()
- .await
- .unwrap_or_else(|e| format!("Failed to read error body: {}", e));
-
- // Clone what we need for the fallback request
- let fallback_url = target_base_url.clone().map(|url| {
- url.trim_end_matches("/messages")
- .trim_end_matches('/')
- .to_string()
- });
- let fallback_api_key = key_opt.clone();
- let fallback_body = Some(body_bytes_for_proxy.clone());
+ // For Anthropic /messages requests with errors, try /chat/completions
+ if is_error && is_anthropic_messages {
+ log::warn!("Request failed for /messages with status {status}, trying /chat/completions...");
- // Transform body to OpenAI format for fallback
- if let Some((url, openai_body)) = fallback_url.zip(fallback_body).and_then(|(url, body)| {
+ // Read the error body to return to client if fallback fails
+ let error_body = response
+ .text()
+ .await
+ .unwrap_or_else(|e| format!("Failed to read error body: {}", e));
+
+ // Clone what we need for the fallback request
+ let fallback_url = target_base_url.clone().map(|url| {
+ url.trim_end_matches("/messages")
+ .trim_end_matches('/')
+ .to_string()
+ });
+ let fallback_api_key = key_opt.clone();
+ let fallback_body = Some(body_bytes_for_proxy.clone());
+
+ // Transform body to OpenAI format for fallback
+ if let Some((url, openai_body)) = fallback_url.zip(fallback_body).and_then(|(url, body)| {
let json_body = serde_json::from_slice::<serde_json::Value>(&body).ok()?;
match transform_anthropic_to_openai(&json_body) {
Some(transformed) => Some((url, transformed)),
@@ -2324,108 +2335,109 @@ async fn proxy_request(
}
}
- // If fallback failed or wasn't attempted, return error to client
- let mut error_response = Response::builder().status(status);
- error_response = add_cors_headers_with_host_and_origin(
- error_response,
- &host_header,
- &origin_header,
- &config.trusted_hosts,
- );
- return Ok(error_response.body(full(error_body)).unwrap());
- } else if is_error {
- // Non-/messages error - return error response with body
- let error_body = response
- .text()
- .await
- .unwrap_or_else(|e| format!("Failed to read error body: {}", e));
-
- let mut error_response = Response::builder().status(status);
- error_response = add_cors_headers_with_host_and_origin(
- error_response,
+ // If fallback failed or wasn't attempted, return error to client
+ let mut error_response = Response::builder().status(status);
+ error_response = add_cors_headers_with_host_and_origin(
+ error_response,
+ &host_header,
+ &origin_header,
+ &config.trusted_hosts,
+ );
+ return Ok(error_response.body(full(error_body)).unwrap());
+ } else if is_error {
+ // Non-/messages error - return error response with body
+ let error_body = response
+ .text()
+ .await
+ .unwrap_or_else(|e| format!("Failed to read error body: {}", e));
+
+ let mut error_response = Response::builder().status(status);
+ error_response = add_cors_headers_with_host_and_origin(
+ error_response,
+ &host_header,
+ &origin_header,
+ &config.trusted_hosts,
+ );
+ return Ok(error_response.body(full(error_body)).unwrap());
+ }
+
+ // Success case - stream the response
+ let mut builder = Response::builder().status(status);
+
+ for (name, value) in response.headers() {
+ if !is_cors_header(name.as_str()) && name != hyper::header::CONTENT_LENGTH {
+ builder = builder.header(name, value);
+ }
+ }
+
+ builder = add_cors_headers_with_host_and_origin(
+ builder,
&host_header,
&origin_header,
&config.trusted_hosts,
);
- return Ok(error_response.body(full(error_body)).unwrap());
- }
- // Success case - stream the response
- let mut builder = Response::builder().status(status);
-
- for (name, value) in response.headers() {
- if !is_cors_header(name.as_str()) && name != hyper::header::CONTENT_LENGTH {
- builder = builder.header(name, value);
+ // When the provider fronts a non-chat/completions API, translate the
+ // response back to chat shape; otherwise forward bytes verbatim.
+ if let Some(converter) = upstream_converter.take() {
+ let is_sse = response
+ .headers()
+ .get(hyper::header::CONTENT_TYPE)
+ .and_then(|v| v.to_str().ok())
+ .map(|ct| ct.contains("event-stream"))
+ .unwrap_or(false);
+ let (sender, body) = body_channel();
+ tokio::spawn(async move {
+ if is_sse {
+ forward_converted_stream(response.bytes_stream(), sender, converter)
+ .await;
+ } else {
+ forward_converted_non_streaming(response.bytes().await, sender, converter)
+ .await;
+ }
+ });
+ return Ok(builder.body(body).unwrap());
}
- }
- builder = add_cors_headers_with_host_and_origin(
- builder,
- &host_header,
- &origin_header,
- &config.trusted_hosts,
- );
+ let mut stream = response.bytes_stream();
+ let (mut sender, body) = body_channel();
- // When the provider fronts a non-chat/completions API, translate the
- // response back to chat shape; otherwise forward bytes verbatim.
- if let Some(converter) = upstream_converter.take() {
- let is_sse = response
- .headers()
- .get(hyper::header::CONTENT_TYPE)
- .and_then(|v| v.to_str().ok())
- .map(|ct| ct.contains("event-stream"))
- .unwrap_or(false);
- let (sender, body) = body_channel();
tokio::spawn(async move {
- if is_sse {
- forward_converted_stream(response.bytes_stream(), sender, converter).await;
- } else {
- forward_converted_non_streaming(response.bytes().await, sender, converter)
- .await;
- }
- });
- return Ok(builder.body(body).unwrap());
- }
-
- let mut stream = response.bytes_stream();
- let (mut sender, body) = body_channel();
-
- tokio::spawn(async move {
- // Regular passthrough - when /messages succeeds directly,
- // the response is already in the correct format
- while let Some(chunk_result) = stream.next().await {
- match chunk_result {
- Ok(chunk) => {
- if sender.send_data(chunk).await.is_err() {
- log::debug!("Client disconnected during streaming");
+ // Regular passthrough - when /messages succeeds directly,
+ // the response is already in the correct format
+ while let Some(chunk_result) = stream.next().await {
+ match chunk_result {
+ Ok(chunk) => {
+ if sender.send_data(chunk).await.is_err() {
+ log::debug!("Client disconnected during streaming");
+ break;
+ }
+ }
+ Err(e) => {
+ log::error!("Stream error: {e}");
break;
}
}
- Err(e) => {
- log::error!("Stream error: {e}");
- break;
- }
}
- }
- log::debug!("Streaming complete to client");
- });
+ log::debug!("Streaming complete to client");
+ });
- return Ok(builder.body(body).unwrap());
- }
- Err(e) => {
- let error_msg = format!("Proxy request to model failed: {e}");
- log::error!("{error_msg}");
- let mut error_response = Response::builder().status(StatusCode::BAD_GATEWAY);
- error_response = add_cors_headers_with_host_and_origin(
- error_response,
- &host_header,
- &origin_header,
- &config.trusted_hosts,
- );
- return Ok(error_response.body(full(error_msg)).unwrap());
+ return Ok(builder.body(body).unwrap());
+ }
+ Err(e) => {
+ let error_msg = format!("Proxy request to model failed: {e}");
+ log::error!("{error_msg}");
+ let mut error_response = Response::builder().status(StatusCode::BAD_GATEWAY);
+ error_response = add_cors_headers_with_host_and_origin(
+ error_response,
+ &host_header,
+ &origin_header,
+ &config.trusted_hosts,
+ );
+ return Ok(error_response.body(full(error_msg)).unwrap());
+ }
}
}
- }
log::error!("Internal error: proxy key loop exited without a response");
let mut error_response = Response::builder().status(StatusCode::INTERNAL_SERVER_ERROR);
@@ -2435,9 +2447,7 @@ async fn proxy_request(
&origin_header,
&config.trusted_hosts,
);
- Ok(error_response
- .body(full("Internal proxy error"))
- .unwrap())
+ Ok(error_response.body(full("Internal proxy error")).unwrap())
}
/// True when this bind exposes the API to the network with no authentication:
@@ -2472,7 +2482,10 @@ pub(crate) fn add_cors_headers_with_host_and_origin(
.header("Access-Control-Allow-Origin", origin)
.header("Access-Control-Allow-Credentials", "true");
} else {
- log::warn!("CORS: Origin '{}' is not trusted, not reflecting origin", origin);
+ log::warn!(
+ "CORS: Origin '{}' is not trusted, not reflecting origin",
+ origin
+ );
}
builder
diff --git a/src-tauri/src/core/server/tests.rs b/src-tauri/src/core/server/tests.rs
index d2951409b..06d9ec42d 100644
--- a/src-tauri/src/core/server/tests.rs
+++ b/src-tauri/src/core/server/tests.rs
@@ -351,9 +351,15 @@ mod server_tests {
proxy::normalize_openai_tool_parameters_schema(&mut schema);
- assert_eq!(schema["properties"]["payload"]["properties"]["title"]["type"], json!("string"));
+ assert_eq!(
+ schema["properties"]["payload"]["properties"]["title"]["type"],
+ json!("string")
+ );
assert_eq!(schema["properties"]["filters"]["properties"], json!({}));
- assert_eq!(schema["properties"]["items"]["items"]["properties"], json!({}));
+ assert_eq!(
+ schema["properties"]["items"]["items"]["properties"],
+ json!({})
+ );
}
#[test]
@@ -498,7 +504,10 @@ mod server_tests {
assert_eq!(schema["properties"]["count"]["type"], json!("integer"));
assert_eq!(schema["properties"]["title"]["type"], json!("string"));
- assert_eq!(schema["properties"]["metadata"]["description"], json!("Optional metadata"));
+ assert_eq!(
+ schema["properties"]["metadata"]["description"],
+ json!("Optional metadata")
+ );
assert_eq!(schema["properties"]["metadata"]["properties"], json!({}));
}
@@ -575,12 +584,22 @@ mod server_tests {
#[test]
fn http_status_indicates_api_key_retry_matrix() {
use hyper::StatusCode;
- assert!(proxy::http_status_indicates_api_key_retry(StatusCode::UNAUTHORIZED));
- assert!(proxy::http_status_indicates_api_key_retry(StatusCode::FORBIDDEN));
- assert!(proxy::http_status_indicates_api_key_retry(StatusCode::TOO_MANY_REQUESTS));
+ assert!(proxy::http_status_indicates_api_key_retry(
+ StatusCode::UNAUTHORIZED
+ ));
+ assert!(proxy::http_status_indicates_api_key_retry(
+ StatusCode::FORBIDDEN
+ ));
+ assert!(proxy::http_status_indicates_api_key_retry(
+ StatusCode::TOO_MANY_REQUESTS
+ ));
assert!(!proxy::http_status_indicates_api_key_retry(StatusCode::OK));
- assert!(!proxy::http_status_indicates_api_key_retry(StatusCode::BAD_REQUEST));
- assert!(!proxy::http_status_indicates_api_key_retry(StatusCode::INTERNAL_SERVER_ERROR));
+ assert!(!proxy::http_status_indicates_api_key_retry(
+ StatusCode::BAD_REQUEST
+ ));
+ assert!(!proxy::http_status_indicates_api_key_retry(
+ StatusCode::INTERNAL_SERVER_ERROR
+ ));
}
#[test]
@@ -620,7 +639,10 @@ mod server_tests {
{"type": "text", "text": "second"},
{"type": "image", "source": {}}
]);
- assert_eq!(proxy::extract_tool_result_content(Some(&v)), "first\nsecond");
+ assert_eq!(
+ proxy::extract_tool_result_content(Some(&v)),
+ "first\nsecond"
+ );
}
#[test]
@@ -649,7 +671,10 @@ mod server_tests {
proxy::convert_media_block(&block, &mut parts);
assert_eq!(parts.len(), 1);
assert_eq!(parts[0]["type"], "image_url");
- assert_eq!(parts[0]["image_url"]["url"], "data:image/png;base64,BASE64DATA");
+ assert_eq!(
+ parts[0]["image_url"]["url"],
+ "data:image/png;base64,BASE64DATA"
+ );
}
#[test]
@@ -1012,7 +1037,9 @@ mod server_tests {
"http://localhost:3000",
&trusted,
);
- let resp = builder.body(http_body_util::Empty::<hyper::body::Bytes>::new()).unwrap();
+ let resp = builder
+ .body(http_body_util::Empty::<hyper::body::Bytes>::new())
+ .unwrap();
let h = resp.headers();
assert!(h.contains_key("access-control-allow-methods"));
assert!(h.contains_key("access-control-allow-headers"));
@@ -1034,7 +1061,9 @@ mod server_tests {
"http://evil.example.com",
&trusted,
);
- let resp = builder.body(http_body_util::Empty::<hyper::body::Bytes>::new()).unwrap();
+ let resp = builder
+ .body(http_body_util::Empty::<hyper::body::Bytes>::new())
+ .unwrap();
let h = resp.headers();
assert!(h.contains_key("access-control-allow-methods"));
assert!(!h.contains_key("access-control-allow-origin"));
@@ -1045,13 +1074,11 @@ mod server_tests {
fn add_cors_headers_with_empty_origin_omits_origin() {
let trusted = vec![vec!["localhost".to_string()]];
let builder = hyper::Response::builder();
- let builder = proxy::add_cors_headers_with_host_and_origin(
- builder,
- "localhost",
- "",
- &trusted,
- );
- let resp = builder.body(http_body_util::Empty::<hyper::body::Bytes>::new()).unwrap();
+ let builder =
+ proxy::add_cors_headers_with_host_and_origin(builder, "localhost", "", &trusted);
+ let resp = builder
+ .body(http_body_util::Empty::<hyper::body::Bytes>::new())
+ .unwrap();
let h = resp.headers();
assert!(!h.contains_key("access-control-allow-origin"));
}
@@ -1150,7 +1177,10 @@ mod server_tests {
assert_eq!(body["system"], json!(PROMPT));
assert_eq!(body["messages"][0]["content"], json!("first"));
// Only the first message is touched.
- assert_eq!(body["messages"][1]["content"], json!(format!("{header}second")));
+ assert_eq!(
+ body["messages"][1]["content"],
+ json!(format!("{header}second"))
+ );
}
#[test]
diff --git a/src-tauri/src/core/setup.rs b/src-tauri/src/core/setup.rs
index c5093aeec..19f13cdee 100644
--- a/src-tauri/src/core/setup.rs
+++ b/src-tauri/src/core/setup.rs
@@ -173,11 +173,7 @@ pub fn setup_jan_cli<R: Runtime>(app_handle: tauri::AppHandle<R>, version_change
use std::os::windows::process::CommandExt;
cmd.creation_flags(0x08000000); // CREATE_NO_WINDOW
}
- if cmd
- .output()
- .map(|o| o.status.success())
- .unwrap_or(false)
- {
+ if cmd.output().map(|o| o.status.success()).unwrap_or(false) {
log::debug!("jan CLI already on PATH — skipping reinstall");
return;
}
@@ -187,7 +183,11 @@ pub fn setup_jan_cli<R: Runtime>(app_handle: tauri::AppHandle<R>, version_change
Ok(status) => {
log::info!(
"jan CLI {} to {}",
- if version_changed { "updated" } else { "installed" },
+ if version_changed {
+ "updated"
+ } else {
+ "installed"
+ },
status.path.as_deref().unwrap_or("<unknown>")
);
}
diff --git a/src-tauri/src/core/system/commands.rs b/src-tauri/src/core/system/commands.rs
index ae4594005..7e0182ca0 100644
--- a/src-tauri/src/core/system/commands.rs
+++ b/src-tauri/src/core/system/commands.rs
@@ -80,7 +80,10 @@ fn delete_settings(data_folder: &std::path::Path) {
/// Clear the WebKit/WRY webview profile (localStorage, cookies, IndexedDB,
/// updater state) stored in the bundle-id app-data dir (e.g. `jan.ai.app/`).
/// Distinct from the product-name data folder; only removed on explicit opt-in.
-fn clear_webview_profile<R: Runtime>(app_handle: &tauri::AppHandle<R>, data_folder: &std::path::Path) {
+fn clear_webview_profile<R: Runtime>(
+ app_handle: &tauri::AppHandle<R>,
+ data_folder: &std::path::Path,
+) {
let webview_dir = match app_handle.path().app_data_dir() {
Ok(dir) => dir,
Err(e) => {
@@ -104,7 +107,10 @@ fn clear_webview_profile<R: Runtime>(app_handle: &tauri::AppHandle<R>, data_fold
log::info!("Clearing webview profile: {}", webview_dir.display());
if let Err(e) = fs::remove_dir_all(&webview_dir) {
- log::warn!("Failed to clear webview profile {}: {e}", webview_dir.display());
+ log::warn!(
+ "Failed to clear webview profile {}: {e}",
+ webview_dir.display()
+ );
}
}
@@ -868,16 +874,15 @@ fn jan_cli_install_dir() -> Result<PathBuf, String> {
return Ok(usr_local_bin);
}
}
- let home =
- std::env::var("HOME").map_err(|_| "Cannot determine home directory".to_string())?;
+ let home = std::env::var("HOME").map_err(|_| "Cannot determine home directory".to_string())?;
Ok(PathBuf::from(home).join(".local").join("bin"))
}
/// Return the directory containing the bundled CLI binary on Windows.
#[cfg(windows)]
fn jan_cli_bin_dir_windows() -> Result<PathBuf, String> {
- let local_app_data = std::env::var("LOCALAPPDATA")
- .map_err(|_| "Cannot determine LOCALAPPDATA".to_string())?;
+ let local_app_data =
+ std::env::var("LOCALAPPDATA").map_err(|_| "Cannot determine LOCALAPPDATA".to_string())?;
Ok(PathBuf::from(local_app_data)
.join("Programs")
.join("Jan")
@@ -930,7 +935,10 @@ fn add_to_path_windows(install_dir: &PathBuf) -> Result<(), String> {
})
.collect();
- if parts.iter().any(|p| p.eq_ignore_ascii_case(&install_dir_str)) {
+ if parts
+ .iter()
+ .any(|p| p.eq_ignore_ascii_case(&install_dir_str))
+ {
return Ok(());
}
diff --git a/src-tauri/src/core/threads/commands.rs b/src-tauri/src/core/threads/commands.rs
index e0dc73350..bbe88df1a 100644
--- a/src-tauri/src/core/threads/commands.rs
+++ b/src-tauri/src/core/threads/commands.rs
@@ -190,7 +190,10 @@ pub async fn create_message<R: Runtime>(
ensure_thread_dir_exists(&data_folder, &thread_id)?;
// Dedupe against a modify_message upsert that landed first.
- let message_id = message.get("id").and_then(|v| v.as_str()).map(|s| s.to_string());
+ let message_id = message
+ .get("id")
+ .and_then(|v| v.as_str())
+ .map(|s| s.to_string());
if let Some(ref id) = message_id {
let existing = read_messages_from_file(&data_folder, &thread_id)?;
if existing
diff --git a/src-tauri/src/core/threads/tests.rs b/src-tauri/src/core/threads/tests.rs
index ba8d509b6..6a97416b7 100644
--- a/src-tauri/src/core/threads/tests.rs
+++ b/src-tauri/src/core/threads/tests.rs
@@ -411,7 +411,6 @@ async fn test_modify_thread_assistant() {
.await
.unwrap();
assert_eq!(retrieved["assistant_name"], "Modified Assistant");
-
}
#[tokio::test]
@@ -438,7 +437,6 @@ async fn test_thread_not_found_errors() {
.await
.is_err()
);
-
}
#[tokio::test]
@@ -455,7 +453,6 @@ async fn test_message_without_id_gets_generated() {
let created_msg = create_message(app_handle, message).await.unwrap();
assert!(created_msg["id"].as_str().is_some_and(|id| !id.is_empty()));
-
}
#[tokio::test]
@@ -485,7 +482,6 @@ async fn test_concurrent_message_operations() {
let messages = list_messages(app_handle, thread_id).await.unwrap();
assert_eq!(messages.len(), 5);
-
}
#[tokio::test]
@@ -512,7 +508,6 @@ async fn test_empty_message_list() {
.await
.unwrap();
assert_eq!(messages.len(), 0);
-
}
// ---------- constants.rs ----------
diff --git a/src-tauri/src/core/updater/session.rs b/src-tauri/src/core/updater/session.rs
index 4409b309e..de1acb99b 100644
--- a/src-tauri/src/core/updater/session.rs
+++ b/src-tauri/src/core/updater/session.rs
@@ -25,7 +25,7 @@ pub fn get_session_id_with_app<R: Runtime>(app: &AppHandle<R>) -> String {
if let Some(cached) = CACHED_SESSION_ID.get() {
return cached.clone();
}
-
+
let session_id = match app.store(STORE_NAME) {
Ok(store) => {
// Try to get existing session ID
@@ -45,10 +45,10 @@ pub fn get_session_id_with_app<R: Runtime>(app: &AppHandle<R>) -> String {
get_session_id_fallback()
}
};
-
+
// Cache the ID
let _ = CACHED_SESSION_ID.set(session_id.clone());
-
+
session_id
}
@@ -56,10 +56,10 @@ pub fn get_session_id_with_app<R: Runtime>(app: &AppHandle<R>) -> String {
fn generate_and_save_session(store: &tauri_plugin_store::Store<impl Runtime>) -> String {
let new_id = Uuid::new_v4().to_string();
log::debug!("Generated new session");
-
+
// Save to store (store.set returns () in this version)
store.set(SESSION_KEY, serde_json::json!(new_id));
-
+
new_id
}
@@ -69,7 +69,7 @@ pub fn get_session_id() -> String {
if let Some(cached) = CACHED_SESSION_ID.get() {
return cached.clone();
}
-
+
get_session_id_fallback()
}
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index d09ded09f..0fa79a65a 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -1,6 +1,5 @@
pub mod core;
-
#[cfg(not(feature = "cli"))]
use core::{
app::commands::get_jan_data_folder_path,
@@ -77,6 +76,8 @@ macro_rules! invoke_commands_with_extras {
// Agent commands
core::agent::commands::agent_run,
core::agent::commands::agent_cancel,
+ core::agent::commands::agent_permission_respond,
+ core::agent::commands::agent_init,
// Remote provider commands
core::server::remote_provider_commands::register_provider_config,
core::server::remote_provider_commands::unregister_provider_config,
@@ -292,6 +293,7 @@ pub fn run() {
mcp_last_known_tools: Arc::new(Mutex::new(HashMap::new())),
})
.manage(core::agent::commands::AgentRuns::default())
+ .manage(core::agent::commands::AgentPermissions::default())
.setup(|app| {
app.handle().plugin(
tauri_plugin_log::Builder::default()
@@ -487,7 +489,6 @@ pub fn run() {
}
}
-
log::info!("App cleanup completed");
});
});
diff --git a/web-app/src/locales/en/common.json b/web-app/src/locales/en/common.json
index a33f2547c..ab7e7a373 100644
--- a/web-app/src/locales/en/common.json
+++ b/web-app/src/locales/en/common.json
@@ -3,6 +3,7 @@
"title": "Agent Debug",
"modelLabel": "Model",
"modelAuto": "Auto (first running model)",
+ "stepsLabel": "Max steps (1-400)",
"toolsLabel": "Tools",
"noTools": "No MCP tools available.",
"promptLabel": "Prompt",
@@ -13,7 +14,18 @@
"clear": "Clear",
"output": "Streamed output",
"eventLog": "Event log",
- "empty": "No events yet."
+ "empty": "No events yet.",
+ "projectLabel": "Project root (enables built-in fs tools)",
+ "projectPlaceholder": "/absolute/path/to/project",
+ "init": "Init project",
+ "initSuccess": "Scaffolded {{path}}",
+ "initExists": "Already initialized (using existing agent.toml)",
+ "initError": "Init failed: {{message}}",
+ "permissionTitle": "Permission request",
+ "permissionBody": "The agent wants to use \"{{tool}}\" ({{capability}}){{path}}.",
+ "permissionAllowOnce": "Allow once",
+ "permissionAllowAlways": "Allow every time",
+ "permissionDeny": "Deny"
},
"htmlArtifact": {
"code": "Code",
diff --git a/web-app/src/routes/agent-debug.tsx b/web-app/src/routes/agent-debug.tsx
index 9d31f3110..4f8eec905 100644
--- a/web-app/src/routes/agent-debug.tsx
+++ b/web-app/src/routes/agent-debug.tsx
@@ -6,9 +6,27 @@ import { route } from '@/constants/routes'
import { useServiceHub } from '@/hooks/useServiceHub'
import { useModelProvider } from '@/hooks/useModelProvider'
import { useTranslation } from '@/i18n/react-i18next-compat'
-import type { StreamEvent } from '@/services/agent/types'
+import type { PermissionDecision, StreamEvent } from '@/services/agent/types'
import type { MCPTool } from '@/types/completion'
+type PermissionRequestEvent = Extract<
+ StreamEvent,
+ { type: 'permission_request' }
+>
+
+/** Built-in fs tools (Rust `BUILTIN_TOOLS`). The tool selector lists only MCP
+ * tools, so these must be added to `allowed_tools` when a project is set or the
+ * loop's allowlist filter would prune them from advertisement. */
+const BUILTIN_TOOL_NAMES = [
+ 'read',
+ 'ls',
+ 'find',
+ 'grep',
+ 'write',
+ 'edit',
+ 'bash',
+]
+
export const Route = createFileRoute(route.agentDebug as any)({
component: AgentDebugPanel,
})
@@ -18,6 +36,17 @@ function truncate(text: string, max = 140): string {
return flat.length > max ? `${flat.slice(0, max)}...` : flat
}
+/** Strip model reasoning from the streamed text: complete `<think>...</think>`
+ * blocks (any namespace prefix, e.g. `<mm:think>`), an in-progress unclosed
+ * block at the tail, and any orphan think tags. */
+function stripThink(text: string): string {
+ return text
+ .replace(/<(?:\w+:)?think\b[^>]*>[\s\S]*?<\/(?:\w+:)?think>/gi, '')
+ .replace(/<(?:\w+:)?think\b[^>]*>[\s\S]*$/i, '')
+ .replace(/<\/?(?:\w+:)?think\b[^>]*>/gi, '')
+ .trimStart()
+}
+
/** Collapse the raw event stream into a compact log: runs of token events
* become a single live counter, tool calls/results show name + short output. */
function condenseEvents(events: StreamEvent[]): string[] {
@@ -52,6 +81,13 @@ function condenseEvents(events: StreamEvent[]): string[] {
rows.push(`tool_result: ${name}${flag} - ${truncate(event.content)}`)
break
}
+ case 'permission_request':
+ rows.push(
+ `permission_request: ${event.tool_name} (${event.capability})${
+ event.path ? ` ${event.path}` : ''
+ }`
+ )
+ break
case 'done':
rows.push(`done: ${event.stop_reason}`)
break
@@ -71,10 +107,15 @@ function AgentDebugPanel() {
const [prompt, setPrompt] = useState('')
const [modelId, setModelId] = useState('')
+ const [maxTurns, setMaxTurns] = useState(8)
const [events, setEvents] = useState<StreamEvent[]>([])
const [running, setRunning] = useState(false)
const [availableTools, setAvailableTools] = useState<MCPTool[]>([])
const [selectedTools, setSelectedTools] = useState<Set<string>>(new Set())
+ const [projectRoot, setProjectRoot] = useState('')
+ const [initMsg, setInitMsg] = useState('')
+ const [pendingPermission, setPendingPermission] =
+ useState<PermissionRequestEvent | null>(null)
const runIdRef = useRef<string | null>(null)
useEffect(() => {
@@ -109,10 +150,15 @@ function AgentDebugPanel() {
const streamedText = useMemo(
() =>
- events
- .filter((e): e is Extract<StreamEvent, { type: 'token' }> => e.type === 'token')
- .map((e) => e.text)
- .join(''),
+ stripThink(
+ events
+ .filter(
+ (e): e is Extract<StreamEvent, { type: 'token' }> =>
+ e.type === 'token'
+ )
+ .map((e) => e.text)
+ .join('')
+ ),
[events]
)
@@ -123,18 +169,29 @@ function AgentDebugPanel() {
const runId = crypto.randomUUID()
runIdRef.current = runId
setEvents([])
+ setPendingPermission(null)
setRunning(true)
try {
await serviceHub.agent().run(
runId,
{
messages: [{ role: 'user', content: prompt }],
+ max_turns: maxTurns,
...(modelId ? { model: modelId } : {}),
...(availableTools.length > 0
- ? { allowed_tools: Array.from(selectedTools) }
+ ? {
+ allowed_tools: [
+ ...selectedTools,
+ ...(projectRoot.trim() ? BUILTIN_TOOL_NAMES : []),
+ ],
+ }
: {}),
+ ...(projectRoot.trim() ? { project: projectRoot.trim() } : {}),
},
- (event) => setEvents((prev) => [...prev, event])
+ (event) => {
+ setEvents((prev) => [...prev, event])
+ if (event.type === 'permission_request') setPendingPermission(event)
+ }
)
} catch (error) {
setEvents((prev) => [
@@ -153,129 +210,263 @@ function AgentDebugPanel() {
}
}
+ const handleInit = async () => {
+ if (!projectRoot.trim()) return
+ try {
+ const dir = await serviceHub.agent().initProject(projectRoot.trim())
+ setInitMsg(t('common:agentDebug.initSuccess', { path: dir }))
+ } catch (error) {
+ // No-clobber: an existing project is a benign "already set up", not a failure.
+ const message = String(error)
+ setInitMsg(
+ /already exists/i.test(message)
+ ? t('common:agentDebug.initExists')
+ : t('common:agentDebug.initError', { message })
+ )
+ }
+ }
+
+ const respondPermission = async (decision: PermissionDecision) => {
+ if (!pendingPermission) return
+ const { request_id } = pendingPermission
+ setPendingPermission(null)
+ await serviceHub.agent().respondPermission(request_id, decision)
+ }
+
return (
- <div className="flex flex-col h-full min-w-0 bg-background overflow-y-auto overflow-x-hidden p-6 gap-4">
- <div className="flex items-center gap-2">
+ <div className="flex flex-col h-svh min-h-0 min-w-0 bg-background overflow-hidden p-4 gap-3">
+ <div className="flex items-center gap-2 shrink-0">
<IconRobot className="text-muted-foreground/80 size-6" />
<h1 className="text-xl font-bold text-muted-foreground">
{t('common:agentDebug.title')}
</h1>
</div>
- <label className="text-sm text-muted-foreground" htmlFor="agent-model">
- {t('common:agentDebug.modelLabel')}
- </label>
- <select
- id="agent-model"
- className="appearance-none bg-secondary text-foreground border border-border rounded-lg p-2 text-sm w-full max-w-md [color-scheme:dark]"
- value={modelId}
- onChange={(e) => setModelId(e.target.value)}
- disabled={running}
- >
- <option value="">{t('common:agentDebug.modelAuto')}</option>
- {modelOptions.map((m) => (
- <option key={m.id} value={m.id}>
- {m.label}
- </option>
- ))}
- </select>
+ <div className="flex flex-col lg:flex-row gap-4 flex-1 min-h-0">
+ {/* Controls */}
+ <div className="flex flex-col gap-3 lg:w-96 lg:shrink-0 min-h-0 overflow-y-auto pr-1">
+ <div className="flex flex-col gap-1 shrink-0">
+ <label className="text-sm text-muted-foreground" htmlFor="agent-model">
+ {t('common:agentDebug.modelLabel')}
+ </label>
+ <select
+ id="agent-model"
+ className="appearance-none bg-secondary text-foreground border border-border rounded-lg p-2 text-sm w-full [color-scheme:dark]"
+ value={modelId}
+ onChange={(e) => setModelId(e.target.value)}
+ disabled={running}
+ >
+ <option value="">{t('common:agentDebug.modelAuto')}</option>
+ {modelOptions.map((m) => (
+ <option key={m.id} value={m.id}>
+ {m.label}
+ </option>
+ ))}
+ </select>
+ </div>
- <span className="text-sm text-muted-foreground">
- {t('common:agentDebug.toolsLabel')}
- </span>
- <div className="bg-secondary/50 rounded-lg p-3 max-h-40 overflow-y-auto shrink-0">
- {availableTools.length === 0 ? (
- <div className="text-muted-foreground text-sm">
- {t('common:agentDebug.noTools')}
+ <div className="flex flex-col gap-1 shrink-0">
+ <label className="text-sm text-muted-foreground" htmlFor="agent-steps">
+ {t('common:agentDebug.stepsLabel')}
+ </label>
+ <input
+ id="agent-steps"
+ type="number"
+ min={1}
+ max={400}
+ className="appearance-none bg-secondary text-foreground border border-border rounded-lg p-2 text-sm w-full [color-scheme:dark]"
+ value={maxTurns}
+ onChange={(e) =>
+ setMaxTurns(
+ Math.min(400, Math.max(1, Number(e.target.value) || 1))
+ )
+ }
+ disabled={running}
+ />
</div>
- ) : (
- <ul className="flex flex-col gap-1">
- {availableTools.map((tool) => (
- <li key={tool.name}>
- <label className="flex items-center gap-2 text-sm cursor-pointer">
- <input
- type="checkbox"
- checked={selectedTools.has(tool.name)}
- onChange={() => toggleTool(tool.name)}
- disabled={running}
- />
- <span className="text-foreground">{tool.name}</span>
- <span className="text-muted-foreground text-xs">
- {tool.server}
- </span>
- </label>
- </li>
- ))}
- </ul>
- )}
- </div>
- <label className="text-sm text-muted-foreground" htmlFor="agent-prompt">
- {t('common:agentDebug.promptLabel')}
- </label>
- <textarea
- id="agent-prompt"
- className="bg-secondary/50 rounded-lg p-3 text-sm font-mono min-h-24 w-full shrink-0"
- placeholder={t('common:agentDebug.promptPlaceholder')}
- value={prompt}
- onChange={(e) => setPrompt(e.target.value)}
- disabled={running}
- />
+ <div className="flex flex-col gap-1 shrink-0">
+ <label
+ className="text-sm text-muted-foreground"
+ htmlFor="agent-project"
+ >
+ {t('common:agentDebug.projectLabel')}
+ </label>
+ <div className="flex gap-2 items-center">
+ <input
+ id="agent-project"
+ className="appearance-none bg-secondary text-foreground border border-border rounded-lg p-2 text-sm flex-1 min-w-0 [color-scheme:dark]"
+ placeholder={t('common:agentDebug.projectPlaceholder')}
+ value={projectRoot}
+ onChange={(e) => setProjectRoot(e.target.value)}
+ disabled={running}
+ />
+ <button
+ className="bg-secondary text-foreground rounded-md px-3 py-2 text-sm disabled:opacity-50 shrink-0"
+ onClick={handleInit}
+ disabled={running || !projectRoot.trim()}
+ >
+ {t('common:agentDebug.init')}
+ </button>
+ </div>
+ {initMsg && (
+ <span className="text-xs text-muted-foreground [overflow-wrap:anywhere]">
+ {initMsg}
+ </span>
+ )}
+ </div>
- <div className="flex gap-2 shrink-0">
- <button
- className="bg-primary text-primary-foreground rounded-md px-4 py-2 text-sm disabled:opacity-50"
- onClick={handleRun}
- disabled={running || !prompt.trim()}
- >
- {running ? t('common:agentDebug.running') : t('common:agentDebug.run')}
- </button>
- <button
- className="bg-secondary text-foreground rounded-md px-4 py-2 text-sm disabled:opacity-50"
- onClick={handleCancel}
- disabled={!running}
- >
- {t('common:agentDebug.cancel')}
- </button>
- <button
- className="text-muted-foreground rounded-md px-4 py-2 text-sm disabled:opacity-50"
- onClick={() => setEvents([])}
- disabled={running || events.length === 0}
- >
- {t('common:agentDebug.clear')}
- </button>
- </div>
+ <div className="flex flex-col gap-1 shrink-0">
+ <span className="text-sm text-muted-foreground">
+ {t('common:agentDebug.toolsLabel')}
+ </span>
+ <div className="bg-secondary/50 rounded-lg p-3 max-h-40 overflow-y-auto">
+ {availableTools.length === 0 ? (
+ <div className="text-muted-foreground text-sm">
+ {t('common:agentDebug.noTools')}
+ </div>
+ ) : (
+ <ul className="flex flex-col gap-1">
+ {availableTools.map((tool) => (
+ <li key={tool.name}>
+ <label className="flex items-center gap-2 text-sm cursor-pointer">
+ <input
+ type="checkbox"
+ checked={selectedTools.has(tool.name)}
+ onChange={() => toggleTool(tool.name)}
+ disabled={running}
+ />
+ <span className="text-foreground">{tool.name}</span>
+ <span className="text-muted-foreground text-xs">
+ {tool.server}
+ </span>
+ </label>
+ </li>
+ ))}
+ </ul>
+ )}
+ </div>
+ </div>
- <div className="bg-secondary/50 rounded-lg p-3 min-w-0 shrink-0">
- <h2 className="text-base font-semibold mb-2">
- {t('common:agentDebug.output')}
- </h2>
- <pre className="text-sm whitespace-pre-wrap [overflow-wrap:anywhere] min-h-12 max-h-48 overflow-y-auto">
- {streamedText}
- </pre>
- </div>
+ <div className="flex flex-col gap-1 flex-1 min-h-0">
+ <label
+ className="text-sm text-muted-foreground shrink-0"
+ htmlFor="agent-prompt"
+ >
+ {t('common:agentDebug.promptLabel')}
+ </label>
+ <textarea
+ id="agent-prompt"
+ className="bg-secondary/50 rounded-lg p-3 text-sm font-mono flex-1 min-h-24 w-full resize-none"
+ placeholder={t('common:agentDebug.promptPlaceholder')}
+ value={prompt}
+ onChange={(e) => setPrompt(e.target.value)}
+ disabled={running}
+ />
+ </div>
- <div className="bg-secondary/50 rounded-lg p-3 min-w-0 shrink-0">
- <h2 className="text-base font-semibold mb-2">
- {t('common:agentDebug.eventLog')}
- </h2>
- {events.length === 0 ? (
- <div className="text-muted-foreground text-sm py-2">
- {t('common:agentDebug.empty')}
+ <div className="flex gap-2 shrink-0">
+ <button
+ className="bg-primary text-primary-foreground rounded-md px-4 py-2 text-sm disabled:opacity-50"
+ onClick={handleRun}
+ disabled={running || !prompt.trim()}
+ >
+ {running
+ ? t('common:agentDebug.running')
+ : t('common:agentDebug.run')}
+ </button>
+ <button
+ className="bg-secondary text-foreground rounded-md px-4 py-2 text-sm disabled:opacity-50"
+ onClick={handleCancel}
+ disabled={!running}
+ >
+ {t('common:agentDebug.cancel')}
+ </button>
+ <button
+ className="text-muted-foreground rounded-md px-4 py-2 text-sm disabled:opacity-50"
+ onClick={() => setEvents([])}
+ disabled={running || events.length === 0}
+ >
+ {t('common:agentDebug.clear')}
+ </button>
</div>
- ) : (
- <ol className="text-xs font-mono flex flex-col gap-1 max-h-80 overflow-y-auto overflow-x-hidden">
- {logRows.map((row, i) => (
- <li
- key={i}
- className="text-foreground whitespace-pre-wrap [overflow-wrap:anywhere]"
- >
- {row}
- </li>
- ))}
- </ol>
- )}
+ </div>
+
+ {/* Results */}
+ <div className="flex flex-col flex-1 min-h-0 min-w-0 gap-3">
+ <div className="bg-secondary/50 rounded-lg p-3 min-w-0 flex flex-col flex-1 min-h-0">
+ <h2 className="text-base font-semibold mb-2 shrink-0">
+ {t('common:agentDebug.output')}
+ </h2>
+ <pre className="text-sm whitespace-pre-wrap [overflow-wrap:anywhere] flex-1 min-h-0 overflow-y-auto">
+ {streamedText}
+ </pre>
+ </div>
+
+ <div className="bg-secondary/50 rounded-lg p-3 min-w-0 flex flex-col flex-1 min-h-0">
+ <h2 className="text-base font-semibold mb-2 shrink-0">
+ {t('common:agentDebug.eventLog')}
+ </h2>
+ {events.length === 0 ? (
+ <div className="text-muted-foreground text-sm py-2">
+ {t('common:agentDebug.empty')}
+ </div>
+ ) : (
+ <ol className="text-xs font-mono flex flex-col gap-1 flex-1 min-h-0 overflow-y-auto overflow-x-hidden">
+ {logRows.map((row, i) => (
+ <li
+ key={i}
+ className="text-foreground whitespace-pre-wrap [overflow-wrap:anywhere]"
+ >
+ {row}
+ </li>
+ ))}
+ </ol>
+ )}
+ </div>
+ </div>
</div>
+
+ {pendingPermission && (
+ <div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50">
+ <div className="bg-background border border-border rounded-lg p-5 w-full max-w-md flex flex-col gap-4">
+ <h2 className="text-base font-semibold text-foreground">
+ {t('common:agentDebug.permissionTitle')}
+ </h2>
+ <p className="text-sm text-muted-foreground [overflow-wrap:anywhere]">
+ {t('common:agentDebug.permissionBody', {
+ tool: pendingPermission.tool_name,
+ capability: pendingPermission.capability,
+ path: pendingPermission.path
+ ? `: ${pendingPermission.path}`
+ : '',
+ })}
+ </p>
+ <div className="flex gap-2 justify-end flex-wrap">
+ <button
+ className="bg-secondary text-foreground rounded-md px-3 py-2 text-sm"
+ onClick={() => respondPermission('deny')}
+ >
+ {t('common:agentDebug.permissionDeny')}
+ </button>
+ <button
+ className="bg-secondary text-foreground rounded-md px-3 py-2 text-sm"
+ onClick={() => respondPermission('allow_once')}
+ >
+ {t('common:agentDebug.permissionAllowOnce')}
+ </button>
+ {pendingPermission.offers_always && (
+ <button
+ className="bg-primary text-primary-foreground rounded-md px-3 py-2 text-sm"
+ onClick={() => respondPermission('allow_always')}
+ >
+ {t('common:agentDebug.permissionAllowAlways')}
+ </button>
+ )}
+ </div>
+ </div>
+ </div>
+ )}
</div>
)
}
diff --git a/web-app/src/services/agent/default.ts b/web-app/src/services/agent/default.ts
index 4ae6d2c1f..720aa8a5e 100644
--- a/web-app/src/services/agent/default.ts
+++ b/web-app/src/services/agent/default.ts
@@ -13,4 +13,14 @@ export class DefaultAgentService implements AgentService {
async cancel(): Promise<void> {
console.debug('DefaultAgentService.cancel: no desktop backend, nothing to cancel')
}
+
+ async respondPermission(): Promise<void> {
+ console.debug(
+ 'DefaultAgentService.respondPermission: no desktop backend, nothing to respond'
+ )
+ }
+
+ async initProject(): Promise<string> {
+ throw new Error('Agent service is only available in the desktop app')
+ }
}
diff --git a/web-app/src/services/agent/tauri.ts b/web-app/src/services/agent/tauri.ts
index 7c3f4ad6a..84c83bf88 100644
--- a/web-app/src/services/agent/tauri.ts
+++ b/web-app/src/services/agent/tauri.ts
@@ -4,7 +4,7 @@
*/
import { Channel, invoke } from '@tauri-apps/api/core'
-import type { AgentRunBody, StreamEvent } from './types'
+import type { AgentRunBody, PermissionDecision, StreamEvent } from './types'
import { DefaultAgentService } from './default'
export class TauriAgentService extends DefaultAgentService {
@@ -31,4 +31,28 @@ export class TauriAgentService extends DefaultAgentService {
throw error
}
}
+
+ async respondPermission(
+ requestId: string,
+ decision: PermissionDecision
+ ): Promise<void> {
+ try {
+ await invoke<void>('agent_permission_respond', { requestId, decision })
+ } catch (error) {
+ console.error(
+ `Error invoking agent_permission_respond for '${requestId}':`,
+ error
+ )
+ throw error
+ }
+ }
+
+ async initProject(projectRoot: string): Promise<string> {
+ try {
+ return await invoke<string>('agent_init', { projectRoot })
+ } catch (error) {
+ console.error(`Error invoking agent_init for '${projectRoot}':`, error)
+ throw error
+ }
+ }
}
diff --git a/web-app/src/services/agent/types.ts b/web-app/src/services/agent/types.ts
index d62e61055..e6f5ddcf2 100644
--- a/web-app/src/services/agent/types.ts
+++ b/web-app/src/services/agent/types.ts
@@ -15,9 +15,21 @@ export type StreamEvent =
| { type: 'step'; index: number; max: number }
| { type: 'tool_call'; id: string; name: string; args: unknown }
| { type: 'tool_result'; id: string; content: string; is_error: boolean }
+ | {
+ type: 'permission_request'
+ request_id: string
+ tool_name: string
+ capability: string
+ path?: string | null
+ prompt_kind: string
+ offers_always: boolean
+ }
| { type: 'done'; stop_reason: string; usage: AgentUsage | null }
| { type: 'error'; code: string; message: string }
+/** Mirrors the Rust `PermissionDecision` (serde snake_case). */
+export type PermissionDecision = 'allow_once' | 'allow_always' | 'deny'
+
export interface AgentRunMessage {
role: string
content: string
@@ -30,6 +42,8 @@ export interface AgentRunBody {
/** Per-run MCP tool allowlist (by tool name). Omit for all tools; empty
* array for none. */
allowed_tools?: string[]
+ /** Project root; enables built-in fs tools and loads agent.toml permissions. */
+ project?: string
[key: string]: unknown
}
@@ -43,4 +57,11 @@ export interface AgentService {
): Promise<void>
/** Cancel an in-flight run by id. No-op if it already finished. */
cancel(runId: string): Promise<void>
+ /** Answer a `permission_request` event by its `request_id`. */
+ respondPermission(
+ requestId: string,
+ decision: PermissionDecision
+ ): Promise<void>
+ /** Scaffold a `.jan/agent/` project under `projectRoot`; returns the created dir. */
+ initProject(projectRoot: string): Promise<string>
}