These are chat archives for rust-lang/rust

27th
May 2017
devlinzed
@devlinzed
May 27 2017 14:00
I'm building an app using Rocket and Diesel and running into a bunch of problems with incompatible dependencies. like Diesel uses a newer version of serde_json than Rocket and they can't find each other's Deserialize implementations. is there an easier way to track down compatible versions than trial and error in cargo.toml?
Denis Lisov
@tanriol
May 27 2017 14:04
@devlinzed Looks to me like both should work with 1.0 series...
devlinzed
@devlinzed
May 27 2017 14:05
rocket_contrib requires serde 0.9.15 so it gets into the <1 range :{
Denis Lisov
@tanriol
May 27 2017 14:10
Looks weird... is it up-to-date?
devlinzed
@devlinzed
May 27 2017 14:13
hmm, it's weird. I see serde v0.9.15 ├── rocket_contrib v0.2.7 in cargo tree but on github there's a commit from 11 hours ago for serde 1.0. maybe it's not uploaded yet hehe
Denis Lisov
@tanriol
May 27 2017 14:20
Looks like the dependency has not been updated in the 0.2 branch... maybe use a git dependency for now?
devlinzed
@devlinzed
May 27 2017 14:21
that's what I did, and it just finished building :ok_hand: