2021-05-31 16:15:00 +00:00
|
|
|
[package]
|
|
|
|
name = "rocket_db_pools"
|
2023-03-23 04:38:39 +00:00
|
|
|
version = "0.1.0-rc.3"
|
2021-05-31 16:15:00 +00:00
|
|
|
authors = ["Sergio Benitez <sb@sergio.bz>", "Jeb Rosen <jeb@jebrosen.com>"]
|
|
|
|
description = "Rocket async database pooling support"
|
|
|
|
repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools"
|
|
|
|
readme = "../README.md"
|
|
|
|
keywords = ["rocket", "framework", "database", "pools"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
2022-03-19 18:25:24 +00:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.56"
|
2021-05-31 16:15:00 +00:00
|
|
|
|
2021-07-09 23:34:54 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
2021-05-31 16:15:00 +00:00
|
|
|
[features]
|
2021-07-09 23:34:54 +00:00
|
|
|
# deadpool features
|
|
|
|
deadpool_postgres = ["deadpool-postgres", "deadpool"]
|
|
|
|
deadpool_redis = ["deadpool-redis", "deadpool"]
|
|
|
|
# sqlx features
|
2021-05-31 16:15:00 +00:00
|
|
|
sqlx_mysql = ["sqlx", "sqlx/mysql"]
|
|
|
|
sqlx_postgres = ["sqlx", "sqlx/postgres"]
|
|
|
|
sqlx_sqlite = ["sqlx", "sqlx/sqlite"]
|
2021-07-09 23:34:54 +00:00
|
|
|
sqlx_mssql = ["sqlx", "sqlx/mssql"]
|
|
|
|
sqlx_macros = ["sqlx/macros"]
|
|
|
|
# implicit features: mongodb
|
2021-05-31 16:15:00 +00:00
|
|
|
|
|
|
|
[dependencies.rocket]
|
|
|
|
path = "../../../core/lib"
|
2023-03-23 04:38:39 +00:00
|
|
|
version = "=0.5.0-rc.3"
|
2021-05-31 16:15:00 +00:00
|
|
|
default-features = false
|
|
|
|
|
2021-07-09 23:34:54 +00:00
|
|
|
[dependencies.rocket_db_pools_codegen]
|
|
|
|
path = "../codegen"
|
2023-03-23 04:38:39 +00:00
|
|
|
version = "=0.1.0-rc.3"
|
2021-07-09 23:34:54 +00:00
|
|
|
|
|
|
|
[dependencies.deadpool]
|
2022-02-16 18:54:08 +00:00
|
|
|
version = "0.9"
|
2021-07-09 23:34:54 +00:00
|
|
|
default-features = false
|
|
|
|
features = ["rt_tokio_1", "managed"]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.deadpool-postgres]
|
2022-02-16 18:54:08 +00:00
|
|
|
version = "0.10"
|
2021-07-09 23:34:54 +00:00
|
|
|
default-features = false
|
|
|
|
features = ["rt_tokio_1"]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.deadpool-redis]
|
2023-03-22 20:44:16 +00:00
|
|
|
version = "0.11"
|
2021-07-09 23:34:54 +00:00
|
|
|
default-features = false
|
|
|
|
features = ["rt_tokio_1"]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.mongodb]
|
2022-02-16 19:01:35 +00:00
|
|
|
version = "2"
|
2021-07-09 23:34:54 +00:00
|
|
|
default-features = false
|
|
|
|
features = ["tokio-runtime"]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.sqlx]
|
2022-06-21 14:07:21 +00:00
|
|
|
version = "0.6"
|
2021-07-09 23:34:54 +00:00
|
|
|
default-features = false
|
|
|
|
features = ["runtime-tokio-rustls"]
|
|
|
|
optional = true
|
2021-05-31 16:15:00 +00:00
|
|
|
|
|
|
|
[dev-dependencies.rocket]
|
|
|
|
path = "../../../core/lib"
|
|
|
|
default-features = false
|
|
|
|
features = ["json"]
|
2021-07-09 23:34:54 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
version_check = "0.9"
|