commit | 92875c41df7041faace331c21e12e28b44f1d663 | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Tue Feb 16 22:08:37 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Feb 16 22:08:37 2021 +0000 |
tree | 8ae31ce045aaf7f59d8093bfde19649623f24266 | |
parent | ad5c5d74aefda8c581ddca6b71f29b991c226c30 [diff] | |
parent | 2224eb01667d7bbd0be71b7f610f5ae020d9bc24 [diff] |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/intrusive-collections am: d5a24c8ef3 am: 1f2085cf06 am: 2224eb0166 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/intrusive-collections/+/1588746 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ifbf66bdd3eda051dc8db74452d4da40ae5d2cea0
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.