Skip to content

Commit 2009e61

Browse files
authored
cms: remove alloc feature (#1566)
The crate has a hard dependency on liballoc, so it shouldn't be feature-gated
1 parent b96d69e commit 2009e61

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cms/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ tokio = { version = "1.40.0", features = ["macros", "rt"] }
4545
x509-cert = { version = "=0.3.0-pre.0", features = ["pem"] }
4646

4747
[features]
48-
alloc = ["der/alloc"]
4948
std = ["der/std", "spki/std"]
5049
builder = ["aes", "async-signature", "cbc", "cipher", "rsa", "sha1", "sha2", "sha3", "signature", "std", "spki/alloc", "x509-cert/builder", "zeroize"]
5150

x509-tsp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rust-version = "1.81"
1616

1717
[dependencies]
1818
der = { version = "0.8.0-rc.0", features = ["alloc", "derive", "oid", "pem"] }
19-
cms = { version = "=0.3.0-pre.0", features = ["alloc"] }
19+
cms = { version = "=0.3.0-pre.0" }
2020
cmpv2 = { version = "=0.3.0-pre.0", features = ["alloc"] }
2121
x509-cert = { version = "=0.3.0-pre.0", default-features = false }
2222

0 commit comments

Comments
 (0)