From 3652915f90f9318c91f38cbd58224802df8c4bff Mon Sep 17 00:00:00 2001 From: sxyazi Date: Tue, 31 Mar 2026 21:58:54 +0800 Subject: [PATCH] .. --- Cargo.lock | 2 +- yazi-binding/Cargo.toml | 3 +++ yazi-plugin/Cargo.toml | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) 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" ] }