Skip to content

Commit

Permalink
cms: remove alloc feature (#1566)
Browse files Browse the repository at this point in the history
The crate has a hard dependency on liballoc, so it shouldn't be
feature-gated
  • Loading branch information
tarcieri authored Oct 10, 2024
1 parent b96d69e commit 2009e61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion cms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion x509-tsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down

0 comments on commit 2009e61

Please sign in to comment.