Skip to content

Commit

Permalink
fix: make alloc without std work (#377)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vmx authored Dec 6, 2024
1 parent 5709099 commit 03f84e9
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 @@ -18,7 +18,7 @@ rust-version = "1.64"
[features]
default = ["std"]
std = ["unsigned-varint/std", "alloc"]
alloc = []
alloc = ["core2/alloc"]
arb = ["dep:quickcheck", "dep:rand", "dep:arbitrary"]
scale-codec = ["dep:parity-scale-codec"]
serde-codec = ["serde"] # Deprecated, don't use.
Expand Down

0 comments on commit 03f84e9

Please sign in to comment.