Skip to content

Commit

Permalink
fix: make alloc without std work
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 committed Dec 6, 2024
1 parent 4c0ef52 commit da6f3db
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 da6f3db

Please sign in to comment.