Skip to content

Commit

Permalink
Re-export crossbeam-skiplist in crossbeam crate
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jul 23, 2022
1 parent dd78410 commit 9b450f4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ cfg_if! {

#[doc(inline)]
pub use crossbeam_queue as queue;

#[doc(inline)]
pub use crossbeam_skiplist as skiplist;
}
}

Expand Down

0 comments on commit 9b450f4

Please sign in to comment.