[PR #2707] [MERGED] build(deps): bump moka from 0.12.8 to 0.12.10 #3256

Closed
opened 2026-03-16 11:33:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/2707
Author: @dependabot[bot]
Created: 1/6/2025
Status: Merged
Merged: 1/6/2025
Merged by: @djc

Base: mainHead: dependabot/cargo/moka-0.12.10


📝 Commits (1)

  • a28c4ff build(deps): bump moka from 0.12.8 to 0.12.10

📊 Changes

1 file changed (+112 additions, -35 deletions)

View changed files

📝 Cargo.lock (+112 -35)

📄 Description

Bumps moka from 0.12.8 to 0.12.10.

Changelog

Sourced from moka's changelog.

Version 0.12.10

Changed

  • Disable the quanta feature by default. (#482[gh-pull-0482])
  • Replaced most uses of quanta::Instant with std::time::Instant to increase the accuracy of time measurements (#481[gh-pull-0481]):
    • When quanta feature is enabled, quanta::Instant is used for some performance critical parts in the cache, and std::time::Instant is used for the rest of the parts.
    • However, as of this version, enabling the quanta feature will not make any noticeable difference in the performance.
    • When quanta feature is disabled (default), std::time::Instant is used for all time measurements.
  • Switched to AtomicU64 of the portable-atomic crate, which provides fallback implementations for platforms where std AtomicU64 is not available (#480[gh-pull-0480]):
    • moka's atomic64 feature no longer has any effect on the build as AtomicU64 is now always available on all platforms. But we keep the atomic64 feature in Cargo.toml for backward compatibility.

Version 0.12.9

Bumped the minimum supported Rust version (MSRV) to 1.70 (June 1, 2023) (#474[gh-pull-0474]).

Fixed

  • Prevent an occasional panic in an internal to_std_instant method when per-entry expiration policy is used. (#472[gh-issue-0472])
  • Documentation: Removed leftover mentions of background threads. (#464[gh-issue-0464])
    • Also added the implementation details chapter to the crate top-level documentation to explain some internal behavior of the cache.

Added

  • Added and_try_compute_if_nobody_else method to future::Cache's entry API. (#460[gh-pull-0460], by [@​xuehaonan27][gh-xuehaonan27])

Removed

  • Removed triomphe crate from the dependency by adding our own internal Arc type. (#456[gh-pull-0456])
    • Our Arc will be more memory efficient than std::sync::Arc or triomphe::Arc on 64-bit platforms as it uses a single AtomicU32 counter.
  • Removed needless traits along with async-trait usage. (#445[gh-pull-0445], by [@​Swatinem][gh-Swatinem])

... (truncated)

Commits
  • de0b2d6 Merge pull request #483 from moka-rs/prepare-v0-12-10
  • c7aec09 Update the README; remove a broken link to the troubleshooting section
  • 101e3a9 Merge pull request #482 from moka-rs/disable-quanta-by-default
  • 9764df5 Merge pull request #481 from moka-rs/increase-time-accuracy
  • 5d03e02 Minor tweaks in the clock module
  • 5dbd7ab Merge pull request #480 from moka-rs/portable-atomic
  • f7d2d29 Update the change log
  • 0a6b6a4 Disable the quanta feature by default
  • d22f4f3 Update the change log
  • 668bdc0 Remove commented out codes
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/2707 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 1/6/2025 **Status:** ✅ Merged **Merged:** 1/6/2025 **Merged by:** [@djc](https://github.com/djc) **Base:** `main` ← **Head:** `dependabot/cargo/moka-0.12.10` --- ### 📝 Commits (1) - [`a28c4ff`](https://github.com/hickory-dns/hickory-dns/commit/a28c4ff56ce815eba03e300e4714832af5c598f8) build(deps): bump moka from 0.12.8 to 0.12.10 ### 📊 Changes **1 file changed** (+112 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+112 -35) </details> ### 📄 Description Bumps [moka](https://github.com/moka-rs/moka) from 0.12.8 to 0.12.10. <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.10</h2> <h3>Changed</h3> <ul> <li>Disable the <code>quanta</code> feature by default. (<a href="https://redirect.github.com/moka-rs/moka/issues/482">#482</a>[gh-pull-0482])</li> <li>Replaced most uses of <code>quanta::Instant</code> with <code>std::time::Instant</code> to increase the accuracy of time measurements (<a href="https://redirect.github.com/moka-rs/moka/issues/481">#481</a>[gh-pull-0481]): <ul> <li>When <code>quanta</code> feature is enabled, <code>quanta::Instant</code> is used for some performance critical parts in the cache, and <code>std::time::Instant</code> is used for the rest of the parts.</li> <li>However, as of this version, enabling the <code>quanta</code> feature will not make any noticeable difference in the performance.</li> <li>When <code>quanta</code> feature is disabled (default), <code>std::time::Instant</code> is used for all time measurements.</li> </ul> </li> <li>Switched to <code>AtomicU64</code> of the <code>portable-atomic</code> crate, which provides fallback implementations for platforms where <code>std</code> <code>AtomicU64</code> is not available (<a href="https://redirect.github.com/moka-rs/moka/issues/480">#480</a>[gh-pull-0480]): <ul> <li><code>moka</code>'s <code>atomic64</code> feature no longer has any effect on the build as <code>AtomicU64</code> is now always available on all platforms. But we keep the <code>atomic64</code> feature in <code>Cargo.toml</code> for backward compatibility.</li> </ul> </li> </ul> <h2>Version 0.12.9</h2> <p>Bumped the minimum supported Rust version (MSRV) to 1.70 (June 1, 2023) (<a href="https://redirect.github.com/moka-rs/moka/issues/474">#474</a>[gh-pull-0474]).</p> <h3>Fixed</h3> <ul> <li>Prevent an occasional panic in an internal <code>to_std_instant</code> method when per-entry expiration policy is used. (<a href="https://redirect.github.com/moka-rs/moka/issues/472">#472</a>[gh-issue-0472])</li> <li>Documentation: Removed leftover mentions of background threads. (<a href="https://redirect.github.com/moka-rs/moka/issues/464">#464</a>[gh-issue-0464]) <ul> <li>Also added the implementation details chapter to the crate top-level documentation to explain some internal behavior of the cache.</li> </ul> </li> </ul> <h3>Added</h3> <ul> <li>Added <code>and_try_compute_if_nobody_else</code> method to <code>future::Cache</code>'s <code>entry</code> API. (<a href="https://redirect.github.com/moka-rs/moka/issues/460">#460</a>[gh-pull-0460], by [<a href="https://github.com/xuehaonan27"><code>@​xuehaonan27</code></a>][gh-xuehaonan27])</li> </ul> <h3>Removed</h3> <ul> <li>Removed <code>triomphe</code> crate from the dependency by adding our own internal <code>Arc</code> type. (<a href="https://redirect.github.com/moka-rs/moka/issues/456">#456</a>[gh-pull-0456]) <ul> <li>Our <code>Arc</code> will be more memory efficient than <code>std::sync::Arc</code> or <code>triomphe::Arc</code> on 64-bit platforms as it uses a single <code>AtomicU32</code> counter.</li> </ul> </li> <li>Removed needless traits along with <code>async-trait</code> usage. (<a href="https://redirect.github.com/moka-rs/moka/issues/445">#445</a>[gh-pull-0445], by [<a href="https://github.com/Swatinem"><code>@​Swatinem</code></a>][gh-Swatinem])</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/moka-rs/moka/commit/de0b2d6092b3ee6beb4286ccb370ab0d46df7168"><code>de0b2d6</code></a> Merge pull request <a href="https://redirect.github.com/moka-rs/moka/issues/483">#483</a> from moka-rs/prepare-v0-12-10</li> <li><a href="https://github.com/moka-rs/moka/commit/c7aec0997f3d00dcf35c852cc61b336d5c598ca3"><code>c7aec09</code></a> Update the README; remove a broken link to the troubleshooting section</li> <li><a href="https://github.com/moka-rs/moka/commit/101e3a9257065e40197e65f93fc3b80159408d74"><code>101e3a9</code></a> Merge pull request <a href="https://redirect.github.com/moka-rs/moka/issues/482">#482</a> from moka-rs/disable-quanta-by-default</li> <li><a href="https://github.com/moka-rs/moka/commit/9764df59a81ea366a4b9f22c254b82ce0daec0a7"><code>9764df5</code></a> Merge pull request <a href="https://redirect.github.com/moka-rs/moka/issues/481">#481</a> from moka-rs/increase-time-accuracy</li> <li><a href="https://github.com/moka-rs/moka/commit/5d03e029324e0baad4344c17ff7ed78614c64a02"><code>5d03e02</code></a> Minor tweaks in the clock module</li> <li><a href="https://github.com/moka-rs/moka/commit/5dbd7abf550a2701efeda5e9d7e1410cf222301f"><code>5dbd7ab</code></a> Merge pull request <a href="https://redirect.github.com/moka-rs/moka/issues/480">#480</a> from moka-rs/portable-atomic</li> <li><a href="https://github.com/moka-rs/moka/commit/f7d2d296477f2baaf25318fff516bdc3439c32c6"><code>f7d2d29</code></a> Update the change log</li> <li><a href="https://github.com/moka-rs/moka/commit/0a6b6a45996256329884c4223e302de16d183bbd"><code>0a6b6a4</code></a> Disable the <code>quanta</code> feature by default</li> <li><a href="https://github.com/moka-rs/moka/commit/d22f4f3bf71c664728507d8c5764f128fa96bb0b"><code>d22f4f3</code></a> Update the change log</li> <li><a href="https://github.com/moka-rs/moka/commit/668bdc01e1e143c2f111e99826bf1dd862dc920f"><code>668bdc0</code></a> Remove commented out codes</li> <li>Additional commits viewable in <a href="https://github.com/moka-rs/moka/compare/v0.12.8...v0.12.10">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.8&new-version=0.12.10)](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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:33:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#3256
No description provided.