tag | c03c305107ba429e549e0221b904d4f6c5e4f6e8 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Feb 18 09:58:21 2021 -0800 |
object | d5a24c8ef3518f60b31e6a93ae127d8f5d072421 |
Android S Preview 1
commit | d5a24c8ef3518f60b31e6a93ae127d8f5d072421 | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Fri Feb 12 21:19:05 2021 -0800 |
committer | Bob Badour <bbadour@google.com> | Fri Feb 12 21:19:05 2021 -0800 |
tree | 8ae31ce045aaf7f59d8093bfde19649623f24266 | |
parent | 8dc097a2c65a086aab839323d7549a4e78c6ff63 [diff] |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/intrusive-collections Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I8f8e36271548ee96f2db7aba0841783dc2aa9bc2
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.