1
Fork 0
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:
Sylvestre Ledru 2020-12-12 11:04:39 +01:00 committed by GitHub
parent 576aa29f0f
commit d8e345df0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]]