weak_lists/lib.rs
1//! This crate provides list types that hold weak references to their elements. These
2//! lists allow concurrent iteration over and modification of the lists with reasonable
3//! outcomes.
4
5#![no_std]
6extern crate alloc;
7
8#[cfg(feature = "sync")]
9pub mod sync;
10pub mod unsync;
11
12#[cfg(feature = "sync")]
13pub use sync::{SyncWeakList, SyncWeakListElement};
14pub use unsync::{WeakList, WeakListElement};