Cargo Features

SIMPLE-TLV has no features set by default.

[dependencies]
simple-tlv = { version = "0.1.0", features = ["std", "alloc", "derive", "heapless"] }
std = alloc
alloc std?

Affects traits::Encodable.encode_to_vec, traits::Encodable.to_vec

derive = simple-tlv_derive

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.

simple-tlv_derive derive?
heapless implicit feature

Enables heapless ^0.6.0

heapless:

static friendly data structures that don't require dynamic memory allocation

Affects traits::EncodableHeapless