Pull in the async-graphql dependency for reldata

I'm hoping that I can map objects through with graphql relatively easily so I
don't have to go full REST API for this service

See #63
This commit is contained in:
R Tyler Croy 2021-03-03 11:01:48 -08:00
parent 4e9c851dd6
commit f017ea4660
2 changed files with 6 additions and 2 deletions

View File

@ -5,5 +5,6 @@
object-store: OTTO_OBJECT_DIR=tmp/objects RUST_LOG=debug ./target/debug/otto-object-store
orchestrator: RUST_LOG=debug STEPS_DIR=$PWD/tmp PATH=$PWD/target/debug:$PATH otto-local-orchestrator
parser: RUST_LOG=debug ./target/debug/otto-parser
reldata: RUST_LOG=debug ./target/debug/otto-reldata
# vim: ft=sh

View File

@ -1,12 +1,15 @@
[package]
name = "reldata"
name = "otto-reldata"
version = "0.1.0"
authors = ["R. Tyler Croy <rtyler@brokenco.de>"]
edition = "2018"
[dependencies]
async-std = { version = "~1.7", features = ["attributes"]}
async-graphql = "2.0"
async-graphql-tide = "2.0"
async-std = { version = "1", features = ["attributes"]}
log = "~0.4.11"
otto-models = { path = "../../crates/models" }
pretty_env_logger = "~0.4.0"
sqlx = { version = "~0.5.1", features = ["runtime-async-std-rustls", "postgres", "tls", "json", "sqlite", "chrono", "macros"]}
tide = "~0.15.0"