mirror of
https://github.com/docker/awesome-compose.git
synced 2026-11-15 08:31:12 +01:00
react-rust-postgres: add connection to postgres with migrations
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
This commit is contained in:
1 parent
bed22c74f5
commit
b73e252639
12 files changed
+191
-5
No files matched your search
@@ -7,12 +7,17 @@ edition = "2018"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
diesel_migrations = "1.4.0"
|
||||
rocket = "0.4.4"
|
||||
serde = "1.0"
|
||||
serde_json = "1.0"
|
||||
serde_derive = "1.0"
|
||||
|
||||
[dependencies.diesel]
|
||||
version = "1.0.0"
|
||||
features = ["postgres"]
|
||||
|
||||
[dependencies.rocket_contrib]
|
||||
version = "0.4.4"
|
||||
default-features = false
|
||||
features = ["json"]
|
||||
features = ["json", "diesel_postgres_pool"]
|
||||
Reference in new issue
Block a user