Skip to content

Commit 7ff340c

Browse files
Use dep: syntax to avoid implicit features. (#1099)
The only real externally visible feature should be `parallel` and not the implicit features for the optional dependencies.
1 parent 98adccc commit 7ff340c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ once_cell = { version = "1.19", optional = true }
2929
libc = { version = "0.2.62", default-features = false, optional = true }
3030

3131
[features]
32-
parallel = ["libc", "jobserver", "once_cell"]
32+
parallel = ["dep:libc", "dep:jobserver", "dep:once_cell"]
3333

3434
[dev-dependencies]
3535
tempfile = "3"

0 commit comments

Comments
 (0)