fix(deps): use no default features on tauri (#1402)

* Use no default feature on tauri

* Add change file

* typo

* Revert lock file conflict

* Use wry on iOS
This commit is contained in:
Tony
2024-07-30 17:12:24 +08:00
committed by GitHub
parent edf8d84f39
commit e847cedc1f
8 changed files with 48 additions and 11 deletions
+3
View File
@@ -24,6 +24,9 @@ tauri = { workspace = true }
log = { workspace = true }
thiserror = { workspace = true }
[target.'cfg(target_os = "ios")'.dependencies]
tauri = { workspace = true, features = ["wry"] }
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
arboard = "3"
image = "0.24"
+3
View File
@@ -26,6 +26,9 @@ thiserror = { workspace = true }
dunce = { workspace = true }
tauri-plugin-fs = { path = "../fs", version = "2.0.0-beta.11" }
[target.'cfg(target_os = "ios")'.dependencies]
tauri = { workspace = true, features = ["wry"] }
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
rfd = { version = "0.14", default-features = false, features = [ "tokio", "gtk3", "common-controls-v6" ] }
raw-window-handle = "0.6"
+3
View File
@@ -28,6 +28,9 @@ time = { version = "0.3", features = [ "serde", "parsing", "formatting" ] }
url = { version = "2", features = [ "serde" ] }
serde_repr = "0.1"
[target.'cfg(target_os = "ios")'.dependencies]
tauri = { workspace = true, features = ["wry"] }
[target."cfg(windows)".dependencies]
win7-notifications = { version = "0.4.4", optional = true }
windows-version = { version = "0.1", optional = true }
+3
View File
@@ -31,3 +31,6 @@ regex = "1"
open = { version = "5", features = [ "shellexecute-on-windows" ] }
encoding_rs = "0.8"
os_pipe = "1"
[target.'cfg(target_os = "ios")'.dependencies]
tauri = { workspace = true, features = ["wry"] }
+3
View File
@@ -23,3 +23,6 @@ tauri = { workspace = true }
log = { workspace = true }
thiserror = { workspace = true }
dunce = { workspace = true }
[target.'cfg(target_os = "ios")'.dependencies]
tauri = { workspace = true, features = ["wry"] }