From 3ae46d0116143fb42da3501451388042811fb36f Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 23 Jul 2022 21:55:13 +0900 Subject: [PATCH] Re-export crossbeam-skiplist in crossbeam crate --- Cargo.toml | 9 ++++++++- src/lib.rs | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 905c8ded6..caf5491d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,12 +26,13 @@ std = [ "crossbeam-deque/std", "crossbeam-epoch/std", "crossbeam-queue/std", + "crossbeam-skiplist/std", "crossbeam-utils/std", ] # Enable to use APIs that require `alloc`. # This is enabled by default and also enabled if the `std` feature is enabled. -alloc = ["crossbeam-epoch/alloc", "crossbeam-queue/alloc"] +alloc = ["crossbeam-epoch/alloc", "crossbeam-queue/alloc", "crossbeam-skiplist/alloc"] [dependencies] cfg-if = "1" @@ -60,6 +61,12 @@ path = "./crossbeam-queue" default-features = false optional = true +[dependencies.crossbeam-skiplist] +version = "0.1.0" +path = "./crossbeam-skiplist" +default-features = false +optional = true + [dependencies.crossbeam-utils] version = "0.8.5" path = "./crossbeam-utils" diff --git a/src/lib.rs b/src/lib.rs index 9bc3ec111..f16a0130a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -74,6 +74,9 @@ cfg_if! { #[doc(inline)] pub use crossbeam_queue as queue; + + #[doc(inline)] + pub use crossbeam_skiplist as skiplist; } }