commit | 5c2ecf697c28804493e5652567b736005f7329ee | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Thu Feb 01 19:48:01 2024 +0100 |
committer | Jeff Vander Stoep <jeffv@google.com> | Thu Feb 01 19:48:02 2024 +0100 |
tree | d7e3d8ebbe0d976f4e36cf86e90ad2c7bbdf4a3f | |
parent | bb33b74641bd07a3541a42c020791b5716465701 [diff] |
Upgrade intrusive-collections to 0.9.6 This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update external/rust/crates/intrusive-collections For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Test: TreeHugger Change-Id: Id775bceb1d8faac6daf12d8690d2c63ca7d2eb6f
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.