Skip to content

Commit 88ba262

Browse files
committed
fix: make alloc without std work
During the refactor at 954e523 the ability to compile the `multihash` crate with `alloc` but without `std` was lost. Now it works again. Fixes #375.
1 parent 5709099 commit 88ba262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ rust-version = "1.64"
1818
[features]
1919
default = ["std"]
2020
std = ["unsigned-varint/std", "alloc"]
21-
alloc = []
21+
alloc = ["core2/alloc"]
2222
arb = ["dep:quickcheck", "dep:rand", "dep:arbitrary"]
2323
scale-codec = ["dep:parity-scale-codec"]
2424
serde-codec = ["serde"] # Deprecated, don't use.

0 commit comments

Comments
 (0)