|author||Victor Hsieh <email@example.com>||Tue Dec 15 13:56:43 2020 -0800|
|committer||Victor Hsieh <firstname.lastname@example.org>||Thu Jan 07 15:25:26 2021 -0800|
Import intrusive-collections from crates.io This is generated with get_rust_pkg.py, plus Android.bp, TEST_MAPPING and patches/Android.bp.patch. Test is not generated due to API changes in rand* crates. Android's version is already newer, so it requires to fix this library to make the test build. Bug: 174797066 Test: mma Test: tools/external_updater/updater.sh update --refresh --keep_date rust/crates/intrusive-collections Change-Id: If027f439d88ca585e57f2efa05ad6ac88130e8e5
A Rust library for creating intrusive collections. Currently supports singly-linked and doubly-linked lists, as well as red-black trees.
Cursor-based interface, which allows safe mutation while iterating.
Add this to your
[dependencies] intrusive-collections = "0.9"
This crate has two Cargo features:
nightly: Enables nightly-only features:
const fnconstructors for collections (
Linkconstructors are always
alloc(enabled by default): Implements
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.