feat: updates for Encode usage in TableDef in picodata
Summary
The most straightforward and less painful way to introduce new Encode
to picodata is through the usage of raw API. E.g. sending and receiving raw msgpack from tarantool. This mr adds several small changes that make it possible, for now in a very limited way.
Updates for Encode usage in TableDef in picodata:
- Field implements Encode and Decode
-
Tuple::as_buffer
renamed toTuple::to_vec
and made public - encode no longer returns Result as it should not fail
Ensure that
-
New code is covered by tests -
API is documented -
Changelog is up to date -
Version is bumped in the appropriateCargo.toml
files
Edited by Егор Ивков