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
somewhere in the dependency tree.default-features = false - 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.