diff --git a/Cargo.lock b/Cargo.lock index 15dd3fa3..f7d2a814 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5640,6 +5640,7 @@ dependencies = [ "tokio-stream", "tracing", "unicode-width", + "windows-sys 0.61.2", "yazi-adapter", "yazi-codegen", "yazi-config", @@ -5950,7 +5951,6 @@ dependencies = [ "twox-hash", "unicode-width", "uzers", - "windows-sys 0.61.2", "yazi-adapter", "yazi-binding", "yazi-boot", diff --git a/yazi-binding/Cargo.toml b/yazi-binding/Cargo.toml index 4c64a53e..f28d6d9d 100644 --- a/yazi-binding/Cargo.toml +++ b/yazi-binding/Cargo.toml @@ -46,3 +46,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.61.2", features = [ "Win32_System_JobObjects" ] } diff --git a/yazi-plugin/Cargo.toml b/yazi-plugin/Cargo.toml index 292feb25..1953423b 100644 --- a/yazi-plugin/Cargo.toml +++ b/yazi-plugin/Cargo.toml @@ -52,6 +52,3 @@ unicode-width = { workspace = true } [target."cfg(unix)".dependencies] libc = { workspace = true } uzers = { workspace = true } - -[target."cfg(windows)".dependencies] -windows-sys = { version = "0.61.2", features = [ "Win32_System_JobObjects" ] }