#database #sql

mysql

Mysql client library implemented in rust

106 releases (51 stable)

15.0.0 Dec 21, 2018
14.2.0 Dec 9, 2018
14.1.1 Oct 19, 2018
14.0.0 Jun 30, 2018
0.0.2 Nov 27, 2014

#12 in Database interfaces

Download history 474/week @ 2018-10-21 438/week @ 2018-10-28 926/week @ 2018-11-04 783/week @ 2018-11-11 584/week @ 2018-11-18 488/week @ 2018-11-25 1022/week @ 2018-12-02 526/week @ 2018-12-09 968/week @ 2018-12-16 762/week @ 2018-12-23 1106/week @ 2018-12-30 351/week @ 2019-01-06 573/week @ 2019-01-13

2,908 downloads per month
Used in 21 crates (18 directly)

MIT license

285KB
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

~12MB
~268K SLoC