commit | 0bd24eb4865330683862f038ac36fd6578bd4782 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Wed Nov 08 21:34:21 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Nov 08 21:34:21 2023 +0000 |
tree | a1cc9a60540936977e4bd79b8bd0126ef37c530f | |
parent | a82245d18f1a6e53417b1342955cc664c7fef9b9 [diff] | |
parent | 0d6eeac96d9b6ae380cee081e9951136f4e037ac [diff] |
Migrate to cargo_embargo. am: 0aefcc3f65 am: a93951caca am: 0d6eeac96d Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/arc-swap/+/2822394 Change-Id: I1719d633fef3094f4191c48929887b1812d42af7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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.