arc-swap-for-cow

Crates.ioarc-swap-for-cow
lib.rsarc-swap-for-cow
version1.7.1
sourcesrc
created_at2024-07-12 00:39:57.257459
updated_at2024-07-12 00:39:57.257459
descriptionAtomically swappable Arc
homepage
repositoryhttps://github.com/vorner/arc-swap
max_upload_size
id1300137
size248,380
Johnathan Sharratt (john-sharratt)

documentation

https://docs.rs/arc-swap

README

ArcSwap

Actions Status codecov docs

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

The 1. version will build on any edition 2018 capable compiler. This does not include:

  • Tests. Tests build and run on recent compilers, mostly because of dependencies.
  • Additional feature flags. Most feature flags are guaranteed to build since the version they are introduced. Experimental features are without any guarantees.

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.

Commit count: 358

cargo fmt