mirror of https://github.com/rwf2/Rocket.git
25 lines
594 B
TOML
25 lines
594 B
TOML
[package]
|
|
name = "databases"
|
|
version = "0.0.0"
|
|
workspace = "../"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
rocket = { path = "../../core/lib", features = ["json"] }
|
|
diesel = { version = "2.0.0", features = ["sqlite", "r2d2"] }
|
|
diesel_migrations = "2.0.0"
|
|
|
|
[dependencies.sqlx]
|
|
version = "0.6.0"
|
|
default-features = false
|
|
features = ["macros", "offline", "migrate"]
|
|
|
|
[dependencies.rocket_db_pools]
|
|
path = "../../contrib/db_pools/lib/"
|
|
features = ["sqlx_sqlite"]
|
|
|
|
[dependencies.rocket_sync_db_pools]
|
|
path = "../../contrib/sync_db_pools/lib/"
|
|
features = ["diesel_sqlite_pool", "sqlite_pool"]
|