Cargo Features
[dependencies]
cid-nostd = { version = "0.12.0", default-features = false, features = ["std", "alloc", "arb", "scale-codec", "serde-codec", "serde"] }
- default = std
-
The
std
feature is set by default whenevercid-nostd
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-nostd::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-nostd::serde
…