Skip to content

Commit a67c70e

Browse files
Added recommended section for Rust crate selection
1 parent eb413ec commit a67c70e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

connectors/other/mariadb-rust-connector-guide.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ MariaDB recommends these Rust crates, which provide robust MySQL‑protocol comp
2323

2424
Select the driver based on your application’s architecture: use `mysql` for blocking/synchronous I/O, or `mysql_async` for non‑blocking I/O with Tokio. Both drivers have received the same MariaDB-specific contributions for the features described below.
2525

26+
## Why MariaDB Recommends These Crates
27+
28+
While other Rust crates implement the MySQL protocol, and some have higher download counts on [crates.io](https://crates.io/), MariaDB evaluated several available crates based on internal connector benchmarks. The `mysql` and `mysql_async` crates performed well in these evaluations and already included native support for MariaDB-specific features, such as the `ed25519` authentication plugin, before MariaDB began contributing to them directly.
29+
2630
## MariaDB-Specific Contributions
2731

2832
MariaDB has contributed MariaDB‑specific features directly to these crates. The following features have been implemented and incorporated into the official releases (mysql_async v0.37.0 and the corresponding rust‑mysql‑simple version):

0 commit comments

Comments
 (0)