fix: geolocation and haptics plugin build fails with specta feature on

This commit is contained in:
Lucas Nogueira
2026-09-22 06:40:58 -03:00
parent ae3c808eb6
commit d869c162a7
3 changed files with 8 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
---
haptics: patch
geolocation: patch
---
Fixed a build failure when the `specta` feature is enabled: the `Error` type used the `#[serde(skip)]` helper attribute, which recent `specta` versions no longer register. It now uses `#[specta(skip)]`.
+1 -1
View File
@@ -14,7 +14,7 @@ pub enum Error {
#[cfg(mobile)]
#[error(transparent)]
PluginInvoke(
#[cfg_attr(feature = "specta", serde(skip))]
#[cfg_attr(feature = "specta", specta(skip))]
#[from]
tauri::plugin::mobile::PluginInvokeError,
),
+1 -1
View File
@@ -14,7 +14,7 @@ pub enum Error {
#[cfg(mobile)]
#[error(transparent)]
PluginInvoke(
#[cfg_attr(feature = "specta", serde(skip))]
#[cfg_attr(feature = "specta", specta(skip))]
#[from]
tauri::plugin::mobile::PluginInvokeError,
),