Skip to content

Commit c12a1f0

Browse files
FabianLarsgezihuzi
authored andcommitted
fix(geo/haptics): Add specta_util (tauri-apps#2281)
1 parent ee9795b commit c12a1f0

File tree

5 files changed

+56
-28
lines changed

5 files changed

+56
-28
lines changed

.changes/specta-util.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
geolocation: patch
3+
geolocation-js: patch
4+
haptics: patch
5+
haptics-js: patch
6+
---
7+
8+
Added `specta-util` to fix a "dependency not found" compilation error.

Cargo.lock

Lines changed: 42 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ url = "2"
2222
schemars = "0.8"
2323
dunce = "1"
2424
specta = "=2.0.0-rc.20"
25+
# TODO: remove when specta releases rc.21
26+
specta-util = { version = "^0.0.7", default-features = false, features = [
27+
"export",
28+
] }
2529
glob = "0.3"
2630
zbus = "4"
2731
#tauri-specta = "=2.0.0-rc.11"

plugins/geolocation/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ tauri = { workspace = true, features = ["specta"] }
3030
log = { workspace = true }
3131
thiserror = { workspace = true }
3232
specta = { workspace = true }
33+
specta-util = { workspace = true }
3334

3435
[target.'cfg(target_os = "ios")'.dependencies]
3536
tauri = { workspace = true, features = ["wry"] }

plugins/haptics/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ tauri = { workspace = true, features = ["specta"] }
3030
log = { workspace = true }
3131
thiserror = { workspace = true }
3232
specta = { workspace = true }
33+
specta-util = { workspace = true }
3334

3435
[target.'cfg(target_os = "ios")'.dependencies]
3536
tauri = { workspace = true, features = ["wry"] }

0 commit comments

Comments
 (0)