From e8d25c9e6e7d5c3a5a14219fc77ea98760cef790 Mon Sep 17 00:00:00 2001 From: Mica White Date: Sun, 10 Mar 2024 19:40:23 -0400 Subject: Make spin and parking lot optional --- Cargo.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') 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"] -- cgit v1.2.3