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