26 releases

0.4.6 Apr 21, 2020
0.4.5 Mar 18, 2020
0.4.4 Nov 17, 2019
0.4.0-pre.1 Jul 14, 2019
0.3.0 Jul 23, 2018

#11 in Data structures

Download history 85193/week @ 2020-02-08 80665/week @ 2020-02-15 85225/week @ 2020-02-22 85471/week @ 2020-02-29 84765/week @ 2020-03-07 91736/week @ 2020-03-14 97301/week @ 2020-03-21 102812/week @ 2020-03-28 97329/week @ 2020-04-04 99034/week @ 2020-04-11 116760/week @ 2020-04-18 120565/week @ 2020-04-25 118178/week @ 2020-05-02 128171/week @ 2020-05-09 124092/week @ 2020-05-16 111805/week @ 2020-05-23

388,045 downloads per month
Used in 903 crates (25 directly)

Apache-2.0/MIT

135KB
1.5K SLoC

ArcSwap

Travis Build Status AppVeyor Build status

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.

Rust version policy

There's no hard policy yet. However, currently the crate builds with Rust 1.26 and is tested for that. There would have to be a very good reason to increase the required version.

License

Licensed under either of

at your option.

Contribution

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.

No runtime deps