scylladb / cpp-rust-driver

API-compatible rewrite of https://github.com/scylladb/cpp-driver as a wrapper for Rust driver.
GNU Lesser General Public License v2.1
13 stars 11 forks source link

Refactor binding #59

Closed Lorak-mmk closed 2 years ago

Lorak-mmk commented 2 years ago

This PR introduces macros to create binder functions that work with each use case from cpp-driver and allow to reduce code-duplication and amount of code. Apart from that, there are few small fixes: