Cargo Features

cbor4ii has no features set by default.

cbor4ii = { version = "0.3.2", features = ["use_std", "use_alloc", "half-f16", "serde1"] }
use_std = use_alloc

Enables std of serde

Affects utils::IoWriter, utils::IoReader

use_alloc serde1? use_std?

Affects utils::BufWriter, core::Value

half-f16 = half
serde1 = serde, use_alloc

Affects cbor4ii::serde

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

half half-f16?
serde serde1?