2021-05-25 01:58:05 +00:00
|
|
|
[package]
|
|
|
|
name = "rocket_sync_db_pools"
|
2023-11-02 00:18:11 +00:00
|
|
|
version = "0.1.0-rc.4"
|
2021-05-25 01:58:05 +00:00
|
|
|
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
|
|
|
description = "Rocket async database pooling support for sync database drivers."
|
2021-06-30 17:15:46 +00:00
|
|
|
repository = "https://github.com/SergioBenitez/Rocket/tree/v0.5-rc/contrib/sync_db_pools"
|
2021-05-25 01:58:05 +00:00
|
|
|
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-25 01:58:05 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
diesel_sqlite_pool = ["diesel/sqlite", "diesel/r2d2"]
|
|
|
|
diesel_postgres_pool = ["diesel/postgres", "diesel/r2d2"]
|
|
|
|
diesel_mysql_pool = ["diesel/mysql", "diesel/r2d2"]
|
|
|
|
sqlite_pool = ["rusqlite", "r2d2_sqlite"]
|
|
|
|
postgres_pool = ["postgres", "r2d2_postgres"]
|
|
|
|
memcache_pool = ["memcache", "r2d2-memcache"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
r2d2 = "0.8"
|
2021-05-29 21:40:50 +00:00
|
|
|
tokio = { version = "1.6.1", features = ["rt", "rt-multi-thread"] }
|
2021-05-25 01:58:05 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
|
2022-06-21 14:07:21 +00:00
|
|
|
diesel = { version = "2.0.0", default-features = false, optional = true }
|
2021-05-25 01:58:05 +00:00
|
|
|
|
|
|
|
postgres = { version = "0.19", optional = true }
|
|
|
|
r2d2_postgres = { version = "0.18", optional = true }
|
|
|
|
|
2023-08-22 21:19:37 +00:00
|
|
|
rusqlite = { version = "0.29.0", optional = true }
|
|
|
|
r2d2_sqlite = { version = "0.22.0", optional = true }
|
2021-05-25 01:58:05 +00:00
|
|
|
|
|
|
|
memcache = { version = "0.15", optional = true }
|
|
|
|
r2d2-memcache = { version = "0.6", optional = true }
|
|
|
|
|
|
|
|
[dependencies.rocket_sync_db_pools_codegen]
|
2023-11-02 00:18:11 +00:00
|
|
|
version = "=0.1.0-rc.4"
|
2021-05-25 01:58:05 +00:00
|
|
|
path = "../codegen"
|
|
|
|
|
|
|
|
[dependencies.rocket]
|
2023-11-02 00:18:11 +00:00
|
|
|
version = "=0.5.0-rc.4"
|
2021-05-25 01:58:05 +00:00
|
|
|
path = "../../../core/lib"
|
|
|
|
default-features = false
|
|
|
|
|
2022-05-24 23:47:09 +00:00
|
|
|
[build-dependencies]
|
|
|
|
version_check = "0.9.1"
|
|
|
|
|
2021-05-25 01:58:05 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|