Skip to content

Commit 7eb315c

Browse files
committed
free: make "windows" dependency windows-only
1 parent a4d4db8 commit 7eb315c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/uu/free/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ repository = "https://github.com/uutils/procps/tree/main/src/uu/free"
1111
keywords = ["acl", "uutils", "cross-platform", "cli", "utility"]
1212
categories = ["command-line-utilities"]
1313

14-
1514
[dependencies]
16-
uucore = { workspace = true }
17-
clap = { workspace = true }
1815
bytesize = { workspace = true }
19-
16+
clap = { workspace = true }
2017
sysinfo = { workspace = true }
18+
uucore = { workspace = true }
19+
20+
[target.'cfg(target_os="windows")'.dependencies]
2121
windows = { workspace = true, features = ["Wdk_System_SystemInformation", "Win32_System_ProcessStatus", "Win32_System_SystemInformation"] }
2222

2323
[lib]

0 commit comments

Comments
 (0)