commit | dd73a2429bde3bdde0b7aa93bed55037442c8131 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Thu May 20 13:49:13 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu May 20 13:49:13 2021 +0000 |
tree | 4c96b5958596e7a1c93876d817da76c568e20ddd | |
parent | 9ec1282509e4fa762f8c29f81d3e8ea52d4b7b9f [diff] | |
parent | 4ec4df44521b2a3b0dd8b643ff1f3bb5be5e2c62 [diff] |
Upgrade rust/crates/intrusive-collections to 0.9.1 am: 99d7a5188a am: 3cf06e04e5 am: 6c6796b9a7 am: 4ec4df4452 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/intrusive-collections/+/1712909 Change-Id: Idf41267541bc0266e16b9b4e8b90e93bf10a6920
A Rust library for creating intrusive collections. Currently supports singly-linked and doubly-linked lists, as well as red-black trees.
#[no_std]
.Cursor
-based interface, which allows safe mutation while iterating.For examples and more information, see the documentation (crates.io, master).
Add this to your Cargo.toml
:
[dependencies] intrusive-collections = "0.9"
This crate has two Cargo features:
nightly
: Enables nightly-only features: const fn
constructors for collections (Link
constructors are always const fn
)alloc
(enabled by default): Implements IntrusivePointer
for Box
, Rc
and Arc
.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.