Skip to content

fix(deps): update rust crate whoami to v2#292

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/whoami-2.x
Open

fix(deps): update rust crate whoami to v2#292
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/whoami-2.x

Conversation

@renovate

@renovate renovate Bot commented Jan 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
whoami (source) dependencies major 12

Release Notes

ardaku/whoami (whoami)

v2.0.0

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: ardaku/whoami@v1.6.0...v2.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/whoami-2.x branch 5 times, most recently from b92623c to 2b346e1 Compare January 10, 2026 01:54
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch 5 times, most recently from 7040730 to f2ac7c7 Compare January 19, 2026 18:44
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch 6 times, most recently from e5ba542 to b03e349 Compare January 29, 2026 21:40
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch 6 times, most recently from 1d49888 to 7de8008 Compare February 7, 2026 06:49
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch 7 times, most recently from ba974e0 to fc2d3b5 Compare February 14, 2026 05:24
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch 3 times, most recently from 138f672 to a95b7fd Compare March 7, 2026 21:06
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch 2 times, most recently from 664d589 to f4ff378 Compare March 13, 2026 22:01
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch from f4ff378 to c5cd91c Compare March 21, 2026 12:57
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch 4 times, most recently from 7128702 to c9f12bd Compare April 3, 2026 05:39
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch 7 times, most recently from 09e9970 to bcf2a70 Compare April 19, 2026 21:09
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch 6 times, most recently from 3e24575 to c9a1daf Compare May 8, 2026 17:05
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch from c9a1daf to dc53480 Compare May 10, 2026 16:19
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch from dc53480 to c239995 Compare May 10, 2026 16:21
@renovate renovate Bot force-pushed the renovate/whoami-2.x branch 3 times, most recently from 248e549 to c6cf4c3 Compare May 22, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants