[package]
edition = "2018"
name = "gethostname"
version = "0.2.0"
authors = ["Sebastian Wiesner <sebastian@swsnr.de>"]
description = "gethostname for all platforms"
homepage = "https://github.com/lunaryorn/gethostname.rs"
documentation = "https://docs.rs/gethostname"
readme = "README.md"
keywords = ["gethostname", "DNS", "hostname"]
categories = ["os", "api-bindings"]
license = "Apache-2.0"
repository = "https://github.com/lunaryorn/gethostname.rs.git"
[dev-dependencies.pretty_assertions]
version = "^0.5"
[target."cfg(not(windows))".dependencies.libc]
version = "^0.2"
[target."cfg(windows)".dependencies.winapi]
version = "^0.3"
features = ["sysinfoapi"]