summaryrefslogtreecommitdiffstats
path: root/src/uu/whoami/Cargo.toml
blob: 3d2abb034a7cb8d10ddefe863c439279a110ad3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "uu_whoami"
version = "0.0.24"
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"