juniper/examples/warp_async/Cargo.toml
Graeme Coupar 824cd4081b
Update juniper_codegen for syn 1.0.60 (#861)
* Update juniper_codegen for syn 1.0.60

syn 1.0.60 has updated it's `Type::__Nonexhaustive` to
`Type::TestExhaustive`, breaking juniper.  This updates juniper to use
the recommended idiom for doing exhaustive matching on `Type`, which
fixes this.

Not entirely clear if we need exhaustive matching here or if we could
just use a fallback, but this fixes the build at least.

Also updated the minimum syn so users have to pull it in

* Update example to use relative deps

As otherwise CI fails on this branch
2021-01-26 07:41:03 -10:00

17 lines
418 B
TOML

[package]
name = "warp_async"
version = "0.1.0"
edition = "2018"
publish = false
authors = ["Christoph Herzog <chris@theduke.at>"]
[dependencies]
juniper = { path = "../../juniper" }
juniper_warp = { path = "../../juniper_warp" }
env_logger = "0.8.1"
futures = "0.3.1"
log = "0.4.8"
reqwest = { version = "0.11", features = ["rustls-tls"] }
tokio = { version = "0.2", features = ["rt-core", "macros"] }
warp = "0.2"