gethostname
gethostname for all platforms
1.1.0
109M downloads/mo
#765 most downloaded on crates.io
source
What this package is like to depend on
Last release 10 months ago
14 Oct 2025
Release timing varies
gaps range from 3 weeks to 1.1 years
Nearly every release is documented
notes for 14 of 15 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
15 releases · first in 2019
1 release in the last 12 months
see the full history below
Release timeline
15 releases · Jan 2019 to Oct 2025
2020
2021
2022
2023
2024
2025
2026
Releases
latest 15-
1.1.014 Oct 2025Release notes
Open source → -
1.0.201 May 2025Release notes
Open source →Changed
- Migrate from Github to https://codeberg.org/swsnr/gethostname.rs.
- Bump MSRV to 1.68
-
1.0.125 Mar 2025Release notes
Open source →Changed
gethostnamenow has amust_useattribute.- Update rustix dependency to version 1.
-
1.0.001 Feb 2025 -
0.5.006 Jul 2024 -
0.4.313 May 2023Release notes
Open source →Changed
- Removed the
windowsdependency in favor of using embedded bindings, see GH-11.
- Removed the
-
0.4.213 Apr 2023 -
0.4.101 Dec 2022Release notes
Open source →Changed
- Update repository URL to https://codeberg.org/swsnr/gethostname.rs.
-
0.4.028 Oct 2022 -
0.3.009 Oct 2022 -
0.2.312 Mar 2022Release notes
Open source →Changed
- Limit
gethostname()tocfg(unix)andcfg(windows)to provide more useful build failures on other platforms.
- Limit
-
0.2.214 Jan 2022Nothing published for this version
-
0.2.118 Dec 2019 -
0.2.022 Jan 2019Release notes
Open source → -
0.1.020 Jan 2019