Lucas Fernandes NogueiraandFabian-Lars a83704743c 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>
2026-11-28 06:47:11 -03:00
2026-10-11 22:07:25 -03:00
2022-12-14 18:54:05 +01:00
2022-12-14 18:54:05 +01:00
2022-12-14 18:54:05 +01:00

Official Tauri Plugins

This repo and all plugins require a Rust version of at least 1.94

Plugins Found Here

Win Mac Lin iOS And
autostart Automatically launch your app at system startup. ✅ ✅ ✅ ❌ ❌
barcode-scanner Allows your mobile application to use the camera to scan QR codes, EAN-13 and other kinds of barcodes. ? ? ? ✅ ✅
biometric Prompt the user for biometric authentication on Android and iOS. ? ? ? ✅ ✅
cli Parse arguments from your Command Line Interface ✅ ✅ ✅ ❌ ❌
clipboard-manager Read and write to the system clipboard. ✅ ✅ ✅ ✅ ✅
deep-link Set your Tauri application as the default handler for an URL. ✅ ✅ ✅ ✅ ✅
dialog Native system dialogs for opening and saving files along with message dialogs. ✅ ✅ ✅ ✅ ✅
fs Access the file system. ✅ ✅ ✅ ? ?
geolocation Get and track current device position. ? ? ? ✅ ✅
global-shortcut Register global shortcuts. ✅ ✅ ✅ ? ?
haptics Haptic feedback and vibrations. ? ? ? ✅ ✅
http Access the HTTP client written in Rust. ✅ ✅ ✅ ✅ ✅
localhost Use a localhost server in production apps. ✅ ✅ ✅ ? ?
log Configurable logging. ✅ ✅ ✅ ✅ ✅
nfc Read and write NFC tags on Android and iOS. ? ? ? ✅ ✅
notification Send message notifications (brief auto-expiring OS window element) to your user. Can also be used with the Notification Web API. ✅ ✅ ✅ ✅ ✅
opener Open files and URLs using their default application. ✅ ✅ ✅ ✅ ✅
os Read information about the operating system. ✅ ✅ ✅ ✅ ✅
persisted-scope Persist runtime scope changes on the filesystem. ✅ ✅ ✅ ? ?
positioner Move windows to common locations. ✅ ✅ ✅ ❌ ❌
process This plugin provides APIs to access the current process. To spawn child processes, see the shell plugin. ✅ ✅ ✅ ? ?
shell Access the system shell. Allows you to spawn child processes and manage files and URLs using their default application. ✅ ✅ ✅ ? ?
single-instance Ensure a single instance of your tauri app is running. ✅ ✅ ✅ ❌ ❌
sql Interface with SQL databases. ✅ ✅ ✅ ✅ ✅
store Persistent key value storage. ✅ ✅ ✅ ✅ ✅
stronghold Encrypted, secure database. ✅ ✅ ✅ ? ?
updater In-app updates for Tauri applications. ✅ ✅ ✅ ❌ ❌
upload Tauri plugin for file uploads through HTTP. ✅ ✅ ✅ ✅ ✅
websocket Open a WebSocket connection using a Rust client in JS. ✅ ✅ ✅ ? ?
window-state Persist window sizes and positions. ✅ ✅ ✅ ❌ ❌
  • ✅: (Partially) Supported
  • ❌: Not supported
  • ? : Unknown/Untested or Planned

Contributing

PRs accepted. Please make sure to read the Contributing Guide before making a pull request.

Partners

CrabNebula

For the complete list of sponsors please visit our website and Open Collective.

Languages
Rust 57%
TypeScript 25.7%
Kotlin 9.7%
Swift 5.3%
JavaScript 1.4%
Other 0.8%