Skip to content

Commit d979dd6

Browse files
authored
cms: use dep: syntax for builder feature in Cargo.toml (#1567)
Gets rid of implicit features for each optional dependency
1 parent fb85068 commit d979dd6

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

cms/Cargo.toml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,21 @@ x509-cert = { version = "=0.3.0-pre.0", features = ["pem"] }
4646

4747
[features]
4848
std = ["der/std", "spki/std"]
49-
builder = ["aes", "async-signature", "cbc", "cipher", "rsa", "sha1", "sha2", "sha3", "signature", "std", "spki/alloc", "x509-cert/builder", "zeroize"]
49+
builder = [
50+
"dep:aes",
51+
"dep:async-signature",
52+
"dep:cbc",
53+
"dep:cipher",
54+
"dep:rsa",
55+
"dep:sha1",
56+
"dep:sha2",
57+
"dep:sha3",
58+
"dep:signature",
59+
"std",
60+
"spki/alloc",
61+
"x509-cert/builder",
62+
"dep:zeroize"
63+
]
5064

5165
[package.metadata.docs.rs]
5266
all-features = true

0 commit comments

Comments
 (0)