mirror of https://github.com/rwf2/Rocket.git
24 lines
589 B
TOML
24 lines
589 B
TOML
[package]
|
|
name = "databases"
|
|
version = "0.0.0"
|
|
workspace = "../"
|
|
edition = "2018"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
rocket = { path = "../../core/lib" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
diesel = { version = "1.3", features = ["sqlite", "r2d2"] }
|
|
diesel_migrations = "1.3"
|
|
|
|
[dependencies.sqlx]
|
|
version = "0.5.1"
|
|
default-features = false
|
|
features = ["runtime-tokio-rustls", "sqlite", "macros", "offline", "migrate"]
|
|
|
|
[dependencies.rocket_contrib]
|
|
path = "../../contrib/lib"
|
|
default-features = false
|
|
features = ["diesel_sqlite_pool", "sqlite_pool", "json"]
|