mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
refactor(whoami): only use advapi32/winapi on Windows (#1653)
This commit is contained in:
parent
576aa29f0f
commit
d8e345df0a
1 changed files with 3 additions and 1 deletions
|
@ -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]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue