Skip to content

Releases: taiki-e/portable-atomic-util

0.2.7

16 Apr 15:38
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Implement serde serialization and deserialization for Arc, gated behind "serde" feature. (#2, thanks @tommasoclini)

0.2.6

14 Mar 17:41
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

portable-atomic-util has been extracted from the portable-atomic repository into its own repository: https://github.com/taiki-e/portable-atomic-util

0.2.5

14 Mar 16:17
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

0.2.4

14 Mar 16:17
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

0.2.3

14 Mar 16:16
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

0.2.2

14 Mar 16:16
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

0.2.1

14 Mar 16:15
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Support impl Error for Arc<T: Error> in no-std at Rust 1.81+. (30b9f90)

  • Implement Default for Arc<[T]> and Arc<str> at Rust 1.51+. (align to the std Arc change in Rust 1.80) (c6ee296)

  • Implement {AsFd, AsRawFd} for Arc<T> on HermitOS. (b778244)

0.2.0

14 Mar 16:14
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Rewrite Arc based on std::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} for Arc<T> (#142, 78690d7, aba0930)
    • Implement {From<&[T]>, From<Vec<T>>, From<[T; N]>, FromIterator<T>} for Arc<[T]> (#142, 5e9f693)
    • Implement TryFrom<Arc<[T]>> for Arc<[T; N]> (#142)
    • Implement From<Arc<str>> for Arc<[u8]> (#142)
    • Implement {From<&str>, From<String>} for Arc<str> (#142)
    • Implement {Read, Write, Seek} for Arc<File> (591ece5)
    • Remove T: UnwindSafe bound from impl UnwindSafe for Arc<T> (#142)
  • Add task::Wake. (#145)

    This is equivalent to std::task::Wake, but using portable_atomic_util::Arc as a reference-counted pointer.

  • Respect RUSTC_WRAPPER in rustc version detection.

0.1.5

14 Mar 16:13
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Improve offset calculation in Arc::{into_raw,as_ptr,from_ptr}. (#141, thanks @gtsiam)

0.1.4

14 Mar 16:12
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Fix a bug where Arc::{into_raw,as_ptr} returned invalid pointers for larger alignment types. (#138, thanks @notgull)