mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-30 17:48:50 +02:00
fix(geo/haptics): Fix serde import error with specta feature disabled (#2323)
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
haptics: patch
|
||||||
|
haptics-js: patch
|
||||||
|
geolocation: patch
|
||||||
|
geolocation-js: patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fixed an issue that caused build failures when the `haptics` or `geolocation` plugin was used without their `specta` feature flag enabled.
|
||||||
@@ -1 +1,2 @@
|
|||||||
plugins/*/permissions/autogenerated/
|
plugins/*/permissions/autogenerated/
|
||||||
|
plugins/*/android/.tauri/tauri-api/build/
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ pub enum Error {
|
|||||||
#[cfg(mobile)]
|
#[cfg(mobile)]
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
PluginInvoke(
|
PluginInvoke(
|
||||||
#[serde(skip)]
|
#[cfg_attr(feature = "specta", serde(skip))]
|
||||||
#[from]
|
#[from]
|
||||||
tauri::plugin::mobile::PluginInvokeError,
|
tauri::plugin::mobile::PluginInvokeError,
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ pub enum Error {
|
|||||||
#[cfg(mobile)]
|
#[cfg(mobile)]
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
PluginInvoke(
|
PluginInvoke(
|
||||||
#[serde(skip)]
|
#[cfg_attr(feature = "specta", serde(skip))]
|
||||||
#[from]
|
#[from]
|
||||||
tauri::plugin::mobile::PluginInvokeError,
|
tauri::plugin::mobile::PluginInvokeError,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user