Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump moka from 0.12.8 to 0.12.10 #3584

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2025

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)

Bumps [moka](https://github.com/moka-rs/moka) from 0.12.8 to 0.12.10.
- [Changelog](https://github.com/moka-rs/moka/blob/main/CHANGELOG.md)
- [Commits](moka-rs/moka@v0.12.8...v0.12.10)

---
updated-dependencies:
- dependency-name: moka
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner January 6, 2025 19:46
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 6, 2025
Copy link
Contributor

@divviup-github-automation divviup-github-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approving dependabot PR.

@divviup-github-automation divviup-github-automation enabled auto-merge (squash) January 6, 2025 19:46
@divviup-github-automation divviup-github-automation merged commit a34bf95 into main Jan 6, 2025
9 checks passed
@divviup-github-automation divviup-github-automation deleted the dependabot/cargo/main/moka-0.12.10 branch January 6, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant