juniper/juniper_codegen/Cargo.toml
Christian Legnitto b63a44e0f8
Add futures dependency (#541)
Fixes https://github.com/graphql-rust/juniper/issues/534.

I am not sure if the best way is to have folks bring their own futures for the
derives / macros or to pull it in as a dep explicitly like I have done here.

Because people are filing issues, we will do it this way and see what other issues arise.
2020-02-20 21:53:39 -07:00

31 lines
780 B
TOML

[package]
name = "juniper_codegen"
version = "0.14.2"
authors = [
"Magnus Hallin <mhallin@fastmail.com>",
"Christoph Herzog <chris@theduke.at>",
]
description = "Internal custom derive trait for Juniper GraphQL"
license = "BSD-2-Clause"
documentation = "https://docs.rs/juniper"
repository = "https://github.com/graphql-rust/juniper"
edition = "2018"
[lib]
proc-macro = true
[features]
async = ["futures"]
[dependencies]
proc-macro2 = "1.0.1"
syn = { version = "1.0.3", features = ["full", "extra-traits", "parsing"] }
quote = "1.0.2"
proc-macro-error = "0.3.4"
futures = { version = "0.3.1", optional = true }
[dev-dependencies]
juniper = { version = "0.14.2", path = "../juniper", features = ["async"] }
[badges]
travis-ci = { repository = "graphql-rust/juniper" }