From 75d56e8364fb203387bb5a5235f316dd7dfa6acd Mon Sep 17 00:00:00 2001 From: Oscar Beaumont Date: Mon, 13 Jan 2025 10:03:36 +0800 Subject: [PATCH] fix: fix Specta integration (#12371) --- crates/tauri/Cargo.toml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index c8845f94afa7..34d6dada6e7a 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -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"