Update readme: use git dependency

This commit is contained in:
theduke 2017-08-28 08:39:39 +02:00 committed by GitHub
parent 97adcdde73
commit d7c84b16e9

View file

@ -27,7 +27,7 @@ Add Juniper to your Cargo.toml:
```toml ```toml
[dependencies] [dependencies]
juniper = "0.8.1" juniper = { git = "https://github.com/graphql-rust/juniper" }
``` ```
If you want Iron integration, you need to depend on the `juniper_iron` crate. If you want Iron integration, you need to depend on the `juniper_iron` crate.
@ -35,7 +35,7 @@ feature flag:
```toml ```toml
[dependencies] [dependencies]
juniper = { version = "0.8.1" } juniper = { git = "https://github.com/graphql-rust/juniper" }
juniper_iron = { git = "https://github.com/graphql-rust/juniper_iron" } juniper_iron = { git = "https://github.com/graphql-rust/juniper_iron" }
``` ```