Skip to content

Commit

Permalink
WEB3-220: Update thiserror requirement from 1.0 to 2.0 (#320)
Browse files Browse the repository at this point in the history
Updates the requirements on
[thiserror](https://github.com/dtolnay/thiserror) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/thiserror/releases">thiserror's
releases</a>.</em></p>
<blockquote>
<h2>1.0.68</h2>
<ul>
<li>Handle incomplete expressions more robustly in format arguments,
such as while code is being typed (<a
href="https://redirect.github.com/dtolnay/thiserror/issues/341">#341</a>,
<a
href="https://redirect.github.com/dtolnay/thiserror/issues/344">#344</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dtolnay/thiserror/commit/8d06fb554905b054d44a353bea9c92d0bbeb0bdf"><code>8d06fb5</code></a>
Release 1.0.68</li>
<li><a
href="https://github.com/dtolnay/thiserror/commit/372fd8a71afefe23b128a5bb5ad502abbce3e845"><code>372fd8a</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/thiserror/issues/344">#344</a>
from dtolnay/binop</li>
<li><a
href="https://github.com/dtolnay/thiserror/commit/08f89925bf0df7a3fe758129e4dbea1097c48bce"><code>08f8992</code></a>
Disregard equality binop in fallback parser</li>
<li><a
href="https://github.com/dtolnay/thiserror/commit/d2a823d2ae25dab21311b1572b6c50d20cf11646"><code>d2a823d</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/thiserror/issues/343">#343</a>
from dtolnay/unnamed</li>
<li><a
href="https://github.com/dtolnay/thiserror/commit/b3bf7a6f69d58c2bfc01a9137fb7b239c88d1ec3"><code>b3bf7a6</code></a>
Add logic to determine whether unnamed fmt arguments are present</li>
<li><a
href="https://github.com/dtolnay/thiserror/commit/490f9c017b7434c7ac1f1f8ee14fd062a7293d8a"><code>490f9c0</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/thiserror/issues/342">#342</a>
from dtolnay/synfull</li>
<li><a
href="https://github.com/dtolnay/thiserror/commit/7daf1b169d4daed1f2d2765b36726a0ddc29c01c"><code>7daf1b1</code></a>
Defer is_syn_full() call until first expression</li>
<li><a
href="https://github.com/dtolnay/thiserror/commit/c92ac9940b5a40b0c43a7f9c92d2e45c0a883c93"><code>c92ac99</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/thiserror/issues/341">#341</a>
from dtolnay/parsescan</li>
<li><a
href="https://github.com/dtolnay/thiserror/commit/40a53f7f338e8cca0a3e589d01a19457c4794cc0"><code>40a53f7</code></a>
Interleave Expr parsing and scanning better</li>
<li><a
href="https://github.com/dtolnay/thiserror/commit/925f2dde771de0be96f9e6402f8bf5d06f523ebc"><code>925f2dd</code></a>
Release 1.0.67</li>
<li>Additional commits viewable in <a
href="https://github.com/dtolnay/thiserror/compare/1.0.0...1.0.68">compare
view</a></li>
</ul>
</details>
<br />


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)


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wolfgang Welz <[email protected]>
  • Loading branch information
dependabot[bot] and Wollac authored Nov 6, 2024
1 parent 27ffcc4 commit 89c6e2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ serde_json = "1.0"
sha2 = { version = "0.10" }
stability = "0.2"
test-log = "0.2.15"
thiserror = "1.0"
thiserror = "2.0"
tokio = { version = "1.35" }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
url = { version = "2.5" }
2 changes: 1 addition & 1 deletion examples/token-stats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ token-stats-methods = { path = "methods" }
once_cell = "1.19"
rlp = "0.5.2"
serde = "1.0"
thiserror = "1.0"
thiserror = "2.0"
tokio = { version = "1.35", features = ["full"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
url = { version = "2.5" }
Expand Down

0 comments on commit 89c6e2d

Please sign in to comment.