optional send guard

This commit is contained in:
xacrimon 2022-02-06 16:14:01 +01:00
parent 65875265b6
commit 363f3f182e
No known key found for this signature in database
GPG Key ID: FE567F46AFBDF3AE
1 changed files with 3 additions and 2 deletions

View File

@ -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 }