Cargo Features

hostname has no features set by default.

[dependencies]
hostname = { version = "0.4.0", features = ["set"] }
set

Enables the hostname::set function

Affects nix::set, windows::set