# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.67" name = "hostname" version = "0.4.0" authors = [ "fengcen ", "svartalf ", ] description = "Cross-platform system's host name functions" readme = "README.md" keywords = [ "hostname", "gethostname", "sethostname", ] categories = [ "api-bindings", "os", ] license = "MIT" repository = "https://github.com/svartalf/hostname" [package.metadata.docs.rs] features = ["set"] rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.cfg-if] version = "^1.0" [dev-dependencies.version-sync] version = "0.9" [features] default = [] set = [] [target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc] version = "^0.2" [target."cfg(target_os = \"windows\")".dependencies.windows] version = "^0.52" features = [ "Win32_Foundation", "Win32_System_SystemInformation", ]