lib.rs
Mar 23, 2024Atomically swappable Arc | Rust/Cargo package. 4,746,813 downloads per month Used in 1,836 crates (198 directly). MIT/Apache. 185KB 2K SLoC ArcSwap. This provides something similar to what RwLock<Arc<T>> is or what Atomic<Arc<T>> would be if it existed, optimized for read-mostly write-seldom scenarios, with consistent performance characteristics.. Read the documentation before using.