Cargo Features

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

Enables arbitrary, quickcheck, and rand

scale-codec

Enables parity-scale-codec

serde-codec = serde

Deprecated, don't use.

serde serde-codec?

Enables serde