Debian Codegraph @

src/uu/whoami/Cargo.toml

raw
1 [package]
2 name = "uu_whoami"
3 description = "whoami ~ (uutils) display user name of current effective user ID"
4 repository = "https://github.com/uutils/coreutils/tree/main/src/uu/whoami"
5 version.workspace = true
6 license.workspace = true
7 homepage.workspace = true
8 keywords.workspace = true
9 categories.workspace = true
10 edition.workspace = true
11 rust-version.workspace = true
12 readme.workspace = true
13
14 [lib]
15 path = "src/whoami.rs"
16 test = false
17 doctest = false
18
19 [dependencies]
20 clap = { workspace = true }
21 uucore = { workspace = true, features = ["entries"] }
22 fluent = { workspace = true }
23
24 [target.'cfg(unix)'.dependencies]
25 rustix = { workspace = true, features = ["process"] }
26
27 [target.'cfg(windows)'.dependencies]
28 windows-sys = { workspace = true, features = [
29 "Win32_NetworkManagement_NetManagement",
30 "Win32_System_WindowsProgramming",
31 "Win32_Foundation",
32 ] }
33
34 [lints]
35 workspace = true
36
37 [[bin]]
38 name = "whoami"
39 path = "src/main.rs"