Cargo Features

[dependencies]
msgpacker = { version = "0.4.5", default-features = false, features = ["std", "alloc", "derive", "strict"] }
default = derive, std

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

std default = alloc
alloc std

Affects helpers::take_buffer, helpers::take_buffer_iter, msgpacker::pack_to_vec, msgpacker::Packable.pack_to_vec

derive default = msgpacker-derive
strict

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.

msgpacker-derive derive