Cargo Features
[dependencies]
micropb = { version = "0.1.0", default-features = false, features = ["std", "alloc", "encode", "decode", "enable-64bit", "container-arrayvec", "container-heapless"] }
- default = decode, enable-64bit, encode
-
These default features are set whenever
micropb
is added without
somewhere in the dependency tree.default-features = false - std = alloc
-
Affects
decode::StdReader
,encode::StdWriter
… - alloc std?
- encode default
-
Affects
field::FieldEncode
,micropb::size
,message::MessageEncode
… - decode default
-
Affects
field::FieldDecode
,message::MessageDecode
… - enable-64bit default
-
Affects
size::sizeof_varint64
,size::sizeof_int64
,size::sizeof_sint64
… - container-arrayvec
-
Enables arrayvec
- container-heapless
-
Enables heapless