#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

#339 in Concurrency

Download history 248/week @ 2024-09-01 395/week @ 2024-09-08 169/week @ 2024-09-15 23/week @ 2024-09-22 97/week @ 2024-09-29 203/week @ 2024-10-06 440/week @ 2024-10-13 271/week @ 2024-10-20 188/week @ 2024-10-27 114/week @ 2024-11-03 115/week @ 2024-11-10 72/week @ 2024-11-17

512 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