Skip to content

Commit d9a813f

Browse files
committed
gix: gate parking_lot behind interrupt feature
1 parent e82a13e commit d9a813f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gix/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ command = ["dep:gix-command"]
8383
status = ["gix-status", "dirwalk", "index", "blob-diff"]
8484

8585
## Utilities for interrupting computations and cleaning up tempfiles.
86-
interrupt = ["dep:signal-hook", "gix-tempfile/signals"]
86+
interrupt = ["dep:signal-hook", "gix-tempfile/signals", "dep:parking_lot"]
8787

8888
## Access to `.git/index` files.
8989
index = ["dep:gix-index"]
@@ -371,8 +371,8 @@ regex = { version = "1.6.0", optional = true, default-features = false, features
371371
"std",
372372
] }
373373

374-
# for `interrupt` module
375-
parking_lot = "0.12.1"
374+
# for `interrupt` feature
375+
parking_lot = { version = "0.12.1", optional = true }
376376

377377
document-features = { version = "0.2.0", optional = true }
378378

0 commit comments

Comments
 (0)