Cargo Features

[dependencies]
multihash = { version = "0.19.3", 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

alloc std

Enables alloc of core2

arb

Enables arbitrary, quickcheck, and rand

scale-codec

Enables parity-scale-codec

serde-codec = serde

Deprecated, don't use.

serde serde-codec?

Enables serde