NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #509 most downloaded on crates.io
Rust library for getting information about the current user and environment
Last release 1 months ago
11 Aug 2026
Release timing varies
gaps range from 8 days to 5 months
Rarely documented
notes for 10 of 50 stable releases
1 version withdrawn
withdrawn after publishing
9 years old
59 releases · first in 2017
Support for detecting the Mate desktop environment
Full Changelog: v2.1.2...v2.1.3
One column per quarter.
Update minimum libredox to 0.1.16
if in match on unix by @AldaronLau in #229Full Changelog: v2.1.1...v2.1.2
Support for other Apple targets (untested)
Full Changelog: v2.1.0...v2.1.1
Add to DesktopEnvironment enum variants Niri , Hyprland , Cosmic
DesktopEnvironment enum variants Niri, Hyprland, CosmicFull Changelog: v2.0.3...v2.1.0
Fix compilation on wasm32-wasip2
License files not being included in the package (again, switching to a workspace broke it)
Full Changelog: v2.0.2...v2.0.3
Crate not compiling when std feature isn't set
std feature isn't set (#215)Full Changelog: v2.0.1...v2.0.2
MSRV testing in CI actually works again
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.81cpu_arch() implementationLC_MONTEARY -> LC_MONETARYwhoami::Error having infinite recursion in the Display implementationLC_MONETARY env var name by @paolobarbolini in #205Cargo.lock, fix doc error by @AldaronLau in #211Full Changelog: v2.0.0...v2.0.1
Make major 2.0 breaking changes by @AldaronLau in #101
LanguagePreferencesError, which implements Into<std::io::Error>#[must_use] to applicable functionsXfce desktop environmentPlatform::MacOS to Platform::MacPlatform::Nintendo to Platform::Nintendo3dsErrorKind::Unsupported instead of ErrorKind::Other*::Unknown(_) variants are now defined at the top of enumsdesktop_env() now returns an Option - returning None when no desktop environment is applicable (such as over SSH)force-stub: Only compile to stub backendstd: 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)arch() / Arch to cpu_arch() / CpuArchitectureDesktopEnv to DesktopEnvironmentLanguage is now a struct instead of an enumDesktopEnv::WebBrowser variant now includes browser name and versiondevicename() 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]distro() now reports Windows 11 as Windows 11 instead of 10Platform::Xboxfallible module, moving those functions to the root modulelang()langs() in favor of lang_prefs()Language::country(), Country#[non_exhaustive] attributesdesktop_env() return an Option by @AldaronLau in #125hostname() to return PhysicalDnsHostname by @AldaronLau in #147langs() to match POSIX locale spec by @cjohnson19 in #150ExtendedNameFormat enum by @AldaronLau in #157LanguagePrefs impl of Display by @cjohnson19 in #179must_uses, organize attributes, remove redundant non_exhaustive, fix small copypaste bug (Wasm64) by @BioTomateDE in #201Full Changelog: v1.6.0...v2.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Backport: Replace redox_syscall with libredox
Backport: Replace redox_syscall with libredox
Compat changes
Update version to 1.6.1
Actions: split out cross-compile-illumos-and-checks-old
Downgrade libredox in Cargo.lock for MSRV
Removed comment about hostname being limited to ASCII due to Unicode hostnames being supported on Windows
account() always returning username instead of user principal name on Windowslangs() now returns a list accurate to the POSIX locale spechostname() on Windows now returns PhysicalDnsHostname instead of NetBIOSdevicename(): Fixed reading escaped unix pretty nameshostname() to return PhysicalDnsHostname by @AldaronLau in #148Full Changelog: v1.5.2...v1.6.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →