Cargo Features

[dependencies]
encdec-base = { version = "0.10.0", default-features = false, features = ["std", "alloc", "heapless", "thiserror", "bitflags", "nightly"] }
default = alloc, bitflags, heapless, std

These default features are set whenever encdec-base is added without default-features = false somewhere in the dependency tree.

std default

Enables thiserror

alloc default

Affects ext::EncodeExt.encode_vec

heapless default

Enables heapless

thiserror

Enables thiserror

bitflags default

Enables bitflags

nightly