This commit is contained in:
sxyazi 2025-04-30 23:15:15 +08:00
parent dd2fd6d6ef
commit e28123d91c
No known key found for this signature in database
4 changed files with 6 additions and 2 deletions

1
Cargo.lock generated
View file

@ -3579,6 +3579,7 @@ dependencies = [
"libc",
"parking_lot",
"tracing",
"windows-sys 0.59.0",
"yazi-macro",
"yazi-shared",
]

View file

@ -52,7 +52,7 @@ uzers = { workspace = true }
[target."cfg(windows)".dependencies]
clipboard-win = "5.4.0"
windows-sys = { version = "0.59.0", features = [ "Win32_Security", "Win32_System_JobObjects", "Win32_System_Threading" ] }
windows-sys = { version = "0.59.0", features = [ "Win32_System_JobObjects" ] }
[target.'cfg(target_os = "macos")'.dependencies]
crossterm = { workspace = true, features = [ "use-dev-tty", "libc" ] }

View file

@ -29,7 +29,7 @@ libc = { workspace = true }
uzers = { workspace = true }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59.0", features = [ "Win32_Globalization", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Console", "Win32_System_IO", "Win32_System_Threading", "Win32_UI_Shell" ] }
windows-sys = { version = "0.59.0", features = [ "Win32_UI_Shell" ] }
[target.'cfg(target_os = "macos")'.dependencies]
crossterm = { workspace = true, features = [ "use-dev-tty", "libc" ] }

View file

@ -25,3 +25,6 @@ libc = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies]
crossterm = { workspace = true, features = [ "use-dev-tty", "libc" ] }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59.0", features = [ "Win32_Globalization", "Win32_Storage_FileSystem", "Win32_System_IO", "Win32_System_Console", "Win32_System_Threading" ] }