theduke
35ea952961
Added new crates to workspace manifest.
2017-07-12 21:51:24 +02:00
theduke
4ab2f20b8f
Restructure repository to Cargo workspace.
...
This makes it possible to:
* extract parser to own crate
* add juniper_codegen crate for custom derive stuff
* add integration tests
2017-07-12 21:51:24 +02:00
Magnus Hallin
9ca173f6bf
Add CI badges
2017-06-19 09:47:02 +02:00
Magnus Hallin
39159acb41
Fix broken crate metadata, prepare 0.8.1 release
2017-06-15 22:11:27 +02:00
Magnus Hallin
6aed455f03
Prepare for 0.8.0 release
2017-06-15 16:53:27 +02:00
Magnus Hallin
e82534aced
Initial work on Rocket integration
2017-06-14 15:50:27 +02:00
Magnus Hallin
47659c6006
Rely on docs.rs for documentation rather than hosting our own
2017-06-14 09:20:05 +02:00
Magnus Hallin
41a33a3238
Merge branch 'serde-1.0' of https://github.com/zaeleus/juniper into zaeleus-serde-1.0
...
# Conflicts:
# Cargo.toml
2017-06-14 09:05:56 +02:00
Magnus Hallin
7d7e7e6252
Don't depend on serde_json by default, rename some structs
2017-06-14 09:02:56 +02:00
Magnus Hallin
7041efeda9
Merge branch 'drop_rustc_serialization' of https://github.com/TheServerAsterisk/juniper into TheServerAsterisk-drop_rustc_serialization
...
# Conflicts:
# examples/server.rs
2017-06-14 08:51:49 +02:00
Michael Macias
0f5182460f
Upgrade to serde 1.0
...
serde 1.0.0 introduces breaking changes. See the release notes for more
details: <https://github.com/serde-rs/serde/releases/tag/v1.0.0 >.
Fixes #50
2017-05-26 16:15:03 -05:00
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
rpiper
6c4b329848
Added serde_derive and urlencoded as dependecies.
2017-05-14 19:30:49 -06:00
rpiper
41112d0b6d
Drop support for rustc-serialization and use serde by default.
2017-04-30 20:07:36 -06:00
Magnus Hallin
eca20cd8ca
Prepare for 0.7.0 release
2017-02-26 12:58:52 +01:00
Magnus Hallin
3035eb84cf
Merge pull request #30 from zaeleus/iron-0.5
...
Update to iron 0.5
2017-02-26 09:21:36 +01:00
Magnus Hallin
9d520d77f9
Prepare for 0.6.3 release
2017-02-19 12:53:00 +01:00
Michael Macias
b2e75bf4f6
Update to iron 0.5
...
* `Url::into_generic_url` was deprecated in 0.4.1. The `Into` trait is
used instead.
* iron/logger removed support for ANSI terminal colors in 0.2.0, which
makes logging work in the Command Prompt on Windows.
Fixes #21
2017-02-16 02:08:26 -06:00
Magnus Hallin
987aa40da1
Prepare for 0.6.2 release
2017-02-04 16:55:58 +01:00
Magnus Hallin
3fe3c76106
Add package to web programming category
2017-02-04 11:36:39 +01:00
Michael Macias
a834115d87
Update to serde 0.9
...
serde 0.9.0 introduces breaking changes. See the release notes for more
details: <https://github.com/serde-rs/serde/releases/tag/v0.9.0 >.
2017-01-26 17:25:17 -06:00
Michael Macias
b78aef715d
Make rustc-serialize optional
...
This extracts rustc-serialize JSON serialization into its own module,
decoupling all core structures from its use.
rustc-serialize can now be completely disabled, removing it as a
dependency if serde (or none) is used instead. It is, however, still the
default serializer. In Cargo, the `default-features` field must be set
to `false` to disable it, e.g.,
[dependencies.juniper]
version = "0.6"
default-features = false
features = ["serde"]
The Iron handlers still require rustc-serialize.
The default values for attributes changed from being formatted as JSON
to how it is defined in [the reference implementation][printer.js].
[printer.js]: https://github.com/graphql/graphql-js/blob/v0.8.2/src/language/printer.js
2017-01-06 21:34:44 -06:00
Magnus Hallin
8620eb1e7a
Prepare for 0.6.1 release
2017-01-06 13:15:16 +01:00
Michael Macias
aa056dd562
Add optional Serde serialization support
...
This adds the Serde serialization trait to the following:
* `ExecutionError`
* `GraphQLError`
* `InputValue` (+ deserialization)
* `RuleError`
* `SourcePosition`
* `Spanning<ParseError>`
* `Value`
Serde support is enabled via the "serde" feature flag.
2017-01-04 20:50:12 -06:00
Magnus Hallin
f33213e17e
Release version 0.6.0
2017-01-02 13:15:45 +01:00
Magnus Hallin
96c1ad0ef9
Use bencher crate to run benchmarks on stable rust
2016-12-26 12:16:19 +01:00
Magnus Hallin
cd33093dee
Release version 0.5.3
2016-12-05 22:23:00 +01:00
Magnus Hallin
857f53bf7a
Depend on rustc-serialize 0.3 through semver
2016-10-16 22:19:45 +02:00
Magnus Hallin
89b3c4c776
Expose Star Wars schema in example server
2016-09-18 16:36:19 +02:00
Magnus Hallin
9a130fb169
Start 0.5.2 dev cycle
2016-09-11 22:14:51 +02:00
Magnus Hallin
c9bdd512bc
Bump version and update metadata
2016-09-11 22:03:50 +02:00
Magnus Hallin
3400d0e107
Set description and license in Cargo.toml
2016-09-11 21:46:33 +02:00
Magnus Hallin
88bc1d5290
Add packaging and Crates upload step to Travis
2016-09-11 21:12:31 +02:00
Magnus Hallin
94d689fa82
Initial import
2016-09-11 18:41:29 +02:00