| 1 |
[package] |
| 2 |
name = "uu_hostid" |
| 3 |
description = "hostid ~ (uutils) display the numeric identifier of the current host" |
| 4 |
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/hostid" |
| 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/hostid.rs" |
| 16 |
test = false |
| 17 |
doctest = false |
| 18 |
|
| 19 |
[dependencies] |
| 20 |
clap = { workspace = true } |
| 21 |
uucore = { workspace = true } |
| 22 |
fluent = { workspace = true } |
| 23 |
|
| 24 |
[target.'cfg(windows)'.dependencies] |
| 25 |
hostname = { workspace = true } |
| 26 |
|
| 27 |
[target.'cfg(unix)'.dependencies] |
| 28 |
rustix = { workspace = true, features = ["system"] } |
| 29 |
|
| 30 |
[lints] |
| 31 |
workspace = true |
| 32 |
|
| 33 |
[[bin]] |
| 34 |
name = "hostid" |
| 35 |
path = "src/main.rs" |