zero-mysql

Crates.iozero-mysql
lib.rszero-mysql
version0.4.1
created_at2025-12-02 15:42:25.411572+00
updated_at2026-01-21 12:22:04.139257+00
descriptionA high-performance MySQL client
homepage
repositoryhttps://github.com/elbaro/zero-mysql
max_upload_size
id1962082
size466,896
elbaro (elbaro)

documentation

README

zero-mysql

A high-performance MySQL client library for Rust.

API Reference (docs.rs) | User Guide

Python binding: 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 INSERTs or UPDATEs
Commit count: 103

cargo fmt