mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-10 11:39:05 +00:00
fc76bf7b68
The README now more completely documents the example. All implementations now make use of 'RETURNING'.
25 lines
610 B
TOML
25 lines
610 B
TOML
[package]
|
|
name = "databases"
|
|
version = "0.0.0"
|
|
workspace = "../"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
rocket = { path = "../../core/lib", features = ["json"] }
|
|
diesel = { version = "2", features = ["returning_clauses_for_sqlite_3_35"] }
|
|
diesel_migrations = "2"
|
|
|
|
[dependencies.sqlx]
|
|
version = "0.7.0"
|
|
default-features = false
|
|
features = ["macros", "migrate"]
|
|
|
|
[dependencies.rocket_db_pools]
|
|
path = "../../contrib/db_pools/lib/"
|
|
features = ["sqlx_sqlite", "diesel_mysql"]
|
|
|
|
[dependencies.rocket_sync_db_pools]
|
|
path = "../../contrib/sync_db_pools/lib/"
|
|
features = ["diesel_sqlite_pool", "sqlite_pool"]
|