mirror of
https://github.com/uutils/coreutils
synced 2024-12-19 17:43:52 +00:00
4555c85564
- Use modern conventions - Restrict the scope of unsafe - Do not use deprecated `std::mem::unitialized()` - Do not bake unicode into design
30 lines
912 B
TOML
30 lines
912 B
TOML
[package]
|
|
name = "uu_whoami"
|
|
version = "0.0.7"
|
|
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/master/src/uu/whoami"
|
|
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
|
|
categories = ["command-line-utilities"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
path = "src/whoami.rs"
|
|
|
|
[dependencies]
|
|
clap = { version = "2.33", features = ["wrap_help"] }
|
|
uucore = { version=">=0.0.9", package="uucore", path="../../uucore", features=["entries"] }
|
|
uucore_procs = { version=">=0.0.6", package="uucore_procs", path="../../uucore_procs" }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
winapi = { version = "0.3", features = ["lmcons"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2.42"
|
|
|
|
[[bin]]
|
|
name = "whoami"
|
|
path = "src/main.rs"
|