Bug: 300202401

Clone this repo:
  1. fdf576c Migrate 25 crates to monorepo by James Farrell · 4 months ago main master
  2. 0008668 Make LICENSE-APACHE match crate archive. by James Farrell · 4 months ago
  3. d2d7297 Generate license header with cargo_embargo. am: c9ddf744c3 by Andrew Walbran · 6 months ago
  4. c9ddf74 Generate license header with cargo_embargo. by Andrew Walbran · 6 months ago
  5. 4b33f69 Cleanup license metadata in external/rust/crates/arc-swap. am: 39224721e1 by Wei Li · 6 months ago

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.