[dependencies.cfg-if]
version = "1"
[dev-dependencies.similar-asserts]
version = "1.6.1"
[dev-dependencies.version-sync]
version = "0.9"
[dev-dependencies.windows-bindgen]
version = "0.65"
[[example]]
name = "hostname"
path = "examples/hostname.rs"
[features]
default = []
set = []
[lib]
name = "hostname"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "os"]
description = "Cross-platform system's host name functions"
edition = "2021"
keywords = ["hostname", "gethostname", "sethostname"]
license = "MIT"
name = "hostname"
readme = "README.md"
repository = "https://github.com/djc/hostname"
rust-version = "1.74"
version = "0.4.2"
[package.metadata.docs.rs]
features = ["set"]
rustdoc-args = ["--cfg", "docsrs"]
[target.'cfg(any(unix, target_os = "redox"))'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "windows")'.dependencies.windows-link]
version = "0.2"
[[test]]
name = "codegen"
path = "tests/codegen.rs"
[[test]]
name = "version"
path = "tests/version.rs"