commit | 725dc4a203cabebe864899795607cdda37206a8c | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Fri Apr 09 01:05:26 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Apr 09 01:05:26 2021 +0000 |
tree | 0e273e52ab877b277ceb9bee0ad25b6004dff990 | |
parent | 342196a85cb0b9ca8e6c2a66075c657f6010c96c [diff] | |
parent | 1250396e78683b382cac6ae23db1db2f782c0ecf [diff] |
Snap for 7269314 from 1250396e78683b382cac6ae23db1db2f782c0ecf to sc-release Change-Id: Iad5e8c84800ca1f2c9ebcf69841da7673ebd0c00
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.