Skip to content

Commit

Permalink
fix: fix Specta integration (tauri-apps#12371)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont authored Jan 13, 2025
1 parent a8aca70 commit 75d56e8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions crates/tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,10 @@ tracing = { version = "0.1", optional = true }
heck = "0.5"
log = "0.4.21"
dunce = "1"
specta = { version = "^2.0.0-rc.20", optional = true, default-features = false, features = [
specta = { version = "^2.0.0-rc.16", optional = true, default-features = false, features = [
"function",
"derive",
] }
# TODO: remove when specta releases rc.21
specta-util = { version = "^0.0.7", optional = true, default-features = false, features = [
"export",
] }
[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\", target_os = \"windows\", target_os = \"macos\"))".dependencies]
muda = { version = "0.15", default-features = false, features = ["serde"] }
tray-icon = { version = "0.19", default-features = false, features = [
Expand Down Expand Up @@ -196,7 +192,7 @@ config-toml = ["tauri-macros/config-toml"]
image-ico = ["image/ico"]
image-png = ["image/png"]
macos-proxy = ["tauri-runtime-wry/macos-proxy"]
specta = ["dep:specta", "dep:specta-util"]
specta = ["dep:specta"]

[[example]]
name = "commands"
Expand Down

0 comments on commit 75d56e8

Please sign in to comment.