-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Token does not implement serde::de::Deserialize #22
Comments
Actually I am having serious trouble compiling it myself. The only project that manages to compile it is |
Maybe related to #23 . |
Looking, I got the very same error. I'll try to reproduce. |
@squidpickles Which version of you could rewrite the compiler error as e.g.
...although it implements Try pinning your serde_json version to 0.6.0. see also https://internals.rust-lang.org/t/dependency-hell-resolving-conflicting-version-requirements/1675. It's a similarly staggering error, but caused by different versions of one crate:
|
@dermesser That's possibly what was happening. I took a snapshot of all of the versions that were around the last time this compiled successfully. hyper = "0.7.2"
serde = "0.6.7"
serde_json = "0.6.0"
google-calendar3 = "0.1.10"
yup-oauth2 = "0.5.3"
time = "0.1.34" (I notice it's not quite sticking to my desired versions. Is there a way to force maximum versions from the top level But, with those versions pinned, I get a new set of errors. The first:
|
My code does compile with this attached |
This should now be fixed with release 0.6.0. I am planning to upgrade the URL crate soon as well, in case that matters. |
... except that it does appear to...
In
common.rs
, I can seeDeserialize
inside the#derive
attribute. But, this extremely simple sample code does not compile:Am I missing something obvious here?
The text was updated successfully, but these errors were encountered: