Reenable MySQL pooling support.

This commit is contained in:
Sergio Benitez 2018-10-27 13:04:52 -07:00
parent 556206e8b3
commit 5c40d3b7e2
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ diesel_sqlite_pool = ["databases", "diesel/sqlite", "diesel/r2d2"]
diesel_postgres_pool = ["databases", "diesel/postgres", "diesel/r2d2"] diesel_postgres_pool = ["databases", "diesel/postgres", "diesel/r2d2"]
diesel_mysql_pool = ["databases", "diesel/mysql", "diesel/r2d2"] diesel_mysql_pool = ["databases", "diesel/mysql", "diesel/r2d2"]
postgres_pool = ["databases", "postgres", "r2d2_postgres"] postgres_pool = ["databases", "postgres", "r2d2_postgres"]
# mysql_pool = ["databases", "mysql", "r2d2_mysql"] mysql_pool = ["databases", "mysql", "r2d2_mysql"]
sqlite_pool = ["databases", "rusqlite", "r2d2_sqlite"] sqlite_pool = ["databases", "rusqlite", "r2d2_sqlite"]
cypher_pool = ["databases", "rusted_cypher", "r2d2_cypher"] cypher_pool = ["databases", "rusted_cypher", "r2d2_cypher"]
redis_pool = ["databases", "redis", "r2d2_redis"] 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 } postgres = { version = "0.15", optional = true }
r2d2 = { version = "0.8", optional = true } r2d2 = { version = "0.8", optional = true }
r2d2_postgres = { version = "0.14", optional = true } r2d2_postgres = { version = "0.14", optional = true }
# mysql = { version = "14", optional = true } mysql = { version = "14", optional = true }
# r2d2_mysql = { version = "9", optional = true } r2d2_mysql = { version = "9", optional = true }
rusqlite = { version = "0.14.0", optional = true } rusqlite = { version = "0.14.0", optional = true }
r2d2_sqlite = { version = "0.6", optional = true } r2d2_sqlite = { version = "0.6", optional = true }
rusted_cypher = { version = "1", optional = true } rusted_cypher = { version = "1", optional = true }

View File

@ -90,7 +90,7 @@ if [ "$1" = "--contrib" ]; then
diesel_sqlite_pool diesel_sqlite_pool
diesel_mysql_pool diesel_mysql_pool
postgres_pool postgres_pool
# mysql_pool mysql_pool
sqlite_pool sqlite_pool
cypher_pool cypher_pool
redis_pool redis_pool