1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 20:17:45 +00:00

rm: only set the winapi dep on Windows

This commit is contained in:
Sylvestre Ledru 2021-09-12 19:20:30 +02:00
parent cca2b19b4e
commit 2d67252dc4

View file

@ -18,11 +18,11 @@ path = "src/rm.rs"
clap = { version = "2.33", features = ["wrap_help"] }
walkdir = "2.2"
remove_dir_all = "0.5.1"
winapi = { version="0.3", features=[] }
uucore = { version=">=0.0.9", package="uucore", path="../../uucore", features=["fs"] }
uucore_procs = { version=">=0.0.6", package="uucore_procs", path="../../uucore_procs" }
[target.'cfg(windows)'.dependencies]
winapi = { version="0.3", features=[] }
[[bin]]
name = "rm"