* 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>
* chore: adjust prettier config, .gitignore and use taplo to format toml files
This brings the plugins-workspace repository to the same code style of the main tauri repo
* format toml
* ignore examples gen dir
* add .vscode/extensions.json
* remove packageManager field
* fmt
* fix audit
* taplo ignore permissions autogenerated files
* remove create dummy dist
* fix prettier workflow
* install fmt in prettier workflow
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
* chore: Add sponsors section to readme
* which link style works in nested folders?
* add sponsors to plugin readmes
* use https links as src
* double test it with the pr branch
* revert last commit
* fmt
* set readme banners to absolute url
Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
* Revert "set readme banners to absolute url"
This reverts commit c46b464c69.
* update banners to absolute paths
Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
* Revert "update banners to absolute paths"
This reverts commit c8b8f9309e.
* fix banner paths
Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
* Revert "fix banner paths"
This reverts commit 27edc59b41.
* fix banners...again
Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
---------
Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
The line where the plugin is added: `.plugin(tauri_plugin_sql::Builder::default())` give my this error;
```the trait `Plugin<tauri_runtime_wry::Wry<EventLoopMessage>>` is not implemented for `tauri_plugin_sql::Builder````
I found this fix: https://github.com/tauri-apps/tauri/issues/5947 and it works.