Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 15, 2024

This PR contains the following updates:

Package Type Update Change
spin dependencies minor 0.5.2 -> 0.10.0

Release Notes

mvdnes/spin-rs (spin)

v0.10.0

Added
  • Mutex::try_lock_weak
  • RwLock::try_write_weak
  • RwLock::try_upgrade_weak
Changed
  • Updated MSRV to 1.60
  • Use dep: syntax in Cargo.toml
  • portable_atomic feature has been renamed to portable-atomic, for consistency.
Fixed

v0.9.8

Fixed
  • Unsoundness in Once::try_call_once caused by an Err(_) result

v0.9.7

Fixed
  • Relaxed accidentally restricted Send/Sync bounds for Mutex guards

v0.9.6

Fixed
  • Relaxed accidentally restricted Send/Sync bounds for RwLock guards

v0.9.5

Added
  • FairMutex, a new mutex implementation that reduces writer starvation.
  • A MSRV policy: Rust 1.38 is currently required
Changed
  • The crate's CI now has full MIRI integration, further improving the confidence you can have in the implementation.
Fixed
  • Ensured that the crate's abstractions comply with stacked borrows rules.
  • Unsoundness in the RwLock that could be triggered via a reader overflow
  • Relaxed various Send/Sync bound requirements to make the crate more flexible

v0.9.4

Fixed
  • Fixed unsoundness in RwLock on reader overflow
  • Relaxed Send/Sync bounds for SpinMutex and TicketMutex (doesn't affect Mutex itself)

v0.9.3

Added
  • Implemented Default for Once
  • Once::try_call_once
Fixed
  • Fixed bug that caused Once::call_once to incorrectly fail

v0.9.2

Changed
  • Improved Once performance by reducing the memory footprint of internal state to one byte
Fixed
  • Improved performance of Once by relaxing ordering guarantees and removing redundant checks

v0.9.1

Added
  • Default type parameter on Once for better ergonomics

v0.9.0

Changed
  • Placed all major API features behind feature flags
Fixed
  • A compilation bug with the lock_api feature

v0.8.0

Added
  • Once::get_unchecked
  • RelaxStrategy trait with type parameter on all locks to support switching between relax strategies
Changed
  • lock_api1 feature is now named lock_api

v0.7.1

Fixed
  • Prevented Once leaking the inner value upon drop

v0.7.0

Added
  • Once::initialized
  • Once::get_mut
  • Once::try_into_inner
  • Once::poll
  • RwLock, Mutex and Once now implement From<T>
  • Lazy type for lazy initialization
  • TicketMutex, an alternative mutex implementation
  • std feature flag to enable thread yielding instead of spinning
  • Mutex::is_locked/SpinMutex::is_locked/TicketMutex::is_locked
  • Barrier
Changed
  • Once::wait now spins even if initialization has not yet started
  • Guard::leak is now an associated function instead of a method
  • Improved the performance of SpinMutex by relaxing unnecessarily conservative
    ordering requirements

v0.6.0

Added
  • More dynamic Send/Sync bounds for lock guards
  • lock_api compatibility
  • Guard::leak methods
  • RwLock::reader_count and RwLock::writer_count
  • Display implementation for guard types
Changed
  • Made Debug impls of lock guards just show the inner type like std

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/spin-0.x branch from 48e48c4 to 66aef6b Compare March 26, 2025 21:46
@renovate renovate bot changed the title fix(deps): update rust crate spin to 0.9.0 fix(deps): update rust crate spin to 0.10.0 Mar 26, 2025
@renovate renovate bot force-pushed the renovate/spin-0.x branch from 66aef6b to a8108d6 Compare September 25, 2025 18:28
@renovate
Copy link
Contributor Author

renovate bot commented Sep 25, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package [email protected] --precise 0.10.0
error: failed to acquire package cache lock

Caused by:
  failed to open: /home/ubuntu/.cargo/.package-cache

Caused by:
  failed to create directory `/home/ubuntu/.cargo`

Caused by:
  File exists (os error 17)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants