Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Updates the requirements on whoami to permit the latest version.

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 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)

Updates the requirements on [whoami](https://github.com/ardaku/whoami) to permit the latest version.
- [Release notes](https://github.com/ardaku/whoami/releases)
- [Commits](ardaku/whoami@v1.0.0...v2.0.0)

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

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
@dongsupark
Copy link
Collaborator

CI failed:

Downloaded whoami v2.0.0
error: failed to parse manifest at `/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/whoami-2.0.0/Cargo.toml`

Caused by:
  feature `edition2024` is required

  The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.83.0 (5ffbef321 2024-10-29)).
  Consider trying a newer version of Cargo (this may require the nightly release).
  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.

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 do-not-merge rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants