All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.3.1 - 2021-10-26
with_cryo
can now take&[mut] (impl ?Sized)
(a reference to a dynamically-sized object)
0.3.0 - 2021-10-25
- Breaking (soundness fix):
Cryo<T, _>: Send
requiresT: Sync
instead ofT: Send
.CryoMut<T, _>: Send
now requiresT: Sync
in addition toT: Send
.CryoMutReadGuard<T, _>: Send
requiresT: Sync
instead ofT: Send
.
- Breaking: The
Send
/Sync
-ness ofLock
is now taken into account in trait bounds. Cryo<T, _>: Sync
no longer requiresT: Send
.CryoMutReadGuard<T, _>: Sync
no longer requiresT: Send
.CryoMutWriteGuard<T, _>: Sync
ifT: Sync
.- Breaking (soundness fix): Remove
cryo!
0.2.7 - 2021-10-25
- Deprecate 0.2.x because of numerous soundness bugs that require breaking fixes
0.2.6 - 2021-09-11
- Update
README.md
0.2.4 - 2021-09-11
- Bring
with_cryo
back with an overloaded interface (one function can produce bothCryo
andCryoMut
depending on a given type). - Deprecate (soundness fix):
cryo!
0.2.3 - 2021-09-02
- Breaking (soundness fix):
{Cryo, CryoMut}::new
is nowunsafe fn
.
0.2.2 - 2021-05-08
cryo
no longer enables the default features ofstable_deref_trait
, fixing builds oncore
-only targets.
0.2.1 - 2021-04-19
- Added
AtomicLock
0.2.0 - 2021-04-18
- Breaking:
Cryo
is now generalized over lock implementations. Two implementations are provided:LocalLock
(single-threaded) andSyncLock
(borrows can be sent to other threads). You need to specify incryo!
to use the latter. - Breaking:
parking-lot
feature was removed. - Breaking:
Cryo
now utilizesstd::pin::Pin
(instead of making the constructorunsafe fn
) for pinning. Most methods now takeself: Pin<&Cryo<_, _>>
as the receiver. - Breaking:
with_cryo[_mut]
was superseded bycryo!
. - Breaking:
std
feature was added.
0.1.6 - 20xx-xx-xx
0.1.5 - 20xx-xx-xx
0.1.4 - 20xx-xx-xx
0.1.3 - 20xx-xx-xx
0.1.2 - 20xx-xx-xx
0.1.1 - 20xx-xx-xx
- Initial release.