Width enum listing CPU architecture address widths
arch() function which returns an Arch type representing a CPU
architecture
Arch::width() method which returns the address width of a CPU architecture
web feature (enabled by default). Disabling this feature allows you to
use wasm32-unknown-unknown with whoami outside of the browser with a mock
implementation.
Officially support compiling to WASI or Daku WebAssembly platforms;
functionality not supported yet.
Convenience Result type alias.
Changed
Modernized and cleaned up code style
Fixed
Handling of lang() when $LANG environment variable on unix set to "C",
causing duplicated iterator elements ["C", "C"]; now produces ["en-US"].
WhoAmI reporting "Safari" when running in Chrome/Chromium browser
WhoAmI reporting "Edg" when running in Edge browser (now reports "Edge")
WhoAmI reporting "OPR" when running in Opera browser (now reports "Opera")
WhoAmI reporting "Mozilla" when running in GNOME web browser (now reports
"GNOME Web")
[1.2.3] - 2022-09-12
Fixed
WebAssembly target requiring older versions of dependencies
[1.2.2] - 2022-09-05
Added
More details to the method documentation
Changed
WhoAmI now has an official MSRV of Rust 1.40.0
whoami::hostname() is now normalized to lowercase
[1.2.1] - 2021-11-24
Fixed
The Windows GNU target support being broken
[1.2.0] - 2021-11-06
Added
Derives for Clone, PartialEq and Eq on DesktopEnv and Platform
... (truncated)
Commits
09d8cef Write additional documentation for WebAssembly targets.
You can trigger a rebase of this PR 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 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 from 1.1.2 to 1.4.0.
Changelog
Sourced from whoami's changelog.
... (truncated)
Commits
09d8cef
Write additional documentation for WebAssembly targets.7d5b18f
Prepare for 1.4.0 release82bf60b
Add support for the Illumos platform (#61)438cea1
Make separate action for MacOS to fix CI. (#63)86b76a4
Temporarily remove Fuchsia from CI testing (#62)4c07234
Add missing release date to changeloga5d986f
Release v1.3.0 (#59)67c3388
User agent fixes (#58)d4ccb0d
Add feature flag for web (#56)384ed19
Update changelogYou can trigger a rebase of this PR 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 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)