Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2026

Bumps whoami from 1.6.1 to 2.0.0.

Release notes

Sourced from whoami's releases.

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

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [whoami](https://github.com/ardaku/whoami) from 1.6.1 to 2.0.0.
- [Release notes](https://github.com/ardaku/whoami/releases)
- [Commits](https://github.com/ardaku/whoami/commits/v2.0.0)

---
updated-dependencies:
- dependency-name: whoami
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 5, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 9, 2026

Superseded by #3594.

@dependabot dependabot bot closed this Jan 9, 2026
@dependabot dependabot bot deleted the dependabot/cargo/whoami-2.0.0 branch January 9, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant