diff --git a/juniper_codegen/Cargo.toml b/juniper_codegen/Cargo.toml index 9dbe2590..59ebb2e0 100644 --- a/juniper_codegen/Cargo.toml +++ b/juniper_codegen/Cargo.toml @@ -15,7 +15,7 @@ edition = "2018" proc-macro = true [features] -async = [] +async = ["juniper/async"] [dependencies] proc-macro2 = "1.0.1" @@ -25,6 +25,7 @@ proc-macro-error = "0.3.4" [dev-dependencies] juniper = { version = "0.14.2", path = "../juniper" } +futures = { version = "=0.3.1" } [badges] travis-ci = { repository = "graphql-rust/juniper" }