Cargo Features

[dependencies]
sp-cid = { version = "0.3.0", default-features = false, features = ["std", "arb", "scale-codec", "serde-codec"] }
default = multibase

The multibase feature is set by default whenever sp-cid is added without default-features = false somewhere in the dependency tree.

std = multibase

Enables std of sp-multihash ^0.2.0 and unsigned-varint ^0.7.0

arb = quickcheck, rand

Enables arb of sp-multihash ^0.2.0

scale-codec = parity-scale-codec

Enables scale-codec of sp-multihash ^0.2.0

serde-codec = serde

Enables serde-codec of sp-multihash ^0.2.0

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

multibase default std?
parity-scale-codec scale-codec?

Enables parity-scale-codec ^2.1.1

quickcheck arb?

Enables quickcheck ^0.9.2

serde serde-codec?
rand arb?

Enables rand ^0.7.3