fix(cargo): choose serde-version which works

Everything newer than the ones we see here will cause
the error described in #148.
This commit is contained in:
Sebastian Thiel
2016-04-10 12:12:00 +02:00
parent a25b593969
commit 33f281360a

View File

@@ -26,19 +26,19 @@ name = "${util.program_name()}"
% endif % endif
[dependencies] [dependencies]
hyper = "0.7" hyper = "0.8"
## Must match the one hyper uses, otherwise there are duplicate similarly named `Mime` structs ## Must match the one hyper uses, otherwise there are duplicate similarly named `Mime` structs
mime = "0.1.0" mime = "0.2.0"
serde = ">= 0.7.0" serde = "0.6.0"
serde_json = ">= 0.7.0" serde_json = "0.6.0"
yup-oauth2 = ">= 0.5.4" yup-oauth2 = ">= 0.5.5"
% for dep in cargo.get('dependencies', list()): % for dep in cargo.get('dependencies', list()):
${dep} ${dep}
% endfor % endfor
[build-dependencies] [build-dependencies]
syntex = { version = ">= 0.23" } syntex = { version = "= 0.28" }
serde_codegen = { version = ">= 0.6" } serde_codegen = { version = "= 0.6.13" }
% if make.depends_on_suffix is not None: % if make.depends_on_suffix is not None: