Rocket/examples/databases/Cargo.toml

25 lines
610 B
TOML
Raw Normal View History

[package]
name = "databases"
version = "0.0.0"
workspace = "../"
2022-03-19 18:25:24 +00:00
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]
2023-08-22 21:19:37 +00:00
version = "0.7.0"
default-features = false
2023-08-22 21:19:37 +00:00
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"]