From 363f3f182e2e18335eb7ec66d98e6dc64675b8fd Mon Sep 17 00:00:00 2001 From: xacrimon Date: Sun, 6 Feb 2022 16:14:01 +0100 Subject: [PATCH] optional send guard --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1af69ca..38b8b82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,12 +13,13 @@ keywords = ["atomic", "concurrent", "hashmap"] categories = ["concurrency", "algorithms", "data-structures"] [features] -default = [] +default = ["send_guard"] raw-api = [] +send_guard = ["parking_lot/send_guard"] [dependencies] num_cpus = "1.13.0" -parking_lot = { version = "0.11.2", features = ["send_guard"] } +parking_lot = "0.11.2" serde = { version = "1.0.131", optional = true, features = ["derive"] } cfg-if = "1.0.0" rayon = { version = "1.5.1", optional = true }