Skip to content

Commit

Permalink
Bump once_cell from 1.10.0 to 1.11.0 (#2081)
Browse files Browse the repository at this point in the history
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.10.0 to 1.11.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/matklad/once_cell/blob/master/CHANGELOG.md">once_cell's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>Unreleased</h2>
<ul>
<li></li>
</ul>
<h2>1.11</h2>
<ul>
<li>Add <code>OnceCell::with_value</code> to create initialized <code>OnceCell</code> in <code>const</code> context.</li>
<li>Improve <code>Clone</code> implementation for <code>OnceCell</code>.</li>
<li>Rewrite <code>parking_lot</code> version on top of <code>parking_lot_core</code>, for even smaller cells!</li>
</ul>
<h2>1.10</h2>
<ul>
<li>upgrade <code>parking_lot</code> to <code>0.12.0</code> (note that this bumps MSRV with <code>parking_lot</code> feature enabled to <code>1.49.0</code>).</li>
</ul>
<h2>1.9</h2>
<ul>
<li>Added an <code>atomic-polyfill</code> optional dependency to compile <code>race</code> on platforms without atomics</li>
</ul>
<h2>1.8.0</h2>
<ul>
<li>Add <code>try_insert</code> API -- a version of <code>set</code> that returns a reference.</li>
</ul>
<h2>1.7.2</h2>
<ul>
<li>Improve code size when using parking_lot feature.</li>
</ul>
<h2>1.7.1</h2>
<ul>
<li>Fix <code>race::OnceBox&lt;T&gt;</code> to also impl <code>Default</code> even if <code>T</code> doesn't impl <code>Default</code>.</li>
</ul>
<h2>1.7.0</h2>
<ul>
<li>Hide the <code>race</code> module behind (default) <code>race</code> feature.
Turns out that adding <code>race</code> by default was a breaking change on some platforms without atomics.
In this release, we make the module opt-out.
Technically, this is a breaking change for those who use <code>race</code> with <code>no_default_features</code>.
Given that the <code>race</code> module itself only several days old, the breakage is deemed acceptable.</li>
</ul>
<h2>1.6.0</h2>
<ul>
<li>Add <code>Lazy::into_value</code></li>
<li>Stabilize <code>once_cell::race</code> module for &quot;first one wins&quot; no_std-compatible initialization flavor.</li>
<li>Migrate from deprecated <code>compare_and_swap</code> to <code>compare_exchange</code>.</li>
</ul>
<h2>1.5.2</h2>
<ul>
<li><code>OnceBox</code> API uses <code>Box&lt;T&gt;</code>.
This a breaking change to unstable API.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/matklad/once_cell/commit/12f283fd8dff990bc1b6fe4b7bf2e2e348aa8b86"><code>12f283f</code></a> Merge <a href="https://github-redirect.dependabot.com/matklad/once_cell/issues/178">#178</a></li>
<li><a href="https://github.com/matklad/once_cell/commit/443d23c74fb379da14e05ca2d96f39b49eed079b"><code>443d23c</code></a> readability</li>
<li><a href="https://github.com/matklad/once_cell/commit/39a47e32d3ce22c42392e9fedf9b0646255a74d4"><code>39a47e3</code></a> release 1.11.0</li>
<li><a href="https://github.com/matklad/once_cell/commit/5386606ec4a8f9dcfa1124f7a7b9c23a049529be"><code>5386606</code></a> fix deadlock</li>
<li><a href="https://github.com/matklad/once_cell/commit/0067580881b0bedf860dd27f5e087c273198b0eb"><code>0067580</code></a> use exchange_weak</li>
<li><a href="https://github.com/matklad/once_cell/commit/662fcf9784b9f54af9b2b904bba1f3ad675cc79d"><code>662fcf9</code></a> replace parking_lot with parking_lot_core</li>
<li><a href="https://github.com/matklad/once_cell/commit/b57c77415b1146859402dcb905850fe9f44b7bb6"><code>b57c774</code></a> Merge <a href="https://github-redirect.dependabot.com/matklad/once_cell/issues/175">#175</a></li>
<li><a href="https://github.com/matklad/once_cell/commit/580fb726679a7d3b233c631f4cc05725596ccf27"><code>580fb72</code></a> Note that Acquire/Release is necessary in OnceBox</li>
<li><a href="https://github.com/matklad/once_cell/commit/7d45ce0a1e9f73b33a3ad7464724b6f38db90a1f"><code>7d45ce0</code></a> Explain the atomic orderings used in race</li>
<li><a href="https://github.com/matklad/once_cell/commit/090caea92f21ecba71b743c1c636f3fe9d14b598"><code>090caea</code></a> Merge <a href="https://github-redirect.dependabot.com/matklad/once_cell/issues/170">#170</a></li>
<li>Additional commits viewable in <a href="https://github.com/matklad/once_cell/compare/v1.10.0...v1.11.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=once_cell&package-manager=cargo&previous-version=1.10.0&new-version=1.11.0)](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>
  • Loading branch information
dependabot[bot] committed May 20, 2022
1 parent 456da49 commit fcf456e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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 boa_engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ chrono = "0.4.19"
fast-float = "0.2.0"
unicode-normalization = "0.1.19"
dyn-clone = "1.0.5"
once_cell = "1.10.0"
once_cell = "1.11.0"
tap = "1.0.1"
icu = "0.5.0"

Expand Down
2 changes: 1 addition & 1 deletion boa_profiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ profiler = ["measureme", "once_cell"]

[dependencies]
measureme = { version = "10.0.0", optional = true }
once_cell = { version = "1.10.0", optional = true }
once_cell = { version = "1.11.0", optional = true }
2 changes: 1 addition & 1 deletion boa_tester/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ serde_yaml = "0.8.24"
serde_json = "1.0.81"
bitflags = "1.3.2"
regex = "1.5.5"
once_cell = "1.10.0"
once_cell = "1.11.0"
colored = "2.0.0"
fxhash = "0.2.1"
num-format = "0.4.0"
Expand Down

0 comments on commit fcf456e

Please sign in to comment.