Skip to content

Releases: robofinch/generic-container

v0.2.2

Choose a tag to compare

@robofinch robofinch released this 16 Aug 17:46

Implement RcRefCellLike and FragileRcLike for ArcRwLockKind and ArcMutexKind (and fix some documentation).

thread-checked-lock v0.1.1

Choose a tag to compare

Fixed minor error in package metadata

thread-checked-lock v0.1.0

Choose a tag to compare

Provides a ThreadCheckedMutex<T> type. Attempting acquire a ThreadCheckedMutex<T> two times on the same thread (without dropping the guard from the first attempt) is a graceful error, instead of a fatal panic or deadlock.

generic-container v0.2.1

Choose a tag to compare

Document the kinds feature in the same list as generic-container's other features.

generic-container v0.2.0

Choose a tag to compare

Several container kinds and container kind traits are now provided.

generic-container v0.1.1

Choose a tag to compare

Fixed some minor bugs, including with Rc<RefCell<T>> vs CheckedRcRefCell<T> and a minor error in the package metadata.

Additionally, docs.rs should now show more information about what's gated behind a feature.

generic-container v0.1.0

Choose a tag to compare

The generic-container crate provides interfaces for abstracting over a "container" holding a value of some type T, as well as container implementations for relevant types in the standard library, for CheckedRcRefCell<T> (defined in this crate), and for Arc<ThreadCheckedMutex<T>> (from the thread-checked-lock crate).

A wrapper type GenericContainer<T, C> is also provided for use in blanket implementations in a way that avoids conflicting trait implementations.