Cargo Features

[dependencies]
libipld = { version = "0.16.0", default-features = false, features = ["dag-cbor", "dag-json", "dag-pb", "derive", "serde-codec", "arb"] }
default = dag-cbor, dag-json, dag-pb, derive

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

dag-cbor default = libipld-cbor
dag-json default = libipld-json
dag-pb default = libipld-pb
derive default = libipld-cbor-derive
serde-codec

Enables serde-codec of libipld-core

arb

Enables arb of libipld-core

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.

libipld-cbor dag-cbor
libipld-cbor-derive derive
libipld-json dag-json
libipld-pb dag-pb