#database #sql

mysql

Mysql client library implemented in rust

110 releases (55 stable)

✓ Uses Rust 2018 edition

new 16.0.1 Apr 23, 2019
15.1.1 Apr 23, 2019
15.1.0 Feb 16, 2019
15.0.0 Dec 21, 2018
0.0.2 Nov 27, 2014

#17 in Database interfaces

Download history 539/week @ 2019-01-08 407/week @ 2019-01-15 486/week @ 2019-01-22 536/week @ 2019-01-29 475/week @ 2019-02-05 720/week @ 2019-02-12 386/week @ 2019-02-19 608/week @ 2019-02-26 582/week @ 2019-03-05 756/week @ 2019-03-12 462/week @ 2019-03-19 1034/week @ 2019-03-26 551/week @ 2019-04-02 623/week @ 2019-04-09 576/week @ 2019-04-16

2,579 downloads per month
Used in 25 crates (22 directly)

MIT license

294KB
6.5K SLoC

rust-mysql-simple

Build Status Build status

Mysql client library implemented in rust. Feel free to open new issues and pull requests.

Changelog

Available here

Documentation

Latest crate API docs are hosted on docs.rs.

Installation

Please use crates.io

[dependencies]
mysql = "*"

SSL Support

rust-mysql-simple offers support for SSL via ssl cargo feature which is disabled by default. Add ssl feature to enable:

[dependencies.mysql]
version = "*"
features = ["ssl"]

JSON Support

rust-mysql-simple offers JSON support based on serde, but you can switch to rustc-serialize using rustc-serialize feature:

[dependencies.mysql]
version = "*"
features = ["rustc-serialize"]

Windows support (since 0.18.0)

Windows is supported but currently rust-mysql-simple has no support for SSL on Windows.

Dependencies

~11MB
~191K SLoC