commit | 342196a85cb0b9ca8e6c2a66075c657f6010c96c | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Feb 17 03:16:54 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Feb 17 03:16:54 2021 +0000 |
tree | 8ae31ce045aaf7f59d8093bfde19649623f24266 | |
parent | 9c7b7e5cb90c628aa1de0b1db57b01d8fab1e282 [diff] | |
parent | 92875c41df7041faace331c21e12e28b44f1d663 [diff] |
Snap for 7149879 from 92875c41df7041faace331c21e12e28b44f1d663 to sc-release Change-Id: I90b21150ad8abd9cf56bb7d633636a2c56fb3be0
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.