[package] name = "uu_whoami" version = "0.0.28" authors = ["uutils developers"] license = "MIT" description = "whoami ~ (uutils) display user name of current effective user ID" homepage = "https://github.com/uutils/coreutils" repository = "https://github.com/uutils/coreutils/tree/main/src/uu/whoami" keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"] categories = ["command-line-utilities"] edition = "2021" readme.workspace = true [lib] path = "src/whoami.rs" [dependencies] clap = { workspace = true } uucore = { workspace = true, features = ["entries", "process"] } [target.'cfg(target_os = "windows")'.dependencies] windows-sys = { workspace = true, features = [ "Win32_NetworkManagement_NetManagement", "Win32_System_WindowsProgramming", "Win32_Foundation", ] } [target.'cfg(unix)'.dependencies] libc = { workspace = true } [[bin]] name = "whoami" path = "src/main.rs"