#database #sql

mysql

Mysql client library implemented in rust

103 releases (48 stable)

14.1.0 Sep 5, 2018
14.0.0 Jun 30, 2018
13.1.0 May 25, 2018
12.3.1 Mar 18, 2018
0.0.2 Nov 27, 2014

#14 in Database interfaces

Download history 610/week @ 2018-06-13 344/week @ 2018-06-20 529/week @ 2018-06-27 593/week @ 2018-07-04 400/week @ 2018-07-11 422/week @ 2018-07-18 244/week @ 2018-07-25 698/week @ 2018-08-01 762/week @ 2018-08-08 593/week @ 2018-08-15 340/week @ 2018-08-22 186/week @ 2018-08-29 333/week @ 2018-09-05

2,018 downloads per month
Used in 18 crates (15 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
~265K SLoC