Crates.io | arc-swap |
lib.rs | arc-swap |
version | 1.7.1 |
source | src |
created_at | 2018-04-16 07:00:39.250384 |
updated_at | 2024-03-23 10:40:35.441856 |
description | Atomically swappable Arc |
homepage | |
repository | https://github.com/vorner/arc-swap |
max_upload_size | |
id | 60846 |
size | 244,811 |
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.
The 1. version will build on any edition 2018 capable compiler. This does not include:
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.