Cargo Features
[dependencies]
cid = { version = "0.11.1", default-features = false, features = ["std", "alloc", "arb", "scale-codec", "serde-codec", "serde"] }
- default = std
-
The
std
feature is set by default whenevercid
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables alloc of core2, std of multihash and unsigned-varint
Affects
cid::ReadmeDoctest
… - alloc serde? std
- arb
-
Enables arbitrary, quickcheck and rand, arb of multihash
- scale-codec
-
Enables parity-scale-codec, scale-codec of multihash
- serde-codec = serde
-
Deprecated, don't use.
- serde serde-codec? = alloc
-
Enables serde and serde_bytes, serde of multihash
Affects
cid::serde
…