- No longer depend on
static_assertions
.
- Added support for serde. This is gated behind the
serde
feature.
- Added support for
triomphe::Arc
as a pointer kind. This gated behind thetriomphe
feature.
- No changes. It’s just time to commit to a stable release :).
- Fix
Send
/Sync
unsoundness inSharedPointer
. See issue #18. - Added
SharedPointer::pin()
. - Added
SharedPointer::as_ptr()
. - Updated dependencies.
- Updated to 2021 edition.
- Added support for
no_std
.
- Renamed
SharedPointerKindRc
andSharedPointerKindArc
toRcK
andArcK
, respectively.
- Minor fix in README.
- Added some functionality to
SharedPointer
that you would expect fromRc
/Arc
.- Functions:
SharedPointer::try_unwrap()
.SharedPointer::get_mut()
.SharedPointer::strong_count()
.SharedPointer::ptr_eq()
.
- Traits:
Default
.From<T>
.From<Box<T>>
.std::fmt::Pointer
.
- Functions:
- Initial release with
SharedPointer
,SharedPointerKind
,SharedPointerKindRc
, andSharedPointerKindArc
.- Functionality exposed from the underlying pointers:
deref()
,make_mut()
,clone()
.
- Functionality exposed from the underlying pointers: