sgrif / mysqlclient-sys

Rust bindings for libmysqlclient
Apache License 2.0
37 stars 32 forks source link

Why mysqlclient-sys does not provide mysql_ssl_mode enum? #27

Closed p-alik closed 2 years ago

p-alik commented 4 years ago

Both bindings_windows.rs and bindings_macos.rs provide MYSQL_OPT_SSL_MODE variant in mysql_option enum. But only bindings_macos.rs offers values for the option in form of mysql_ssl_mode enum.

There is no word in mysql_options documentation about any Windows incapability according MYSQL_OPT_SSL_MODE. Would it be possible to add mysql_ssl_mode enum into bindings_windows.rs also?

pjenvey commented 2 years ago

@weiznich, this was fixed by #28 and can now be closed.

weiznich commented 2 years ago

:+1: