Cargo Features

[dependencies]
ipld-core = { version = "0.4.1", default-features = false, features = ["std", "serde", "arb", "codec"] }
default = codec, std

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

std default

Makes the error implement std::error::Error and the Codec trait available.

Enables std of cid, optional serde, and optional serde_bytes

Affects ipld-core::codec

serde

Enables support for Serde serialization into/deserialization from the Ipld enum.

Enables serde and serde_bytes, serde of cid

Affects ipld-core::serde

arb

Enables support for property based testing.

Enables quickcheck, arb of cid

codec default

Enables support for the Codec trait, needs at least Rust 1.75

Affects ipld-core::codec