Skip to content

Commit

Permalink
[chore(cargo)](deps): bump moka from 0.12.3 to 0.12.4 (#525)
Browse files Browse the repository at this point in the history
Bumps [moka](https://github.com/moka-rs/moka) from 0.12.3 to 0.12.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/moka-rs/moka/blob/main/CHANGELOG.md">moka's
changelog</a>.</em></p>
<blockquote>
<h2>Version 0.12.4</h2>
<h3>Fixed</h3>
<ul>
<li>Ensure <code>crossbeam-epoch</code> to run GC when dropping a cache
(<a
href="https://redirect.github.com/moka-rs/moka/issues/384">#384</a>[gh-pull-0384]):
<ul>
<li><code>crossbeam-epoch</code> crate provides an epoch-based memory
reclamation scheme for
concurrent data structures. It is used by Moka cache to safely drop
cached
entries while they are still being accessed by other threads.</li>
<li><code>crossbeam-epoch</code> does the best to reclaim memory (drop
the entries evicted
from the cache) when the epoch is advanced. However, it does not
guarantee that
memory will be reclaimed immediately after the epoch is advanced. This
means
that entries can remain in the memory for a while after the cache is
dropped.</li>
<li>This fix ensures that, when a cache is dropped, the epoch is
advanced and
<code>crossbeam-epoch</code>'s thread local buffers are flushed, helping
to reclaim memory
immediately.</li>
<li>Note that there are still chances that some entries remain in the
memory for a
while after a cache is dropped. We are looking for alternatives to
<code>crossbeam-epoch</code> to improve this situation (e.g. <a
href="https://redirect.github.com/moka-rs/moka/issues/385">#385</a>[gh-issue-0385]).</li>
</ul>
</li>
</ul>
<h3>Added</h3>
<ul>
<li>Added an example for reinserting expired entries to the cache.
(<a
href="https://redirect.github.com/moka-rs/moka/issues/382">#382</a>[gh-pull-0382])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/moka-rs/moka/commit/2e904db29b925cb1ddf41b410a6d059c4298ebf4"><code>2e904db</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/386">#386</a> from
moka-rs/prepare-0.12.4</li>
<li><a
href="https://github.com/moka-rs/moka/commit/a8bace71a0f24ff9de91d2b320869db4b91ad95c"><code>a8bace7</code></a>
Update the version in some doc comments</li>
<li><a
href="https://github.com/moka-rs/moka/commit/1c1d32e5e6c199c750ec9b437f5b36b0906667b3"><code>1c1d32e</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/387">#387</a> from
moka-rs/stabilize-flaky-drop-cache-test</li>
<li><a
href="https://github.com/moka-rs/moka/commit/865c68098c17e90afeeefae708945ab991d9ebc9"><code>865c680</code></a>
CI: Stabilize <code>ensure_gc_runs_when_dropping_cache</code> test for
<code>sync::Cache</code></li>
<li><a
href="https://github.com/moka-rs/moka/commit/22a994463a908da01bcbf6dff68f42fb1caa24e9"><code>22a9944</code></a>
CI: Stabilize <code>ensure_gc_runs_when_dropping_cache</code> test for
<code>sync::Cache</code></li>
<li><a
href="https://github.com/moka-rs/moka/commit/8439fb9d2e27134dffdc34bfc967bd00e934f1c4"><code>8439fb9</code></a>
Update the change log</li>
<li><a
href="https://github.com/moka-rs/moka/commit/521193a2ab64ed6c55c19dc361471fe96cfb1d35"><code>521193a</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/382">#382</a> from
moka-rs/reinsert-example</li>
<li><a
href="https://github.com/moka-rs/moka/commit/46c5f113a5387853a3559f6df011031b9a3eb6b1"><code>46c5f11</code></a>
CI: Disable an example <code>reinsert_expired_entries_sync</code> when
testing</li>
<li><a
href="https://github.com/moka-rs/moka/commit/81477d7735bfcaee54ed91857a598665c55eff27"><code>81477d7</code></a>
CI: Disable an example <code>reinsert_expired_entries_sync</code> when
testing</li>
<li><a
href="https://github.com/moka-rs/moka/commit/b3fa860db7ccdc3ca4c71c92446e46ff873a0de8"><code>b3fa860</code></a>
CI: Disable an example <code>reinsert_expired_entries_sync</code> when
testing</li>
<li>Additional commits viewable in <a
href="https://github.com/moka-rs/moka/compare/v0.12.3...v0.12.4">compare
view</a></li>
</ul>
</details>
<br />


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


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jan 22, 2024
1 parent 32bee67 commit bd522ef
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 homestar-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ metrics-exporter-prometheus = { version = "0.12.1", default-features = false, fe
] }
metrics-util = "0.15"
miette = { version = "5.10", default-features = false, features = ["fancy"] }
moka = { version = "0.12.1", default-features = false, features = [
moka = { version = "0.12.4", default-features = false, features = [
"future",
"sync",
] }
Expand Down

0 comments on commit bd522ef

Please sign in to comment.