[[test]]
name = "databases"
path = "tests/databases.rs"
[build-dependencies.version_check]
version = "0.9"
[dependencies.deadpool]
default-features = false
features = ["rt_tokio_1", "managed"]
optional = true
version = "0.12.1"
[dependencies.deadpool-postgres]
default-features = false
features = ["rt_tokio_1"]
optional = true
version = "0.13.2"
[dependencies.deadpool-redis]
default-features = false
features = ["rt_tokio_1"]
optional = true
version = "0.15"
[dependencies.deadpool_09]
default-features = false
features = ["rt_tokio_1", "managed"]
optional = true
package = "deadpool"
version = "0.9.5"
[dependencies.diesel]
default-features = false
optional = true
version = "2.1"
[dependencies.diesel-async]
default-features = false
optional = true
version = "0.4.1"
[dependencies.mongodb]
default-features = false
features = ["tokio-runtime"]
optional = true
version = "2"
[dependencies.rocket]
default-features = false
version = "0.5.1"
[dependencies.rocket_db_pools_codegen]
version = "0.2.0"
[dependencies.sqlx]
default-features = false
features = ["runtime-tokio-rustls"]
optional = true
version = "0.7"
[dev-dependencies]
[features]
deadpool_postgres = ["deadpool-postgres", "deadpool"]
deadpool_redis = ["deadpool-redis", "deadpool"]
diesel_mysql = ["diesel-async/mysql", "diesel-async/deadpool", "diesel", "deadpool_09"]
diesel_postgres = ["diesel-async/postgres", "diesel-async/deadpool", "diesel", "deadpool_09"]
sqlx_macros = ["sqlx/macros"]
sqlx_mysql = ["sqlx", "sqlx/mysql"]
sqlx_postgres = ["sqlx", "sqlx/postgres"]
sqlx_sqlite = ["sqlx", "sqlx/sqlite"]
[lib]
name = "rocket_db_pools"
path = "src/lib.rs"
[package]
authors = ["Sergio Benitez <sb@sergio.bz>", "Jeb Rosen <jeb@jebrosen.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Rocket async database pooling support"
edition = "2021"
keywords = ["rocket", "framework", "database", "pools"]
license = "MIT OR Apache-2.0"
name = "rocket_db_pools"
readme = "README.md"
repository = "https://github.com/rwf2/Rocket/tree/v0.5/contrib/db_pools"
rust-version = "1.64"
version = "0.2.0"
[package.metadata.docs.rs]
all-features = true