From d979dd6281dc4d3debc42b127112a99618eb9a55 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Thu, 10 Oct 2024 12:29:51 -0600 Subject: [PATCH] cms: use `dep:` syntax for `builder` feature in Cargo.toml (#1567) Gets rid of implicit features for each optional dependency --- cms/Cargo.toml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/cms/Cargo.toml b/cms/Cargo.toml index f75f71ddb..d6b604e26 100644 --- a/cms/Cargo.toml +++ b/cms/Cargo.toml @@ -46,7 +46,21 @@ x509-cert = { version = "=0.3.0-pre.0", features = ["pem"] } [features] std = ["der/std", "spki/std"] -builder = ["aes", "async-signature", "cbc", "cipher", "rsa", "sha1", "sha2", "sha3", "signature", "std", "spki/alloc", "x509-cert/builder", "zeroize"] +builder = [ + "dep:aes", + "dep:async-signature", + "dep:cbc", + "dep:cipher", + "dep:rsa", + "dep:sha1", + "dep:sha2", + "dep:sha3", + "dep:signature", + "std", + "spki/alloc", + "x509-cert/builder", + "dep:zeroize" +] [package.metadata.docs.rs] all-features = true