mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-08-16 19:30:27 +03:00
fix(core): build on unix failing (#8761)
* fix(core): build on unix failing * change file
This commit is contained in:
parent
3bf6bc36da
commit
fe67ab7f25
5
.changes/fix-tauri-build-unix.md
Normal file
5
.changes/fix-tauri-build-unix.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch:bug
|
||||
---
|
||||
|
||||
Workaround for zbus not enabling the proper Cargo features for its nix dependency.
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user