Tarantool Rust SDK 0.6.3 is out!

Александр Толстой

Picodata development team is pleased to announce the availability of the new Tarantool Rust SDK 0.6.3 version.

Tarantool Rust SDK is an important auxiliary software used to develop third-party Tarantool modules in the Rust programming language. The new 0.6.3 release is mainly aimed at eliminating paper cuts, further API improvement as well as optimizing certain usage scenarios. It also does the groundwork for future growth.

Previously, some Tarantool Rust SDK features used in Picodata also depended on stock Tarantool symbols that were eventually removed from Tarantool 2.9. It caused the Picodata-maintained Tarantool Rust module fail to load. Later on, when Tarantool 2.10.1 was released, it brought back those symbols and therefore provided an upstream fix for us. Nevertheless, we still decided to update our Tarantool Rust SDK to make it backward-compatible even with older Tarantool versions.

Other changes worth mentioning:

RawBytes and RawByteBuf types were added to handle data in case its deserialization isn’t needed or doesn’t help much. In particular, it is now possible to read raw contents from a Tuple field (example).

The #[proc] macro, which was first introduced in version 0.6.1, has now got the following improvements:

  • Memory usage was optimized, procedure arguments deserialization now does not involve copying.
  • Input arguments can now be provided as a reference. For instance, input bytes can be referenced using &RawBytes, bypassing deserialization (example).
  • It is now possible to effectively retrieve data via Tuple or RawByteBuf.

See the full list of changes in CHANGELOG.md.

Tarantool is a DBMS and computing platform that runs resident in RAM. This is a fast, reliable and highly scalable basis for building distributed systems with the business logic that the client needs. The Picodata software uses a revised and improved version of Tarantool to create storage clusters and run data processing applications written in Rust.