mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-25 10:52:22 +00:00
c74bcfd40a
This has the following nice benefits: * The 'JsonValue' wrapper type is gone. * 'Local{Request, Response}' natively support JSON/MessagePack. * The 'json' and 'msgpack' limits are officially recognized. * Soon, Rocket application will not require an explicit 'serde' dep. This marks the beginning of the end of 'rocket_contrib'.
22 lines
532 B
TOML
22 lines
532 B
TOML
[package]
|
|
name = "databases"
|
|
version = "0.0.0"
|
|
workspace = "../"
|
|
edition = "2018"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
rocket = { path = "../../core/lib", features = ["json"] }
|
|
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"]
|