Cargo Features

[dependencies]
multihash = { version = "0.19.1", default-features = false, features = ["std", "alloc", "arb", "scale-codec", "serde-codec", "serde"] }
default = std

The std feature is set by default whenever multihash is added without default-features = false somewhere in the dependency tree.

std default = alloc

Enables std of unsigned-varint ^0.7.1

alloc std
arb

Enables arbitrary, quickcheck, and rand

scale-codec

Enables parity-scale-codec

serde-codec = serde

Deprecated, don't use.

serde serde-codec?

Enables serde