From 80b21bdddbe4e8cab6e1e9989f0433a5d15d1250 Mon Sep 17 00:00:00 2001 From: Lewin Bormann Date: Wed, 28 Sep 2016 22:10:49 +0200 Subject: [PATCH] fix(example): Use crates.io version of google-pubsub1 for examples This was a local change that leaked into a commit. --- examples/service_account/Cargo.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/service_account/Cargo.toml b/examples/service_account/Cargo.toml index c8cc4d849..e0d78d0d3 100644 --- a/examples/service_account/Cargo.toml +++ b/examples/service_account/Cargo.toml @@ -5,6 +5,10 @@ authors = ["Lewin Bormann "] [dependencies] base64 = "0.2" -yup-oauth2 = "0.6.4" -google-pubsub1 = { version = "0.1", path = "../../../google-apis-rs/gen/pubsub1" } +# We can't just use the local version (../../), as google-pubsub1 will have a different +# version of yup-oauth2, leading to type errors. For testing changes locally, download +# github.com/Byron/google-apis-rs, and use the local yup-oauth2 crate in the google-pubsub1 +# crate as well as here. +yup-oauth2 = "0.6" +google-pubsub1 = "0.1" hyper = "0.9"