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