#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

#308 in Concurrency

Download history 229/week @ 2024-08-31 352/week @ 2024-09-07 218/week @ 2024-09-14 34/week @ 2024-09-21 96/week @ 2024-09-28 192/week @ 2024-10-05 441/week @ 2024-10-12 261/week @ 2024-10-19 187/week @ 2024-10-26 138/week @ 2024-11-02 114/week @ 2024-11-09

736 downloads per month
Used in 2 crates

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