rust-mysql-simple
=================
[](https://travis-ci.org/blackbeam/rust-mysql-simple) [](https://ci.appveyor.com/project/blackbeam/rust-mysql-simple/branch/master)
Mysql client library implemented in rust. Feel free to open a new issues and pull requests.
### Changelog
Available [here](https://github.com/blackbeam/rust-mysql-simple/releases)
### Documentation
Latest crate API docs hosted [here](http://blackbeam.org/doc/mysql/index.html).
### Installation
Please use [crates.io](https://crates.io/crates/mysql)
```toml
[dependencies]
mysql = "*"
```
rust-mysql-simple offer support of SSL via `ssl` cargo feature which is enabled by default. If you have no plans to use SSL, then you should disable that feature to not to depend on rust-openssl:
```toml
[dependencies.mysql]
version = "*"
default-features = false
features = ["socket"]
```
### Windows support (since 0.18.0)
Currently rust-mysql-simple have no support of SSL on windows. To use crate on Windows you have to disable default features.
```toml
[dependencies.mysql]
version = "*"
default-features = false
features = ["pipe"]
```
#### Optional features
You can compile rust-mysql-simple with the `uuid` feature, which makes it possible to use UUIDs with MySQL conveniently.
The `uuid` feature depends on the `uuid` crate and UUIDs are assumed to be binary encoded in MySQL. So make sure that your MySQL fields are binary(16).
To activate the `uuid` feature, add it to the `features` list:
```toml
[dependencies]
mysql = { version = "*", features = ["uuid"] }
```
[Simple example](http://blackbeam.org/doc/mysql/index.html#example)