Rocket

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 5c40d3b7e21fdab945f39f8f1c2eadc0b011aee6
parent 556206e8b381b07c2c74f64fd88a762f5323fd70
Author: Sergio Benitez <sb@sergio.bz>
Date:   Sat, 27 Oct 2018 13:04:52 -0700

Reenable MySQL pooling support.

Diffstat:
Mcontrib/lib/Cargo.toml | 6+++---
Mscripts/test.sh | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/contrib/lib/Cargo.toml b/contrib/lib/Cargo.toml @@ -28,7 +28,7 @@ diesel_sqlite_pool = ["databases", "diesel/sqlite", "diesel/r2d2"] diesel_postgres_pool = ["databases", "diesel/postgres", "diesel/r2d2"] diesel_mysql_pool = ["databases", "diesel/mysql", "diesel/r2d2"] postgres_pool = ["databases", "postgres", "r2d2_postgres"] -# mysql_pool = ["databases", "mysql", "r2d2_mysql"] +mysql_pool = ["databases", "mysql", "r2d2_mysql"] sqlite_pool = ["databases", "rusqlite", "r2d2_sqlite"] cypher_pool = ["databases", "rusted_cypher", "r2d2_cypher"] redis_pool = ["databases", "redis", "r2d2_redis"] @@ -56,8 +56,8 @@ diesel = { version = "1.0", default-features = false, optional = true } postgres = { version = "0.15", optional = true } r2d2 = { version = "0.8", optional = true } r2d2_postgres = { version = "0.14", optional = true } -# mysql = { version = "14", optional = true } -# r2d2_mysql = { version = "9", optional = true } +mysql = { version = "14", optional = true } +r2d2_mysql = { version = "9", optional = true } rusqlite = { version = "0.14.0", optional = true } r2d2_sqlite = { version = "0.6", optional = true } rusted_cypher = { version = "1", optional = true } diff --git a/scripts/test.sh b/scripts/test.sh @@ -90,7 +90,7 @@ if [ "$1" = "--contrib" ]; then diesel_sqlite_pool diesel_mysql_pool postgres_pool - # mysql_pool + mysql_pool sqlite_pool cypher_pool redis_pool