Skip to content

feat: updates for Encode usage in TableDef in picodata

Егор Ивков requested to merge e-ivkov/table-format into master

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 to Tuple::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 appropriate Cargo.toml files
Edited by Егор Ивков

Merge request reports