Initial GraphQL API sort of working

This commit is contained in:
2023-01-04 19:33:29 +01:00
parent a2a2863d62
commit 8d5e523ab3
7 changed files with 206 additions and 13 deletions
+11 -1
View File
@@ -2,6 +2,12 @@
name = "ordabok"
version = "0.1.0"
edition = "2021"
license = "AGPL-3.0"
authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"]
homepage = "https://labs.phundrak.com/phundrak/ordabok"
repository = "https://labs.phundrak.com/phundrak/ordabok"
readme = "README.org"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -10,7 +16,7 @@ edition = "2021"
dotenvy = "0.15"
# Database
diesel = { version = "2.0", features = ["postgres", "chrono"] }
diesel = { version = "2.0", features = ["postgres", "chrono", "r2d2"] }
diesel-derive-enum = { version = "2.0.0-rc.0", features = ["postgres"] }
chrono = "0.4.23"
@@ -18,6 +24,10 @@ chrono = "0.4.23"
rocket = "0.5.0-rc.2"
rocket_cors = { git = "https://github.com/lawliet89/rocket_cors", rev = "c17e814" }
# GraphQL
juniper = "0.15.10"
juniper_rocket = "0.8.2"
# logging
tracing = "0.1.37"
tracing-subscriber = "0.3.16"