From 7ff340c5172920d7b3d090de9444aa60d7980569 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 21 Jun 2024 16:18:02 +0700 Subject: [PATCH] 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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 83e857d5..3197bced 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ once_cell = { version = "1.19", optional = true } libc = { version = "0.2.62", default-features = false, optional = true } [features] -parallel = ["libc", "jobserver", "once_cell"] +parallel = ["dep:libc", "dep:jobserver", "dep:once_cell"] [dev-dependencies] tempfile = "3"