Skip to content

feat: add Ibuf struct

Arseniy Volynets requested to merge av/optimize_protocol into master

Summary

  • feat: add Ibuf struct
  • Ibuf is used when using netbox's "buffer" option to store returned msgpack. It is useful to release memory from rust using ibuf_reininit function without waiting for lua garbage collector to free it
  • This commit adds Ibuf struct and ibuf_reinit function to ffi

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

Merge request reports