2021-04-08 02:01:48 +00:00
|
|
|
[package]
|
|
|
|
name = "databases"
|
|
|
|
version = "0.0.0"
|
|
|
|
workspace = "../"
|
|
|
|
edition = "2018"
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
[dependencies]
|
2021-04-29 12:19:24 +00:00
|
|
|
rocket = { path = "../../core/lib", features = ["json"] }
|
2021-04-08 02:01:48 +00:00
|
|
|
diesel = { version = "1.3", features = ["sqlite", "r2d2"] }
|
|
|
|
diesel_migrations = "1.3"
|
|
|
|
|
|
|
|
[dependencies.sqlx]
|
|
|
|
version = "0.5.1"
|
|
|
|
default-features = false
|
2021-05-31 16:15:00 +00:00
|
|
|
features = ["macros", "offline", "migrate"]
|
|
|
|
|
|
|
|
[dependencies.rocket_db_pools]
|
|
|
|
path = "../../contrib/db_pools/lib/"
|
|
|
|
features = ["sqlx_sqlite"]
|
2021-04-08 02:01:48 +00:00
|
|
|
|
2021-05-25 01:58:05 +00:00
|
|
|
[dependencies.rocket_sync_db_pools]
|
|
|
|
path = "../../contrib/sync_db_pools/lib/"
|
2021-04-29 12:19:24 +00:00
|
|
|
features = ["diesel_sqlite_pool", "sqlite_pool"]
|