Skip to content

Breaking 0.2 changes plan #8

Closed
Closed
@svartalf

Description

@svartalf

Since this crate is not abandoned anymore (yay!), it is time to make it a bit more modern and plan changes for the next 0.2 version.

  • Determine minimal supported Rust version — (set to 1.19.0)
  • Gather list of the supported OSes
  • Add CI builds (how to test Redox and various *nix'es?) — Linux, macOS and Windows are enabled already
  • Deprecate the get_hostname function
  • Add get() -> io::Result<OsString> function
  • Add set<T>(hostname: T) -> io::Result<()> where T: Into<OsStr> function (determine what exactly T should be)
  • Replace winutil dependency with the winapi crate
  • Use gethostname from the libc crate instead of bundled version
  • Add keywords, categories and badges seasoning to the Cargo manifest
  • Add more documentation and examples
  • Review API guidelines and make the public API great
  • Address the Avoidable, potential unsafety #6 issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions