PackageTrack
Sign in Get early access

whoami

Rust library for getting information about the current user and environment

2.1.3 192M downloads/mo #519 most downloaded on crates.io ardaku/whoami

What this package is like to depend on

Last release 12 days ago

11 Aug 2026

Release timing varies

gaps range from 8 days to 5 months

Rarely documented

notes for 9 of 50 stable releases

1 version withdrawn

withdrawn after publishing

9 years old

59 releases · first in 2017

9 releases in the last 12 months

see the full history below

Release timeline

59 releases · Aug 2017 to Aug 2026
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 59
  1. 2.1.3 11 Aug 2026
    Release notes

    Changelog

    Added

    • Support for detecting the Mate desktop environment

    Changed

    • Bumped minimum version of dependencies libc and libredox to latest (libc 0.2.189, libredox 0.1.19)

    What's Changed

    New Contributors

    Full Changelog: v2.1.2...v2.1.3

    Open source →
    Release notes

    v2.1.3 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 2.1.2 27 Apr 2026
    Release notes

    Changelog

    Changed

    • Update minimum libc to 2.186
    • Update minimum libredox to 0.1.16

    Fixed

    • Compilation for wasm32-wasip2

    What's Changed

    New Contributors

    Full Changelog: v2.1.1...v2.1.2

    Open source →
    Release notes

    v2.1.2

    Compare

    Choose a tag to compare

    Open source →
  3. 2.1.1 10 Feb 2026
    Release notes

    Changelog

    Added

    • Support for other Apple targets (untested)

    Changed

    • Improved unix-like implementations - now depends on libc, and objc2-system-configuration on macOS
    • Updated web-sys to 0.3.85

    What's Changed

    Full Changelog: v2.1.0...v2.1.1

    Open source →
    Release notes

    v2.1.1

    Compare

    Choose a tag to compare

    Open source →
  4. 2.1.0 28 Jan 2026
    Release notes

    Changelog

    Added

    • Add to DesktopEnvironment enum variants Niri, Hyprland, Cosmic

    Changed

    • Bumped MSRV to 1.75

    What's Changed

    New Contributors

    Full Changelog: v2.0.3...v2.1.0

    Open source →
    Release notes

    v2.1.0

    Compare

    Choose a tag to compare

    Open source →
  5. 2.0.4 27 Apr 2026
    Release notes

    Changelog

    Fixed


    Full Changelog: v2.0.3...v2.0.4

    Open source →
    Release notes

    v2.0.4

    Compare

    Choose a tag to compare

    Open source →
  6. 2.0.3 28 Jan 2026
    Release notes

    Changelog

    Fixed

    • License files not being included in the package (again, switching to a workspace broke it)

    What's Changed

    New Contributors

    Full Changelog: v2.0.2...v2.0.3

    Open source →
    Release notes

    v2.0.3

    Compare

    Choose a tag to compare

    Open source →
  7. 2.0.2 09 Jan 2026
    Release notes

    Changelog

    Fixed

    • Crate not compiling when std feature isn't set (#215)

    What's Changed

    Full Changelog: v2.0.1...v2.0.2

    Open source →
    Release notes

    v2.0.2

    Compare

    Choose a tag to compare

    Open source →
  8. 2.0.1 08 Jan 2026
    Release notes

    Changelog

    Fixed

    • MSRV testing in CI actually works again
    • MSRV mishap - WhoAmI 2.0.0 was requiring an MSRV of 1.81 accidentally, due to using core::error::Error, changed so that when the std feature is enabled the MSRV is as-advertised - 1.65. Updated MSRV documentation to reflect that when the std feature is disabled it bumps the MSRV to 1.81
    • Fixed Daku reporting 64-bit when 32-bit in cpu_arch() implementation
    • Fixed environment variable typo LC_MONTEARY -> LC_MONETARY
    • Fixed whoami::Error having infinite recursion in the Display implementation
    • Fixed Broken links in the README.md
    • Updated wasite minimum version to v1.0.2 to fix MSRV issues on WASI

    What's Changed

    New Contributors

    Full Changelog: v2.0.0...v2.0.1

    Open source →
    Release notes

    v2.0.1

    Compare

    Choose a tag to compare

    Open source →
  9. 2.0.0 03 Jan 2026 withdrawn
    Release notes

    Changelog

    Added

    • Added LanguagePreferences
    • Added Error, which implements Into<std::io::Error>
    • no-std support
    • Better docs around hostnames and platform-specific limitations
    • #[must_use] to applicable functions
    • Support checking for Xfce desktop environment

    Changed

    • MSRV updated to 1.65, upgraded to 2021 edition
    • Rename Platform::MacOS to Platform::Mac
    • Rename Platform::Nintendo to Platform::Nintendo3ds
    • When checking pointer width, if can't be determined return ErrorKind::Unsupported instead of ErrorKind::Other
    • *::Unknown(_) variants are now defined at the top of enums
    • Updated libredox to v0.1.12
    • desktop_env() now returns an Option - returning None when no desktop environment is applicable (such as over SSH)
    • Feature set changed to:
      • force-stub: Only compile to stub backend
      • std: Depend on the standard library (default feature)
      • wasi-wasite: Assume Wasite environment variables are defined when compiling to wasi targets (default feature)
      • wasm-web: Assume wasm with unknown OS is being compiled for a web page (default feature)
    • Rename arch() / Arch to cpu_arch() / CpuArchitecture
    • Rename DesktopEnv to DesktopEnvironment
    • Language is now a struct instead of an enum
    • Language fallbacks without the country are appended at the end of language iteration
    • DesktopEnv::WebBrowser variant now includes browser name and version
    • devicename() on web target now always returns "Browser"
    • hostname() on web target now returns the webpage URL instead of "localhost"
    • DesktopEnvironment::is_gtk() and DesktopEnvironment::is_kde() are now const and marked with #[must_use]
    • Update wasite target dependency to 1.0.0
    • distro() now reports Windows 11 as Windows 11 instead of 10

    Removed

    • Removed Platform::Xbox
    • Remove all infallible function variants, and remove the fallible module, moving those functions to the root module
    • Remove deprecated lang()
    • Remove langs() in favor of lang_prefs()
    • Language::country(), Country
    • Unnecessary #[non_exhaustive] attributes

    What's Changed

    New Contributors

    Full Changelog: v1.6.0...v2.0.0

    Open source →
    Release notes

    v2.0.0 (yanked)

    Compare

    Choose a tag to compare

    Open source →
  10. 2.0.0-pre.3 11 Aug 2025 pre-release

    Nothing published for this version

  11. 2.0.0-pre.2 07 Mar 2025 pre-release

    Nothing published for this version

  12. 2.0.0-pre.1 26 Feb 2025 pre-release

    Nothing published for this version

  13. 2.0.0-pre.0 19 Nov 2024 pre-release

    Nothing published for this version

  14. 1.6.1 11 Aug 2025

    Nothing published for this version

  15. 1.6.0 23 Mar 2025
    Release notes

    Changelog

    Added

    • Support for GNU/Hurd

    Changed

    • Removed comment about hostname being limited to ASCII due to Unicode hostnames being supported on Windows
    • More descriptive error messages on the web target

    Fixed

    • account() always returning username instead of user principal name on Windows
    • langs() now returns a list accurate to the POSIX locale spec
    • hostname() on Windows now returns PhysicalDnsHostname instead of NetBIOS
    • devicename(): Fixed reading escaped unix pretty names
    • Link error on Windows (in future Rust version)

    What's Changed

    New Contributors

    Full Changelog: v1.5.2...v1.6.0

    Open source →
    Release notes

    v1.6.0

    Compare

    Choose a tag to compare

    Open source →
  16. 1.6.0-pre.2 07 Mar 2025 pre-release

    Nothing published for this version

  17. 1.6.0-pre.1 26 Feb 2025 pre-release

    Nothing published for this version

  18. 1.6.0-pre.0 11 Jan 2025 pre-release

    Nothing published for this version

  19. 1.5.2 03 Sep 2024

    Nothing published for this version

  20. 1.5.1 10 Mar 2024

    Nothing published for this version

  21. 1.5.0 04 Mar 2024

    Nothing published for this version

  22. 1.5.0-pre.0 14 Feb 2024 pre-release

    Nothing published for this version

  23. 1.4.1 26 Jun 2023

    Nothing published for this version

  24. 1.4.0 12 Mar 2023

    Nothing published for this version

  25. 1.3.0 29 Dec 2022

    Nothing published for this version

  26. 1.2.3 13 Sep 2022

    Nothing published for this version

  27. 1.2.2 05 Sep 2022

    Nothing published for this version

  28. 1.2.1 25 Nov 2021

    Nothing published for this version

  29. 1.2.0 06 Nov 2021

    Nothing published for this version

  30. 1.1.5 29 Sep 2021

    Nothing published for this version

  31. 1.1.4 26 Sep 2021

    Nothing published for this version

  32. 1.1.3 17 Aug 2021

    Nothing published for this version

  33. 1.1.2 03 Apr 2021

    Nothing published for this version

  34. 1.1.1 14 Mar 2021

    Nothing published for this version

  35. 1.1.0 17 Jan 2021

    Nothing published for this version

  36. 1.0.3 31 Dec 2020

    Nothing published for this version

  37. 1.0.2 31 Dec 2020

    Nothing published for this version

  38. 1.0.1 16 Dec 2020

    Nothing published for this version

  39. 1.0.0 23 Nov 2020

    Nothing published for this version

  40. 0.9.0 25 Jun 2020

    Nothing published for this version

  41. 0.8.2 11 Jun 2020

    Nothing published for this version

  42. 0.8.1 22 Feb 2020

    Nothing published for this version

  43. 0.8.0 21 Feb 2020

    Nothing published for this version

  44. 0.7.0 21 Dec 2019

    Nothing published for this version

  45. 0.6.0 26 Oct 2019

    Nothing published for this version

  46. 0.5.3 19 Jul 2019

    Nothing published for this version

  47. 0.5.2 13 May 2019

    Nothing published for this version

  48. 0.5.1 13 May 2019

    Nothing published for this version

  49. 0.5.0 17 Mar 2019

    Nothing published for this version

  50. 0.4.1 12 Jan 2019

    Nothing published for this version

  51. 0.4.0 12 Jan 2019

    Nothing published for this version

  52. 0.3.0 04 Jan 2019

    Nothing published for this version

  53. 0.2.4 04 Dec 2018

    Nothing published for this version

  54. 0.2.3 27 Nov 2018

    Nothing published for this version

  55. 0.2.2 02 Jun 2018

    Nothing published for this version

  56. 0.2.1 02 Jun 2018

    Nothing published for this version

  57. 0.2.0 29 Dec 2017

    Nothing published for this version

  58. 0.1.1 04 Aug 2017

    Nothing published for this version

  59. 0.1.0 04 Aug 2017

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive