All user visible changes to this project will be documented in this file. This project adheres to Semantic Versioning, as described for Rust libraries in RFC #1105
- Added support for libmysqlclient 9.0.x
- Updated the bundled libmysqlclient version to 9.0.1
- Added support and tests for linking libmariadb on all platforms
- Refactor handling of pregenerated bindings to provide bindings for more platforms out of the box
- Fixed a bug that prevented using the
buildtime_bindgen
on non x86_64 architectures
- Include a notice in the readme that the mysqlclient-src crate is licenced under GPL-v2
- Excluded more files from the mysql source code to minimize the size of mysqlclient-src
- Included the debian/ubuntu version specifier for libmariadb-dev to fix selecting the right bindings in the offical rust docker images
- We added a
mysqlclient-src
crate and abundled
feature formysqlclient-sys
. This allows to build and link a static version of libmysqlclient during the rust build process. This feature currently supports targeting Windows, Linux and macOS. It requires a c++ compiler toolchain and cmake to build libmysqlclient from source. - We added a
buildtime_bindgen
feature flag that allows to generate bindings for your locally installed libmysqlclient version. This is helpful for cases where the target architecture is significantly different to what the built-in bindings assume.
- We regenerated the bundled bindings for several libmysqlclient versions. You might now need to set the
MYSQLCLIENT_VERSION
environment to select the matching bindings for your libmysqlclient version