Cargo Features

[dependencies]
sp-ipld = { version = "0.2.0", default-features = false, features = ["std", "dag-json", "dag-cbor", "parity-scale-codec"] }
default = dag-cbor, dag-json

These default features are set whenever sp-ipld is added without default-features = false somewhere in the dependency tree.

std
dag-json default = base64, serde, sp-multihash

Affects sp-ipld::dag_json

dag-cbor default = byteorder, multibase, sp-multihash

Affects sp-ipld::dag_cbor

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.

byteorder dag-cbor
multibase dag-cbor
parity-scale-codec implicit feature

Enables parity-scale-codec ^2.1.1

parity-scale-codec:

SCALE - Simple Concatenating Aggregated Little Endians

serde dag-json
sp-multihash dag-cbor dag-json

Enables sp-multihash ^0.2

base64 dag-json

Enables base64 ^0.13