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

Chrono 0.3.1 depends on serde 1.0.1 which breaks with diesel 0.12 dependencies #884

Closed
Nukesor opened this Issue May 3, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@Nukesor

Nukesor commented May 3, 2017

If you declare a Module with #[derive(Debug, Serialize, Deserialize, Queryable)] and this model contains a chrono::NaiveDateTime; the compiler warns about a missing trait.

7 | #[derive(Debug, Serialize, Deserialize, Queryable)]
  |                 ^^^^^^^^^ the trait `validation::pod::_IMPL_DESERIALIZE_FOR_PodSettingsSerializer::_serde::Serialize` is not implemented for `chrono::NaiveDateTime`

This seems to be a conflict between serde versions for chrono.

@Eijebong

This comment has been minimized.

Member

Eijebong commented May 3, 2017

@Nukesor

This comment has been minimized.

Nukesor commented May 3, 2017

Ok. cargo update -p chrono --precise 0.3.0 temporarily fixes this issue.

@sgrif

This comment has been minimized.

Member

sgrif commented May 7, 2017

I've published 0.12.1 which locks the chrono version

@sgrif sgrif closed this May 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment