mirror of
https://github.com/uutils/coreutils
synced 2025-01-11 12:49:10 +00:00
30 lines
869 B
TOML
30 lines
869 B
TOML
[package]
|
|
name = "uu_hostname"
|
|
version = "0.0.17"
|
|
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"
|
|
|
|
[lib]
|
|
path = "src/hostname.rs"
|
|
|
|
[dependencies]
|
|
clap = { workspace=true }
|
|
hostname = { version = "0.3", features = ["set"] }
|
|
uucore = { workspace=true, features=["wide"] }
|
|
|
|
[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"]
|