Cargo Features

[dependencies]
cobs2 = { version = "0.1.4", default-features = false, features = ["std", "alloc"] }
default = std

The std feature is set by default whenever cobs2 is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std

Affects cobs::encode_vector, cobs::decode_vector, cobsr::encode_vector, cobsr::decode_vector