fix(geo/haptics): Add specta_util

fixes #2279
pull/2281/head
FabianLars 7 months ago
parent 6112867735
commit c9ede1c55a
No known key found for this signature in database

@ -0,0 +1,8 @@
---
geolocation: patch
geolocation-js: patch
haptics: patch
haptics-js: patch
---
Added `specta-util` to fix a "dependency not found" compilation error.

14
Cargo.lock generated

@ -5803,6 +5803,18 @@ dependencies = [
"syn 2.0.90", "syn 2.0.90",
] ]
[[package]]
name = "specta-util"
version = "0.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8113d65b58a6de3184b01d6df9e50b6d4bbe7f724251f576d84f23228824456"
dependencies = [
"ctor",
"serde",
"specta",
"specta-macros",
]
[[package]] [[package]]
name = "spin" name = "spin"
version = "0.9.8" version = "0.9.8"
@ -6585,6 +6597,7 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"specta", "specta",
"specta-util",
"tauri", "tauri",
"tauri-plugin", "tauri-plugin",
"thiserror 2.0.9", "thiserror 2.0.9",
@ -6611,6 +6624,7 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"specta", "specta",
"specta-util",
"tauri", "tauri",
"tauri-plugin", "tauri-plugin",
"thiserror 2.0.9", "thiserror 2.0.9",

@ -22,6 +22,10 @@ url = "2"
schemars = "0.8" schemars = "0.8"
dunce = "1" dunce = "1"
specta = "=2.0.0-rc.20" specta = "=2.0.0-rc.20"
# TODO: remove when specta releases rc.21
specta-util = { version = "^0.0.7", default-features = false, features = [
"export",
] }
glob = "0.3" glob = "0.3"
zbus = "4" zbus = "4"
#tauri-specta = "=2.0.0-rc.11" #tauri-specta = "=2.0.0-rc.11"

@ -30,6 +30,7 @@ tauri = { workspace = true, features = ["specta"] }
log = { workspace = true } log = { workspace = true }
thiserror = { workspace = true } thiserror = { workspace = true }
specta = { workspace = true } specta = { workspace = true }
specta-util = { workspace = true }
[target.'cfg(target_os = "ios")'.dependencies] [target.'cfg(target_os = "ios")'.dependencies]
tauri = { workspace = true, features = ["wry"] } tauri = { workspace = true, features = ["wry"] }

@ -30,6 +30,7 @@ tauri = { workspace = true, features = ["specta"] }
log = { workspace = true } log = { workspace = true }
thiserror = { workspace = true } thiserror = { workspace = true }
specta = { workspace = true } specta = { workspace = true }
specta-util = { workspace = true }
[target.'cfg(target_os = "ios")'.dependencies] [target.'cfg(target_os = "ios")'.dependencies]
tauri = { workspace = true, features = ["wry"] } tauri = { workspace = true, features = ["wry"] }

Loading…
Cancel
Save