diff --git a/src/uu/whoami/Cargo.toml b/src/uu/whoami/Cargo.toml index fc45321b2..38bfcfee9 100644 --- a/src/uu/whoami/Cargo.toml +++ b/src/uu/whoami/Cargo.toml @@ -15,10 +15,12 @@ edition = "2018" path = "src/whoami.rs" [dependencies] -advapi32-sys = "0.2.0" clap = "2.33" uucore = { version=">=0.0.4", package="uucore", path="../../uucore", features=["entries", "wide"] } uucore_procs = { version=">=0.0.4", package="uucore_procs", path="../../uucore_procs" } + +[target.'cfg(target_os = "windows")'.dependencies] +advapi32-sys = "0.2.0" winapi = { version = "0.3", features = ["lmcons"] } [[bin]]