[package] name = "uu_hostname" version = "0.0.28" authors = ["uutils developers"] license = "MIT" description = "hostname ~ (uutils) display or set the host name of the current host" homepage = "https://github.com/uutils/coreutils" repository = "https://github.com/uutils/coreutils/tree/main/src/uu/hostname" keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"] categories = ["command-line-utilities"] edition = "2021" readme.workspace = true [lib] path = "src/hostname.rs" [dependencies] clap = { workspace = true } hostname = { workspace = true, features = ["set"] } uucore = { workspace = true, features = ["wide"] } [target.'cfg(any(target_os = "freebsd", target_os = "openbsd"))'.dependencies] dns-lookup = { workspace = true } [target.'cfg(target_os = "windows")'.dependencies] windows-sys = { workspace = true, features = [ "Win32_Networking_WinSock", "Win32_Foundation", ] } [[bin]] name = "hostname" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] normal = ["uucore_procs"]