coreutils/src/uu/whoami/Cargo.toml
2023-09-03 14:42:54 +02:00

33 lines
872 B
TOML

[package]
name = "uu_whoami"
version = "0.0.21"
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"
[lib]
path = "src/whoami.rs"
[dependencies]
clap = { workspace = true }
uucore = { workspace = true, features = ["entries"] }
[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"