summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml7
1 files changed, 5 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 1b0525b..45020c2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,5 +17,8 @@ categories = ["concurrency"]
thread_local = "1"
once_cell = "1"
lock_api = "0.4"
-parking_lot = "0.12"
-spin = "0.9"
+parking_lot = { version = "0.12", optional = true }
+spin = { version = "0.9", optional = true }
+
+[features]
+default = ["parking_lot"]