commit | ad914671c7a8bc3093a0ff8800cf90314203c395 | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Fri Jul 16 02:50:33 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Jul 16 02:50:33 2021 +0000 |
tree | cae62db891e9e0ad63b89340b5167406a5675be5 | |
parent | 3fefaa7f3a4d7c88aae5a35d3267f7e8c5deb96f [diff] | |
parent | ec321240f5ff3154eda2177cb9e13dc13f581190 [diff] |
Uprev intrusive-collections to 0.9.2 am: 34c140bce8 am: ec321240f5 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/intrusive-collections/+/1769150 Change-Id: Ifc70054857b17686c4ab00f47133f645bdafdaeb
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.