fix(core): build on unix failing (#8761)

* fix(core): build on unix failing

* change file
This commit is contained in:
Lucas Fernandes Nogueira 2024-02-04 15:42:55 -03:00 committed by GitHub
parent 3bf6bc36da
commit fe67ab7f25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"tauri": patch:bug
---
Workaround for zbus not enabling the proper Cargo features for its nix dependency.

View File

@ -37,7 +37,7 @@ targets = [
]
[package.metadata.cargo-udeps.ignore]
normal = [ "reqwest" ]
normal = [ "reqwest", "nix" ]
build = [ "tauri-build" ]
development = [ "quickcheck_macros" ]
@ -88,6 +88,9 @@ cocoa = "0.25"
objc = "0.2"
window-vibrancy = "0.4"
[target.'cfg(unix)'.dependencies]
nix = { version = "0.26.0", default-features = false, features = ["user", "socket", "uio"] }
[target."cfg(windows)".dependencies]
webview2-com = "0.28"
window-vibrancy = "0.4"