[package] name = "uu_hostid" description = "hostid ~ (uutils) display the numeric identifier of the current host" repository = "https://github.com/uutils/coreutils/tree/main/src/uu/hostid" version.workspace = true license.workspace = true homepage.workspace = true keywords.workspace = true categories.workspace = true edition.workspace = true rust-version.workspace = true readme.workspace = true [lib] path = "src/hostid.rs" test = false doctest = false [dependencies] clap = { workspace = true } uucore = { workspace = true } fluent = { workspace = true } [target.'cfg(windows)'.dependencies] hostname = { workspace = true } [target.'cfg(unix)'.dependencies] rustix = { workspace = true, features = ["system"] } [lints] workspace = true [[bin]] name = "hostid" path = "src/main.rs"