From a83704743caaae92ec537d8f2ef667a518b137be Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Sat, 28 Nov 2026 06:47:11 -0300 Subject: [PATCH] fix(sql): update sqlx to 0.9 to fix cargo audit (#3815) * fix(sql): update sqlx to 0.9 to fix cargo audit cargo audit fails on RUSTSEC-2026-0459: the SQLite bundled by libsqlite3-sys 0.30 is affected by CVE-2026-119375. Only sqlx 0.9.1 accepts the fixed libsqlite3-sys (>=0.39), and it requires Rust 1.94. - update sqlx to 0.9.1 and libsqlite3-sys to 0.40. The removed runtime-tokio-rustls feature is replaced by runtime-tokio + tls-rustls-ring-webpki, which is what it enabled before, and mysql now enables mysql-rsa to keep RSA password auth - wrap frontend-provided queries in AssertSqlSafe (values are still bound parameters) and convert migrations with into_sql_str - bump the workspace MSRV and CI toolchains to 1.94 - ignore RUSTSEC-2026-0387 (crypto-bigint timing), which stronghold pulls in through iota-crypto -> k256 0.13 with no fixed release Tested clippy, tests and doc tests of the sql plugin on Linux with the sqlite, mysql and postgres features, on 1.94 and stable. Not tested against real MySQL/Postgres servers or on mobile. * update change file [skip ci] * Update .changes/sql-sqlx-0.9.md [skip ci] Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com> * update change file [skip ci] --------- Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com> --- .cargo/audit.toml | 3 + .changes/msrv-1.94.md | 61 ++ .changes/sql-sqlx-0.9.md | 6 + .github/workflows/test-android.yml | 2 +- .github/workflows/test-rust.yml | 2 +- Cargo.lock | 614 ++++++++++-------- Cargo.toml | 2 +- README.md | 2 +- plugins/autostart/README.md | 2 +- plugins/cli/README.md | 2 +- plugins/clipboard-manager/README.md | 2 +- plugins/deep-link/README.md | 2 +- .../examples/app/src-tauri/Cargo.toml | 2 +- plugins/dialog/README.md | 2 +- plugins/fs/README.md | 2 +- plugins/geolocation/README.md | 2 +- plugins/global-shortcut/README.md | 2 +- plugins/haptics/README.md | 2 +- plugins/http/README.md | 2 +- plugins/localhost/README.md | 2 +- plugins/log/README.md | 2 +- plugins/notification/README.md | 2 +- plugins/opener/README.md | 2 +- plugins/os/README.md | 2 +- plugins/persisted-scope/README.md | 2 +- plugins/positioner/README.md | 2 +- plugins/process/README.md | 2 +- plugins/shell/README.md | 2 +- plugins/single-instance/README.md | 2 +- .../examples/vanilla/src-tauri/Cargo.toml | 2 +- plugins/sql/Cargo.toml | 15 +- plugins/sql/README.md | 2 +- plugins/sql/src/lib.rs | 3 +- plugins/sql/src/wrapper.rs | 12 +- plugins/store/README.md | 2 +- plugins/stronghold/README.md | 2 +- plugins/updater/README.md | 2 +- plugins/upload/README.md | 2 +- plugins/websocket/README.md | 2 +- plugins/window-state/README.md | 2 +- 40 files changed, 461 insertions(+), 319 deletions(-) create mode 100644 .changes/msrv-1.94.md create mode 100644 .changes/sql-sqlx-0.9.md diff --git a/.cargo/audit.toml b/.cargo/audit.toml index 81cf7c64a..ecf8f29cb 100644 --- a/.cargo/audit.toml +++ b/.cargo/audit.toml @@ -2,4 +2,7 @@ ignore = [ # rsa Marvin Attack "RUSTSEC-2023-0071", + # crypto-bigint timing variability, pulled in by stronghold through iota-crypto -> k256 0.13, + # which has no release on a fixed crypto-bigint + "RUSTSEC-2026-0387", ] diff --git a/.changes/msrv-1.94.md b/.changes/msrv-1.94.md new file mode 100644 index 000000000..c1c8bd335 --- /dev/null +++ b/.changes/msrv-1.94.md @@ -0,0 +1,61 @@ +--- +"autostart": minor +"autostart-js": minor +"barcode-scanner": minor +"barcode-scanner-js": minor +"biometric": minor +"biometric-js": minor +"cli": minor +"cli-js": minor +"clipboard-manager": minor +"clipboard-manager-js": minor +"deep-link": minor +"deep-link-js": minor +"fs": minor +"fs-js": minor +"dialog": minor +"dialog-js": minor +"geolocation": minor +"geolocation-js": minor +"global-shortcut": minor +"global-shortcut-js": minor +"opener": minor +"opener-js": minor +"haptics": minor +"haptics-js": minor +"http": minor +"http-js": minor +"localhost": minor +"log": minor +"log-js": minor +"nfc": minor +"nfc-js": minor +"notification": minor +"notification-js": minor +"os": minor +"os-js": minor +"persisted-scope": minor +"positioner": minor +"positioner-js": minor +"process": minor +"process-js": minor +"shell": minor +"shell-js": minor +"single-instance": minor +"sql": minor +"sql-js": minor +"store": minor +"store-js": minor +"stronghold": minor +"stronghold-js": minor +"updater": minor +"updater-js": minor +"upload": minor +"upload-js": minor +"websocket": minor +"websocket-js": minor +"window-state": minor +"window-state-js": minor +--- + +Update MSRV to 1.94. diff --git a/.changes/sql-sqlx-0.9.md b/.changes/sql-sqlx-0.9.md new file mode 100644 index 000000000..d9c36943d --- /dev/null +++ b/.changes/sql-sqlx-0.9.md @@ -0,0 +1,6 @@ +--- +sql: minor +sql-js: minor +--- + +**Breaking Change:** Updated `sqlx` to 0.9, which brings in a SQLite release fixing CVE-2026-119375 (RUSTSEC-2026-0459). diff --git a/.github/workflows/test-android.yml b/.github/workflows/test-android.yml index 12499ed6a..55072cac1 100644 --- a/.github/workflows/test-android.yml +++ b/.github/workflows/test-android.yml @@ -34,7 +34,7 @@ jobs: steps: - uses: actions/checkout@v7 - - uses: dtolnay/rust-toolchain@1.90 + - uses: dtolnay/rust-toolchain@1.94 - uses: ./.github/actions/setup-pnpm diff --git a/.github/workflows/test-rust.yml b/.github/workflows/test-rust.yml index 601dbd74d..08a22e907 100644 --- a/.github/workflows/test-rust.yml +++ b/.github/workflows/test-rust.yml @@ -115,7 +115,7 @@ jobs: # the deep-link tests drive the real XDG tools sudo apt-get install -y xdg-utils desktop-file-utils - - uses: dtolnay/rust-toolchain@1.90 + - uses: dtolnay/rust-toolchain@1.94 with: targets: ${{ matrix.platform.target }} diff --git a/Cargo.lock b/Cargo.lock index 5d39c01b0..bd7e0e0a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -529,7 +529,7 @@ dependencies = [ "dirs 6.0.0", "os_info", "smappservice-rs", - "thiserror 2.0.12", + "thiserror 2.0.21", "windows-registry", "windows-result 0.4.1", ] @@ -561,6 +561,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" +[[package]] +name = "base16ct" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6" + [[package]] name = "base64" version = "0.13.1" @@ -666,6 +672,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" dependencies = [ "hybrid-array", + "zeroize", ] [[package]] @@ -1026,6 +1033,12 @@ dependencies = [ "error-code", ] +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + [[package]] name = "colorchoice" version = "1.0.3" @@ -1197,6 +1210,12 @@ dependencies = [ "libc", ] +[[package]] +name = "cpubits" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae" + [[package]] name = "cpufeatures" version = "0.2.17" @@ -1281,6 +1300,21 @@ dependencies = [ "zeroize", ] +[[package]] +name = "crypto-bigint" +version = "0.7.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "914c195c4d7fbc5ed7f88d14cbf85914d5c664967658d43404b263913a477e82" +dependencies = [ + "cpubits", + "ctutils", + "getrandom 0.4.3", + "num-traits", + "rand_core 0.10.1", + "serdect", + "zeroize", +] + [[package]] name = "crypto-common" version = "0.1.6" @@ -1298,7 +1332,19 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" dependencies = [ + "getrandom 0.4.3", "hybrid-array", + "rand_core 0.10.1", +] + +[[package]] +name = "crypto-primes" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3633a51a39c69ebbaa4feaa694bd83d241e4093901c84a0963b19d9bb3f0cf8f" +dependencies = [ + "crypto-bigint 0.7.11", + "rand_core 0.10.1", ] [[package]] @@ -1339,6 +1385,15 @@ dependencies = [ "cipher", ] +[[package]] +name = "ctutils" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "261af4dc7a06ea8a527a8717d8cbba3417530d6ea14e1edb3de6b67806be474f" +dependencies = [ + "cmov", +] + [[package]] name = "curve25519-dalek" version = "4.1.3" @@ -1451,6 +1506,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" dependencies = [ "const-oid 0.9.6", + "zeroize", +] + +[[package]] +name = "der" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a996a108feb8b427a6e12fcf6af4aa83409b79d72c15337d7741368131ee004" +dependencies = [ + "const-oid 0.10.2", "pem-rfc7468", "zeroize", ] @@ -1505,6 +1570,8 @@ dependencies = [ "block-buffer 0.12.1", "const-oid 0.10.2", "crypto-common 0.2.2", + "ctutils", + "zeroize", ] [[package]] @@ -1659,7 +1726,7 @@ checksum = "fac5fca71e65e94cc718a6e2af65d6e0f9c6027751c2aa562fbb5087fda639bc" dependencies = [ "bit-set", "cssparser", - "foldhash 0.2.0", + "foldhash", "html5ever", "precomputed-hash", "selectors", @@ -1720,12 +1787,12 @@ version = "0.16.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ - "der", + "der 0.7.9", "digest 0.10.7", "elliptic-curve", "rfc6979", - "signature", - "spki", + "signature 2.2.0", + "spki 0.7.3", ] [[package]] @@ -1734,7 +1801,7 @@ version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ - "signature", + "signature 2.2.0", ] [[package]] @@ -1748,7 +1815,7 @@ dependencies = [ "hashbrown 0.14.5", "hex", "rand_core 0.6.4", - "sha2", + "sha2 0.10.8", "zeroize", ] @@ -1767,13 +1834,13 @@ version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" dependencies = [ - "base16ct", - "crypto-bigint", + "base16ct 0.2.0", + "crypto-bigint 0.5.5", "digest 0.10.7", "ff", "generic-array", "group", - "pkcs8", + "pkcs8 0.10.2", "rand_core 0.6.4", "sec1", "subtle", @@ -1880,13 +1947,12 @@ checksum = "a5d9305ccc6942a704f4335694ecd3de2ea531b114ac2d51f5f843750787a92f" [[package]] name = "etcetera" -version = "0.8.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136d1b5283a1ab77bd9257427ffd09d8667ced0570b6f938942bc7568ed5b943" +checksum = "de48cc4d1c1d97a20fd819def54b890cadde72ed3ad0c614822a0a433361be96" dependencies = [ "cfg-if", - "home", - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] @@ -2006,9 +2072,9 @@ dependencies = [ [[package]] name = "flume" -version = "0.11.1" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0e4dd2a88388a1f4ccc7c9ce104604dab68d9f408dc34cd45823d5a9069095" +checksum = "5e139bc46ca777eb5efaf62df0ab8cc5fd400866427e56c68b22e414e53bd3be" dependencies = [ "futures-core", "futures-sink", @@ -2021,12 +2087,6 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" -[[package]] -name = "foldhash" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" - [[package]] name = "foldhash" version = "0.2.0" @@ -2110,9 +2170,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.31" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" dependencies = [ "futures-core", "futures-sink", @@ -2126,9 +2186,9 @@ checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" [[package]] name = "futures-executor" -version = "0.3.31" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" dependencies = [ "futures-core", "futures-task", @@ -2167,32 +2227,32 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.31" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" dependencies = [ "proc-macro2", "quote", - "syn 2.0.100", + "syn 3.0.6", ] [[package]] name = "futures-sink" -version = "0.3.31" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" [[package]] name = "futures-task" -version = "0.3.31" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" [[package]] name = "futures-util" -version = "0.3.31" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" dependencies = [ "futures-channel", "futures-core", @@ -2202,7 +2262,6 @@ dependencies = [ "futures-task", "memchr", "pin-project-lite", - "pin-utils", "slab", ] @@ -2488,7 +2547,7 @@ dependencies = [ "objc2-app-kit", "once_cell", "serde", - "thiserror 2.0.12", + "thiserror 2.0.21", "windows-sys 0.59.0", "x11rb", "xkeysym", @@ -2603,17 +2662,6 @@ dependencies = [ "allocator-api2", ] -[[package]] -name = "hashbrown" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" -dependencies = [ - "allocator-api2", - "equivalent", - "foldhash 0.1.5", -] - [[package]] name = "hashbrown" version = "0.16.1" @@ -2622,7 +2670,7 @@ checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" dependencies = [ "allocator-api2", "equivalent", - "foldhash 0.2.0", + "foldhash", ] [[package]] @@ -2633,11 +2681,11 @@ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" [[package]] name = "hashlink" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" +checksum = "824e001ac4f3012dd16a264bec811403a67ca9deb6c102fc5049b32c4574b35f" dependencies = [ - "hashbrown 0.15.2", + "hashbrown 0.16.1", ] [[package]] @@ -2670,7 +2718,16 @@ version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" dependencies = [ - "hmac", + "hmac 0.12.1", +] + +[[package]] +name = "hkdf" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4aaa26c720c68b866f2c96ef5c1264b3e6f473fe5d4ce61cd44bbe913e553018" +dependencies = [ + "hmac 0.13.0", ] [[package]] @@ -2683,12 +2740,12 @@ dependencies = [ ] [[package]] -name = "home" -version = "0.5.9" +name = "hmac" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" +checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f" dependencies = [ - "windows-sys 0.52.0", + "digest 0.11.3", ] [[package]] @@ -3180,15 +3237,15 @@ dependencies = [ "ed25519-zebra", "generic-array", "getrandom 0.2.15", - "hkdf", - "hmac", + "hkdf 0.12.4", + "hmac 0.12.1", "iterator-sorted", "k256", "pbkdf2", "rand 0.8.6", "scrypt", "serde", - "sha2", + "sha2 0.10.8", "tiny-keccak", "unicode-normalization", "x25519-dalek", @@ -3202,7 +3259,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c0d301c7edbc31494d183b7d24c1bb51d3fb10fce2f3793df1baf45b6988e10" dependencies = [ "bincode", - "hkdf", + "hkdf 0.12.4", "iota-crypto", "rust-argon2 1.0.0", "serde", @@ -3347,7 +3404,7 @@ dependencies = [ "jsonptr", "serde", "serde_json", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -3370,7 +3427,7 @@ dependencies = [ "ecdsa", "elliptic-curve", "once_cell", - "sha2", + "sha2 0.10.8", ] [[package]] @@ -3408,9 +3465,6 @@ name = "lazy_static" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" -dependencies = [ - "spin", -] [[package]] name = "libappindicator" @@ -3495,21 +3549,16 @@ dependencies = [ "windows-link 0.2.1", ] -[[package]] -name = "libm" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa" - [[package]] name = "libredox" -version = "0.1.3" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "61ff90caf6077a803a240f62fdbe88645a890bbca49ef8174c3cb0404362171d" dependencies = [ "bitflags 2.13.2", "libc", - "redox_syscall", + "plain", + "redox_syscall 0.9.5", ] [[package]] @@ -3531,9 +3580,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.30.1" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149" +checksum = "b06e69070b7e12262b0cd90832f0a7396f142a2b330181255562decf9f0c6215" dependencies = [ "cc", "pkg-config", @@ -3628,12 +3677,12 @@ dependencies = [ [[package]] name = "md-5" -version = "0.10.6" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" +checksum = "69b6441f590336821bb897fb28fc622898ccceb1d6cea3fde5ea86b090c4de98" dependencies = [ "cfg-if", - "digest 0.10.7", + "digest 0.11.3", ] [[package]] @@ -3751,7 +3800,7 @@ dependencies = [ "once_cell", "png 0.18.1", "serde", - "thiserror 2.0.12", + "thiserror 2.0.21", "windows-sys 0.61.2", ] @@ -3918,49 +3967,12 @@ dependencies = [ "serde", ] -[[package]] -name = "num-bigint-dig" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151" -dependencies = [ - "byteorder", - "lazy_static", - "libm", - "num-integer", - "num-iter", - "num-traits", - "rand 0.8.6", - "smallvec", - "zeroize", -] - [[package]] name = "num-conv" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" -[[package]] -name = "num-integer" -version = "0.1.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-iter" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - [[package]] name = "num-traits" version = "0.2.19" @@ -3968,7 +3980,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", - "libm", ] [[package]] @@ -4274,6 +4285,15 @@ dependencies = [ "objc2-security", ] +[[package]] +name = "objc2-system-configuration" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7216bd11cbda54ccabcab84d523dc93b858ec75ecfb3a7d89513fa22464da396" +dependencies = [ + "objc2-core-foundation", +] + [[package]] name = "objc2-ui-kit" version = "0.3.2" @@ -4469,7 +4489,7 @@ dependencies = [ "objc2-osa-kit", "serde", "serde_json", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -4521,7 +4541,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall", + "redox_syscall 0.5.11", "smallvec", "windows-targets 0.52.6", ] @@ -4545,14 +4565,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ "digest 0.10.7", - "hmac", + "hmac 0.12.1", ] [[package]] name = "pem-rfc7468" -version = "0.7.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +checksum = "a6305423e0e7738146434843d1694d621cce767262b2a86910beab705e4493d9" dependencies = [ "base64ct", ] @@ -4651,13 +4671,12 @@ dependencies = [ [[package]] name = "pkcs1" -version = "0.7.5" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" +checksum = "6250dd7321adbe93d12b750aee0ced159fd13e77f625edcdf1cb6f83cd99f650" dependencies = [ - "der", - "pkcs8", - "spki", + "der 0.8.3", + "spki 0.8.1", ] [[package]] @@ -4666,8 +4685,18 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ - "der", - "spki", + "der 0.7.9", + "spki 0.7.3", +] + +[[package]] +name = "pkcs8" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "451913da69c775a56034ea8d9003d27ee8948e12443eae7c038ba100a4f21cb7" +dependencies = [ + "der 0.8.3", + "spki 0.8.1", ] [[package]] @@ -4676,6 +4705,12 @@ version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" +[[package]] +name = "plain" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" + [[package]] name = "plist" version = "1.10.4" @@ -4904,7 +4939,7 @@ dependencies = [ "rustc-hash", "rustls", "socket2 0.5.9", - "thiserror 2.0.12", + "thiserror 2.0.21", "tokio", "tracing", "web-time", @@ -4926,7 +4961,7 @@ dependencies = [ "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.12", + "thiserror 2.0.21", "tinyvec", "tracing", "web-time", @@ -5078,6 +5113,15 @@ dependencies = [ "bitflags 2.13.2", ] +[[package]] +name = "redox_syscall" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "580c875845b41ecb1564ad1ae4703044cef774145e3d7a94dc2b3fa7c97868fd" +dependencies = [ + "bitflags 2.13.2", +] + [[package]] name = "redox_users" version = "0.4.6" @@ -5097,7 +5141,7 @@ checksum = "dd6f9d3d47bdd2ad6945c5015a226ec6155d0bcdfd8f7cd29f86b71f8de99d2b" dependencies = [ "getrandom 0.2.15", "libredox", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -5229,7 +5273,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ - "hmac", + "hmac 0.12.1", "subtle", ] @@ -5285,21 +5329,22 @@ checksum = "3582f63211428f83597b51b2ddb88e2a91a9d52d12831f9d08f5e624e8977422" [[package]] name = "rsa" -version = "0.9.8" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78928ac1ed176a5ca1d17e578a1825f3d81ca54cf41053a592584b020cfd691b" +checksum = "23e77fd77e0dea28b3011fd62d15445b7de7959333b0276d930e03be0f755699" dependencies = [ - "const-oid 0.9.6", - "digest 0.10.7", - "num-bigint-dig", - "num-integer", - "num-traits", + "const-oid 0.10.2", + "crypto-bigint 0.7.11", + "crypto-common 0.2.2", + "crypto-primes", + "digest 0.11.3", + "hmac 0.13.0", "pkcs1", - "pkcs8", - "rand_core 0.6.4", - "signature", - "spki", - "subtle", + "pkcs8 0.11.0", + "rand_core 0.10.1", + "sha2 0.11.2", + "signature 3.0.0", + "spki 0.8.1", "zeroize", ] @@ -5573,7 +5618,7 @@ checksum = "0516a385866c09368f0b5bcd1caff3366aace790fcd46e2bb032697bb172fd1f" dependencies = [ "pbkdf2", "salsa20", - "sha2", + "sha2 0.10.8", ] [[package]] @@ -5582,10 +5627,10 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" dependencies = [ - "base16ct", - "der", + "base16ct 0.2.0", + "der 0.7.9", "generic-array", - "pkcs8", + "pkcs8 0.10.2", "subtle", "zeroize", ] @@ -5696,14 +5741,15 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.140" +version = "1.0.154" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" +checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" dependencies = [ "itoa", "memchr", - "ryu", "serde", + "serde_core", + "zmij", ] [[package]] @@ -5777,6 +5823,16 @@ dependencies = [ "syn 2.0.100", ] +[[package]] +name = "serdect" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e" +dependencies = [ + "base16ct 1.0.0", + "serde", +] + [[package]] name = "serialize-to-javascript" version = "0.1.2" @@ -5808,17 +5864,6 @@ dependencies = [ "stable_deref_trait", ] -[[package]] -name = "sha1" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" -dependencies = [ - "cfg-if", - "cpufeatures 0.2.17", - "digest 0.10.7", -] - [[package]] name = "sha1" version = "0.11.0" @@ -5841,6 +5886,17 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "sha2" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b0e5c7d67bc53f435386b2130fdc900488c5703770f6d8a4633060e34288a27" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + [[package]] name = "shared_child" version = "1.1.1" @@ -5876,6 +5932,16 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "signature" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" +dependencies = [ + "digest 0.11.3", + "rand_core 0.10.1", +] + [[package]] name = "simd-adler32" version = "0.3.10" @@ -5933,7 +5999,7 @@ dependencies = [ "objc2 0.6.4", "objc2-foundation 0.3.2", "objc2-service-management", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -5972,7 +6038,7 @@ dependencies = [ "objc2-foundation 0.2.2", "objc2-quartz-core 0.2.2", "raw-window-handle", - "redox_syscall", + "redox_syscall 0.5.11", "wasm-bindgen", "web-sys", "windows-sys 0.59.0", @@ -6043,14 +6109,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" dependencies = [ "base64ct", - "der", + "der 0.7.9", +] + +[[package]] +name = "spki" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef958a98b9d5da290cfc78946e9f3e61e1e62a18db0d92cac0b83cc161491a9" +dependencies = [ + "base64ct", + "der 0.8.3", ] [[package]] name = "sqlx" -version = "0.8.5" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c3a85280daca669cfd3bcb68a337882a8bc57ec882f72c5d13a430613a738e" +checksum = "edb1dddfbdfe5fb99dba0541a87b2edb8adbd59e45815db22d32d4fbbb8813dd" dependencies = [ "sqlx-core", "sqlx-macros", @@ -6061,12 +6137,13 @@ dependencies = [ [[package]] name = "sqlx-core" -version = "0.8.5" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f743f2a3cea30a58cd479013f75550e879009e3a02f616f18ca699335aa248c3" +checksum = "c08f9787cc5aff062567dea2205f8ae37a617b04342633ab4f74944858ea6072" dependencies = [ "base64 0.22.1", "bytes", + "cfg-if", "crc", "crossbeam-queue", "either", @@ -6075,34 +6152,33 @@ dependencies = [ "futures-intrusive", "futures-io", "futures-util", - "hashbrown 0.15.2", + "hashbrown 0.16.1", "hashlink", "indexmap 2.14.2", "log", "memchr", - "once_cell", "percent-encoding", "rust_decimal", "rustls", "serde", "serde_json", - "sha2", + "sha2 0.11.2", "smallvec", - "thiserror 2.0.12", + "thiserror 2.0.21", "time", "tokio", "tokio-stream", "tracing", "url", "uuid", - "webpki-roots 0.26.11", + "webpki-roots 1.0.10", ] [[package]] name = "sqlx-macros" -version = "0.8.5" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4200e0fde19834956d4252347c12a083bdcb237d7a1a1446bffd8768417dce" +checksum = "bf62c58a1e7fd6031ee684eee21d07572f5aebe71c273a01ae4f04eeeba47c47" dependencies = [ "proc-macro2", "quote", @@ -6113,80 +6189,66 @@ dependencies = [ [[package]] name = "sqlx-macros-core" -version = "0.8.5" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "882ceaa29cade31beca7129b6beeb05737f44f82dbe2a9806ecea5a7093d00b7" +checksum = "c1ff75c9d609ac84aa8a3e0d92b5c0c54bf541a7f70db492fb40c9a4bea792c8" dependencies = [ + "cfg-if", "dotenvy", "either", "heck 0.5.0", "hex", - "once_cell", "proc-macro2", "quote", "serde", "serde_json", - "sha2", + "sha2 0.11.2", "sqlx-core", "sqlx-mysql", "sqlx-postgres", "sqlx-sqlite", "syn 2.0.100", - "tempfile", + "thiserror 2.0.21", "tokio", "url", ] [[package]] name = "sqlx-mysql" -version = "0.8.5" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0afdd3aa7a629683c2d750c2df343025545087081ab5942593a5288855b1b7a7" +checksum = "19eeb93b96eb10a3a59dfb436f3daf87d2fc41168ed9e9dc153ec8257dd6a761" dependencies = [ - "atoi", - "base64 0.22.1", "bitflags 2.13.2", "byteorder", "bytes", "crc", - "digest 0.10.7", + "digest 0.11.3", "dotenvy", "either", - "futures-channel", "futures-core", - "futures-io", "futures-util", "generic-array", - "hex", - "hkdf", - "hmac", - "itoa", "log", - "md-5", - "memchr", - "once_cell", "percent-encoding", - "rand 0.8.6", + "rand 0.10.3", "rsa", "rust_decimal", "serde", - "sha1 0.10.6", - "sha2", - "smallvec", + "sha1", + "sha2 0.11.2", "sqlx-core", - "stringprep", - "thiserror 2.0.12", + "thiserror 2.0.21", "time", "tracing", "uuid", - "whoami", ] [[package]] name = "sqlx-postgres" -version = "0.8.5" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0bedbe1bbb5e2615ef347a5e9d8cd7680fb63e77d9dafc0f29be15e53f1ebe6" +checksum = "b0e9e02f764a1fe640eeefc8eb33eeddd274204654ec9f2db8ff851a1dee2364" dependencies = [ "atoi", "base64 0.22.1", @@ -6199,23 +6261,21 @@ dependencies = [ "futures-core", "futures-util", "hex", - "hkdf", - "hmac", - "home", + "hkdf 0.13.0", + "hmac 0.13.0", "itoa", "log", "md-5", "memchr", - "once_cell", - "rand 0.8.6", + "rand 0.10.3", "rust_decimal", "serde", "serde_json", - "sha2", + "sha2 0.11.2", "smallvec", "sqlx-core", "stringprep", - "thiserror 2.0.12", + "thiserror 2.0.21", "time", "tracing", "uuid", @@ -6224,12 +6284,13 @@ dependencies = [ [[package]] name = "sqlx-sqlite" -version = "0.8.5" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c26083e9a520e8eb87a06b12347679b142dc2ea29e6e409f805644a7a979a5bc" +checksum = "88b6b78a34ddcb1db4046d462db8f79cee811019d7297b99fca8fac5de26672e" dependencies = [ "atoi", "flume", + "form_urlencoded", "futures-channel", "futures-core", "futures-executor", @@ -6239,9 +6300,8 @@ dependencies = [ "log", "percent-encoding", "serde", - "serde_urlencoded", "sqlx-core", - "thiserror 2.0.12", + "thiserror 2.0.21", "time", "tracing", "url", @@ -6601,7 +6661,7 @@ dependencies = [ "tauri-runtime", "tauri-runtime-wry", "tauri-utils", - "thiserror 2.0.12", + "thiserror 2.0.21", "tokio", "tray-icon", "url", @@ -6654,10 +6714,10 @@ dependencies = [ "semver", "serde", "serde_json", - "sha2", + "sha2 0.10.8", "syn 2.0.100", "tauri-utils", - "thiserror 2.0.12", + "thiserror 2.0.21", "time", "url", "uuid", @@ -6719,7 +6779,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -6731,7 +6791,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -6748,7 +6808,7 @@ dependencies = [ "serde_repr", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -6761,7 +6821,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -6774,7 +6834,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -6789,7 +6849,7 @@ dependencies = [ "tauri", "tauri-plugin", "tauri-utils", - "thiserror 2.0.12", + "thiserror 2.0.21", "tracing", "url", "windows-registry", @@ -6808,7 +6868,7 @@ dependencies = [ "tauri", "tauri-plugin", "tauri-plugin-fs", - "thiserror 2.0.12", + "thiserror 2.0.21", "url", ] @@ -6831,7 +6891,7 @@ dependencies = [ "tauri", "tauri-plugin", "tauri-utils", - "thiserror 2.0.12", + "thiserror 2.0.21", "toml 1.1.6+spec-1.1.0", "url", ] @@ -6846,7 +6906,7 @@ dependencies = [ "specta", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -6859,7 +6919,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -6872,7 +6932,7 @@ dependencies = [ "specta", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -6892,7 +6952,7 @@ dependencies = [ "tauri", "tauri-plugin", "tauri-plugin-fs", - "thiserror 2.0.12", + "thiserror 2.0.21", "tokio", "tracing", "url", @@ -6908,7 +6968,7 @@ dependencies = [ "serde", "serde_json", "tauri", - "thiserror 2.0.12", + "thiserror 2.0.21", "tiny_http", ] @@ -6927,7 +6987,7 @@ dependencies = [ "swift-rs", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", "time", "tracing", ] @@ -6942,7 +7002,7 @@ dependencies = [ "serde_repr", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -6957,7 +7017,7 @@ dependencies = [ "serde_repr", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", "time", "url", "zbus 5.9.0", @@ -6977,7 +7037,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", "url", "windows 0.62.2", "zbus 5.9.0", @@ -6996,7 +7056,7 @@ dependencies = [ "sys-locale", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -7010,7 +7070,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin-fs", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -7023,7 +7083,7 @@ dependencies = [ "serde_repr", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -7050,7 +7110,7 @@ dependencies = [ "shared_child", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", "tokio", "windows-sys 0.60.2", ] @@ -7064,7 +7124,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin-deep-link", - "thiserror 2.0.12", + "thiserror 2.0.21", "tokio", "tracing", "windows-sys 0.61.2", @@ -7084,7 +7144,7 @@ dependencies = [ "sqlx", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", "time", "tokio", "uuid", @@ -7099,7 +7159,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", "tokio", "tracing", ] @@ -7121,7 +7181,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", "zeroize", ] @@ -7149,7 +7209,7 @@ dependencies = [ "tauri", "tauri-plugin", "tempfile", - "thiserror 2.0.12", + "thiserror 2.0.21", "time", "tokio", "url", @@ -7170,7 +7230,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", "tokio", "tokio-util", ] @@ -7188,7 +7248,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", "tokio", "tokio-tungstenite", ] @@ -7203,7 +7263,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 2.0.12", + "thiserror 2.0.21", ] [[package]] @@ -7224,7 +7284,7 @@ dependencies = [ "serde", "serde_json", "tauri-utils", - "thiserror 2.0.12", + "thiserror 2.0.21", "url", "webkit2gtk", "webview2-com", @@ -7289,7 +7349,7 @@ dependencies = [ "serde_with", "serialize-to-javascript", "swift-rs", - "thiserror 2.0.12", + "thiserror 2.0.21", "toml 1.1.6+spec-1.1.0", "url", "urlpattern", @@ -7313,7 +7373,7 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f37a6c354fd28fc9e322ed9bd47e3959576dad28c9d58ea1cf888cce1c7ccb36" dependencies = [ - "thiserror 2.0.12", + "thiserror 2.0.21", "windows 0.62.2", "windows-version", ] @@ -7352,11 +7412,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.12" +version = "2.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" dependencies = [ - "thiserror-impl 2.0.12", + "thiserror-impl 2.0.21", ] [[package]] @@ -7372,13 +7432,13 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.12" +version = "2.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" dependencies = [ "proc-macro2", "quote", - "syn 2.0.100", + "syn 3.0.6", ] [[package]] @@ -7766,7 +7826,7 @@ dependencies = [ "once_cell", "png 0.18.1", "serde", - "thiserror 2.0.12", + "thiserror 2.0.21", "windows-sys 0.61.2", ] @@ -7810,8 +7870,8 @@ dependencies = [ "rand 0.10.3", "rustls", "rustls-pki-types", - "sha1 0.11.0", - "thiserror 2.0.12", + "sha1", + "thiserror 2.0.21", ] [[package]] @@ -8084,12 +8144,6 @@ dependencies = [ "wit-bindgen-rt", ] -[[package]] -name = "wasite" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" - [[package]] name = "wasm-bindgen" version = "0.2.129" @@ -8392,7 +8446,7 @@ version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b3a07132775117d6065853d9d1178157b8c90e228de47129d6bce2c7edebedfb" dependencies = [ - "thiserror 2.0.12", + "thiserror 2.0.21", "windows 0.62.2", "windows-core 0.62.2", ] @@ -8405,12 +8459,14 @@ checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" [[package]] name = "whoami" -version = "1.6.0" +version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6994d13118ab492c3c80c1f81928718159254c53c472bf9ce36f8dae4add02a7" +checksum = "626c4bac6755d76ffc12cb01b2eac751db1996b9e0041de9aa02c8c211ddc82c" dependencies = [ - "redox_syscall", - "wasite", + "libc", + "libredox", + "objc2-system-configuration", + "web-sys", ] [[package]] @@ -9023,7 +9079,7 @@ dependencies = [ "os_pipe", "rustix 0.38.44", "tempfile", - "thiserror 2.0.12", + "thiserror 2.0.21", "tree_magic_mini", "wayland-backend", "wayland-client", @@ -9078,10 +9134,10 @@ dependencies = [ "objc2-web-kit", "percent-encoding", "raw-window-handle", - "sha2", + "sha2 0.10.8", "soup3", "tao-macros", - "thiserror 2.0.12", + "thiserror 2.0.21", "url", "webkit2gtk", "webkit2gtk-sys", @@ -9486,6 +9542,12 @@ version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40990edd51aae2c2b6907af74ffb635029d5788228222c4bb811e9351c0caad3" +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" + [[package]] name = "zopfli" version = "0.8.4" diff --git a/Cargo.toml b/Cargo.toml index 3342bf728..e3f78d913 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ zbus = "5.9" edition = "2024" authors = ["Tauri Programme within The Commons Conservancy"] license = "Apache-2.0 OR MIT" -rust-version = "1.90" +rust-version = "1.94" repository = "https://github.com/tauri-apps/plugins-workspace" # default to small, optimized release binaries diff --git a/README.md b/README.md index a7be770fa..c58087d81 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Official Tauri Plugins -This repo and all plugins require a Rust version of at least **1.90** +This repo and all plugins require a Rust version of at least **1.94** ## Plugins Found Here diff --git a/plugins/autostart/README.md b/plugins/autostart/README.md index 76af2442e..ded4b625c 100644 --- a/plugins/autostart/README.md +++ b/plugins/autostart/README.md @@ -12,7 +12,7 @@ Automatically launch your application at startup. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/cli/README.md b/plugins/cli/README.md index f4cf6920d..c10c4549d 100644 --- a/plugins/cli/README.md +++ b/plugins/cli/README.md @@ -12,7 +12,7 @@ Parse arguments from your Command Line Interface. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/clipboard-manager/README.md b/plugins/clipboard-manager/README.md index f5719e86f..d3900c987 100644 --- a/plugins/clipboard-manager/README.md +++ b/plugins/clipboard-manager/README.md @@ -12,7 +12,7 @@ Read and write to the system clipboard. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/deep-link/README.md b/plugins/deep-link/README.md index 3f42afd03..2a3448b2a 100644 --- a/plugins/deep-link/README.md +++ b/plugins/deep-link/README.md @@ -12,7 +12,7 @@ Set your Tauri application as the default handler for an URL. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/deep-link/examples/app/src-tauri/Cargo.toml b/plugins/deep-link/examples/app/src-tauri/Cargo.toml index 25947bb7e..5ac564115 100644 --- a/plugins/deep-link/examples/app/src-tauri/Cargo.toml +++ b/plugins/deep-link/examples/app/src-tauri/Cargo.toml @@ -6,7 +6,7 @@ authors = ["you"] license = "" repository = "" edition = "2024" -rust-version = "1.90" +rust-version = "1.94" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/plugins/dialog/README.md b/plugins/dialog/README.md index d4d2e3666..e64ddf52a 100644 --- a/plugins/dialog/README.md +++ b/plugins/dialog/README.md @@ -12,7 +12,7 @@ Native system dialogs for opening and saving files along with message dialogs. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/fs/README.md b/plugins/fs/README.md index 6072eb9a8..5845380a1 100644 --- a/plugins/fs/README.md +++ b/plugins/fs/README.md @@ -12,7 +12,7 @@ Access the file system. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/geolocation/README.md b/plugins/geolocation/README.md index 9a1944a5a..e39bcd226 100644 --- a/plugins/geolocation/README.md +++ b/plugins/geolocation/README.md @@ -12,7 +12,7 @@ This plugin provides APIs for getting and tracking the device's current position ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/global-shortcut/README.md b/plugins/global-shortcut/README.md index 161016ad8..c9ee93d3b 100644 --- a/plugins/global-shortcut/README.md +++ b/plugins/global-shortcut/README.md @@ -12,7 +12,7 @@ Register global shortcuts. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/haptics/README.md b/plugins/haptics/README.md index 94877064b..97af9449c 100644 --- a/plugins/haptics/README.md +++ b/plugins/haptics/README.md @@ -14,7 +14,7 @@ There are no standards/requirements for vibration support on Android, so the `fe ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/http/README.md b/plugins/http/README.md index 32c619e1d..1e3963aea 100644 --- a/plugins/http/README.md +++ b/plugins/http/README.md @@ -12,7 +12,7 @@ Access the HTTP client written in Rust. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/localhost/README.md b/plugins/localhost/README.md index 7e0cdd79f..d7c75259b 100644 --- a/plugins/localhost/README.md +++ b/plugins/localhost/README.md @@ -14,7 +14,7 @@ Expose your apps assets through a localhost server instead of the default custom ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/log/README.md b/plugins/log/README.md index 3c250b95e..855bfb8bf 100644 --- a/plugins/log/README.md +++ b/plugins/log/README.md @@ -12,7 +12,7 @@ Configurable logging for your Tauri app. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/notification/README.md b/plugins/notification/README.md index 34d3a9637..7e5ba1ce6 100644 --- a/plugins/notification/README.md +++ b/plugins/notification/README.md @@ -12,7 +12,7 @@ Send message notifications (brief auto-expiring OS window element) to your user. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/opener/README.md b/plugins/opener/README.md index 46d0e9992..2d17fe4a5 100644 --- a/plugins/opener/README.md +++ b/plugins/opener/README.md @@ -12,7 +12,7 @@ ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/os/README.md b/plugins/os/README.md index 578fd1124..f73537ff1 100644 --- a/plugins/os/README.md +++ b/plugins/os/README.md @@ -12,7 +12,7 @@ Read information about the operating system. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/persisted-scope/README.md b/plugins/persisted-scope/README.md index 7a310ebf7..c4b32bf33 100644 --- a/plugins/persisted-scope/README.md +++ b/plugins/persisted-scope/README.md @@ -12,7 +12,7 @@ Save filesystem and asset scopes and restore them when the app is reopened. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/positioner/README.md b/plugins/positioner/README.md index a09193b37..6c360a989 100644 --- a/plugins/positioner/README.md +++ b/plugins/positioner/README.md @@ -14,7 +14,7 @@ This plugin is a port of [electron-positioner](https://github.com/jenslind/elect ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/process/README.md b/plugins/process/README.md index 56c29a5a2..8bb83eddd 100644 --- a/plugins/process/README.md +++ b/plugins/process/README.md @@ -12,7 +12,7 @@ This plugin provides APIs to access the current process. To spawn child processe ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/shell/README.md b/plugins/shell/README.md index 50d6f32a4..f57055b1b 100644 --- a/plugins/shell/README.md +++ b/plugins/shell/README.md @@ -12,7 +12,7 @@ Access the system shell. Allows you to spawn child processes and manage files an ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/single-instance/README.md b/plugins/single-instance/README.md index 3d865e8f5..62d04850d 100644 --- a/plugins/single-instance/README.md +++ b/plugins/single-instance/README.md @@ -12,7 +12,7 @@ Ensure a single instance of your tauri app is running. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/single-instance/examples/vanilla/src-tauri/Cargo.toml b/plugins/single-instance/examples/vanilla/src-tauri/Cargo.toml index 816aac04b..33335c453 100644 --- a/plugins/single-instance/examples/vanilla/src-tauri/Cargo.toml +++ b/plugins/single-instance/examples/vanilla/src-tauri/Cargo.toml @@ -5,7 +5,7 @@ description = "A Tauri App" authors = ["You"] repository = "" edition = "2024" -rust-version = "1.90" +rust-version = "1.94" [dependencies] serde = { workspace = true } diff --git a/plugins/sql/Cargo.toml b/plugins/sql/Cargo.toml index 647f23baa..fc8b805b1 100644 --- a/plugins/sql/Cargo.toml +++ b/plugins/sql/Cargo.toml @@ -36,7 +36,12 @@ tauri = { workspace = true } log = { workspace = true } thiserror = { workspace = true } futures-core = "0.3" -sqlx = { version = "0.8", features = ["json", "time", "uuid", "rust_decimal"] } +sqlx = { version = "0.9.1", features = [ + "json", + "time", + "uuid", + "rust_decimal", +] } rust_decimal = "1" time = "0.3" tokio = { version = "1", features = ["sync"] } @@ -45,6 +50,10 @@ uuid = "1" [features] sqlite = ["sqlx/sqlite", "sqlx/runtime-tokio"] -mysql = ["sqlx/mysql", "sqlx/runtime-tokio-rustls"] -postgres = ["sqlx/postgres", "sqlx/runtime-tokio-rustls"] +mysql = ["sqlx/mysql-rsa", "sqlx/runtime-tokio", "sqlx/tls-rustls-ring-webpki"] +postgres = [ + "sqlx/postgres", + "sqlx/runtime-tokio", + "sqlx/tls-rustls-ring-webpki", +] # TODO: bundled-cipher etc diff --git a/plugins/sql/README.md b/plugins/sql/README.md index f0a022bab..7074569b8 100644 --- a/plugins/sql/README.md +++ b/plugins/sql/README.md @@ -12,7 +12,7 @@ Interface with SQL databases through [sqlx](https://github.com/launchbadge/sqlx) ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/sql/src/lib.rs b/plugins/sql/src/lib.rs index 81c357e38..1a75363f9 100644 --- a/plugins/sql/src/lib.rs +++ b/plugins/sql/src/lib.rs @@ -29,6 +29,7 @@ pub use wrapper::DbPool; use futures_core::future::BoxFuture; use serde::{Deserialize, Serialize}; use sqlx::{ + SqlSafeStr, error::BoxDynError, migrate::{Migration as SqlxMigration, MigrationSource, MigrationType, Migrator}, }; @@ -125,7 +126,7 @@ impl MigrationSource<'static> for MigrationList { migration.version, migration.description.into(), migration.kind.into(), - migration.sql.into(), + migration.sql.into_sql_str(), false, )); } diff --git a/plugins/sql/src/wrapper.rs b/plugins/sql/src/wrapper.rs index 5f3819f91..4fa9c4b59 100644 --- a/plugins/sql/src/wrapper.rs +++ b/plugins/sql/src/wrapper.rs @@ -160,7 +160,7 @@ impl DbPool { Ok(match self { #[cfg(feature = "sqlite")] DbPool::Sqlite(pool) => { - let mut query = sqlx::query(&_query); + let mut query = sqlx::query(sqlx::AssertSqlSafe(_query)); for value in _values { if value.is_null() { query = query.bind(None::); @@ -180,7 +180,7 @@ impl DbPool { } #[cfg(feature = "mysql")] DbPool::MySql(pool) => { - let mut query = sqlx::query(&_query); + let mut query = sqlx::query(sqlx::AssertSqlSafe(_query)); for value in _values { if value.is_null() { query = query.bind(None::); @@ -200,7 +200,7 @@ impl DbPool { } #[cfg(feature = "postgres")] DbPool::Postgres(pool) => { - let mut query = sqlx::query(&_query); + let mut query = sqlx::query(sqlx::AssertSqlSafe(_query)); for value in _values { if value.is_null() { query = query.bind(None::); @@ -228,7 +228,7 @@ impl DbPool { Ok(match self { #[cfg(feature = "sqlite")] DbPool::Sqlite(pool) => { - let mut query = sqlx::query(&_query); + let mut query = sqlx::query(sqlx::AssertSqlSafe(_query)); for value in _values { if value.is_null() { query = query.bind(None::); @@ -258,7 +258,7 @@ impl DbPool { } #[cfg(feature = "mysql")] DbPool::MySql(pool) => { - let mut query = sqlx::query(&_query); + let mut query = sqlx::query(sqlx::AssertSqlSafe(_query)); for value in _values { if value.is_null() { query = query.bind(None::); @@ -288,7 +288,7 @@ impl DbPool { } #[cfg(feature = "postgres")] DbPool::Postgres(pool) => { - let mut query = sqlx::query(&_query); + let mut query = sqlx::query(sqlx::AssertSqlSafe(_query)); for value in _values { if value.is_null() { query = query.bind(None::); diff --git a/plugins/store/README.md b/plugins/store/README.md index 3de6751b5..fdc9f6a21 100644 --- a/plugins/store/README.md +++ b/plugins/store/README.md @@ -12,7 +12,7 @@ Simple, persistent key-value store. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/stronghold/README.md b/plugins/stronghold/README.md index 4f8db4883..4d4c1b08a 100644 --- a/plugins/stronghold/README.md +++ b/plugins/stronghold/README.md @@ -12,7 +12,7 @@ Store secrets and keys using the [IOTA Stronghold](https://github.com/iotaledger ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/updater/README.md b/plugins/updater/README.md index ab0399335..94ffe4d85 100644 --- a/plugins/updater/README.md +++ b/plugins/updater/README.md @@ -12,7 +12,7 @@ In-app updates for Tauri applications. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/upload/README.md b/plugins/upload/README.md index c9f165a79..4a9172b80 100644 --- a/plugins/upload/README.md +++ b/plugins/upload/README.md @@ -13,7 +13,7 @@ Download files from a remote HTTP server to disk. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/websocket/README.md b/plugins/websocket/README.md index 20dce131b..e63d13d3a 100644 --- a/plugins/websocket/README.md +++ b/plugins/websocket/README.md @@ -12,7 +12,7 @@ Open a WebSocket connection using a Rust client in JS. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend. diff --git a/plugins/window-state/README.md b/plugins/window-state/README.md index d86d61e70..c5314ce64 100644 --- a/plugins/window-state/README.md +++ b/plugins/window-state/README.md @@ -12,7 +12,7 @@ Save window positions and sizes and restore them when the app is reopened. ## Install -_This plugin requires a Rust version of at least **1.90**_ +_This plugin requires a Rust version of at least **1.94**_ There are three general methods of installation that we can recommend.