juniper/Cargo.toml
Magnus Hallin 95b4124f6b Provide better error message when running example without features
Even better would be if "cargo run --example server" would
automatically enable those features, but Cargo can't do that right now.
2017-05-18 10:31:53 +02:00

39 lines
950 B
TOML

[package]
name = "juniper"
version = "0.7.0"
authors = ["Magnus Hallin <mhallin@fastmail.com>"]
description = "GraphQL server library"
license = "BSD-2-Clause"
documentation = "http://mhallin.github.io/juniper"
repository = "https://github.com/mhallin/juniper"
readme = "README.md"
keywords = ["graphql", "server", "iron", "http", "web"]
categories = ["web-programming"]
[[bench]]
name = "bench"
harness = false
path = "benches/bench.rs"
[[example]]
name = "server"
required-features = ["iron-handlers", "expose-test-schema"]
[features]
default = ["rustc-serialize"]
nightly = []
iron-handlers = ["iron", "rustc-serialize"]
expose-test-schema = []
[dependencies]
rustc-serialize = { version = "^0.3.19", optional = true }
iron = { version = "^0.5.1", optional = true }
serde = { version = "^0.9.1", optional = true }
[dev-dependencies]
iron = "^0.5.1"
router = "^0.5.0"
mount = "^0.3.0"
logger = "^0.3.0"
iron-test = "^0.5.0"
bencher = "^0.1.2"