chore: update dependencies to latest versions#26
chore: update dependencies to latest versions#26braden-w wants to merge 2 commits intoaptabase:mainfrom
Conversation
- Update Tauri from 2.2.5 to 2.7.0 - Update tauri-plugin from 2.0.4 to 2.3.1 - Update various Rust dependencies to latest versions - Fix deprecated PanicInfo to use PanicHookInfo - Update example project dependencies
- Update @tauri-apps/api to 2.7.0 across all package.json files - Update @rollup/plugin-node-resolve to 16.0.1 - Update Svelte to v5.14.0 in example - Update Vite to v5.4.0 (compatible with Svelte plugin) - Update @tauri-apps/cli to 2.7.0 - Update internal-ip to 8.0.0 - Update @sveltejs/vite-plugin-svelte to 4.0.0
|
@cristipufu The rename was done to avoid confusion between It's a pure rename in the standard library — fully cross-platform, works on Windows, macOS, Linux, and every other Rust target. No platform-specific behavior. Reference: https://doc.rust-lang.org/stable/std/panic/struct.PanicHookInfo.html |
|
@cristipufu To clarify the PR #20 reverted So PR #20 was a workaround for an outdated toolchain, not a correct long-term fix. Current stable Rust is 1.93.0, and PR #30 correctly uses |
Summary
This PR updates all dependencies to their latest versions to ensure compatibility with the latest Tauri v2.7.0 and to address deprecation warnings.
Changes
Rust Dependencies
Code Fixes
std::panic::PanicInfowithstd::panic::PanicHookInfo(deprecated in latest Rust versions)JavaScript Dependencies
Testing
Compatibility
This update ensures the plugin is compatible with:
These updates are important for:
Fixes #25