build(deps): bump whoami from 1.4.1 to 1.5.1 (#6471)

Bumps [whoami](https://github.com/ardaku/whoami) from 1.4.1 to 1.5.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md">whoami's changelog</a>.</em></p>
<blockquote>
<h2>[1.5.1] - 2024-03-09</h2>
<h3>Fixed</h3>
<ul>
<li>Broken link in docs</li>
</ul>
<h2>[1.5.0] - 2024-03-03</h2>
<h3>Added</h3>
<ul>
<li>WASI support</li>
<li>Redox support</li>
<li>Fallible functions
<ul>
<li><code>whoami::fallible::devicename()</code></li>
<li><code>whoami::fallible::devicename_os()</code></li>
<li><code>whoami::fallible::distro()</code></li>
<li><code>whoami::fallible::hostname()</code> - notably doesn't normalize to lowercase</li>
<li><code>whoami::fallible::realname()</code></li>
<li><code>whoami::fallible::realname_os()</code></li>
<li><code>whoami::fallible::username()</code></li>
<li><code>whoami::fallible::username_os()</code></li>
</ul>
</li>
<li><code>whoami::Language</code></li>
<li><code>whoami::Country</code></li>
<li><code>whoami::langs()</code></li>
<li><code>whoami::fallible::account()</code></li>
<li><code>whoami::fallible::account_os()</code></li>
<li><code>whoami::DesktopEnv::is_gtk()</code></li>
<li><code>whoami::DesktopEnv::is_kde()</code></li>
</ul>
<h3>Removed</h3>
<ul>
<li>Generated device names that infer casing based on the hostname when the
device name is not available - now returns the hostname unchanged</li>
<li>Partial (potentially unsound) support for Android, iOS, watchOS, tvOS,
Fuchsia, Haiku, Solaris, and a few others.  These targets now use the &quot;fake&quot;
implementation.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Deprecated <code>whoami::distro_os()</code></li>
<li>Deprecated <code>whoami::hostname()</code></li>
<li>Deprecated <code>whoami::hostname_os()</code></li>
<li>Deprecated <code>whoami::lang()</code></li>
<li>illumos and Redox are no longer untested targets</li>
<li>Documented that illumos and Redox have a higher MSRV (Rust 1.65) than other
targets</li>
<li>Display implementation on <code>Platform::Illumos</code> now displays in lowercase:
illumos</li>
</ul>
<h3>Fixed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="74a0c3b8b8"><code>74a0c3b</code></a> Prepare to release whoami 1.5.1 (<a href="https://redirect.github.com/ardaku/whoami/issues/109">#109</a>)</li>
<li><a href="7789b3f9dd"><code>7789b3f</code></a> Backport v2 -&gt; v1: Test docs in CI (<a href="https://redirect.github.com/ardaku/whoami/issues/108">#108</a>)</li>
<li><a href="4bbaf5201b"><code>4bbaf52</code></a> Prevent future potential UB in unix wrapper for <code>getpwuid()</code> (<a href="https://redirect.github.com/ardaku/whoami/issues/104">#104</a>)</li>
<li><a href="358dc0ef16"><code>358dc0e</code></a> WhoAmI 1.5.0 Release (<a href="https://redirect.github.com/ardaku/whoami/issues/94">#94</a>)</li>
<li><a href="d6ee13ed9e"><code>d6ee13e</code></a> Fix Instances of Memory Corruption on Illumos (<a href="https://redirect.github.com/ardaku/whoami/issues/93">#93</a>)</li>
<li><a href="953e702c0b"><code>953e702</code></a> Support Redox (<a href="https://redirect.github.com/ardaku/whoami/issues/92">#92</a>)</li>
<li><a href="5bc73e4e63"><code>5bc73e4</code></a> Preserve OS case for hostnames (<a href="https://redirect.github.com/ardaku/whoami/issues/86">#86</a>)</li>
<li><a href="29d5f22103"><code>29d5f22</code></a> Support WASI (<a href="https://redirect.github.com/ardaku/whoami/issues/84">#84</a>)</li>
<li><a href="d7885e7c75"><code>d7885e7</code></a> Add <code>Target</code> trait for implementing new targets (<a href="https://redirect.github.com/ardaku/whoami/issues/80">#80</a>)</li>
<li><a href="e3da4c56f9"><code>e3da4c5</code></a> Add <code>langs()</code> function, deprecate <code>lang()</code> (<a href="https://redirect.github.com/ardaku/whoami/issues/78">#78</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/ardaku/whoami/compare/v1.4.1...v1.5.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=whoami&package-manager=cargo&previous-version=1.4.1&new-version=1.5.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/toeverything/AFFiNE/network/alerts).

</details>
This commit is contained in:
dependabot 2024-04-08 02:46:13 +00:00
parent 4736776ae9
commit 9f66b810a6
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99

14
Cargo.lock generated
View File

@ -2198,6 +2198,12 @@ version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]]
name = "wasite"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b"
[[package]] [[package]]
name = "wasm-bindgen" name = "wasm-bindgen"
version = "0.2.87" version = "0.2.87"
@ -2270,9 +2276,13 @@ checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10"
[[package]] [[package]]
name = "whoami" name = "whoami"
version = "1.4.1" version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22fc3756b8a9133049b26c7f61ab35416c130e8c09b660f5b3958b446f52cc50" checksum = "a44ab49fad634e88f55bf8f9bb3abd2f27d7204172a112c7c9987e01c1c94ea9"
dependencies = [
"redox_syscall 0.4.1",
"wasite",
]
[[package]] [[package]]
name = "winapi" name = "winapi"