Skip to content

Commit

Permalink
fix: the arb feature needs more multihash features (#133)
Browse files Browse the repository at this point in the history
The `arb` feature of CID requires the default code table of `multihash`,
hence the `multihash-impl` feature of `multihash` needs to be enabled.
  • Loading branch information
vmx committed Jan 9, 2023
1 parent 8b9b30e commit ceca4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version = "1.60"
default = ["std", "multihash/default"]
std = ["multihash/std", "unsigned-varint/std", "alloc", "multibase/std", "serde/std"]
alloc = ["multibase", "multihash/alloc", "core2/alloc", "serde/alloc"]
arb = ["quickcheck", "rand", "multihash/arb", "multihash/sha2", "arbitrary"]
arb = ["quickcheck", "rand", "multihash/arb", "multihash/multihash-impl", "multihash/sha2", "arbitrary"]
scale-codec = ["parity-scale-codec", "multihash/scale-codec"]
serde-codec = ["alloc", "serde", "multihash/serde-codec", "serde_bytes"]

Expand Down

0 comments on commit ceca4d9

Please sign in to comment.