Repository navigation
Releases: robofinch/generic-container
Release list
v0.2.2
thread-checked-lock v0.1.1
Fixed minor error in package metadata
thread-checked-lock v0.1.0
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
Document the kinds feature in the same list as generic-container's other features.
generic-container v0.2.0
Several container kinds and container kind traits are now provided.
generic-container v0.1.1
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
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.