1[package]
2name = "gethostname"
3description = "gethostname for all platforms"
4readme = "README.md"
5homepage = "https://github.com/lunaryorn/gethostname.rs"
6repository = "https://github.com/lunaryorn/gethostname.rs.git"
7documentation = "https://docs.rs/gethostname"
8version = "0.3.0"
9authors = ["Sebastian Wiesner <sebastian@swsnr.de>"]
10edition = "2021"
11license = "Apache-2.0"
12keywords = ["gethostname", "DNS", "hostname"]
13categories = ["os", "api-bindings"]
14
15[target.'cfg(not(windows))'.dependencies]
16libc = "^0.2"
17
18[target.'cfg(windows)'.dependencies]
19winapi = { version = "^0.3", features = ["sysinfoapi"] }
20