Skip to content

Commit

Permalink
cms: use dep: syntax for builder feature in Cargo.toml (#1567)
Browse files Browse the repository at this point in the history
Gets rid of implicit features for each optional dependency
  • Loading branch information
tarcieri authored Oct 10, 2024
1 parent fb85068 commit d979dd6
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion cms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d979dd6

Please sign in to comment.