Update Rust crate whoami to v2 #450
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1→2Release Notes
ardaku/whoami (whoami)
v2.0.1Compare Source
Changelog
Fixed
core::error::Error, changed so that when thestdfeature is enabled the MSRV is as-advertised - 1.65. Updated MSRV documentation to reflect that when thestdfeature is disabled it bumps the MSRV to 1.81cpu_arch()implementationLC_MONTEARY->LC_MONETARYwhoami::Errorhaving infinite recursion in theDisplayimplementationWhat's Changed
LC_MONETARYenv var name by @paolobarbolini in #205Cargo.lock, fix doc error by @AldaronLau in #211New Contributors
Full Changelog: ardaku/whoami@v2.0.0...v2.0.1
v2.0.0: (yanked)Changelog
Added
LanguagePreferencesError, which implementsInto<std::io::Error>#[must_use]to applicable functionsXfcedesktop environmentChanged
Platform::MacOStoPlatform::MacPlatform::NintendotoPlatform::Nintendo3dsErrorKind::Unsupportedinstead ofErrorKind::Other*::Unknown(_)variants are now defined at the top of enumsdesktop_env()now returns anOption- returningNonewhen 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()/Archtocpu_arch()/CpuArchitectureDesktopEnvtoDesktopEnvironmentLanguageis now a struct instead of an enumDesktopEnv::WebBrowservariant 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()andDesktopEnvironment::is_kde()are nowconstand marked with#[must_use]distro()now reports Windows 11 as Windows 11 instead of 10Removed
Platform::Xboxfalliblemodule, moving those functions to the root modulelang()langs()in favor oflang_prefs()Language::country(),Country#[non_exhaustive]attributesWhat's Changed
desktop_env()return anOptionby @AldaronLau in #125hostname()to returnPhysicalDnsHostnameby @AldaronLau in #147langs()to match POSIX locale spec by @cjohnson19 in #150ExtendedNameFormatenum by @AldaronLau in #157LanguagePrefsimpl ofDisplayby @cjohnson19 in #179must_uses, organize attributes, remove redundantnon_exhaustive, fix small copypaste bug (Wasm64) by @BioTomateDE in #201New 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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.