2021-04-08 02:01:48 +00:00
|
|
|
[package]
|
|
|
|
name = "databases"
|
|
|
|
version = "0.0.0"
|
|
|
|
workspace = "../"
|
2022-03-19 18:25:24 +00:00
|
|
|
edition = "2021"
|
2021-04-08 02:01:48 +00:00
|
|
|
publish = false
|
|
|
|
|
|
|
|
[dependencies]
|
2021-04-29 12:19:24 +00:00
|
|
|
rocket = { path = "../../core/lib", features = ["json"] }
|
2022-06-21 14:07:21 +00:00
|
|
|
diesel = { version = "2.0.0", features = ["sqlite", "r2d2"] }
|
|
|
|
diesel_migrations = "2.0.0"
|
2021-04-08 02:01:48 +00:00
|
|
|
|
|
|
|
[dependencies.sqlx]
|
2022-06-21 14:07:21 +00:00
|
|
|
version = "0.6.0"
|
2021-04-08 02:01:48 +00:00
|
|
|
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"]
|