Cargo Features
cbor4ii has no features set by default.
[dependencies]
cbor4ii = { version = "0.3.3", features = ["use_std", "use_alloc", "half-f16", "serde1"] }
- use_std = use_alloc
-
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.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. These features may have been created by mistake, and this functionality may be removed in the future.