commit | 39c858937a3038086cc6e74824ccd7956bb2e53a | [log] [tgz] |
---|---|---|
author | Scott Lobdell <slobdell@google.com> | Tue Feb 23 11:55:05 2021 -0800 |
committer | Scott Lobdell <slobdell@google.com> | Tue Feb 23 11:55:05 2021 -0800 |
tree | 8ae31ce045aaf7f59d8093bfde19649623f24266 | |
parent | 3935e2a51b379ca59af4c17acc25901840d11bf0 [diff] | |
parent | 342196a85cb0b9ca8e6c2a66075c657f6010c96c [diff] |
Merge SP1A.210222.001 Change-Id: I6be91f95e293664b620398a7dadf5ef9d16e95c9
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.