fix(geo/haptics): Fix serde import error with specta feature disabled (#2323)

pull/2331/head
Fabian-Lars 5 months ago committed by GitHub
parent b63d724e85
commit 406e6f484c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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)]
#[error(transparent)]
PluginInvoke(
#[serde(skip)]
#[cfg_attr(feature = "specta", serde(skip))]
#[from]
tauri::plugin::mobile::PluginInvokeError,
),

@ -14,7 +14,7 @@ pub enum Error {
#[cfg(mobile)]
#[error(transparent)]
PluginInvoke(
#[serde(skip)]
#[cfg_attr(feature = "specta", serde(skip))]
#[from]
tauri::plugin::mobile::PluginInvokeError,
),

Loading…
Cancel
Save