Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

Commit

Permalink
Merge #277
Browse files Browse the repository at this point in the history
277: Bump anyhow from 1.0.47 to 1.0.48 r=Yatekii a=dependabot[bot]

Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.47 to 1.0.48.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.48</h2>
<ul>
<li>
<p>Include a <code>Debug</code> rendering of lhs and rhs in <code>ensure!</code> messages (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/193">#193</a>, <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/194">#194</a>, <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/195">#195</a>, <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/196">#196</a>, <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/197">#197</a>, <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/198">#198</a>)</p>
<h3>Example:</h3>
<pre lang="rust"><code>ensure!(flags.len() &lt;= 40);
</code></pre>
<pre lang="rust"><code>ensure!(kind == Kind::File);
</code></pre>
<p>Before:</p>
<pre lang="console"><code>Condition failed: `flags.len() &lt;= 40`
Condition failed: `kind == Kind::File`
</code></pre>
<p>After:</p>
<pre lang="console"><code>Condition failed: `flags.len() &lt;= 40` (99 vs 40)
Condition failed: `kind == Kind::File` (Symlink vs File)
</code></pre>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/dtolnay/anyhow/commit/f4269d5c90e605be448eb6ec91559749b1f1cfde"><code>f4269d5</code></a> Release 1.0.48</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/13f8f0194383ed08ff09d51deabbea00e3a5a8e4"><code>13f8f01</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/198">#198</a> from dtolnay/ensure</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/c5068a811803edb6a4ab7d5e4c69b81f1d4eb3dc"><code>c5068a8</code></a> Suppress clippy lints exposed by spans fix</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/0b5c75834c52f382a8ec52f5bb03b70a4da0e50f"><code>0b5c758</code></a> Use a real unsafe expr for the unsafe test</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/34df4ccb6c2256a7c9d725df4c6b417154840438"><code>34df4cc</code></a> Preserve spans of all punctuation and keyword tokens in ensure</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/bf31e76581569e17f8030e9476ab24d376e42dc2"><code>bf31e76</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/197">#197</a> from dtolnay/ensure</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/a574356b166889f1e35b9f474f889b62fa31bd79"><code>a574356</code></a> Restore no_std support where String isn't in prelude</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/6f3b70e0af900e5173a5ba79e9684b9e7a3ca91f"><code>6f3b70e</code></a> Format with rustfmt 1.4.38</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/7d8ba9518437a285b9c9f9f4b2759dea5a4d827b"><code>7d8ba95</code></a> Preallocate space for rendered ensure message</li>
<li><a href="https://github.com/dtolnay/anyhow/commit/b75dcd2203df985c900931cc66d14dea1fee7583"><code>b75dcd2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/196">#196</a> from dtolnay/ensure</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/anyhow/compare/1.0.47...1.0.48">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.47&new-version=1.0.48)](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` 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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
bors[bot] and dependabot[bot] authored Nov 23, 2021
2 parents 4483d9a + 471aa21 commit 4b3bf66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ chrono = "0.4"
crossterm = "<= 0.22.2"
goblin = "0.4.2"
tui = { version = "0.16.0", default-features = false, features = ["crossterm"] }
anyhow = "1.0.47"
anyhow = "1.0.48"
textwrap = "0.14.2"
defmt-decoder = { version = "0.3.0", features = ["unstable"] }

0 comments on commit 4b3bf66

Please sign in to comment.