# zero-mysql
A high-performance MySQL client library for Rust.
Python binding: [pyro-mysql](https://github.com/elbaro/pyro-mysql/)
## Feature Flags
- `sync` (default): synchronous API
- `tokio` (default): asynchronous API
- `sync-tls`: TLS support for synchronous API (experimental)
- `tokio-tls`: TLS support for asynchronous API (experimental)
## Perf Notes
- Prefer MariaDB to MySQL
- Prefer UnixSocket to TCP
- Set `Opts.upgrade_to_unix_socket=false` and manually set the socket path
- Use Conn.exec_bulk_insert_or_update to group 2~1000 `INSERT`s or `UPDATE`s