fix: fix Specta integration (#12371)

This commit is contained in:
Oscar Beaumont
2025-01-13 10:03:36 +08:00
committed by GitHub
parent a8aca70151
commit 75d56e8364

View File

@@ -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 = [
@@ -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"