#skip-list #lock-free #set #map #thread-safe

no-std crossbeam-skiplist-pr1132

A concurrent skip list

7 releases

0.1.9 Oct 16, 2024
0.1.8 Oct 14, 2024
0.1.6 Sep 9, 2024

#374 in Concurrency

Download history 211/week @ 2024-08-30 303/week @ 2024-09-06 280/week @ 2024-09-13 32/week @ 2024-09-20 98/week @ 2024-09-27 167/week @ 2024-10-04 435/week @ 2024-10-11 120/week @ 2024-10-18 344/week @ 2024-10-25 149/week @ 2024-11-01 45/week @ 2024-11-08 121/week @ 2024-11-15 102/week @ 2024-11-22 11/week @ 2024-11-29

357 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

380KB
6K SLoC

Crossbeam Skiplist

This is a fork of the crossbeam-skiplist crate, which is a concurrent skip list implementation to allow lookups can be customized. The PR https://github.com/crossbeam-rs/crossbeam/pull/1132 has not been merged yet. Published on crates.io for temporary solution.

Build Status License Cargo Documentation Rust 1.61+ chat

This crate provides the types SkipMap and SkipSet. These data structures provide an interface similar to BTreeMap and BTreeSet, respectively, except they support safe concurrent access across multiple threads.

This crate can be used in no_std environments that implement alloc. The alloc feature of this crate needs to be enabled in no_std environments.

Usage

Add this to your Cargo.toml:

[dependencies]
crossbeam-skiplist = "0.1"

Compatibility

Crossbeam Skiplist supports stable Rust releases going back at least six months, and every time the minimum supported Rust version is increased, a new minor version is released. Currently, the minimum supported Rust version is 1.61.

License

Licensed under either of

at your option.

Contribution

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.

Dependencies