From 6dd90c8fc4a9fda62f2b7ef7f72227df86e973d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Duarte?= Date: Thu, 23 Jan 2025 15:03:52 +0000 Subject: [PATCH] fix(primitives): reduce cid feature set WASM compilation of primitives was broken because we didn't depent on alloc. This was not noticeable anywhere else because of cargo's feature unification, when building the pallets, we depended directly on cid with the alloc feature, as such, when primitives was built, it already had the alloc feature. --- primitives/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 1aea3e59e..bfb842d0f 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -8,7 +8,7 @@ repository.workspace = true version = "0.1.0" [dependencies] -cid = { workspace = true } +cid = { workspace = true, default-features = false, features = ["alloc"] } clap = { workspace = true, features = ["derive"], optional = true } codec = { workspace = true, features = ["derive"] } filecoin-proofs = { workspace = true, optional = true }