From 2009e61e141f02bbe8337daee436c9cbb5887eb0 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Thu, 10 Oct 2024 11:54:20 -0600 Subject: [PATCH] cms: remove `alloc` feature (#1566) The crate has a hard dependency on liballoc, so it shouldn't be feature-gated --- cms/Cargo.toml | 1 - x509-tsp/Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cms/Cargo.toml b/cms/Cargo.toml index 823ba9854..06c26bfc3 100644 --- a/cms/Cargo.toml +++ b/cms/Cargo.toml @@ -45,7 +45,6 @@ tokio = { version = "1.40.0", features = ["macros", "rt"] } x509-cert = { version = "=0.3.0-pre.0", features = ["pem"] } [features] -alloc = ["der/alloc"] std = ["der/std", "spki/std"] builder = ["aes", "async-signature", "cbc", "cipher", "rsa", "sha1", "sha2", "sha3", "signature", "std", "spki/alloc", "x509-cert/builder", "zeroize"] diff --git a/x509-tsp/Cargo.toml b/x509-tsp/Cargo.toml index 74e0e236f..d86b90d15 100644 --- a/x509-tsp/Cargo.toml +++ b/x509-tsp/Cargo.toml @@ -16,7 +16,7 @@ rust-version = "1.81" [dependencies] der = { version = "0.8.0-rc.0", features = ["alloc", "derive", "oid", "pem"] } -cms = { version = "=0.3.0-pre.0", features = ["alloc"] } +cms = { version = "=0.3.0-pre.0" } cmpv2 = { version = "=0.3.0-pre.0", features = ["alloc"] } x509-cert = { version = "=0.3.0-pre.0", default-features = false }