0.2.0
·
93 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
-
Rewrite
Arcbased onstd::sync::Arc's implementation. (#142)This fixes accidental API differences with std (#139, #140) and adds many missing APIs compared to std:
- Add
Arc::{downcast, into_inner, make_mut, new_cyclic}(#142) - Implement
{fmt::Display, fmt::Pointer, Error, From<T>, From<Box<T>>, From<Cow<'a,T>>, AsFd, AsRawFd, AsHandle, AsSocket}forArc<T>(#142, 78690d7, aba0930) - Implement
{From<&[T]>, From<Vec<T>>, From<[T; N]>, FromIterator<T>}forArc<[T]>(#142, 5e9f693) - Implement
TryFrom<Arc<[T]>>forArc<[T; N]>(#142) - Implement
From<Arc<str>>forArc<[u8]>(#142) - Implement
{From<&str>, From<String>}forArc<str>(#142) - Implement
{Read, Write, Seek}forArc<File>(591ece5) - Remove
T: UnwindSafebound fromimpl UnwindSafe for Arc<T>(#142)
- Add
-
Add
task::Wake. (#145)This is equivalent to
std::task::Wake, but usingportable_atomic_util::Arcas a reference-counted pointer. -
Respect
RUSTC_WRAPPERin rustc version detection.