# 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.74" name = "hostname" version = "0.4.2" build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false 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/djc/hostname" [package.metadata.docs.rs] features = ["set"] rustdoc-args = [ "--cfg", "docsrs", ] [features] default = [] set = [] [lib] name = "hostname" path = "src/lib.rs" [[example]] name = "hostname" path = "examples/hostname.rs" [[test]] name = "codegen" path = "tests/codegen.rs" [[test]] name = "version" path = "tests/version.rs" [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" [target.'cfg(any(unix, target_os = "redox"))'.dependencies.libc] version = "0.2" [target.'cfg(target_os = "windows")'.dependencies.windows-link] version = "0.2"