All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.5.0 – 2024-07-06
- On Unix, use
rustix
to provide a simple implementation ofgethostname
withoutunsafe
(see GH-10 and GH-17).
0.4.3 – 2023-05-13
- Removed the
windows
dependency in favor of using embedded bindings, see GH-11.
0.4.2 – 2023-04-13
- Update dependencies.
0.4.1 – 2022-12-01
- Update repository URL to https://github.com/swsnr/gethostname.rs.
0.4.0 – 2022-10-28
0.3.0 – 2022-10-09
- Bump MSRV to 1.56.
0.2.3 – 2022-03-12
- Limit
gethostname()
tocfg(unix)
andcfg(windows)
to provide more useful build failures on other platforms.
0.2.2 – 2022-01-14
0.2.1 – 2019-12-18
- Consolidate documetation.
- Update crates.io metadata.
0.2.0 – 2019-01-22
- Add Windows implementation (see GH-1).
- Pin supported Rust version to 1.31
Initial release.
gethostname()
for non-Windows platforms.