juniper/juniper_codegen/Cargo.toml
Christoph Herzog 758f3f7d40
(codegen) Implement impl_object macro + unify code with object derive
This commit implements a new proc macro `impl_object` that replaces
the old graphql_object! macro.

The code shares a lot of similarities with the GraphQLObject
custom derive, so the code was unified to handle both
more generically.

Also, doc comment processing was standardized and improved.
2019-05-12 10:35:03 +02:00

28 lines
680 B
TOML

[package]
name = "juniper_codegen"
version = "0.11.1"
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
[dependencies]
proc-macro2 = "0.4"
syn = { version = "0.15.28", features = ["full", "extra-traits", "parsing"] }
quote = "0.6"
regex = "1"
lazy_static = "1.0.0"
[dev-dependencies]
juniper = { version = "0.11", path = "../juniper" }
[badges]
travis-ci = { repository = "graphql-rust/juniper" }