Skip to content

Commit

Permalink
fix(primitives): reduce cid feature set
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jmg-duarte committed Jan 23, 2025
1 parent b098815 commit 6dd90c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 6dd90c8

Please sign in to comment.